Advertisement
Guest User

Untitled

a guest
Mar 20th, 2022
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.08 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.registrationapp.registerPat",
  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":"patientIdentifier",
  41. "label":"Carnet ID",
  42. "formFieldName":"identificationNumber",
  43. "uuid":"f3aab6a6-e9ae-4dc3-a1a1-6332fbb2499a",
  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":"26dea378-bcaa-45c6-83b9-7432f47be836",
  58. "widget":{
  59. "providerName":"uicommons",
  60. "fragmentId":"field/text"
  61. }
  62. }
  63. ]
  64. },
  65. {
  66. "id": "Civil Status",
  67. "legend": "Civil Status",
  68. "fields": [{
  69. "label": "Civil Status",
  70. "type": "personAttribute",
  71. "formFieldName": "Civil Status",
  72. "uuid": "94441b15-a850-4613-864c-63c88a1c9217",
  73. "widget": {
  74. "providerName": "registrationapp",
  75. "fragmentId": "field/dropDown",
  76. "config": {
  77. "formFieldName": "Civil Status",
  78. "conceptSet": "94441b15-a850-4613-864c-63c88a1c9217",
  79. "options": [{
  80. "label": "",
  81. "value": ""
  82. }],
  83.  
  84. "initialValue": "",
  85. "hideEmptyLabel": true,
  86. "expanded": false
  87. }
  88. }
  89. }]
  90. },
  91. {
  92. "id" : "CNAMGS",
  93. "legend" : "CNAMGS",
  94. "fields" : [
  95. {
  96. "type" : "patientIdentifier",
  97. "label" : "CNAMGS",
  98. "formFieldName" : "identificationNumber",
  99. "uuid" : "18a42ced-8a94-4f80-a27a-a151164b5f19",
  100. "widget" : {
  101. "providerName" : "uicommons",
  102. "fragmentId" : "field/text"
  103. }
  104. }
  105. ]
  106. }
  107. ]
  108. },
  109.  
  110.  
  111.  
  112.  
  113. {
  114. "id": "contactInfo",
  115. "label": "registrationapp.patient.contactInfo.label",
  116. "questions": [
  117. {
  118. "legend": "Person.address",
  119. "fields": [
  120. {
  121. "type": "personAddress",
  122. "label": "registrationapp.patient.address.question",
  123. "widget": {
  124. "providerName": "uicommons",
  125. "fragmentId": "field/personAddress"
  126. }
  127. }
  128. ]
  129. }
  130. ]
  131. }
  132. ]
  133. }
  134. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement