Advertisement
Guest User

St Luke Registration json

a guest
Oct 31st, 2015
149
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.18 KB | None
  1. {
  2. "id": "registrationapp.registerPatient.wAddHierarchy",
  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": "Enregistrer un patient",
  12. "url": "registrationapp/registerPatient.page?appId=referenceapplication.registrationapp.registerPatient",
  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. "allowRetrospectiveEntry":true,
  21. "sections": [
  22. {
  23. "id": "contactInfo",
  24. "label": "registrationapp.patient.contactInfo.label",
  25. "questions": [
  26. {
  27. "legend": "Person.address",
  28. "fields": [
  29. {
  30. "type": "personAddress",
  31. "label": "registrationapp.patient.address.question",
  32. "widget": {
  33. "providerName": "registrationapp",
  34. "fragmentId": "field/personAddressWithHierarchy",
  35. "config" : {
  36. "shortcutFor": "address1",
  37. "manualFields": ["address2"]
  38. }
  39. }
  40. }
  41. ]
  42. },
  43. {
  44. "legend": "registrationapp.patient.phone.label",
  45. "id": "phoneNumberLabel",
  46. "fields": [
  47. {
  48. "type": "personAttribute",
  49. "label": "registrationapp.patient.phone.question",
  50. "formFieldName": "phoneNumber",
  51. "uuid": "14d4f066-15f5-102d-96e4-000c29c2a5d7",
  52. "widget": {
  53. "providerName": "uicommons",
  54. "fragmentId": "field/text"
  55. },
  56. "cssClasses": ["phone"]
  57. }
  58. ]
  59. },
  60. {
  61. "legend": "Next of Kin",
  62. "id": "nokLabel",
  63. "fields": [
  64. {
  65. "type": "personAttribute",
  66. "label": "Next of Kin Name",
  67. "formFieldName": "nextOfKinName",
  68. "uuid": "8d871d18-c2cc-11de-8d13-0010c6dffd0f",
  69. "widget": {
  70. "providerName": "uicommons",
  71. "fragmentId": "field/text"
  72. }
  73. },
  74. {
  75. "type": "personAttribute",
  76. "label": "Next of Kin Phone Number",
  77. "formFieldName": "nextOfKinPhone",
  78. "uuid": "8d871386-c2cc-11de-8d13-0010c6dffd0f",
  79. "widget": {
  80. "providerName": "uicommons",
  81. "fragmentId": "field/text"
  82. },
  83. "cssClasses": ["number"]
  84. }
  85.  
  86. ]
  87. }
  88. ]
  89. }
  90. ]
  91. }
  92. }
Advertisement
RAW Paste Data Copied
Advertisement