Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "id": "referenceapplication.registrationapp.myRegisterPat",
- "instanceOf": "registrationapp.registerPatient",
- "label": "My Register Patient",
- "description": "Create MY new Patient Record",
- "extensions": [
- {
- "id": "referenceapplication.registrationapp.myRegisterPat.homepageLink",
- "extensionPointId": "org.openmrs.referenceapplication.homepageLink",
- "type": "link",
- "label": "My Register Patient",
- "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": [
- {
- "id": "patient-ids",
- "label": "Patient-Identifier",
- "questions": [
- {
- "legend": "TB identifier",
- "id": "TB_Identification_Number_patientIdentifier",
- "fields": [
- {
- "type": "patientIdentifier",
- "label": "Code Patient VIH2",
- "formFieldName": "TBIdentifierr",
- "uuid": "6b6e9d94-015b-48f6-ac95-da239512ff91 ",
- "widget": {
- "providerName": "uicommons",
- "fragmentId": "field/text"
- },
- "cssClasses": ["required"]
- }
- ]
- }
- ]
- }
- ,
- {
- "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"
- },
- "cssClasses": ["phone"]
- }
- ]
- },
- {
- "legend": "My Person Attribute",
- "id": "myPersonAttributeLabel",
- "fields": [
- {
- "type": "personAttribute",
- "label": "Mother's Name",
- "formFieldName": "mothersName",
- "uuid": "8d871d18-c2cc-11de-8d13-0010c6dffd0f",
- "widget": {
- "providerName": "uicommons",
- "fragmentId": "field/text"
- }
- }
- ]
- }
- ]
- }
- ]
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement