Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

These are all based on the example. What to do|

Element

...

Infopath representation

...

HTML Form Representation

...

Pages

File names page1.xsl

<htmlform>
<page title="Page 1">
...
</page>
...
</htmlform>

Sections

???

<section headerLabel="section 1">
content here
</section>

Patient Name

(other things besides given_name work similarly)< span hideFocus="1" ... xd:binding="patient/patient.given_name" ... >
<xsl:value-of select="patient/patient.given_name"/>
</ span>

<lookup expression="patient.personName.givenName"/>

Encounter location

the whole radio button section with Rusumo, Mulindi, etc.

<encounterLocation order="30,27,etc"/>

Encounter date

Date picker widget bound to encounter/encounter.encounter_datetime

<encounterDate/>

Encounter provider

Widget bound to encounter/encounter.provider_id (after "Form completed today by:")

<encounterProvider/>

Checkbox for coded observation

the checkbox before "patient est hospitalisé"

warning that this cannot be handled correctly (because of the value-when-unchecked<obs conceptId="3389" answerConceptId="1065"/>

Checkbox group for multi-select coded observation

The checkboxes in 3. like "bonne apparence" and "cachectique"

Needs multiple widgets:<obs conceptId="2419" answerConceptId="3227"/>
<obs conceptId="2419" answerConceptId="5622"/>

Radio button group for coded observation

the radio button group including "NYHA classe I"

Collapse to a single element. If you change the layout, give a warning.<obs conceptId="3139" style="radio" answerConceptIds="3135,3114,..."/>

Select list for coded observation

no examples in this form

archive:HTML_Form_Entry_Module_HTML_Reference#Boolean

Checkbox for boolean observation

the checkbox before "La même que DDB" in 1.C.

<obs conceptId="6208" style="checkbox"/>

Other booleans

no examples in this form

<obs conceptId="a" style="checkbox"/>

Textarea for text observation

text box under "La même que DDB" in 1.C.

<obs conceptId="3221" style="textarea"/>

Text field for text observation

text field in first row under "4. Labos préalables"

<obs conceptId="2216"/>

Text field for numeric observation

the text box after Poids

<obs conceptId="5089"/>

Date observations

The column under "4. Labos préalables"

<obs conceptId="3267"/>

Submit button

 

<submit/>

Other HTML Markup

< table > < div > ...

Pass this straight through

...