Advertisement
Guest User

Untitled

a guest
Mar 22nd, 2022
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.05 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":"6076f8c3-4ee7-46f2-ab65-de42990f7b1c",
  44. "widget":{
  45. "providerName":"uicommons",
  46. "fragmentId":"field/text"
  47. }
  48. }
  49. ]
  50. },{
  51. "legend":"Nationalité",
  52. "fields":[
  53. {
  54. "type":"personAttribute",
  55. "label":"Nationalité",
  56. "formFieldName":"Nationalité",
  57. "uuid":"12bc9ce7-3eaf-4f6c-8efa-59e1077a2e34",
  58. "widget":{
  59. "providerName":"uicommons",
  60. "fragmentId":"field/text"
  61. }
  62. }
  63. ]
  64. },
  65. {
  66. "id" : "CNAMGS",
  67. "legend" : "CNAMGS",
  68. "fields" : [
  69. {
  70. "type" : "personAttribute",
  71. "label" : "CNAMGS",
  72. "formFieldName" : "CNAMGS",
  73. "uuid" : "a3ffae43-9877-49ed-96a8-f4c1e18e5e7a",
  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": "406f38a3-7837-442d-be17-7b03787479d1",
  96. "options": [{
  97. "label": "",
  98. "value": ""
  99. }],
  100.  
  101. "initialValue": "",
  102. "hideEmptyLabel": true,
  103. "expanded": false
  104. }
  105. }
  106. }]
  107. },
  108.  
  109.  
  110.  
  111.  
  112. {
  113. "id": "contactInfo",
  114. "label": "registrationapp.patient.contactInfo.label",
  115. "questions": [
  116. {
  117. "legend": "Person.address",
  118. "fields": [
  119. {
  120. "type": "personAddress",
  121. "label": "registrationapp.patient.address.question",
  122. "widget": {
  123. "providerName": "uicommons",
  124. "fragmentId": "field/personAddress"
  125. }
  126. }
  127. ]
  128. }
  129. ]
  130. }
  131. ]
  132. }
  133. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement