greenShellit

Untitled

Apr 25th, 2021
16
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. {
  2. "id": "referenceapplication.registrationapp.myRegisterPat",
  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=referenceapplication.registrationapp.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.registrationapp.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": "contactInfo",
  33. "label": "registrationapp.patient.contactInfo.label",
  34. "questions": [
  35. {
  36. "legend": "Person.address",
  37. "fields": [
  38. {
  39. "type": "personAddress",
  40. "label": "registrationapp.patient.address.question",
  41. "widget": {
  42. "providerName": "uicommons",
  43. "fragmentId": "field/personAddress"
  44. }
  45. }
  46. ]
  47. },
  48. {
  49. "legend": "registrationapp.patient.phone.label",
  50. "id": "phoneNumberLabel",
  51. "fields": [
  52. {
  53. "type": "personAttribute",
  54. "label": "registrationapp.patient.phone.question",
  55. "formFieldName": "phoneNumber",
  56. "uuid": "14d4f066-15f5-102d-96e4-000c29c2a5d7",
  57. "widget": {
  58. "providerName": "uicommons",
  59. "fragmentId": "field/text"
  60. },
  61. "cssClasses": ["phone"]
  62. }
  63. ]
  64. }
  65. ]
  66. },
  67. {
  68. "id": "relationships-info",
  69. "label": "registrationapp.person.relationship",
  70. "questions": [
  71. {
  72. "legend": "registrationapp.person.relationship.label",
  73. "header": "registrationapp.person.relationship.question",
  74. "fields": [
  75. {
  76. "type": "personRelationships",
  77. "widget": {
  78. "providerName": "registrationapp",
  79. "fragmentId": "field/personRelationship"
  80. }
  81. }
  82. ]
  83. }
  84. ]
  85. }
  86. ]
  87. }
  88. }
RAW Paste Data