Skip to content

Instantly share code, notes, and snippets.

@avernet
Created June 17, 2016 00:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save avernet/4128399a1b19c37a13918f657c643f23 to your computer and use it in GitHub Desktop.
Save avernet/4128399a1b19c37a13918f657c643f23 to your computer and use it in GitHub Desktop.
Report of Health Examination For School Entry
<xh:html xmlns:xh="http://www.w3.org/1999/xhtml"
xmlns:xxi="http://orbeon.org/oxf/xml/xinclude"
xmlns:ev="http://www.w3.org/2001/xml-events"
xmlns:xi="http://www.w3.org/2001/XInclude"
xmlns:saxon="http://saxon.sf.net/"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xxf="http://orbeon.org/oxf/xml/xforms"
xmlns:fb="http://orbeon.org/oxf/xml/form-builder"
xmlns:sql="http://orbeon.org/oxf/xml/sql"
xmlns:fr="http://orbeon.org/oxf/xml/form-runner"
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xf="http://www.w3.org/2002/xforms"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:exf="http://www.exforms.org/exf/1-0">
<xh:head>
<xh:title>Report of Health Examination For School Entry</xh:title>
<xf:model id="fr-form-model" xxf:expose-xpath-types="true">
<!-- Main instance -->
<xf:instance id="fr-form-instance" xxf:exclude-result-prefixes="#all" xxf:index="id">
<form>
<section-1>
<section-39>
<control-1/>
<control-39/>
<control-5/>
<control-7/>
<control-8/>
<control-9/>
<control-10/>
<control-11/>
</section-39>
</section-1>
<section-37>
<section-38>
<control-13/>
<control-40/>
<control-41/>
<control-42/>
<control-43/>
<control-44/>
<control-45/>
</section-38>
<section-3>
<control-60/>
<control-61/>
<control-62/>
<control-63/>
<control-64/>
<control-65/>
<control-66/>
</section-3>
</section-37>
<section-41>
<section-43>
<control-53/>
<control-52/>
</section-43>
<section-45>
<control-54/>
<control-56/>
<control-57/>
<control-58/>
<control-55/>
<control-59/>
</section-45>
</section-41>
</form>
</xf:instance>
<!-- Bindings -->
<xf:bind id="fr-form-binds" ref="instance('fr-form-instance')">
<xf:bind id="section-1-bind" name="section-1" ref="section-1">
<xf:bind id="section-39-bind" ref="section-39" name="section-39">
<xf:bind id="control-1-bind" name="control-1" ref="control-1" xxf:whitespace="trim"/>
<xf:bind id="control-5-bind" ref="control-5" name="control-5" xxf:whitespace="trim"/>
<xf:bind id="control-39-bind" ref="control-39" name="control-39" xxf:whitespace="trim"/>
<xf:bind id="control-7-bind" ref="control-7" name="control-7" type="xf:date"/>
<xf:bind id="control-8-bind" ref="control-8" name="control-8" xxf:whitespace="trim"/>
<xf:bind id="control-9-bind" ref="control-9" name="control-9" xxf:whitespace="trim"/>
<xf:bind id="control-10-bind" ref="control-10" name="control-10" xxf:whitespace="trim"/>
<xf:bind id="control-11-bind" ref="control-11" name="control-11" xxf:whitespace="trim"/>
</xf:bind>
</xf:bind>
<xf:bind id="section-37-bind" ref="section-37" name="section-37">
<xf:bind id="section-38-bind" ref="section-38" name="section-38">
<xf:bind id="control-13-bind" ref="control-13" name="control-13"/>
<xf:bind id="control-40-bind" ref="control-40" name="control-40" type="xf:date"/>
<xf:bind id="control-41-bind" ref="control-41" name="control-41" type="xf:date"/>
<xf:bind id="control-42-bind" ref="control-42" name="control-42" type="xf:date"/>
<xf:bind id="control-43-bind" ref="control-43" name="control-43" type="xf:date"/>
<xf:bind id="control-44-bind" ref="control-44" name="control-44" type="xf:date"/>
<xf:bind id="control-45-bind" ref="control-45" name="control-45" type="xf:date"/>
</xf:bind>
<xf:bind id="section-3-bind" ref="section-3" name="section-3">
<xf:bind id="control-60-bind" ref="control-60" name="control-60"/>
<xf:bind id="control-61-bind" ref="control-61" name="control-61"/>
<xf:bind id="control-62-bind" ref="control-62" name="control-62"/>
<xf:bind id="control-63-bind" ref="control-63" name="control-63"/>
<xf:bind id="control-64-bind" ref="control-64" name="control-64" type="xf:date"/>
<xf:bind id="control-65-bind" ref="control-65" name="control-65" type="xf:date"/>
<xf:bind id="control-66-bind" ref="control-66" name="control-66" type="xf:date"/>
</xf:bind>
</xf:bind>
<xf:bind id="section-41-bind" ref="section-41" name="section-41">
<xf:bind id="section-43-bind" ref="section-43" name="section-43">
<xf:bind id="control-53-bind" ref="control-53" name="control-53"/>
<xf:bind id="control-52-bind" ref="control-52" name="control-52" type="xf:anyURI"/>
</xf:bind>
<xf:bind id="section-45-bind" ref="section-45" name="section-45">
<xf:bind id="control-54-bind" ref="control-54" name="control-54"/>
<xf:bind id="control-56-bind" ref="control-56" name="control-56" xxf:whitespace="trim"/>
<xf:bind id="control-57-bind" ref="control-57" name="control-57" xxf:whitespace="trim"/>
<xf:bind id="control-55-bind" ref="control-55" name="control-55"/>
<xf:bind id="control-58-bind" ref="control-58" name="control-58"
constraint=". = '' or matches(., '^\d{10}$')"/>
<xf:bind id="control-59-bind" ref="control-59" name="control-59" type="xf:anyURI"/>
</xf:bind>
</xf:bind>
</xf:bind>
<!-- Metadata -->
<xf:instance xxf:readonly="true" id="fr-form-metadata" xxf:exclude-result-prefixes="#all">
<metadata>
<application-name>health</application-name>
<form-name>immunizations</form-name>
<title xml:lang="en">Report of Health Examination For School Entry</title>
<description xml:lang="en">To protect the health of children, California law requires a health examination on school entry. Please have this report filled out by a health examiner and return it to the school. </description>
<singleton>false</singleton>
</metadata>
</xf:instance>
<!-- Attachments -->
<xf:instance id="fr-form-attachments" xxf:exclude-result-prefixes="#all">
<attachments>
<css mediatype="text/css" filename="" size=""/>
<pdf mediatype="application/pdf" filename="" size=""/>
</attachments>
</xf:instance>
<!-- All form resources -->
<xf:instance xxf:readonly="true" id="fr-form-resources" xxf:exclude-result-prefixes="#all">
<resources>
<resource xml:lang="en">
<control-13>
<text>&lt;div&gt;&lt;strong style="line-height: 1.5em;"&gt;NOTE&lt;/strong&gt;&lt;span style="line-height: 1.5em;"&gt;: All tests and evaluations except the blood lead test must be done after the child is 4 years and 3 months of age.&lt;/span&gt;&lt;/div&gt;</text>
</control-13>
<control-40>
<label>Health History</label>
<hint/>
</control-40>
<control-41>
<label>Physical Examination</label>
<hint/>
</control-41>
<control-42>
<label>Dental examination</label>
<hint/>
</control-42>
<control-43>
<label>Nutritional Assessment</label>
<hint/>
</control-43>
<control-44>
<label>Vision Screening</label>
<hint/>
</control-44>
<control-45>
<label>TB Risk Assessment</label>
<hint/>
</control-45>
<control-60>
<text>&lt;div&gt;&lt;strong&gt;First&lt;/strong&gt;&lt;/div&gt;</text>
</control-60>
<control-61>
<text>&lt;div&gt;&lt;strong&gt;Second&lt;/strong&gt;&lt;/div&gt;</text>
</control-61>
<control-62>
<text>&lt;div&gt;&lt;strong&gt;Third&lt;/strong&gt;&lt;/div&gt;</text>
</control-62>
<control-63>
<text>&lt;div&gt;&lt;strong&gt;POLIO&lt;/strong&gt; (OPV or IPV)&lt;/div&gt;</text>
</control-63>
<control-64>
<label/>
<hint/>
</control-64>
<control-65>
<label/>
<hint/>
</control-65>
<control-66>
<label/>
<hint/>
</control-66>
<control-1>
<label>First name</label>
<hint/>
<alert/>
</control-1>
<control-39>
<label>Last name</label>
<hint/>
</control-39>
<control-5>
<label>Middle name</label>
<hint/>
</control-5>
<control-7>
<label>Date of birth</label>
<hint/>
</control-7>
<control-8>
<label>Address</label>
<hint/>
</control-8>
<control-9>
<label>City</label>
<hint/>
</control-9>
<control-10>
<label>Zip code</label>
<hint/>
</control-10>
<control-11>
<label>School</label>
<hint/>
</control-11>
<control-54>
<label/>
<hint/>
<item>
<label>Examination shows no condition of concern to school program activities.</label>
<hint/>
<value>1</value>
</item>
<item>
<label>Conditions found in the examination or after further evaluation that are of importance to schooling or physical activity are: (please explain)</label>
<hint/>
<value>2</value>
</item>
</control-54>
<control-56>
<label>Name of health examiner</label>
<hint/>
</control-56>
<control-57>
<label>Address of health examiner</label>
<hint/>
</control-57>
<control-58>
<label>Phone number of health examiner</label>
<hint/>
</control-58>
<control-55>
<label/>
<hint/>
</control-55>
<control-59>
<label>Signature of health examiner</label>
<hint/>
</control-59>
<control-53>
<label>I give permission for the health examiner to share the additional information about the health check-up with the school as explained in Part III.</label>
<hint/>
<item>
<label>Please check this box if you &lt;i&gt;&lt;b&gt;do not&lt;/b&gt;&lt;/i&gt; want the health examiner to fill out Part III.</label>
<hint/>
<value>1</value>
</item>
</control-53>
<control-52>
<label>Signature of parent or guardian</label>
<hint/>
</control-52>
<section-43>
<label>Release of health information by parent of guardian</label>
<help/>
</section-43>
<section-45>
<label>Results and recommendations by health examiner</label>
<help/>
</section-45>
<section-41>
<label>Part III - Additional information from health examiner</label>
<help/>
</section-41>
<section-1>
<label>Part I - To be filled out by parent or guardian</label>
</section-1>
<section-37>
<label>Part II - To be filled out by health examiner</label>
<help/>
</section-37>
<section-39>
<label>Child information</label>
<help/>
</section-39>
<section-38>
<label>Health examination</label>
<help/>
</section-38>
<section-3>
<label>Immunization record</label>
<help/>
</section-3>
</resource>
</resources>
</xf:instance>
<!-- Utility instances for services -->
<xf:instance id="fr-service-request-instance" xxf:exclude-result-prefixes="#all">
<request/>
</xf:instance>
<xf:instance id="fr-service-response-instance" xxf:exclude-result-prefixes="#all">
<response/>
</xf:instance>
</xf:model>
</xh:head>
<xh:body>
<fr:view>
<fr:body xmlns:p="http://www.orbeon.com/oxf/pipeline"
xmlns:oxf="http://www.orbeon.com/oxf/processors"
xmlns:xbl="http://www.w3.org/ns/xbl">
<fr:section id="section-1-control" bind="section-1-bind">
<xf:label ref="$form-resources/section-1/label"/>
<fr:section id="section-39-control" bind="section-39-bind">
<xf:label ref="$form-resources/section-39/label"/>
<fr:grid>
<xh:tr>
<xh:td>
<xf:input id="control-1-control" bind="control-1-bind">
<xf:label ref="$form-resources/control-1/label"/>
<xf:hint ref="$form-resources/control-1/hint"/>
<xf:alert ref="$fr-resources/detail/labels/alert"/>
</xf:input>
</xh:td>
<xh:td>
<xf:input id="control-39-control" bind="control-39-bind">
<xf:label ref="$form-resources/control-39/label"/>
<xf:hint ref="$form-resources/control-39/hint"/>
<xf:alert ref="$fr-resources/detail/labels/alert"/>
</xf:input>
</xh:td>
<xh:td>
<xf:input id="control-5-control" bind="control-5-bind">
<xf:label ref="$form-resources/control-5/label"/>
<xf:hint ref="$form-resources/control-5/hint"/>
<xf:alert ref="$fr-resources/detail/labels/alert"/>
</xf:input>
</xh:td>
<xh:td>
<xf:input id="control-7-control" bind="control-7-bind">
<xf:label ref="$form-resources/control-7/label"/>
<xf:hint ref="$form-resources/control-7/hint"/>
<xf:alert ref="$fr-resources/detail/labels/alert"/>
</xf:input>
</xh:td>
</xh:tr>
<xh:tr>
<xh:td>
<xf:input id="control-8-control" bind="control-8-bind">
<xf:label ref="$form-resources/control-8/label"/>
<xf:hint ref="$form-resources/control-8/hint"/>
<xf:alert ref="$fr-resources/detail/labels/alert"/>
</xf:input>
</xh:td>
<xh:td>
<xf:input id="control-9-control" bind="control-9-bind">
<xf:label ref="$form-resources/control-9/label"/>
<xf:hint ref="$form-resources/control-9/hint"/>
<xf:alert ref="$fr-resources/detail/labels/alert"/>
</xf:input>
</xh:td>
<xh:td>
<xf:input id="control-10-control" bind="control-10-bind">
<xf:label ref="$form-resources/control-10/label"/>
<xf:hint ref="$form-resources/control-10/hint"/>
<xf:alert ref="$fr-resources/detail/labels/alert"/>
</xf:input>
</xh:td>
<xh:td>
<xf:input id="control-11-control" bind="control-11-bind">
<xf:label ref="$form-resources/control-11/label"/>
<xf:hint ref="$form-resources/control-11/hint"/>
<xf:alert ref="$fr-resources/detail/labels/alert"/>
</xf:input>
</xh:td>
</xh:tr>
</fr:grid>
</fr:section>
</fr:section>
<fr:section id="section-37-control" bind="section-37-bind">
<xf:label ref="$form-resources/section-37/label"/>
<fr:section id="section-38-control" bind="section-38-bind">
<xf:label ref="$form-resources/section-38/label"/>
<fr:grid>
<xh:tr>
<xh:td>
<fr:explanation xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xxbl="http://orbeon.org/oxf/xml/xbl"
id="control-13-control"
bind="control-13-bind">
<fr:text ref="$form-resources/control-13/text" mediatype="text/html"/>
</fr:explanation>
</xh:td>
<xh:td/>
<xh:td/>
<xh:td/>
</xh:tr>
<xh:tr>
<xh:td>
<xf:input id="control-40-control" bind="control-40-bind">
<xf:label ref="$form-resources/control-40/label"/>
<xf:hint ref="$form-resources/control-40/hint"/>
<xf:alert ref="$fr-resources/detail/labels/alert"/>
</xf:input>
</xh:td>
<xh:td>
<xf:input id="control-41-control" bind="control-41-bind">
<xf:label ref="$form-resources/control-41/label"/>
<xf:hint ref="$form-resources/control-41/hint"/>
<xf:alert ref="$fr-resources/detail/labels/alert"/>
</xf:input>
</xh:td>
<xh:td>
<xf:input id="control-42-control" bind="control-42-bind">
<xf:label ref="$form-resources/control-42/label"/>
<xf:hint ref="$form-resources/control-42/hint"/>
<xf:alert ref="$fr-resources/detail/labels/alert"/>
</xf:input>
</xh:td>
<xh:td>
<xf:input id="control-43-control" bind="control-43-bind">
<xf:label ref="$form-resources/control-43/label"/>
<xf:hint ref="$form-resources/control-43/hint"/>
<xf:alert ref="$fr-resources/detail/labels/alert"/>
</xf:input>
</xh:td>
</xh:tr>
<xh:tr>
<xh:td>
<xf:input id="control-44-control" bind="control-44-bind">
<xf:label ref="$form-resources/control-44/label"/>
<xf:hint ref="$form-resources/control-44/hint"/>
<xf:alert ref="$fr-resources/detail/labels/alert"/>
</xf:input>
</xh:td>
<xh:td>
<xf:input id="control-45-control" bind="control-45-bind">
<xf:label ref="$form-resources/control-45/label"/>
<xf:hint ref="$form-resources/control-45/hint"/>
<xf:alert ref="$fr-resources/detail/labels/alert"/>
</xf:input>
</xh:td>
<xh:td>
</xh:td>
<xh:td>
</xh:td>
</xh:tr>
<xh:tr>
<xh:td>
</xh:td>
<xh:td/>
<xh:td/>
<xh:td/>
</xh:tr>
</fr:grid>
</fr:section>
<fr:section id="section-3-control" bind="section-3-bind">
<xf:label ref="$form-resources/section-3/label"/>
<fr:grid>
<xh:tr>
<xh:td/>
<xh:td>
<fr:explanation xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xxbl="http://orbeon.org/oxf/xml/xbl"
id="control-60-control"
bind="control-60-bind">
<fr:text ref="$form-resources/control-60/text" mediatype="text/html"/>
</fr:explanation>
</xh:td>
<xh:td>
<fr:explanation xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xxbl="http://orbeon.org/oxf/xml/xbl"
id="control-61-control"
bind="control-61-bind">
<fr:text ref="$form-resources/control-61/text" mediatype="text/html"/>
</fr:explanation>
</xh:td>
<xh:td>
<fr:explanation xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xxbl="http://orbeon.org/oxf/xml/xbl"
id="control-62-control"
bind="control-62-bind">
<fr:text ref="$form-resources/control-62/text" mediatype="text/html"/>
</fr:explanation>
</xh:td>
</xh:tr>
<xh:tr>
<xh:td>
<fr:explanation xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xxbl="http://orbeon.org/oxf/xml/xbl"
id="control-63-control"
bind="control-63-bind">
<fr:text ref="$form-resources/control-63/text" mediatype="text/html"/>
</fr:explanation>
</xh:td>
<xh:td>
<xf:input id="control-64-control" bind="control-64-bind">
<xf:label ref="$form-resources/control-64/label"/>
<xf:hint ref="$form-resources/control-64/hint"/>
<xf:alert ref="$fr-resources/detail/labels/alert"/>
</xf:input>
</xh:td>
<xh:td>
<xf:input id="control-65-control" bind="control-65-bind">
<xf:label ref="$form-resources/control-65/label"/>
<xf:hint ref="$form-resources/control-65/hint"/>
<xf:alert ref="$fr-resources/detail/labels/alert"/>
</xf:input>
</xh:td>
<xh:td>
<xf:input id="control-66-control" bind="control-66-bind">
<xf:label ref="$form-resources/control-66/label"/>
<xf:hint ref="$form-resources/control-66/hint"/>
<xf:alert ref="$fr-resources/detail/labels/alert"/>
</xf:input>
</xh:td>
</xh:tr>
<xh:tr>
<xh:td/>
<xh:td/>
<xh:td/>
<xh:td/>
</xh:tr>
</fr:grid>
</fr:section>
</fr:section>
<fr:section id="section-41-control" bind="section-41-bind">
<xf:label ref="$form-resources/section-41/label"/>
<fr:section id="section-43-control" bind="section-43-bind">
<xf:label ref="$form-resources/section-43/label"/>
<fr:grid>
<xh:tr>
<xh:td>
<xf:select id="control-53-control" appearance="full" bind="control-53-bind">
<xf:label ref="$form-resources/control-53/label"/>
<xf:hint ref="$form-resources/control-53/hint"/>
<xf:alert ref="$fr-resources/detail/labels/alert"/>
<xf:itemset ref="$form-resources/control-53/item">
<xf:label ref="label" mediatype="text/html"/>
<xf:value ref="value"/>
<xf:hint ref="hint" mediatype="text/html"/>
</xf:itemset>
</xf:select>
</xh:td>
<xh:td>
<fr:handwritten-signature xmlns="http://orbeon.org/oxf/xml/form-builder"
xmlns:xxbl="http://orbeon.org/oxf/xml/xbl"
id="control-52-control"
bind="control-52-bind">
<xf:label ref="$form-resources/control-52/label"/>
<xf:hint ref="$form-resources/control-52/hint"/>
<xf:alert ref="$fr-resources/detail/labels/alert"/>
</fr:handwritten-signature>
</xh:td>
</xh:tr>
</fr:grid>
</fr:section>
<fr:section id="section-45-control" bind="section-45-bind">
<xf:label ref="$form-resources/section-45/label"/>
<fr:grid>
<xh:tr>
<xh:td rowspan="3">
<xf:select id="control-54-control" appearance="full" bind="control-54-bind">
<xf:label ref="$form-resources/control-54/label"/>
<xf:hint ref="$form-resources/control-54/hint"/>
<xf:alert ref="$fr-resources/detail/labels/alert"/>
<xf:itemset ref="$form-resources/control-54/item">
<xf:label ref="label"/>
<xf:value ref="value"/>
<xf:hint ref="hint"/>
</xf:itemset>
</xf:select>
</xh:td>
<xh:td>
<xf:input id="control-56-control" bind="control-56-bind">
<xf:label ref="$form-resources/control-56/label"/>
<xf:hint ref="$form-resources/control-56/hint"/>
<xf:alert ref="$fr-resources/detail/labels/alert"/>
</xf:input>
</xh:td>
</xh:tr>
<xh:tr>
<xh:td>
<xf:input id="control-57-control" bind="control-57-bind">
<xf:label ref="$form-resources/control-57/label"/>
<xf:hint ref="$form-resources/control-57/hint"/>
<xf:alert ref="$fr-resources/detail/labels/alert"/>
</xf:input>
</xh:td>
</xh:tr>
<xh:tr>
<xh:td>
<fr:us-phone xmlns="http://orbeon.org/oxf/xml/form-builder"
xmlns:xxbl="http://orbeon.org/oxf/xml/xbl"
id="control-58-control"
bind="control-58-bind">
<xf:label ref="$form-resources/control-58/label"/>
<xf:hint ref="$form-resources/control-58/hint"/>
<xf:alert ref="$fr-resources/detail/labels/alert"/>
</fr:us-phone>
</xh:td>
</xh:tr>
<xh:tr>
<xh:td>
<xf:textarea id="control-55-control" bind="control-55-bind">
<xf:label ref="$form-resources/control-55/label"/>
<xf:hint ref="$form-resources/control-55/hint"/>
<xf:alert ref="$fr-resources/detail/labels/alert"/>
</xf:textarea>
</xh:td>
<xh:td>
<fr:handwritten-signature xmlns="http://orbeon.org/oxf/xml/form-builder"
xmlns:xxbl="http://orbeon.org/oxf/xml/xbl"
id="control-59-control"
bind="control-59-bind">
<xf:label ref="$form-resources/control-59/label"/>
<xf:hint ref="$form-resources/control-59/hint"/>
<xf:alert ref="$fr-resources/detail/labels/alert"/>
</fr:handwritten-signature>
</xh:td>
</xh:tr>
</fr:grid>
</fr:section>
</fr:section>
</fr:body>
</fr:view>
</xh:body>
</xh:html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment