Advertisement
Guest User

Untitled

a guest
Sep 17th, 2019
211
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.21 KB | None | 0 0
  1.  
  2. {
  3. "id": "referenceapplication.registrationapp.myRegisterPat",
  4. "instanceOf": "registrationapp.registerPatient",
  5. "label": "Register Patient",
  6. "description": "Create a new Patient Record",
  7. "extensions": [
  8. {
  9. "id": "referenceapplication.registrationapp.registerPatient.homepageLink",
  10. "extensionPointId": "org.openmrs.referenceapplication.homepageLink",
  11. "type": "link",
  12. "label": "referenceapplication.app.registerPatient.label",
  13. "url": "registrationapp/registerPatient.page?appId=referenceapplication.registrationapp.registerPatient",
  14. "icon": "icon-user",
  15. "order": 1,
  16. "requiredPrivilege": "App: registrationapp.registerPatient"
  17. },
  18. {
  19. "id": "application.registrationapp.summary.editPatientLink",
  20. "extensionPointId": "patientDashboard.overallActions",
  21. "type": "link",
  22. "label": "referenceapplication.app.editRegistrationInfo.label",
  23. "url": "registrationapp/registrationSummary.page?patientId={{patient.uuid}}&appId=referenceapplication.registrationapp.registerPatient",
  24. "icon": "icon-pencil",
  25. "order": 25,
  26. "requiredPrivilege": "App: registrationapp.registerPatient"
  27. }
  28. ],
  29. "config": {
  30. "afterCreatedUrl": "/coreapps/clinicianfacing/patient.page?patientId={{patientId}}",
  31. "sections": [
  32. {
  33. "id": "contactInfo",
  34. "label": "registrationapp.patient.contactInfo.label",
  35. "questions": [
  36. {
  37. "legend": "Person.address",
  38. "fields": [
  39. {
  40. "type": "personAddress",
  41. "label": "registrationapp.patient.address.question",
  42. "widget": {
  43. "providerName": "uicommons",
  44. "fragmentId": "field/personAddress"
  45. }
  46. }
  47. ]
  48. },
  49. {
  50. "legend": "registrationapp.patient.phone.label",
  51. "id": "phoneNumberLabel",
  52. "fields": [
  53. {
  54. "type": "personAttribute",
  55. "label": "registrationapp.patient.phone.question",
  56. "formFieldName": "phoneNumber",
  57. "uuid": "14d4f066-15f5-102d-96e4-000c29c2a5d7",
  58. "widget": {
  59. "providerName": "uicommons",
  60. "fragmentId": "field/text"
  61. },
  62. "cssClasses": ["phone"]
  63. }
  64. ]
  65. }
  66. ]
  67. },
  68. {
  69. "id": "relationships-info",
  70. "label": "registrationapp.person.relationship",
  71. "questions": [
  72. {
  73. "legend": "registrationapp.person.relationship.label",
  74. "header": "registrationapp.person.relationship.question",
  75. "fields": [
  76. {
  77. "type": "personRelationships",
  78. "widget": {
  79. "providerName": "registrationapp",
  80. "fragmentId": "field/personRelationship"
  81. }
  82. }
  83. ]
  84. }
  85. ]
  86. }
  87. ]
  88. }
  89. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement