Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "id": "referenceapplication.registrationapp.myRegisterPat",
- "instanceOf": "registrationapp.registerPatient",
- "label": "Registrar Paciente",
- "description": "Crear un nuevo registro de paciente",
- "extensions": [
- {
- "id": "referenceapplication.registrationapp.myRegisterPat.homepageLink",
- "extensionPointId": "org.openmrs.referenceapplication.homepageLink",
- "type": "link",
- "label": "Registrar Paciente",
- "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": "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": "Cedula",
- "id": "CedulaLabel",
- "fields": [
- {
- "type": "personAttribute",
- "label": "Cedula",
- "formFieldName": "Cedula",
- "uuid": "8e37a3f4-569e-404a-a034-aacdf8bf79ff",
- "widget": {
- "providerName": "uicommons",
- "fragmentId": "field/text"
- }
- }
- ]
- },
- {
- "legend": "Seguro Medico",
- "id": "SeguroMedicoLabel",
- "fields": [
- {
- "type": "personAttribute",
- "label": "Seguro Medico",
- "formFieldName": "SeguroMedico",
- "uuid": "505835c1-0cd7-4e71-8e48-35a754b82f26",
- "widget": {
- "providerName": "uicommons",
- "fragmentId": "field/text"
- }
- }
- ]
- },
- {
- "legend": "Numero Seguro Medico",
- "id": "No.SeguroMedico",
- "fields": [
- {
- "type": "personAttribute",
- "label": "Numero de Seguro Medico",
- "formFieldName": "SeguroMedico",
- "uuid": "2f1b2f48-bec2-42e6-8506-355c82680220",
- "widget": {
- "providerName": "uicommons",
- "fragmentId": "field/text"
- }
- }
- ]
- },
- {
- "legend": "Ocupacion",
- "id": "OcupacionLabel",
- "fields": [
- {
- "type": "personAttribute",
- "label": "Ocupacion",
- "formFieldName": "Ocupacion",
- "uuid": "e07acc22-3488-492b-ad3c-3c13d59e3f14",
- "widget": {
- "providerName": "uicommons",
- "fragmentId": "field/text"
- }
- }
- ]
- },
- {
- "legend": "Escolaridad",
- "id": "EscolaridadLabel",
- "fields": [
- {
- "type": "personAttribute",
- "label": "Escolaridad",
- "formFieldName": "Escolaridad",
- "uuid": "3ea37889-4fe6-4e72-9730-ca4abc91ae84",
- "widget": {
- "providerName": "uicommons",
- "fragmentId": "field/text"
- }
- }
- ]
- },
- {
- "id":"EstadoCivil",
- "label":"EstadocivilLabel",
- "questions":[
- {
- "legend":"Estado Civil",
- "fields":[
- {
- "type":"obs",
- "formFieldName":"obs.CIEL:1054",
- "label":"Estado Civil",
- "widget":{
- "providerName": "uicommons",
- "fragmentId": "field/EstadoCivil"
- }
- }
- ]
- }
- ]
- }
- },
- {
- "legend": "Nacionalidad",
- "id": "NacionalidadLabel",
- "fields": [
- {
- "type": "personAttribute",
- "label": "Nacionalidad",
- "formFieldName": "Nacionalidad",
- "uuid": "2dae9694-76a8-4448-9a37-c0fe55ee01db",
- "widget": {
- "providerName": "uicommons",
- "fragmentId": "field/text"
- }
- }
- ]
- },
- {
- "legend": "Religion",
- "id": "ReligionLabel",
- "fields": [
- {
- "type": "personAttribute",
- "label": "Religion",
- "formFieldName": "Religion",
- "uuid": "b6aa702b-d00e-4dcc-a05d-bef2f0a1eec3",
- "widget": {
- "providerName": "uicommons",
- "fragmentId": "field/text"
- }
- }
- ]
- }
- }
- ]
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement