Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="UTF-8"?>
- <h:html xmlns:h="http://www.w3.org/1999/xhtml" xmlns:jr="http://openrosa.org/javarosa" xmlns="http://www.w3.org/2002/xforms" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xf="http://www.w3.org/2002/xforms">
- <h:head>
- <h:title ref="jr:itext('bp_form')">BP Form</h:title>
- <xf:model xmlns:xf="http://www.w3.org/2002/xforms" id="openmrs_model">
- <xf:instance id="openmrs_model_instance">
- <form xmlns:openmrs="/moduleServlet/formentry/forms/schema/3-1" xmlns:xd="http://schemas.microsoft.com/office/infopath/2003" id="3" name="BP Form" version="1.0">
- <header>
- <enterer/>
- <date_entered/>
- <session/>
- <uid/>
- </header>
- <patient>
- <patient.family_name openmrs_table="patient_name" openmrs_attribute="family_name"/>
- <patient.given_name openmrs_table="patient_name" openmrs_attribute="given_name"/>
- <patient.patient_id openmrs_table="patient" openmrs_attribute="patient_id"/>
- </patient>
- <encounter>
- <encounter.encounter_datetime xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" openmrs_table="encounter" openmrs_attribute="encounter_datetime" xsi:nil="true">'today()'</encounter.encounter_datetime>
- <encounter.location_id xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" openmrs_table="encounter" openmrs_attribute="location_id" xsi:nil="true"/>
- <encounter.provider_id openmrs_table="encounter" openmrs_attribute="provider_id"/>
- </encounter>
- <obs openmrs_concept="1238^Gastrointestinal tularemia^99DCT" openmrs_datatype="ZZ">
- <systolic_blood_pressure openmrs_concept="29^Systolic Blood Pressure^99DCT" openmrs_datatype="NM">
- <date xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
- <time xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
- <value xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
- </systolic_blood_pressure>
- <diastolic_blood_pressure openmrs_concept="28^Diastolic Blood Pressure^99DCT" openmrs_datatype="NM">
- <date xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
- <time xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
- <value xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
- </diastolic_blood_pressure>
- </obs>
- <other/>
- </form>
- </xf:instance>
- <xf:bind xmlns:jr="http://openrosa.org/javarosa" id="patient.family_name" nodeset="/form/patient/patient.family_name" type="xsd:string" locked="true()" jr:preload="patient" jr:preloadParams="familyName"/>
- <xf:bind xmlns:jr="http://openrosa.org/javarosa" id="patient.given_name" nodeset="/form/patient/patient.given_name" type="xsd:string" locked="true()" jr:preload="patient" jr:preloadParams="givenName"/>
- <xf:bind xmlns:jr="http://openrosa.org/javarosa" id="patient.patient_id" nodeset="/form/patient/patient.patient_id" type="xsd:int" required="true()" visible="false()" jr:preload="patient" jr:preloadParams="patientId"/>
- <xf:bind xmlns:jr="http://openrosa.org/javarosa" id="encounter.encounter_datetime" nodeset="/form/encounter/encounter.encounter_datetime" type="xsd:dateTime" constraint=". <= today()" jr:constraintMsg="Encounter date cannot be after today" required="true()" ref="/form/encounter/encounter.encounter_datetime"/>
- <xf:bind id="encounter.location_id" nodeset="/form/encounter/encounter.location_id" type="xsd:string" required="true()"/>
- <xf:bind id="encounter.provider_id" nodeset="/form/encounter/encounter.provider_id" type="xsd:string" required="true()"/>
- <xf:bind xmlns:jr="http://openrosa.org/javarosa" id="systolic_blood_pressure" nodeset="/form/obs/systolic_blood_pressure/value" constraint=". >= 0 and . <= 250" jr:constraintMsg="value should be between 0 and 250 inclusive" type="xsd:decimal" ref="/form/obs/systolic_blood_pressure/value"/>
- <xf:bind xmlns:jr="http://openrosa.org/javarosa" id="diastolic_blood_pressure" nodeset="/form/obs/diastolic_blood_pressure/value" constraint=". >= 0 and . <= 150" jr:constraintMsg="value should be between 0 and 150 inclusive" type="xsd:decimal" ref="/form/obs/diastolic_blood_pressure/value"/>
- <itext>
- <translation lang="en" lang-name="English">
- <text id="bp_form">
- <value>BP Form</value>
- </text>
- <text id="page1">
- <value>Page1</value>
- </text>
- <text id="family_name">
- <value>FAMILY NAME</value>
- </text>
- <text id="given_name">
- <value>GIVEN NAME</value>
- </text>
- <text id="patient_id">
- <value>PATIENT ID</value>
- </text>
- <text id="encounter_datetime">
- <value>ENCOUNTER DATETIME</value>
- </text>
- <text id="location_id">
- <value>LOCATION ID</value>
- </text>
- <text id="unknown_location_1">
- <value>Unknown Location [1]</value>
- </text>
- <text id="provider_id">
- <value>PROVIDER ID</value>
- </text>
- <text id="eric_dionisio_calip_11">
- <value>Eric Dionisio Calip [11]</value>
- </text>
- <text id="nathaniel_d._cruz_9">
- <value>Nathaniel D. Cruz [9]</value>
- </text>
- <text id="super_user_1">
- <value>Super User [1]</value>
- </text>
- <text id="systolic_blood_pressure">
- <value>Systolic Blood Pressure</value>
- </text>
- <text id="numeric_input_of_a_patients_systolic_blood_pressure_measurement_taken_with_a_manual_cuff_in_either_a_sitting_or_standing_position">
- <value>Numeric input of a patient's systolic blood pressure measurement (taken with a manual cuff in either a sitting or standing position)</value>
- </text>
- <text id="diastolic_blood_pressure">
- <value>Diastolic Blood Pressure</value>
- </text>
- <text id="numeric_input_of_a_patients_diastolic_blood_pressure_measurement_taken_with_a_manual_cuff_in_either_a_sitting_or_standing_position">
- <value>Numeric input of a patient's diastolic blood pressure measurement (taken with a manual cuff in either a sitting or standing position)</value>
- </text>
- <text id="encounter_date_cannot_be_after_today">
- <value>Encounter date cannot be after today</value>
- </text>
- <text id="value_should_be_between_0_and_250_inclusive">
- <value>value should be between 0 and 250 inclusive</value>
- </text>
- <text id="value_should_be_between_0_and_150_inclusive">
- <value>value should be between 0 and 150 inclusive</value>
- </text>
- </translation>
- </itext>
- </xf:model>
- </h:head>
- <h:body>
- <xf:group id="1">
- <xf:label ref="jr:itext('page1')">Page1</xf:label>
- <xf:input bind="patient.family_name">
- <xf:label ref="jr:itext('family_name')">FAMILY NAME</xf:label>
- </xf:input>
- <xf:input bind="patient.given_name">
- <xf:label ref="jr:itext('given_name')">GIVEN NAME</xf:label>
- </xf:input>
- <xf:input bind="patient.patient_id">
- <xf:label ref="jr:itext('patient_id')">PATIENT ID</xf:label>
- </xf:input>
- <xf:input bind="encounter.encounter_datetime">
- <xf:label ref="jr:itext('encounter_datetime')">ENCOUNTER DATETIME</xf:label>
- </xf:input>
- <xf:select1 bind="encounter.location_id">
- <xf:label ref="jr:itext('location_id')">LOCATION ID</xf:label>
- <xf:item id="1">
- <xf:label ref="jr:itext('unknown_location_1')">Unknown Location [1]</xf:label>
- <xf:value>1</xf:value>
- </xf:item>
- </xf:select1>
- <xf:select1 bind="encounter.provider_id">
- <xf:label ref="jr:itext('provider_id')">PROVIDER ID</xf:label>
- <xf:item id="11">
- <xf:label ref="jr:itext('eric_dionisio_calip_11')">Eric Dionisio Calip [11]</xf:label>
- <xf:value>11</xf:value>
- </xf:item>
- <xf:item id="9">
- <xf:label ref="jr:itext('nathaniel_d._cruz_9')">Nathaniel D. Cruz [9]</xf:label>
- <xf:value>9</xf:value>
- </xf:item>
- <xf:item id="1">
- <xf:label ref="jr:itext('super_user_1')">Super User [1]</xf:label>
- <xf:value>1</xf:value>
- </xf:item>
- </xf:select1>
- <xf:input bind="systolic_blood_pressure">
- <xf:label ref="jr:itext('systolic_blood_pressure')">Systolic Blood Pressure</xf:label>
- <xf:hint ref="jr:itext('numeric_input_of_a_patients_systolic_blood_pressure_measurement_taken_with_a_manual_cuff_in_either_a_sitting_or_standing_position')">Numeric input of a patient's systolic blood pressure measurement (taken with a manual cuff in either a sitting or standing position)</xf:hint>
- </xf:input>
- <xf:input bind="diastolic_blood_pressure">
- <xf:label ref="jr:itext('diastolic_blood_pressure')">Diastolic Blood Pressure</xf:label>
- <xf:hint ref="jr:itext('numeric_input_of_a_patients_diastolic_blood_pressure_measurement_taken_with_a_manual_cuff_in_either_a_sitting_or_standing_position')">Numeric input of a patient's diastolic blood pressure measurement (taken with a manual cuff in either a sitting or standing position)</xf:hint>
- </xf:input>
- </xf:group>
- </h:body>
- </h:html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement