Advertisement
Guest User

EstadoCivil REGAPP

a guest
Oct 26th, 2016
161
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 6.22 KB | None | 0 0
  1. {
  2.   "id": "referenceapplication.registrationapp.myRegisterPat",
  3.   "instanceOf": "registrationapp.registerPatient",
  4.   "label": "Registrar Paciente",
  5.   "description": "Crear un nuevo registro de paciente",
  6.   "extensions": [
  7.   {
  8.     "id": "referenceapplication.registrationapp.myRegisterPat.homepageLink",
  9.     "extensionPointId": "org.openmrs.referenceapplication.homepageLink",
  10.     "type": "link",
  11.     "label": "Registrar Paciente",
  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.       "id": "contactInfo",
  23.       "label": "registrationapp.patient.contactInfo.label",
  24.       "questions": [
  25.       {
  26.         "legend": "Person.address",
  27.         "fields": [
  28.         {
  29.           "type": "personAddress",
  30.           "label": "registrationapp.patient.address.question",
  31.           "widget": {
  32.             "providerName": "uicommons",
  33.             "fragmentId": "field/personAddress"
  34.           }
  35.         }
  36.         ]
  37.         },
  38.         {
  39.           "legend": "registrationapp.patient.phone.label",
  40.           "id": "phoneNumberLabel",
  41.           "fields": [
  42.           {
  43.             "type": "personAttribute",
  44.             "label": "registrationapp.patient.phone.question",
  45.             "formFieldName": "phoneNumber",
  46.             "uuid": "14d4f066-15f5-102d-96e4-000c29c2a5d7",
  47.             "widget": {
  48.               "providerName": "uicommons",
  49.               "fragmentId": "field/text"
  50.               },
  51.               "cssClasses": ["phone"]
  52.             }
  53.             ]
  54.             },
  55.             {
  56.               "legend": "Cedula",
  57.               "id": "CedulaLabel",
  58.               "fields": [
  59.               {
  60.                "type": "personAttribute",
  61.                "label": "Cedula",
  62.                "formFieldName": "Cedula",
  63.                "uuid": "8e37a3f4-569e-404a-a034-aacdf8bf79ff",
  64.                "widget": {
  65.                 "providerName": "uicommons",
  66.                 "fragmentId": "field/text"
  67.               }
  68.             }
  69.             ]
  70.             },
  71.  
  72.             {
  73.               "legend": "Seguro Medico",
  74.               "id": "SeguroMedicoLabel",
  75.               "fields": [
  76.               {
  77.                "type": "personAttribute",
  78.                "label": "Seguro Medico",
  79.                "formFieldName": "SeguroMedico",
  80.                "uuid": "505835c1-0cd7-4e71-8e48-35a754b82f26",
  81.                "widget": {
  82.                 "providerName": "uicommons",
  83.                 "fragmentId": "field/text"
  84.               }
  85.  
  86.             }
  87.             ]
  88.             },
  89.  
  90.             {
  91.               "legend": "Numero Seguro Medico",
  92.               "id": "No.SeguroMedico",
  93.               "fields": [
  94.               {
  95.                "type": "personAttribute",
  96.                "label": "Numero de Seguro Medico",
  97.                "formFieldName": "SeguroMedico",
  98.                "uuid": "2f1b2f48-bec2-42e6-8506-355c82680220",
  99.                "widget": {
  100.                 "providerName": "uicommons",
  101.                 "fragmentId": "field/text"
  102.               }
  103.  
  104.             }
  105.             ]
  106.             },
  107.             {
  108.               "legend": "Ocupacion",
  109.               "id": "OcupacionLabel",
  110.               "fields": [
  111.               {
  112.                "type": "personAttribute",
  113.                "label": "Ocupacion",
  114.                "formFieldName": "Ocupacion",
  115.                "uuid": "e07acc22-3488-492b-ad3c-3c13d59e3f14",
  116.                "widget": {
  117.                 "providerName": "uicommons",
  118.                 "fragmentId": "field/text"
  119.               }
  120.             }
  121.             ]
  122.             },
  123.  
  124.             {
  125.               "legend": "Escolaridad",
  126.               "id": "EscolaridadLabel",
  127.               "fields": [
  128.               {
  129.                "type": "personAttribute",
  130.                "label": "Escolaridad",
  131.                "formFieldName": "Escolaridad",
  132.                "uuid": "3ea37889-4fe6-4e72-9730-ca4abc91ae84",
  133.                "widget": {
  134.                 "providerName": "uicommons",
  135.                 "fragmentId": "field/text"
  136.               }
  137.             }
  138.             ]
  139.             },
  140.  
  141.             {
  142.               "id":"EstadoCivil",
  143.               "label":"EstadocivilLabel",
  144.               "questions":[
  145.               {
  146.                "legend":"Estado Civil",
  147.                "fields":[
  148.                {
  149.                  "type":"obs",
  150.                  "formFieldName":"obs.CIEL:1054",
  151.                  "label":"Estado Civil",
  152.                  "widget":{
  153.                   "providerName": "uicommons",
  154.                   "fragmentId": "field/EstadoCivil"          
  155.                           }
  156.                 }
  157.               ]
  158.                  }
  159.                  ]
  160.                    }    
  161.               },  
  162.               {
  163.                 "legend": "Nacionalidad",
  164.                 "id": "NacionalidadLabel",
  165.                 "fields": [
  166.                 {
  167.                  "type": "personAttribute",
  168.                  "label": "Nacionalidad",
  169.                  "formFieldName": "Nacionalidad",
  170.                  "uuid": "2dae9694-76a8-4448-9a37-c0fe55ee01db",
  171.                  "widget": {
  172.                   "providerName": "uicommons",
  173.                   "fragmentId": "field/text"
  174.                 }
  175.               }
  176.               ]
  177.               },
  178.               {
  179.                 "legend": "Religion",
  180.                 "id": "ReligionLabel",
  181.                 "fields": [
  182.                               {
  183.                                "type": "personAttribute",
  184.                                "label": "Religion",
  185.                                "formFieldName": "Religion",
  186.                                "uuid": "b6aa702b-d00e-4dcc-a05d-bef2f0a1eec3",
  187.                                "widget": {
  188.                                 "providerName": "uicommons",
  189.                                 "fragmentId": "field/text"
  190.                                           }
  191.                               }
  192.                             ]
  193.               }
  194.            
  195.           }
  196.           ]
  197.         }
  198.       }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement