Advertisement
Guest User

Untitled

a guest
Mar 18th, 2022
35
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.55 KB | None | 0 0
  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.myRegisterPat.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. "config":{
  19. "afterCreatedUrl":"/coreapps/clinicianfacing/patient.page?patientId={{patientId}}",
  20. "sections":[
  21. {
  22.  
  23. "label":"personalinfo",
  24. "id":"personalInfo",
  25.  
  26. "questions":[
  27. {
  28. "legend":"Nationalité",
  29. "fields":[
  30. {
  31. "type":"personAttribute",
  32. "label":"Nationalité",
  33. "formFieldName":"Nationalité",
  34. "uuid":"28638143-2db2-4e8a-ab4c-623fb16dbd68",
  35. "widget":{
  36. "providerName":"uicommons",
  37. "fragmentId":"field/text"
  38. }
  39. }
  40. ]
  41. },
  42. {
  43. "legend":"Assurance Medicale",
  44. "fields":[
  45. {
  46. "type":"personAttribute",
  47. "label":"Assurance Medicale",
  48. "formFieldName":"Assurance Medicale",
  49. "uuid":"7fb4325d-6fdd-4faa-8a88-c69304e5472b",
  50. "widget":{
  51. "providerName":"uicommons",
  52. "fragmentId":"field/text",
  53. "config":{
  54. "size":60
  55. }
  56. }
  57. }
  58. ]
  59. }
  60. ]
  61. },
  62. {
  63. "id":"contactInfo",
  64. "label":"registrationapp.patient.contactInfo.label",
  65. "questions":[
  66. {
  67. "legend":"Person.address",
  68. "fields":[
  69. {
  70. "type":"personAddress",
  71. "label":"registrationapp.patient.address.question",
  72. "widget":{
  73. "providerName":"uicommons",
  74. "fragmentId":"field/personAddress"
  75. }
  76. }
  77. ]
  78. },
  79. {
  80. "legend":"registrationapp.patient.phone.label",
  81. "id":"phoneNumberLabel",
  82. "fields":[
  83. {
  84. "type":"personAttribute",
  85. "label":"registrationapp.patient.phone.question",
  86. "formFieldName":"phoneNumber ",
  87. "uuid":"14d4f066-15f5-102d-96e4-000c29c2a5d7",
  88. "widget":{
  89. "providerName":"uicommons",
  90. "fragmentId":"field/text"
  91. }
  92. }
  93. ]
  94. }
  95. ]
  96. }
  97. ]
  98. }
  99. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement