Advertisement
Guest User

Untitled

a guest
Mar 20th, 2022
29
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.16 KB | None | 0 0
  1. {
  2. "id": "referenceapplication.registrationapp.registerPat",
  3. "instanceOf": "registrationapp.registerPatient",
  4. "label": "Create a new patient",
  5. "description": "Create a new Patient Record",
  6. "extensions": [
  7. {
  8. "id": "referenceapplication.registrationapp.registerPat.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.registrationapp.registerPat",
  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" : "personnalInfo",
  33. "label": "personnalInfo",
  34. "questions" : [
  35. {
  36. "id" : "identificationNumber",
  37. "legend" : "identificationNumber",
  38. "fields" : [
  39. {
  40. "type" : "patientIdentifier",
  41. "label" : "identificationNumber",
  42. "formFieldName" : "identificationNumber",
  43. "uuid" : "18a42ced-8a94-4f80-a27a-a151164b5f19",
  44. "widget" : {
  45. "providerName" : "uicommons",
  46. "fragmentId" : "field/text"
  47. }
  48. }
  49. ]
  50. }
  51. ]
  52. },
  53.  
  54.  
  55.  
  56.  
  57. {
  58. "id": "contactInfo",
  59. "label": "registrationapp.patient.contactInfo.label",
  60. "questions": [
  61. {
  62. "legend": "Person.address",
  63. "fields": [
  64. {
  65. "type": "personAddress",
  66. "label": "registrationapp.patient.address.question",
  67. "widget": {
  68. "providerName": "uicommons",
  69. "fragmentId": "field/personAddress"
  70. }
  71. }
  72. ]
  73. }
  74. ]
  75. }
  76. ]
  77. }
  78. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement