DHIS2 Example FHIR Implementation Guide
1.0.0 - ci-build
DHIS2 Example FHIR Implementation Guide, published by DHIS2. This guide is not an authorized publication; it is the continuous build for version 1.0.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/JohanGHole/alldevs-demo-ig and changes regularly. See the Directory of published versions
| Draft as of 2026-06-03 |
XML representation of the HIVPatientInfo logical model.
<StructureDefinition xmlns="http://hl7.org/fhir">
<id value="HIVPatientInfo"/>
<language value="en"/>
<text>
<status value="extensions"/>
<div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: StructureDefinition HIVPatientInfo</b></p><table border="0" cellpadding="0" cellspacing="0" style="border: 0px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top;"><tr style="border: 1px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top"><th style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px" class="hierarchy"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="The logical name of the element">Name</a></th><th style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px" class="hierarchy"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Information about the use of the element">Flags</a></th><th style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px" class="hierarchy"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Minimum and Maximum # of times the element can appear in the instance">Card.</a></th><th style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px; width: 100px" class="hierarchy"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Reference to the type of the element">Type</a></th><th style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px" class="hierarchy"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Additional information about the element">Description & Constraints</a><span style="float: right"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Legend for this format"><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3goXBCwdPqAP0wAAAldJREFUOMuNk0tIlFEYhp9z/vE2jHkhxXA0zJCMitrUQlq4lnSltEqCFhFG2MJFhIvIFpkEWaTQqjaWZRkp0g26URZkTpbaaOJkDqk10szoODP//7XIMUe0elcfnPd9zsfLOYplGrpRwZaqTtw3K7PtGem7Q6FoidbGgqHVy/HRb669R+56zx7eRV1L31JGxYbBtjKK93cxeqfyQHbehkZbUkK20goELEuIzEd+dHS+qz/Y8PTSif0FnGkbiwcAjHaU1+QWOptFiyCLp/LnKptpqIuXHx6rbR26kJcBX3yLgBfnd7CxwJmflpP2wUg0HIAoUUpZBmKzELGWcN8nAr6Gpu7tLU/CkwAaoKTWRSQyt89Q8w6J+oVQkKnBoblH7V0PPvUOvDYXfopE/SJmALsxnVm6LbkotrUtNowMeIrVrBcBpaMmdS0j9df7abpSuy7HWehwJdt1lhVwi/J58U5beXGAF6c3UXLycw1wdFklArBn87xdh0ZsZtArghBdAA3+OEDVubG4UEzP6x1FOWneHh2VDAHBAt80IbdXDcesNoCvs3E5AFyNSU5nbrDPZpcUEQQTFZiEVx+51fxMhhyJEAgvlriadIJZZksRuwBYMOPBbO3hePVVqgEJhFeUuFLhIPkRP6BQLIBrmMenujm/3g4zc398awIe90Zb5A1vREALqneMcYgP/xVQWlG+Ncu5vgwwlaUNx+3799rfe96u9K0JSDXcOzOTJg4B6IgmXfsygc7/Bvg9g9E58/cDVmGIBOP/zT8Bz1zqWqpbXIsd0O9hajXfL6u4BaOS6SeWAAAAAElFTkSuQmCC" alt="doco" style="background-color: inherit"/></a></span></th></tr><tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="." style="background-color: white; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-HIVPatientInfo-definitions.html#HIVPatientInfo" title="Extension of the base patient data model. Includes properties specific to the HIV program.">HIVPatientInfo</a><a name="HIVPatientInfo"> </a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="opacity: 0.5">0</span><span style="opacity: 0.5">..</span><span style="opacity: 0.5">*</span></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="StructureDefinition-PatientInfo.html">PatientInfo</a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">HIV Patient Data Model<br/><br/>Elements defined in Ancestors:<a href="StructureDefinition-PatientInfo.html" title="Date and Time when the patient information was entered into DHIS2">registrationDateTime</a>, <a href="StructureDefinition-PatientInfo.html" title="The Org unit where the patient was first registered">firstregisteredAt</a>, <a href="StructureDefinition-PatientInfo.html" title="Given name of the patient">firstName</a>, <a href="StructureDefinition-PatientInfo.html" title="Family name">lastName</a>, <a href="StructureDefinition-PatientInfo.html" title="...">dateOfBirth</a>, <a href="StructureDefinition-PatientInfo.html" title="...">dateOfBirthIsEstimated</a>, <a href="StructureDefinition-PatientInfo.html" title="...">sexAtBirth</a>, <a href="StructureDefinition-PatientInfo.html">currentHomeAddress</a>, <a href="StructureDefinition-PatientInfo.html">contactPhoneNumber</a>, <a href="StructureDefinition-PatientInfo.html" title="...">countryOfBirth</a>, <a href="StructureDefinition-PatientInfo.html" title="...">nationaId</a>, <a href="StructureDefinition-PatientInfo.html" title="...">consent</a></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_primitive.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Primitive Data Type" class="hierarchy"/> <a href="StructureDefinition-HIVPatientInfo-definitions.html#HIVPatientInfo.hivEnrollmentUnit" title="The organization unit that first registered the person.">hivEnrollmentUnit</a><a name="HIVPatientInfo.hivEnrollmentUnit"> </a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R4/datatypes.html#string">string</a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">The organization unit that first registered the person.</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_datatype.gif" alt="." style="background-color: white; background-color: inherit" title="Data Type" class="hierarchy"/> <a href="StructureDefinition-HIVPatientInfo-definitions.html#HIVPatientInfo.programNationaId" title="...">programNationaId</a><a name="HIVPatientInfo.programNationaId"> </a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..*</td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R4/datatypes.html#Identifier">Identifier</a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">...<br/></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_primitive.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Primitive Data Type" class="hierarchy"/> <a href="StructureDefinition-HIVPatientInfo-definitions.html#HIVPatientInfo.deceased" title="...">deceased</a><a name="HIVPatientInfo.deceased"> </a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R4/datatypes.html#boolean">boolean</a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">...</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_primitive.png" alt="." style="background-color: white; background-color: inherit" title="Primitive Data Type" class="hierarchy"/> <a href="StructureDefinition-HIVPatientInfo-definitions.html#HIVPatientInfo.deceasedDate" title="...">deceasedDate</a><a name="HIVPatientInfo.deceasedDate"> </a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R4/datatypes.html#boolean">boolean</a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">...</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_datatype.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Data Type" class="hierarchy"/> <a href="StructureDefinition-HIVPatientInfo-definitions.html#HIVPatientInfo.gender">gender</a><a name="HIVPatientInfo.gender"> </a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..1</td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R4/datatypes.html#Coding">Coding</a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="font-weight:bold" title="null" class="binding">Binding: </span><a href="ValueSet-HIVPatientGenderVS.html" title="https://dhis2.org/ValueSet/HIVPatientGenderVS" class="binding">Patient Gender Value Set</a><span title="null" class="binding"> (</span><a href="http://hl7.org/fhir/R4/terminologies.html#example" title="Instances are not expected or even encouraged to draw from the specified value set. The value set merely provides examples of the types of concepts intended to be included." class="binding">example</a><span title="null" class="binding">)</span></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_primitive.png" alt="." style="background-color: white; background-color: inherit" title="Primitive Data Type" class="hierarchy"/> <a href="StructureDefinition-HIVPatientInfo-definitions.html#HIVPatientInfo.healthFacilityCode" title="Health facility code.">healthFacilityCode</a><a name="HIVPatientInfo.healthFacilityCode"> </a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R4/datatypes.html#string">string</a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Health facility code.</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck00.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_primitive.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Primitive Data Type" class="hierarchy"/> <a href="StructureDefinition-HIVPatientInfo-definitions.html#HIVPatientInfo.nhisId" title="...">nhisId</a><a name="HIVPatientInfo.nhisId"> </a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..1</td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R4/datatypes.html#string">string</a></td><td style="vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">...</td></tr>
<tr><td colspan="5" class="hierarchy"><br/><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Legend for this format"><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3goXBCwdPqAP0wAAAldJREFUOMuNk0tIlFEYhp9z/vE2jHkhxXA0zJCMitrUQlq4lnSltEqCFhFG2MJFhIvIFpkEWaTQqjaWZRkp0g26URZkTpbaaOJkDqk10szoODP//7XIMUe0elcfnPd9zsfLOYplGrpRwZaqTtw3K7PtGem7Q6FoidbGgqHVy/HRb669R+56zx7eRV1L31JGxYbBtjKK93cxeqfyQHbehkZbUkK20goELEuIzEd+dHS+qz/Y8PTSif0FnGkbiwcAjHaU1+QWOptFiyCLp/LnKptpqIuXHx6rbR26kJcBX3yLgBfnd7CxwJmflpP2wUg0HIAoUUpZBmKzELGWcN8nAr6Gpu7tLU/CkwAaoKTWRSQyt89Q8w6J+oVQkKnBoblH7V0PPvUOvDYXfopE/SJmALsxnVm6LbkotrUtNowMeIrVrBcBpaMmdS0j9df7abpSuy7HWehwJdt1lhVwi/J58U5beXGAF6c3UXLycw1wdFklArBn87xdh0ZsZtArghBdAA3+OEDVubG4UEzP6x1FOWneHh2VDAHBAt80IbdXDcesNoCvs3E5AFyNSU5nbrDPZpcUEQQTFZiEVx+51fxMhhyJEAgvlriadIJZZksRuwBYMOPBbO3hePVVqgEJhFeUuFLhIPkRP6BQLIBrmMenujm/3g4zc398awIe90Zb5A1vREALqneMcYgP/xVQWlG+Ncu5vgwwlaUNx+3799rfe96u9K0JSDXcOzOTJg4B6IgmXfsygc7/Bvg9g9E58/cDVmGIBOP/zT8Bz1zqWqpbXIsd0O9hajXfL6u4BaOS6SeWAAAAAElFTkSuQmCC" alt="doco" style="background-color: inherit"/> Documentation for this format</a></td></tr></table></div>
</text>
<url value="https://dhis2.org/StructureDefinition/HIVPatientInfo"/>
<version value="1.0.0"/>
<name value="HIVPatientInfo"/>
<title value="HIV Patient Data Model"/>
<status value="draft"/>
<date value="2026-06-03T19:24:40+00:00"/>
<publisher value="DHIS2"/>
<contact>
<name value="DHIS2"/>
<telecom>
<system value="url"/>
<value value="https://dhis2.org"/>
</telecom>
<telecom>
<system value="email"/>
<value value="integration@dhis2.org"/>
</telecom>
</contact>
<contact>
<name value="Johan Hole"/>
<telecom>
<system value="email"/>
<value value="Johan@Devotta.no"/>
<use value="work"/>
</telecom>
</contact>
<description
value="Extension of the base patient data model. Includes properties specific to the HIV program."/>
<jurisdiction>
<coding>
<system value="http://unstats.un.org/unsd/methods/m49/m49.htm"/>
<code value="001"/>
<display value="World"/>
</coding>
</jurisdiction>
<fhirVersion value="4.0.1"/>
<kind value="logical"/>
<abstract value="false"/>
<type value="https://dhis2.org/StructureDefinition/HIVPatientInfo"/>
<baseDefinition value="https://dhis2.org/StructureDefinition/PatientInfo"/>
<derivation value="specialization"/>
<snapshot>
<extension
url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version">
<valueString value="1.0.0"/>
</extension>
<element id="HIVPatientInfo">
<path value="HIVPatientInfo"/>
<short value="HIV Patient Data Model"/>
<definition
value="Extension of the base patient data model. Includes properties specific to the HIV program."/>
<min value="0"/>
<max value="*"/>
<base>
<path value="Base"/>
<min value="0"/>
<max value="*"/>
</base>
<isModifier value="false"/>
</element>
<element id="HIVPatientInfo.registrationDateTime">
<path value="HIVPatientInfo.registrationDateTime"/>
<short value="Date-Time information was entered"/>
<definition
value="Date and Time when the patient information was entered into DHIS2"/>
<min value="1"/>
<max value="1"/>
<base>
<path value="PatientInfo.registrationDateTime"/>
<min value="1"/>
<max value="1"/>
</base>
<type>
<code value="dateTime"/>
</type>
</element>
<element id="HIVPatientInfo.firstregisteredAt">
<path value="HIVPatientInfo.firstregisteredAt"/>
<short value="The Org unit where the patient was first registered"/>
<definition
value="The Org unit where the patient was first registered"/>
<min value="1"/>
<max value="1"/>
<base>
<path value="PatientInfo.firstregisteredAt"/>
<min value="1"/>
<max value="1"/>
</base>
<type>
<code value="Reference"/>
<targetProfile
value="http://hl7.org/fhir/StructureDefinition/Organization"/>
</type>
</element>
<element id="HIVPatientInfo.firstName">
<path value="HIVPatientInfo.firstName"/>
<short value="Given name of the patient"/>
<definition value="Given name of the patient"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="PatientInfo.firstName"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="string"/>
</type>
</element>
<element id="HIVPatientInfo.lastName">
<path value="HIVPatientInfo.lastName"/>
<short value="Family name"/>
<definition value="Family name"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="PatientInfo.lastName"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="string"/>
</type>
</element>
<element id="HIVPatientInfo.dateOfBirth">
<path value="HIVPatientInfo.dateOfBirth"/>
<short value="..."/>
<definition value="..."/>
<min value="1"/>
<max value="1"/>
<base>
<path value="PatientInfo.dateOfBirth"/>
<min value="1"/>
<max value="1"/>
</base>
<type>
<code value="string"/>
</type>
</element>
<element id="HIVPatientInfo.dateOfBirthIsEstimated">
<path value="HIVPatientInfo.dateOfBirthIsEstimated"/>
<short value="..."/>
<definition value="..."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="PatientInfo.dateOfBirthIsEstimated"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="boolean"/>
</type>
</element>
<element id="HIVPatientInfo.sexAtBirth">
<path value="HIVPatientInfo.sexAtBirth"/>
<short value="..."/>
<definition value="..."/>
<comment value="(valueset depends on the program)"/>
<min value="1"/>
<max value="1"/>
<base>
<path value="PatientInfo.sexAtBirth"/>
<min value="1"/>
<max value="1"/>
</base>
<type>
<code value="code"/>
</type>
<binding>
<strength value="example"/>
<valueSet value="https://dhis2.org/ValueSet/patient-sex-at-birth-vs"/>
</binding>
</element>
<element id="HIVPatientInfo.currentHomeAddress">
<path value="HIVPatientInfo.currentHomeAddress"/>
<min value="1"/>
<max value="1"/>
<base>
<path value="PatientInfo.currentHomeAddress"/>
<min value="1"/>
<max value="1"/>
</base>
<type>
<code value="string"/>
</type>
</element>
<element id="HIVPatientInfo.contactPhoneNumber">
<path value="HIVPatientInfo.contactPhoneNumber"/>
<min value="1"/>
<max value="1"/>
<base>
<path value="PatientInfo.contactPhoneNumber"/>
<min value="1"/>
<max value="1"/>
</base>
<type>
<code value="string"/>
</type>
</element>
<element id="HIVPatientInfo.countryOfBirth">
<path value="HIVPatientInfo.countryOfBirth"/>
<short value="..."/>
<definition value="..."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="PatientInfo.countryOfBirth"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="string"/>
</type>
<binding>
<strength value="example"/>
<valueSet value="urn:iso:std:iso:3166"/>
</binding>
</element>
<element id="HIVPatientInfo.nationaId">
<path value="HIVPatientInfo.nationaId"/>
<short value="..."/>
<definition value="..."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="PatientInfo.nationaId"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="string"/>
</type>
</element>
<element id="HIVPatientInfo.consent">
<path value="HIVPatientInfo.consent"/>
<short value="..."/>
<definition value="..."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="PatientInfo.consent"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="boolean"/>
</type>
</element>
<element id="HIVPatientInfo.hivEnrollmentUnit">
<path value="HIVPatientInfo.hivEnrollmentUnit"/>
<short value="The organization unit that first registered the person."/>
<definition
value="The organization unit that first registered the person."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="HIVPatientInfo.hivEnrollmentUnit"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="string"/>
</type>
</element>
<element id="HIVPatientInfo.programNationaId">
<path value="HIVPatientInfo.programNationaId"/>
<short value="..."/>
<definition value="..."/>
<min value="0"/>
<max value="*"/>
<base>
<path value="HIVPatientInfo.programNationaId"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code value="Identifier"/>
</type>
</element>
<element id="HIVPatientInfo.deceased">
<path value="HIVPatientInfo.deceased"/>
<short value="..."/>
<definition value="..."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="HIVPatientInfo.deceased"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="boolean"/>
</type>
</element>
<element id="HIVPatientInfo.deceasedDate">
<path value="HIVPatientInfo.deceasedDate"/>
<short value="..."/>
<definition value="..."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="HIVPatientInfo.deceasedDate"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="boolean"/>
</type>
</element>
<element id="HIVPatientInfo.gender">
<path value="HIVPatientInfo.gender"/>
<comment value="(valueset depends on the program)"/>
<min value="1"/>
<max value="1"/>
<base>
<path value="HIVPatientInfo.gender"/>
<min value="1"/>
<max value="1"/>
</base>
<type>
<code value="Coding"/>
</type>
<binding>
<strength value="example"/>
<valueSet value="https://dhis2.org/ValueSet/HIVPatientGenderVS"/>
</binding>
</element>
<element id="HIVPatientInfo.healthFacilityCode">
<path value="HIVPatientInfo.healthFacilityCode"/>
<short value="Health facility code."/>
<definition value="Health facility code."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="HIVPatientInfo.healthFacilityCode"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="string"/>
</type>
</element>
<element id="HIVPatientInfo.nhisId">
<path value="HIVPatientInfo.nhisId"/>
<short value="..."/>
<definition value="..."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="HIVPatientInfo.nhisId"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="string"/>
</type>
</element>
</snapshot>
<differential>
<element id="HIVPatientInfo">
<path value="HIVPatientInfo"/>
<short value="HIV Patient Data Model"/>
<definition
value="Extension of the base patient data model. Includes properties specific to the HIV program."/>
</element>
<element id="HIVPatientInfo.hivEnrollmentUnit">
<path value="HIVPatientInfo.hivEnrollmentUnit"/>
<short value="The organization unit that first registered the person."/>
<definition
value="The organization unit that first registered the person."/>
<min value="0"/>
<max value="1"/>
<type>
<code value="string"/>
</type>
</element>
<element id="HIVPatientInfo.programNationaId">
<path value="HIVPatientInfo.programNationaId"/>
<short value="..."/>
<definition value="..."/>
<min value="0"/>
<max value="*"/>
<type>
<code value="Identifier"/>
</type>
</element>
<element id="HIVPatientInfo.deceased">
<path value="HIVPatientInfo.deceased"/>
<short value="..."/>
<definition value="..."/>
<min value="0"/>
<max value="1"/>
<type>
<code value="boolean"/>
</type>
</element>
<element id="HIVPatientInfo.deceasedDate">
<path value="HIVPatientInfo.deceasedDate"/>
<short value="..."/>
<definition value="..."/>
<min value="0"/>
<max value="1"/>
<type>
<code value="boolean"/>
</type>
</element>
<element id="HIVPatientInfo.gender">
<path value="HIVPatientInfo.gender"/>
<comment value="(valueset depends on the program)"/>
<min value="1"/>
<max value="1"/>
<type>
<code value="Coding"/>
</type>
<binding>
<strength value="example"/>
<valueSet value="https://dhis2.org/ValueSet/HIVPatientGenderVS"/>
</binding>
</element>
<element id="HIVPatientInfo.healthFacilityCode">
<path value="HIVPatientInfo.healthFacilityCode"/>
<short value="Health facility code."/>
<definition value="Health facility code."/>
<min value="0"/>
<max value="1"/>
<type>
<code value="string"/>
</type>
</element>
<element id="HIVPatientInfo.nhisId">
<path value="HIVPatientInfo.nhisId"/>
<short value="..."/>
<definition value="..."/>
<min value="0"/>
<max value="1"/>
<type>
<code value="string"/>
</type>
</element>
</differential>
</StructureDefinition>