Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "id":"referenceapplication.registrationapp.myRegisterPat",
- "instanceOf":"registrationapp.registerPatient",
- "label":"Register Patient",
- "description":"Create a new Patient Record",
- "extensions":[
- {
- "id":"referenceapplication.registrationapp.myRegisterPat.homepageLink",
- "extensionPointId":"org.openmrs.referenceapplication.homepageLink",
- "type":"link",
- "label":"referenceapplication.app.registerPatient.label",
- "url":"registrationapp/registerPatient.page?appId=referenceapplication.registrationapp.myRegisterPat",
- "icon":"icon-user",
- "order":1,
- "requiredPrivilege":"App: registrationapp.registerPatient"
- }
- ],
- "config":{
- "afterCreatedUrl":"/coreapps/clinicianfacing/patient.page?patientId={{patientId}}",
- "sections":[
- {
- "label":"personalinfo",
- "id":"personalInfo",
- "questions":[
- {
- "legend":"Nationalité",
- "fields":[
- {
- "type":"personAttribute",
- "label":"Nationalité",
- "formFieldName":"Nationalité",
- "uuid":"28638143-2db2-4e8a-ab4c-623fb16dbd68",
- "widget":{
- "providerName":"uicommons",
- "fragmentId":"field/text"
- }
- }
- ]
- },
- {
- "legend":"Assurance Medicale",
- "fields":[
- {
- "type":"personAttribute",
- "label":"Assurance Medicale",
- "formFieldName":"Assurance Medicale",
- "uuid":"7fb4325d-6fdd-4faa-8a88-c69304e5472b",
- "widget":{
- "providerName":"uicommons",
- "fragmentId":"field/text",
- "config":{
- "size":60
- }
- }
- }
- ]
- }
- ]
- },
- {
- "id":"contactInfo",
- "label":"registrationapp.patient.contactInfo.label",
- "questions":[
- {
- "legend":"Person.address",
- "fields":[
- {
- "type":"personAddress",
- "label":"registrationapp.patient.address.question",
- "widget":{
- "providerName":"uicommons",
- "fragmentId":"field/personAddress"
- }
- }
- ]
- },
- {
- "legend":"registrationapp.patient.phone.label",
- "id":"phoneNumberLabel",
- "fields":[
- {
- "type":"personAttribute",
- "label":"registrationapp.patient.phone.question",
- "formFieldName":"phoneNumber ",
- "uuid":"14d4f066-15f5-102d-96e4-000c29c2a5d7",
- "widget":{
- "providerName":"uicommons",
- "fragmentId":"field/text"
- }
- }
- ]
- }
- ]
- }
- ]
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement