Advertisement
jamanikoff

second patient identifier

Jan 21st, 2021
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.88 KB | None | 0 0
  1. {
  2. "id": "referenceapplication.registrationapp.myRegisterPat",
  3. "instanceOf": "registrationapp.registerPatient",
  4. "label": "My Register Patient",
  5. "description": "Create MY new Patient Record",
  6. "extensions": [
  7. {
  8. "id": "referenceapplication.registrationapp.myRegisterPat.homepageLink",
  9. "extensionPointId": "org.openmrs.referenceapplication.homepageLink",
  10. "type": "link",
  11. "label": "My Register Patient",
  12. "url": "registrationapp/registerPatient.page?appId=referenceapplication.registrationapp.myRegisterPat",
  13. "icon": "icon-user",
  14. "order": 1,
  15. "requiredPrivilege": "App: registrationapp.registerPatient"
  16. }
  17. ],
  18. "config": {
  19. "afterCreatedUrl": "/coreapps/clinicianfacing/patient.page?patientId={{patientId}}",
  20. "sections": [
  21. {
  22. "id": "patient-ids",
  23. "label": "Patient-Identifier",
  24. "questions": [
  25. {
  26. "legend": "TB identifier",
  27. "id": "TB_Identification_Number_patientIdentifier",
  28. "fields": [
  29. {
  30. "type": "patientIdentifier",
  31. "label": "Code Patient VIH2",
  32. "formFieldName": "TBIdentifierr",
  33. "uuid": "6b6e9d94-015b-48f6-ac95-da239512ff91 ",
  34. "widget": {
  35. "providerName": "uicommons",
  36. "fragmentId": "field/text"
  37. },
  38. "cssClasses": ["required"]
  39. }
  40. ]
  41. }
  42. ]
  43. }
  44. ,
  45.  
  46. {
  47. "id": "contactInfo",
  48. "label": "registrationapp.patient.contactInfo.label",
  49. "questions": [
  50. {
  51. "legend": "Person.address",
  52. "fields": [
  53. {
  54. "type": "personAddress",
  55. "label": "registrationapp.patient.address.question",
  56. "widget": {
  57. "providerName": "uicommons",
  58. "fragmentId": "field/personAddress"
  59. }
  60. }
  61. ]
  62. },
  63. {
  64. "legend": "registrationapp.patient.phone.label",
  65. "id": "phoneNumberLabel",
  66. "fields": [
  67. {
  68. "type": "personAttribute",
  69. "label": "registrationapp.patient.phone.question",
  70. "formFieldName": "phoneNumber",
  71. "uuid": "14d4f066-15f5-102d-96e4-000c29c2a5d7",
  72. "widget": {
  73. "providerName": "uicommons",
  74. "fragmentId": "field/text"
  75. },
  76. "cssClasses": ["phone"]
  77. }
  78. ]
  79. },
  80. {
  81. "legend": "My Person Attribute",
  82. "id": "myPersonAttributeLabel",
  83. "fields": [
  84. {
  85. "type": "personAttribute",
  86. "label": "Mother's Name",
  87. "formFieldName": "mothersName",
  88. "uuid": "8d871d18-c2cc-11de-8d13-0010c6dffd0f",
  89. "widget": {
  90. "providerName": "uicommons",
  91. "fragmentId": "field/text"
  92. }
  93. }
  94. ]
  95. }
  96. ]
  97. }
  98. ]
  99. }
  100. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement