Advertisement
Guest User

Untitled

a guest
Mar 22nd, 2022
34
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.01 KB | None | 0 0
  1. {
  2. "id": "referenceapplication.registerPatient.myregisterPat",
  3. "instanceOf": "registrationapp.registerPatient",
  4. "label": "Create a new patient",
  5. "description": "Create a new Patient Record",
  6. "extensions": [
  7. {
  8. "id": "referenceapplication.registerPatient.myregisterPat.homepageLink",
  9. "extensionPointId": "org.openmrs.referenceapplication.homepageLink",
  10. "type": "link",
  11. "label": "referenceapplication.app.registerPatient.label",
  12. "url": "registrationapp/registerPatient.page?appId=referenceapplication.registerPatient.myregisterPat",
  13. "icon": "icon-user",
  14. "order": 1,
  15. "requiredPrivilege": "App: registrationapp.registerPatient"
  16. },
  17. {
  18. "id": "application.registrationapp.summary.editPatientLink",
  19. "extensionPointId": "patientDashboard.overallActions",
  20. "type": "link",
  21. "label": "referenceapplication.app.editRegistrationInfo.label",
  22. "url": "registrationapp/registrationSummary.page?patientId={{patient.uuid}}&appId=referenceapplication.registerPatient.myregisterPat",
  23. "icon": "icon-pencil",
  24. "order": 25,
  25. "requiredPrivilege": "App: registrationapp.registerPatient"
  26. }
  27. ],
  28. "config": {
  29. "afterCreatedUrl": "/coreapps/clinicianfacing/patient.page?patientId={{patientId}}",
  30. "sections": [
  31. {
  32. "id" :"registrationapp.Patient.personnalnfo.label",
  33. "label": "personnalInfo",
  34. "questions" : [
  35. {
  36. "id" : "Carnet ID",
  37. "legend" : "Carnet ID",
  38. "fields":[
  39. {
  40. "type":"personAttribute",
  41. "label":"Carnet ID",
  42. "formFieldName":"Carnet ID",
  43. "uuid":"cee3ed5e-7a83-49a9-b42b-bdaa14b65949",
  44. "widget":{
  45. "providerName":"uicommons",
  46. "fragmentId":"field/text"
  47. }
  48. }
  49. ]
  50. },
  51. {
  52. "legend":"Nationalité",
  53. "fields":[
  54. {
  55. "type":"personAttribute",
  56. "label":"Nationalité",
  57. "formFieldName":"Nationalité",
  58. "uuid":"39f9477b-1767-4871-a3cd-4e927bf1405b",
  59. "widget":{
  60. "providerName":"uicommons",
  61. "fragmentId":"field/text"
  62. }
  63. }
  64. ]
  65. }, {
  66. "id" : "CNAMGS",
  67. "legend" : "CNAMGS",
  68. "fields" : [
  69. {
  70. "type" : "personAttribute",
  71. "label" : "CNAMGS",
  72. "formFieldName" : "CNAMGS",
  73. "uuid" : "7a04df83-25ee-43b5-88e3-2390d99f79fd",
  74. "widget" : {
  75. "providerName" : "uicommons",
  76. "fragmentId" : "field/text"
  77. }
  78. }
  79. ]
  80. }
  81. ]
  82. },{
  83. "id": "Civil Status",
  84. "legend": "Civil Status",
  85. "fields": [{
  86. "label": "Civil Status",
  87. "type": "personAttribute",
  88. "formFieldName": "Civil Status",
  89. "uuid": "8d871f2a-c2cc-11de-8d13-0010c6dffd0f",
  90. "widget": {
  91. "providerName": "registrationapp",
  92. "fragmentId": "field/dropDown",
  93. "config": {
  94. "formFieldName": "Civil Status",
  95. "conceptSet": "94441b15-a850-4613-864c-63c88a1c9217",
  96. "options": [{
  97. "label": "",
  98. "value": ""
  99. }],
  100.  
  101. "initialValue": "",
  102. "hideEmptyLabel": true,
  103. "expanded": false
  104. }
  105. }
  106. }]
  107. },
  108.  
  109. {
  110. "id": "contactInfo",
  111. "label": "registrationapp.patient.contactInfo.label",
  112. "questions": [
  113. {
  114. "legend": "Person.address",
  115. "fields": [
  116. {
  117. "type": "personAddress",
  118. "label": "registrationapp.patient.address.question",
  119. "widget": {
  120. "providerName": "uicommons",
  121. "fragmentId": "field/personAddress"
  122. }
  123. }
  124. ]
  125. }
  126. ]
  127. }
  128. ]
  129. }
  130. }
  131.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement