Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="UTF-8"?>
- <xf:xforms xmlns:xf="http://www.w3.org/2002/xforms" xmlns:jr="http://openrosa.org/javarosa" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <parsererror xmlns="http://www.w3.org/1999/xhtml" style="display: block; white-space: pre; border: 2px solid #c77; padding: 0 1em 0 1em; margin: 1em; background-color: #fdd; color: black">
- <h3>This page contains the following errors:</h3>
- <div style="font-family:monospace;font-size:12px">error on line 50 at column 44: xmlns:openmrs: 'formentry.infopath_server_url cannot be empty/moduleServlet/formentry/forms/schema/5-1' is not a valid URI </div>
- <h3>Below is a rendering of the page up to the first error.</h3>
- </parsererror>
- <xf:model>
- <xf:instance>
- <patient name="Patient" id="0" description-template="${/patient/family_name}$ ${/patient/middle_name}$ ${/patient/given_name}$">
- <enterer/>
- <family_name/>
- <middle_name/>
- <given_name/>
- <birth_date/>
- <birth_date_estimated/>
- <gender/>
- <degree/>
- <family_name2/>
- <family_name_prefix/>
- <family_name_suffix/>
- <prefix/>
- <location_id/>
- <patient_identifier_type_id/>
- <person_attribute2/>
- <person_attribute3/>
- <person_attribute5/>
- <person_attribute7/>
- <person_attribute6/>
- <person_attribute4/>
- <person_attribute1/>
- <person_attribute8/>
- <person_address_address1/>
- <person_address_address2/>
- <person_address_city_village/>
- <person_address_state_province/>
- <person_address_postal_code/>
- <person_address_country/>
- <person_address_latitude/>
- <person_address_longitude/>
- <person_address_county_district/>
- <person_address_neighborhood_cell/>
- <person_address_region/>
- <person_address_subregion/>
- <person_address_township_division/>
- <other_identifiers>
- <other_identifier/>
- <other_identifier_type_id/>
- <other_identifier_location_id/>
- </other_identifiers>
- <person_attribute9/>
- <person_attribute10/>
- <identifier/>
- <patient_id/>
- <form xmlns:openmrs="formentry.infopath_server_url cannot be empty/moduleServlet/formentry/forms/schema/5-1" xmlns:xd="http://schemas.microsoft.com/office/infopath/2003" id="5" name="Registration Encounter Form" version="0.1">
- <header>
- <enterer/>
- <date_entered/>
- <session/>
- <uid/>
- </header>
- <encounter>
- <encounter.encounter_datetime openmrs_table="encounter" openmrs_attribute="encounter_datetime">'today()'</encounter.encounter_datetime>
- <encounter.location_id openmrs_table="encounter" openmrs_attribute="location_id"/>
- <encounter.provider_id openmrs_table="encounter" openmrs_attribute="provider_id" provider_id_type="PROVIDER.ID"/>
- </encounter>
- <other/>
- </form>
- </patient>
- </xf:instance>
- <xf:bind id="family_name" nodeset="/patient/family_name" type="xsd:string" required="true()"/>
- <xf:bind id="middle_name" nodeset="/patient/middle_name" type="xsd:string"/>
- <xf:bind id="given_name" nodeset="/patient/given_name" type="xsd:string"/>
- <xf:bind id="birth_date" nodeset="/patient/birth_date" type="xsd:date"/>
- <xf:bind id="birth_date_estimated" nodeset="/patient/birth_date_estimated" type="xsd:boolean"/>
- <xf:bind id="gender" nodeset="/patient/gender" type="xsd:string"/>
- <xf:bind id="degree" nodeset="/patient/degree" type="xsd:string"/>
- <xf:bind id="family_name2" nodeset="/patient/family_name2" type="xsd:string"/>
- <xf:bind id="family_name_prefix" nodeset="/patient/family_name_prefix" type="xsd:string"/>
- <xf:bind id="family_name_suffix" nodeset="/patient/family_name_suffix" type="xsd:string"/>
- <xf:bind id="prefix" nodeset="/patient/prefix" type="xsd:string"/>
- <xf:bind id="location_id" nodeset="/patient/location_id" type="xsd:string" required="true()"/>
- <xf:bind id="patient_identifier_type_id" nodeset="/patient/patient_identifier_type_id" type="xsd:string" required="true()"/>
- <xf:bind id="person_attribute2" nodeset="/patient/person_attribute2" type="xsd:string"/>
- <xf:bind id="person_attribute3" nodeset="/patient/person_attribute3" type="xsd:string"/>
- <xf:bind id="person_attribute5" nodeset="/patient/person_attribute5" type="xsd:string"/>
- <xf:bind id="person_attribute7" nodeset="/patient/person_attribute7" type="xsd:string"/>
- <xf:bind id="person_attribute6" nodeset="/patient/person_attribute6" type="xsd:string"/>
- <xf:bind id="person_attribute4" nodeset="/patient/person_attribute4" type="xsd:string"/>
- <xf:bind id="person_attribute1" nodeset="/patient/person_attribute1" type="xsd:string"/>
- <xf:bind id="person_attribute8" nodeset="/patient/person_attribute8" type="xsd:string"/>
- <xf:bind id="person_address_address1" nodeset="/patient/person_address_address1" type="xsd:string"/>
- <xf:bind id="person_address_address2" nodeset="/patient/person_address_address2" type="xsd:string"/>
- <xf:bind id="person_address_city_village" nodeset="/patient/person_address_city_village" type="xsd:string"/>
- <xf:bind id="person_address_state_province" nodeset="/patient/person_address_state_province" type="xsd:string"/>
- <xf:bind id="person_address_postal_code" nodeset="/patient/person_address_postal_code" type="xsd:string"/>
- <xf:bind id="person_address_country" nodeset="/patient/person_address_country" type="xsd:string"/>
- <xf:bind id="person_address_latitude" nodeset="/patient/person_address_latitude" type="xsd:string"/>
- <xf:bind id="person_address_longitude" nodeset="/patient/person_address_longitude" type="xsd:string"/>
- <xf:bind id="person_address_county_district" nodeset="/patient/person_address_county_district" type="xsd:string"/>
- <xf:bind id="person_address_neighborhood_cell" nodeset="/patient/person_address_neighborhood_cell" type="xsd:string"/>
- <xf:bind id="person_address_region" nodeset="/patient/person_address_region" type="xsd:string"/>
- <xf:bind id="person_address_subregion" nodeset="/patient/person_address_subregion" type="xsd:string"/>
- <xf:bind id="person_address_township_division" nodeset="/patient/person_address_township_division" type="xsd:string"/>
- <xf:bind id="other_identifiers" nodeset="/patient/other_identifiers" type="xsd:string"/>
- <xf:bind id="person_attribute9" nodeset="/patient/person_attribute9" type="xsd:string"/>
- <xf:bind id="person_attribute10" nodeset="/patient/person_attribute10" type="xsd:string"/>
- <xf:bind id="encounter.encounter_datetime" nodeset="/patient/form/encounter/encounter.encounter_datetime" type="xsd:dateTime" constraint=". <= today()" message="Encounter date cannot be after today" required="true()"/>
- <xf:bind id="encounter.provider_id" nodeset="/patient/form/encounter/encounter.provider_id" type="xsd:string" required="true()"/>
- <xf:bind id="identifier" nodeset="/patient/identifier" type="xsd:string" required="true()"/>
- <xf:bind id="patient_id" nodeset="/patient/patient_id" type="xsd:int" readonly="true()" visible="false()"/>
- <xf:bind id="other_identifier" nodeset="/patient/other_identifiers/other_identifier" type="xsd:string"/>
- <xf:bind id="other_identifier_type_id" nodeset="/patient/other_identifiers/other_identifier_type_id" type="xsd:string"/>
- <xf:bind id="other_identifier_location_id" nodeset="/patient/other_identifiers/other_identifier_location_id" type="xsd:string"/>
- <xf:bind id="encounter.location_id" nodeset="/patient/form/encounter/encounter.location_id" type="xsd:int" required="true()"/>
- </xf:model>
- <xf:group id="1">
- <xf:label>Page1</xf:label>
- <xf:input bind="family_name">
- <xf:label>Family Name</xf:label>
- <xf:hint>The patient family name</xf:hint>
- </xf:input>
- <xf:input bind="middle_name">
- <xf:label>Middle Name</xf:label>
- <xf:hint>The patient middle name</xf:hint>
- </xf:input>
- <xf:input bind="given_name">
- <xf:label>Given Name</xf:label>
- <xf:hint>The patient given name</xf:hint>
- </xf:input>
- <xf:input bind="birth_date">
- <xf:label>Birth Date</xf:label>
- <xf:hint>The patient birth date</xf:hint>
- </xf:input>
- <xf:input bind="birth_date_estimated">
- <xf:label>Birth Date Estimated</xf:label>
- <xf:hint>Is the patient birth date estimated?</xf:hint>
- </xf:input>
- <xf:select1 bind="gender">
- <xf:label>Gender</xf:label>
- <xf:hint>The patient's sex</xf:hint>
- <xf:item id="M">
- <xf:label>Male</xf:label>
- <xf:value>M</xf:value>
- </xf:item>
- <xf:item id="F">
- <xf:label>Female</xf:label>
- <xf:value>F</xf:value>
- </xf:item>
- </xf:select1>
- <xf:input bind="degree">
- <xf:label>Degree</xf:label>
- <xf:hint>The patient name degree</xf:hint>
- </xf:input>
- <xf:input bind="family_name2">
- <xf:label>Family Name 2</xf:label>
- <xf:hint>The patient second family name</xf:hint>
- </xf:input>
- <xf:input bind="family_name_prefix">
- <xf:label>Family Name Prefix</xf:label>
- <xf:hint>The patient family name prefix</xf:hint>
- </xf:input>
- <xf:input bind="family_name_suffix">
- <xf:label>Family Name Suffix</xf:label>
- <xf:hint>The patient family name suffix</xf:hint>
- </xf:input>
- <xf:input bind="prefix">
- <xf:label>Prefix</xf:label>
- <xf:hint>The patient name prefix</xf:hint>
- </xf:input>
- <xf:select1 bind="location_id">
- <xf:label>Location</xf:label>
- <xf:hint>The patient's location</xf:hint>
- <xf:item id="3">
- <xf:label>Kijabe</xf:label>
- <xf:value>3</xf:value>
- </xf:item>
- <xf:item id="2">
- <xf:label>Naivasha</xf:label>
- <xf:value>2</xf:value>
- </xf:item>
- <xf:item id="1">
- <xf:label>Unknown Location</xf:label>
- <xf:value>1</xf:value>
- </xf:item>
- </xf:select1>
- <xf:select1 bind="patient_identifier_type_id">
- <xf:label>Identifier Type</xf:label>
- <xf:hint>The patient's identifier type</xf:hint>
- <xf:item id="2">
- <xf:label>Old Identification Number</xf:label>
- <xf:value>2</xf:value>
- </xf:item>
- <xf:item id="1">
- <xf:label>OpenMRS Identification Number</xf:label>
- <xf:value>1</xf:value>
- </xf:item>
- </xf:select1>
- <xf:input bind="person_attribute2">
- <xf:label>Birthplace</xf:label>
- <xf:hint>Location of persons birth</xf:hint>
- </xf:input>
- <xf:input bind="person_attribute3">
- <xf:label>Citizenship</xf:label>
- <xf:hint>Country of which this person is a member</xf:hint>
- </xf:input>
- <xf:select1 bind="person_attribute5">
- <xf:label>Civil Status</xf:label>
- <xf:hint>Marriage status of this person</xf:hint>
- <xf:item concept_id="1056" id="1056">
- <xf:label>SEPARATED</xf:label>
- <xf:value>1056</xf:value>
- </xf:item>
- <xf:item concept_id="1057" id="1057">
- <xf:label>NEVER MARRIED</xf:label>
- <xf:value>1057</xf:value>
- </xf:item>
- <xf:item concept_id="1058" id="1058">
- <xf:label>DIVORCED</xf:label>
- <xf:value>1058</xf:value>
- </xf:item>
- <xf:item concept_id="1059" id="1059">
- <xf:label>WIDOWED</xf:label>
- <xf:value>1059</xf:value>
- </xf:item>
- <xf:item concept_id="1060" id="1060">
- <xf:label>LIVING WITH PARTNER</xf:label>
- <xf:value>1060</xf:value>
- </xf:item>
- <xf:item concept_id="5555" id="5555">
- <xf:label>MARRIED</xf:label>
- <xf:value>5555</xf:value>
- </xf:item>
- </xf:select1>
- <xf:select1 bind="person_attribute7">
- <xf:label>Health Center</xf:label>
- <xf:hint>Specific Location of this person's home health center.</xf:hint>
- <xf:item id="3">
- <xf:label>Kijabe [3]</xf:label>
- <xf:value>3</xf:value>
- </xf:item>
- <xf:item id="2">
- <xf:label>Naivasha [2]</xf:label>
- <xf:value>2</xf:value>
- </xf:item>
- <xf:item id="1">
- <xf:label>Unknown Location [1]</xf:label>
- <xf:value>1</xf:value>
- </xf:item>
- </xf:select1>
- <xf:input bind="person_attribute6">
- <xf:label>Health District</xf:label>
- <xf:hint>District/region in which this patient' home health center resides</xf:hint>
- </xf:input>
- <xf:input bind="person_attribute4">
- <xf:label>Mother's Name</xf:label>
- <xf:hint>First or last name of this person's mother</xf:hint>
- </xf:input>
- <xf:input bind="person_attribute1">
- <xf:label>Race</xf:label>
- <xf:hint>Group of persons related by common descent or heredity</xf:hint>
- </xf:input>
- <xf:input bind="person_attribute8">
- <xf:label>Hair Colour</xf:label>
- <xf:hint>Hair colour</xf:hint>
- </xf:input>
- <xf:input bind="person_address_address1">
- <xf:label>Address 1</xf:label>
- </xf:input>
- <xf:input bind="person_address_address2">
- <xf:label>Address 2</xf:label>
- </xf:input>
- <xf:input bind="person_address_city_village">
- <xf:label>City/Village</xf:label>
- </xf:input>
- <xf:input bind="person_address_state_province">
- <xf:label>State/Province</xf:label>
- </xf:input>
- <xf:input bind="person_address_postal_code">
- <xf:label>Postal Code</xf:label>
- </xf:input>
- <xf:input bind="person_address_country">
- <xf:label>Country</xf:label>
- </xf:input>
- <xf:input bind="person_address_latitude">
- <xf:label>Latitude</xf:label>
- </xf:input>
- <xf:input bind="person_address_longitude">
- <xf:label>Longitude</xf:label>
- </xf:input>
- <xf:input bind="person_address_county_district">
- <xf:label>County/District</xf:label>
- </xf:input>
- <xf:input bind="person_address_neighborhood_cell">
- <xf:label>Neighborhood Cell</xf:label>
- </xf:input>
- <xf:input bind="person_address_region">
- <xf:label>Region</xf:label>
- </xf:input>
- <xf:input bind="person_address_subregion">
- <xf:label>Sub Region</xf:label>
- </xf:input>
- <xf:input bind="person_address_township_division">
- <xf:label>Township/Division</xf:label>
- </xf:input>
- <xf:group id="other_identifiers">
- <xf:label>Other dentifiers</xf:label>
- <xf:repeat bind="other_identifiers">
- <xf:input bind="other_identifier">
- <xf:label>Other Identifier</xf:label>
- <xf:hint>The patient's other identifier value</xf:hint>
- </xf:input>
- <xf:select1 bind="other_identifier_type_id">
- <xf:label>Identifier Type</xf:label>
- <xf:hint>The patient's other identifier type</xf:hint>
- <xf:item id="2">
- <xf:label>Old Identification Number</xf:label>
- <xf:value>2</xf:value>
- </xf:item>
- <xf:item id="1">
- <xf:label>OpenMRS Identification Number</xf:label>
- <xf:value>1</xf:value>
- </xf:item>
- </xf:select1>
- <xf:select1 bind="other_identifier_location_id">
- <xf:label>Identifier Location</xf:label>
- <xf:hint>The patient's other identifier location</xf:hint>
- <xf:item id="3">
- <xf:label>Kijabe [3]</xf:label>
- <xf:value>3</xf:value>
- </xf:item>
- <xf:item id="2">
- <xf:label>Naivasha [2]</xf:label>
- <xf:value>2</xf:value>
- </xf:item>
- <xf:item id="1">
- <xf:label>Unknown Location [1]</xf:label>
- <xf:value>1</xf:value>
- </xf:item>
- </xf:select1>
- </xf:repeat>
- </xf:group>
- <xf:input bind="person_attribute9">
- <xf:label>Phone Number</xf:label>
- <xf:hint>Phone number</xf:hint>
- </xf:input>
- <xf:input bind="person_attribute10">
- <xf:label>Chief/Local Council</xf:label>
- <xf:hint>Chief or local council name</xf:hint>
- </xf:input>
- <xf:input bind="encounter.encounter_datetime">
- <xf:label>ENCOUNTER DATETIME</xf:label>
- </xf:input>
- <xf:select1 bind="encounter.provider_id">
- <xf:label>PROVIDER ID</xf:label>
- <xf:item id="2">
- <xf:label>Bob Nurse [100-2]</xf:label>
- <xf:value>2</xf:value>
- </xf:item>
- <xf:item id="1">
- <xf:label>Doctor Anne [100-1]</xf:label>
- <xf:value>1</xf:value>
- </xf:item>
- <xf:item id="3">
- <xf:label>Beatrice Ondoka [100-3]</xf:label>
- <xf:value>3</xf:value>
- </xf:item>
- <xf:item id="7">
- <xf:label>Beatrice Ondoka [7]</xf:label>
- <xf:value>7</xf:value>
- </xf:item>
- </xf:select1>
- <xf:input bind="identifier">
- <xf:label>Identifier</xf:label>
- <xf:hint>The patient identifier</xf:hint>
- </xf:input>
- <xf:input bind="patient_id">
- <xf:label>Patient ID</xf:label>
- <xf:hint>The patient ID</xf:hint>
- </xf:input>
- </xf:group>
- </xf:xforms>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement