See Form Bank for a list of OpenMRS implemented forms (for use with the metadata sharing module). Please considering sharing your forms hereHTML form definitions here.
If you want to share the HTML description of any cool HTML Forms you've created, you can put them here. (You should go to Wiki Markup and put
...
Code Block |
---|
<htmlform> <macros> lightgrey=#e0e0e0 lightblue=#95ADCA darkblue=#4444ff </macros> <div style="background-color: $lightblue"><b><center>Hospital Admission Form</center></b></div> <table border="1" width="800px" cellspacing="0" align="center" cellpadding="1"> <tr> <td colspan="3"> <table border="1" width="100%" valign="middle" cellspacing="0" cellpadding="1" ><tr><td><b>LAST NAME</b></td><td><b>FIRST NAME</b></td><td><b>DATE OF BIRTH</b></td><td><b>DOSSIER #</b> </td></tr> <tr> <td><span><lookup expression="patient.personName.familyName"/></span></td> <td><span><lookup expression="patient.personName.givenName"/></span></td> <td><span><lookup expression="patient.birthdate"/></span></td> <td><span><lookup expression="patient.getPatientIdentifier(1)"/></span></td> </tr> <tr><td colspan="2"><B>LOCALITY</B></td><td><B>ADDRESS</B></td><td><B>CITY</B></td></tr> <tr><td colspan="2"><lookup complexExpression=" \#set( $locality = 0 ) \#set( $locality = $personAttributes.get('Tribe') ) \#if( $locality == 0 \|\| $locality == 'no tribe name specified' ) OUT DISTRICT \#else $locality \#end "/></td> <td><lookup expression="patient.personAddress.address1"/></td> <td><lookup expression="patient.personAddress.cityVillage"/></td> </tr> <tr><td><B>PATIENT AGE</B></td><td><B>GENDER</B></td><td colspan="2"><B>PARENT (Mother)</B></td></tr> <tr><td><span> <lookup expression="patient.age"/></span></td> <td> <span><lookup expression="patient.gender" codePrefix="gender_"/></span></td> <td colspan="2"><lookup complexExpression="#foreach ( $relationship in $relationshipList ) #if( $relationship.relationshipType.bIsToA == 'Parent' ) #if( \!($relationship.personB.patientId == $patient.patientId )) #if( $relationship.personB.gender == 'F' ) $relationship.personB.personName #end #end #end \#end "/> </td> </tr> </table> </td><td align="center" valign="middle"> <img src="http://intranet.hashaiti.org:81/image/HASlogo_circle_black_small_whitebackground.gif" /> <br /> <lookup complexExpression=" <img src="[http://intranet.hashaiti.org:81/frontdesk/barre_code.php?string=$]{patient.getPatientIdentifier(1)}"/> " /> </td> </tr> </table> <table border="1" width="800px" cellspacing="0" align="center" cellpadding="1"> <tr> <td valign="middle" style="width:220px"><br/><b>Services: </b><br/><br/></td><td style="width:256px"> <obs conceptId="1827" required="true" answerConceptIds="1691,2037,6206,2034,3036,2036,1542,2035,1692,6196,6194" answerLabels="ADULT.ISOLATION,ADULT.SURGERY (GENERAL),CHOLERA,INTERNAL.MEDICINE,MALNUTRITION,OBGYN,OBSERVATION,PEDIATRIC.GENERAL,PEDITRIC.ISOLATION,PEDIATRIC.NEONATAL,PEDIATRIC.SURGERY" /> </td><td ></td> </tr> <tr><td><b>Durée de l'hospitalisation:</b><br/>(Duration of Hospitalization)</td><td><b>Du</b> (From)<encounterDate default="today" /></td><td><b>Au</b> (To)<obs conceptId="1829" /></td></tr> <tr ><td valign="top"><b>Diagnostics(s)<br/></b>(Diagnosis)</td><td colspan="3" > <obs conceptId="6042" answerClasses="Diagnosis" style="autocomplete" labelText="1" size="80" /><br/> <obs conceptId="6042" answerClasses="Diagnosis" style="autocomplete" labelText="2" size="80"/><br/> <obs conceptId="6042" answerClasses="Diagnosis" style="autocomplete" labelText="3" size="80" /><br/> <obs conceptId="6042" answerClasses="Diagnosis" style="autocomplete" labelText="4" size="80" /> </td></tr> <tr><td valign="top"><b>Traitement ou Procédure</b><br/>(Treatment or Procedure)</td> <td colspan="3"><obs conceptId="6193" answerClasses="Procedure" style="autocomplete" labelText="1" size="80"/><br/> <br/> <obs conceptId="6193" answerClasses="Procedure" style="autocomplete" labelText="2" size="80"/><br/> <obs conceptId="2630" size="80" labelText="Non-Coded"/> </td></tr> <tr><td valign="top"><b>Transféré à </b><br/>(Tranferred to)</td><td colspan="2"><obs conceptId="1285" /></td></tr> <tr><td valign="top"><b>Condition à L'éxeat</b><br/>(Status at Discharge)</td><td colspan="3"><obs conceptId="2044" style="radio"/></td></tr> <tr><td><b>Rendez vous:</b><br/>(Return Visit)</td><td><b>Date de Rendez-vous</b><br/><obs conceptId="5096" allowFutureDates="true" /> </td><td><b> Lieu </b>(Place)<br/><obs conceptId="2639" answers="HAS,Dispensaire HAS,Dispensaire non HAS,HIV/TB Clinic" /></td> </tr> <tr> <td colspan="4" align="center"> <b>Lieu</b> (Location) <encounterLocation default="15" order="15" type="hidden" /> <b>Nom du Medecin</b> (Doctor Name)<encounterProvider role="Provider"/> <submit /> </td> </tr> </table> </htmlform> |
Files of HTML forms for using with the Metadata Sharing Module (includes necessary concepts, etc)
(Please note the specific OpenMRS version. Due to changes in the OpenMRS data model, metadata sharing packages created on OpenMRS 1.6.x will most likely not be importable in OpenMRS 1.7.x. Also, due to a slight change made in HTML Form Entry 1.7.2, forms exported using HTML Form Entry 1.7.0 or 1.7.1 will not be importable using HTML Form Entry 1.7.2+, or vice versa).
Hospital Albert Schweitzer Haiti LAB HTML Form (OpenMRS 1.7.1 Build 17223, HTML Form Entry 1.7.2, Metadata Sharing 0.8.1.8)
...