Advertisement
Guest User

Untitled

a guest
Jul 26th, 2021
41
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.64 KB | None | 0 0
  1. {
  2. "id": "emre.registerPatient",
  3. "instanceOf": "registrationapp.registerPatient",
  4. "label": "Register Patient",
  5. "description": "Create a new Patient Record",
  6. "extensions": [
  7. {
  8. "id": "referenceapplication.registrationapp.registerPatient.homepageLink",
  9. "extensionPointId": "org.openmrs.referenceapplication.homepageLink",
  10. "type": "link",
  11. "label": "referenceapplication.app.registerPatient.label",
  12. "url": "registrationapp/registerPatient.page?appId=emre.registerPatient",
  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.registrationapp.registerPatient",
  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": "patientIDs",
  33. "label": "Patient IDs",
  34. "questions": [
  35. {
  36. "legend": "HMO ID",
  37. "id": "hmoID",
  38. "fields": [
  39. {
  40. "type": "personAttribute",
  41. "label": "HMO ID",
  42. "formFieldName": "hmoID",
  43. "uuid": "fab10a12-4d3f-40be-b4cd-8de9eb21ef36",
  44. "widget": {
  45. "providerName": "uicommons",
  46. "fragmentId": "field/text"
  47. }
  48. }
  49. ]
  50. }
  51. ]
  52. },
  53. {
  54. "id": "contactInfo",
  55. "label": "registrationapp.patient.contactInfo.label",
  56. "questions": [
  57. {
  58. "legend": "Person.address",
  59. "fields": [
  60. {
  61. "type": "personAddress",
  62. "label": "registrationapp.patient.address.question",
  63. "widget": {
  64. "providerName": "uicommons",
  65. "fragmentId": "field/personAddress"
  66. }
  67. }
  68. ]
  69. },
  70. {
  71. "legend": "registrationapp.patient.phone.label",
  72. "id": "phoneNumberLabel",
  73. "fields": [
  74. {
  75. "type": "personAttribute",
  76. "label": "registrationapp.patient.phone.question",
  77. "formFieldName": "phoneNumber",
  78. "uuid": "14d4f066-15f5-102d-96e4-000c29c2a5d7",
  79. "widget": {
  80. "providerName": "uicommons",
  81. "fragmentId": "field/text"
  82. },
  83. "cssClasses": [
  84. "phone"
  85. ]
  86. }
  87. ]
  88. },
  89. {
  90. "legend": "Next of Kin",
  91. "id": "nextOfKin",
  92. "fields": [
  93. {
  94. "type": "personAttribute",
  95. "label": "Next of Kin",
  96. "formFieldName": "nextOfKin",
  97. "uuid": "37f1b795-9e9e-41d2-9815-bc12a3fae615",
  98. "widget": {
  99. "providerName": "uicommons",
  100. "fragmentId": "field/textarea"
  101. }
  102. }
  103. ]
  104. }
  105. ]
  106. }
  107. ]
  108. }
  109. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement