Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "id": "referenceapplication.registerPatient.myregisterPat",
- "instanceOf": "registrationapp.registerPatient",
- "label": "Create a new patient",
- "description": "Create a new Patient Record",
- "extensions": [
- {
- "id": "referenceapplication.registerPatient.myregisterPat.homepageLink",
- "extensionPointId": "org.openmrs.referenceapplication.homepageLink",
- "type": "link",
- "label": "referenceapplication.app.registerPatient.label",
- "url": "registrationapp/registerPatient.page?appId=referenceapplication.registerPatient.myregisterPat",
- "icon": "icon-user",
- "order": 1,
- "requiredPrivilege": "App: registrationapp.registerPatient"
- },
- {
- "id": "application.registrationapp.summary.editPatientLink",
- "extensionPointId": "patientDashboard.overallActions",
- "type": "link",
- "label": "referenceapplication.app.editRegistrationInfo.label",
- "url": "registrationapp/registrationSummary.page?patientId={{patient.uuid}}&appId=referenceapplication.registerPatient.myregisterPat",
- "icon": "icon-pencil",
- "order": 25,
- "requiredPrivilege": "App: registrationapp.registerPatient"
- }
- ],
- "config": {
- "afterCreatedUrl": "/coreapps/clinicianfacing/patient.page?patientId={{patientId}}",
- "sections": [
- {
- "id" : "registrationapp.Patient.personnalnfo.label",
- "label": "personnalInfo",
- "questions" : [
- {
- "id" : "Carnet ID",
- "legend" : "Carnet ID",
- "fields":[
- {
- "type":"personAttribute",
- "label":"Carnet ID",
- "formFieldName":"Carnet ID",
- "uuid":"6076f8c3-4ee7-46f2-ab65-de42990f7b1c",
- "widget":{
- "providerName":"uicommons",
- "fragmentId":"field/text"
- }
- }
- ]
- },{
- "legend":"Nationalité",
- "fields":[
- {
- "type":"personAttribute",
- "label":"Nationalité",
- "formFieldName":"Nationalité",
- "uuid":"12bc9ce7-3eaf-4f6c-8efa-59e1077a2e34",
- "widget":{
- "providerName":"uicommons",
- "fragmentId":"field/text"
- }
- }
- ]
- },
- {
- "id" : "CNAMGS",
- "legend" : "CNAMGS",
- "fields" : [
- {
- "type" : "personAttribute",
- "label" : "CNAMGS",
- "formFieldName" : "CNAMGS",
- "uuid" : "a3ffae43-9877-49ed-96a8-f4c1e18e5e7a",
- "widget" : {
- "providerName" : "uicommons",
- "fragmentId" : "field/text"
- }
- }
- ]
- }
- ]
- },{
- "id": "Civil Status",
- "legend": "Civil Status",
- "fields": [{
- "label": "Civil Status",
- "type": "personAttribute",
- "formFieldName": "Civil Status",
- "uuid": "8d871f2a-c2cc-11de-8d13-0010c6dffd0f",
- "widget": {
- "providerName": "registrationapp",
- "fragmentId": "field/dropDown",
- "config": {
- "formFieldName": "Civil Status",
- "conceptSet": "406f38a3-7837-442d-be17-7b03787479d1",
- "options": [{
- "label": "",
- "value": ""
- }],
- "initialValue": "",
- "hideEmptyLabel": true,
- "expanded": false
- }
- }
- }]
- },
- {
- "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"
- }
- }
- ]
- }
- ]
- }
- ]
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement