HL7 FHIR Implementation Guide: Sri Lanka
0.1.0 - STU1

HL7 FHIR Implementation Guide: Sri Lanka, published by Jembi Health Systems. This is not an authorized publication; it is the continuous build for version 0.1.0. This version is based on the current content of https://github.com/jembi/Sri-Lanka and changes regularly. See the Directory of published versions

## Logical Model: HIMSPatientRegistrationDataDictionary - XML Profile

Active as of 2023-11-10

XML representation of the HIMSPatientRegistrationDataDictionary logical model.

Raw xml | Download

    <StructureDefinition xmlns="http://hl7.org/fhir">
      <id value="HIMSPatientRegistrationDataDictionary"/>
      <text>
        <status value="extensions"/>
        <div xmlns="http://www.w3.org/1999/xhtml"><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 : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" 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 : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" 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 : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Minimum and Maximum # of times the the element can appear in the instance">Card.</a></th><th style="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 : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Additional information about the element">Description &amp; 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, " 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 : 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-HIMSPatientRegistrationDataDictionary-definitions.html#HIMSPatientRegistrationDataDictionary" title="Data elements for the HIMS Patient Registration Data Dictionary.">HIMSPatientRegistrationDataDictionary</a><a name="HIMSPatientRegistrationDataDictionary"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : 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 : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://build.fhir.org/types.html#Base">Base</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">HIMS Patient Registration<br/><span style="font-weight:bold">Instances of this logical model can be the target of a Reference</span></td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : 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-HIMSPatientRegistrationDataDictionary-definitions.html#HIMSPatientRegistrationDataDictionary.personalHealthNumber" title="Unique identifier for the patient, according to the policies applicable to each country.">personalHealthNumber</a><a name="HIMSPatientRegistrationDataDictionary.personalHealthNumber"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="padding-left: 3px; padding-right: 3px; color: black; null" title="This element is included in summaries">Σ</span></td><td style="vertical-align: top; text-align : 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 : 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 : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Personal health number</td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : 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-HIMSPatientRegistrationDataDictionary-definitions.html#HIMSPatientRegistrationDataDictionary.nationalIdentityCard" title="Unique identifier for the patient, according to the policies applicable to each country.">nationalIdentityCard</a><a name="HIMSPatientRegistrationDataDictionary.nationalIdentityCard"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="padding-left: 3px; padding-right: 3px; color: black; null" title="This element is included in summaries">Σ</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..*</td><td style="vertical-align: top; text-align : 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 : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">National identity card<br/></td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : 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-HIMSPatientRegistrationDataDictionary-definitions.html#HIMSPatientRegistrationDataDictionary.passport" title="Unique identifier for the patient, according to the policies applicable to each country.">passport</a><a name="HIMSPatientRegistrationDataDictionary.passport"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="padding-left: 3px; padding-right: 3px; color: black; null" title="This element is included in summaries">Σ</span></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..*</td><td style="vertical-align: top; text-align : 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 : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Passport<br/></td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : 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-HIMSPatientRegistrationDataDictionary-definitions.html#HIMSPatientRegistrationDataDictionary.drivingLicense" title="Unique identifier for the patient, according to the policies applicable to each country.">drivingLicense</a><a name="HIMSPatientRegistrationDataDictionary.drivingLicense"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="padding-left: 3px; padding-right: 3px; color: black; null" title="This element is included in summaries">Σ</span></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..*</td><td style="vertical-align: top; text-align : 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 : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Driving license<br/></td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : 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-HIMSPatientRegistrationDataDictionary-definitions.html#HIMSPatientRegistrationDataDictionary.seniorCitizenNumber" title="Unique identifier for the patient, according to the policies applicable to each country.">seniorCitizenNumber</a><a name="HIMSPatientRegistrationDataDictionary.seniorCitizenNumber"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><span style="padding-left: 3px; padding-right: 3px; color: black; null" title="This element is included in summaries">Σ</span></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..*</td><td style="vertical-align: top; text-align : 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 : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Senior citizen number<br/></td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck11.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-HIMSPatientRegistrationDataDictionary-definitions.html#HIMSPatientRegistrationDataDictionary.patientName" title="Name">patientName</a><a name="HIMSPatientRegistrationDataDictionary.patientName"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..*</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R4/datatypes.html#BackboneElement">BackboneElement</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Name<br/></td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck110.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.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-HIMSPatientRegistrationDataDictionary-definitions.html#HIMSPatientRegistrationDataDictionary.patientName.fullName" title="Patient's full name">fullName</a><a name="HIMSPatientRegistrationDataDictionary.patientName.fullName"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="padding-left: 3px; padding-right: 3px; border: 1px maroon solid; font-weight: bold; color: #301212; background-color: #fdf4f4;" href="http://hl7.org/fhir/R4/conformance-rules.html#constraints" title="This element has or is affected by constraints (HIMS-name-1)">C</a></td><td style="vertical-align: top; text-align : 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 : 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 : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Full name<br/><span style="font-weight:bold">HIMS-name-1: </span>Only letters and special characters (period, dash) allowed.</td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck110.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.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-HIMSPatientRegistrationDataDictionary-definitions.html#HIMSPatientRegistrationDataDictionary.patientName.firstName" title="Patient's first name or given name">firstName</a><a name="HIMSPatientRegistrationDataDictionary.patientName.firstName"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="padding-left: 3px; padding-right: 3px; border: 1px maroon solid; font-weight: bold; color: #301212; background-color: #fdf4f4;" href="http://hl7.org/fhir/R4/conformance-rules.html#constraints" title="This element has or is affected by constraints (HIMS-name-1)">C</a></td><td style="vertical-align: top; text-align : 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 : 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 : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">First name<br/><span style="font-weight:bold">HIMS-name-1: </span>Only letters and special characters (period, dash) allowed.</td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck100.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.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-HIMSPatientRegistrationDataDictionary-definitions.html#HIMSPatientRegistrationDataDictionary.patientName.surname" title="Patient's family name or last name">surname</a><a name="HIMSPatientRegistrationDataDictionary.patientName.surname"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a style="padding-left: 3px; padding-right: 3px; border: 1px maroon solid; font-weight: bold; color: #301212; background-color: #fdf4f4;" href="http://hl7.org/fhir/R4/conformance-rules.html#constraints" title="This element has or is affected by constraints (HIMS-name-1)">C</a></td><td style="vertical-align: top; text-align : 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 : 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 : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Last name<br/><span style="font-weight:bold">HIMS-name-1: </span>Only letters and special characters (period, dash) allowed.</td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : 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-HIMSPatientRegistrationDataDictionary-definitions.html#HIMSPatientRegistrationDataDictionary.sex" title="Documentation of a specific instance of sex information for the patient">sex</a><a name="HIMSPatientRegistrationDataDictionary.sex"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">1..1</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R4/datatypes.html#code">code</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Sex<br/><span style="font-weight:bold">Binding: </span><a href="http://hl7.org/fhir/R4/valueset-administrative-gender.html">AdministrativeGender</a> (<a href="http://hl7.org/fhir/R4/terminologies.html#required" title="To be conformant, the concept in this element SHALL be from the specified value set.">required</a>)</td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck11.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-HIMSPatientRegistrationDataDictionary-definitions.html#HIMSPatientRegistrationDataDictionary.address" title="Address">address</a><a name="HIMSPatientRegistrationDataDictionary.address"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..*</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R4/datatypes.html#BackboneElement">BackboneElement</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Address<br/></td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck110.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.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-HIMSPatientRegistrationDataDictionary-definitions.html#HIMSPatientRegistrationDataDictionary.address.streetNameAndNr" title="Street name and number">streetNameAndNr</a><a name="HIMSPatientRegistrationDataDictionary.address.streetNameAndNr"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : 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 : 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 : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Street name and number</td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck110.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.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-HIMSPatientRegistrationDataDictionary-definitions.html#HIMSPatientRegistrationDataDictionary.address.city" title="City">city</a><a name="HIMSPatientRegistrationDataDictionary.address.city"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : 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 : 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 : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">City</td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck110.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.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-HIMSPatientRegistrationDataDictionary-definitions.html#HIMSPatientRegistrationDataDictionary.address.state" title="State">state</a><a name="HIMSPatientRegistrationDataDictionary.address.state"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : 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 : 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 : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">State</td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck110.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.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-HIMSPatientRegistrationDataDictionary-definitions.html#HIMSPatientRegistrationDataDictionary.address.country" title="Country">country</a><a name="HIMSPatientRegistrationDataDictionary.address.country"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : 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 : 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 : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Country</td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck100.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.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: white; background-color: inherit" title="Primitive Data Type" class="hierarchy"/> <a href="StructureDefinition-HIMSPatientRegistrationDataDictionary-definitions.html#HIMSPatientRegistrationDataDictionary.address.postalCode" title="Postal code">postalCode</a><a name="HIMSPatientRegistrationDataDictionary.address.postalCode"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : 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 : 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 : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Postal code</td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : 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-HIMSPatientRegistrationDataDictionary-definitions.html#HIMSPatientRegistrationDataDictionary.birthDate" title="Patient's date of birth (DOB) if known; if unknown, use assigned DOB for administrative purposes">birthDate</a><a name="HIMSPatientRegistrationDataDictionary.birthDate"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : 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 : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R4/datatypes.html#date">date</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Date of birth</td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck01.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_datatype.gif" alt="." style="background-color: white; background-color: inherit" title="Data Type" class="hierarchy"/> <a href="StructureDefinition-HIMSPatientRegistrationDataDictionary-definitions.html#HIMSPatientRegistrationDataDictionary.contactDetails" title="Contact details">contactDetails</a><a name="HIMSPatientRegistrationDataDictionary.contactDetails"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">0..*</td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R4/datatypes.html#BackboneElement">BackboneElement</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Contact details<br/></td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck010.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.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-HIMSPatientRegistrationDataDictionary-definitions.html#HIMSPatientRegistrationDataDictionary.contactDetails.mobileNumber" title="Patient's mobile phone number">mobileNumber</a><a name="HIMSPatientRegistrationDataDictionary.contactDetails.mobileNumber"> </a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : 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 : 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 : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Mobile phone number</td></tr>
    <tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck000.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.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: white; background-color: inherit" title="Primitive Data Type" class="hierarchy"/> <a href="StructureDefinition-HIMSPatientRegistrationDataDictionary-definitions.html#HIMSPatientRegistrationDataDictionary.contactDetails.landline" title="Patient's landline phone number">landline</a><a name="HIMSPatientRegistrationDataDictionary.contactDetails.landline"> </a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"/><td style="vertical-align: top; text-align : 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 : 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 : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Landline phone number</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, " alt="doco" style="background-color: inherit"/> Documentation for this format</a></td></tr></table></div>
      </text>
      <extension
                 url="http://hl7.org/fhir/tools/StructureDefinition/logical-target">
        <valueBoolean value="true"/>
      </extension>
      <url
           value="http://openhie.org/fhir/sri-lanka/StructureDefinition/HIMSPatientRegistrationDataDictionary"/>
      <version value="0.1.0"/>
      <name value="HIMSPatientRegistrationDataDictionary"/>
      <title value="HIMS Patient Registration"/>
      <status value="active"/>
      <date value="2023-11-10T04:37:53+00:00"/>
      <publisher value="Jembi Health Systems"/>
      <contact>
        <name value="Jembi Health Systems"/>
        <telecom>
          <system value="url"/>
          <value value="https://www.jembi.org"/>
        </telecom>
        <telecom>
          <system value="email"/>
          <value value="info@jembi.org"/>
        </telecom>
      </contact>
      <contact>
        <name value="Richard Langford"/>
        <telecom>
          <system value="email"/>
          <value value="richard.langford@jembi.org"/>
          <use value="work"/>
        </telecom>
      </contact>
      <description
                   value="Data elements for the HIMS Patient Registration Data Dictionary."/>
      <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"/>
      <mapping>
        <identity value="rim"/>
        <uri value="http://hl7.org/v3"/>
        <name value="RIM Mapping"/>
      </mapping>
      <mapping>
        <identity value="HIMSPatientRegistrationDataDictionary-to-Patient"/>
        <uri value="Patient"/>
      </mapping>
      <kind value="logical"/>
      <abstract value="false"/>
      <type
            value="http://openhie.org/fhir/sri-lanka/StructureDefinition/HIMSPatientRegistrationDataDictionary"/>
      <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Base"/>
      <derivation value="specialization"/>
      <snapshot>
        <element id="HIMSPatientRegistrationDataDictionary">
          <path value="HIMSPatientRegistrationDataDictionary"/>
          <short value="HIMS Patient Registration"/>
          <definition
                      value="Data elements for the HIMS Patient Registration Data Dictionary."/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="Base"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <isModifier value="false"/>
          <mapping>
            <identity value="HIMSPatientRegistrationDataDictionary-to-Patient"/>
            <map value="Patient"/>
          </mapping>
        </element>
        <element id="HIMSPatientRegistrationDataDictionary.personalHealthNumber">
          <path
                value="HIMSPatientRegistrationDataDictionary.personalHealthNumber"/>
          <code>
            <system
                    value="http://openhie.org/fhir/sri-lanka/CodeSystem/cs-register-patient-codes"/>
            <code value="RP1"/>
          </code>
          <short value="Personal health number"/>
          <definition
                      value="Unique identifier for the patient, according to the policies applicable to each country."/>
          <min value="1"/>
          <max value="1"/>
          <base>
            <path
                  value="HIMSPatientRegistrationDataDictionary.personalHealthNumber"/>
            <min value="1"/>
            <max value="1"/>
          </base>
          <type>
            <code value="string"/>
          </type>
          <isSummary value="true"/>
          <mapping>
            <identity value="HIMSPatientRegistrationDataDictionary-to-Patient"/>
            <map value="Patient.identifier.value"/>
          </mapping>
        </element>
        <element id="HIMSPatientRegistrationDataDictionary.nationalIdentityCard">
          <path
                value="HIMSPatientRegistrationDataDictionary.nationalIdentityCard"/>
          <code>
            <system
                    value="http://openhie.org/fhir/sri-lanka/CodeSystem/cs-register-patient-codes"/>
            <code value="RP2"/>
          </code>
          <short value="National identity card"/>
          <definition
                      value="Unique identifier for the patient, according to the policies applicable to each country."/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path
                  value="HIMSPatientRegistrationDataDictionary.nationalIdentityCard"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="string"/>
          </type>
          <isSummary value="true"/>
          <mapping>
            <identity value="HIMSPatientRegistrationDataDictionary-to-Patient"/>
            <map value="Patient.identifier.value"/>
          </mapping>
        </element>
        <element id="HIMSPatientRegistrationDataDictionary.passport">
          <path value="HIMSPatientRegistrationDataDictionary.passport"/>
          <code>
            <system
                    value="http://openhie.org/fhir/sri-lanka/CodeSystem/cs-register-patient-codes"/>
            <code value="RP3"/>
          </code>
          <short value="Passport"/>
          <definition
                      value="Unique identifier for the patient, according to the policies applicable to each country."/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="HIMSPatientRegistrationDataDictionary.passport"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="string"/>
          </type>
          <isSummary value="true"/>
          <mapping>
            <identity value="HIMSPatientRegistrationDataDictionary-to-Patient"/>
            <map value="Patient.identifier.value"/>
          </mapping>
        </element>
        <element id="HIMSPatientRegistrationDataDictionary.drivingLicense">
          <path value="HIMSPatientRegistrationDataDictionary.drivingLicense"/>
          <code>
            <system
                    value="http://openhie.org/fhir/sri-lanka/CodeSystem/cs-register-patient-codes"/>
            <code value="RP4"/>
          </code>
          <short value="Driving license"/>
          <definition
                      value="Unique identifier for the patient, according to the policies applicable to each country."/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="HIMSPatientRegistrationDataDictionary.drivingLicense"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="string"/>
          </type>
          <isSummary value="true"/>
          <mapping>
            <identity value="HIMSPatientRegistrationDataDictionary-to-Patient"/>
            <map value="Patient.identifier.value"/>
          </mapping>
        </element>
        <element id="HIMSPatientRegistrationDataDictionary.seniorCitizenNumber">
          <path
                value="HIMSPatientRegistrationDataDictionary.seniorCitizenNumber"/>
          <code>
            <system
                    value="http://openhie.org/fhir/sri-lanka/CodeSystem/cs-register-patient-codes"/>
            <code value="RP5"/>
          </code>
          <short value="Senior citizen number"/>
          <definition
                      value="Unique identifier for the patient, according to the policies applicable to each country."/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path
                  value="HIMSPatientRegistrationDataDictionary.seniorCitizenNumber"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="string"/>
          </type>
          <isSummary value="true"/>
          <mapping>
            <identity value="HIMSPatientRegistrationDataDictionary-to-Patient"/>
            <map value="Patient.identifier.value"/>
          </mapping>
        </element>
        <element id="HIMSPatientRegistrationDataDictionary.patientName">
          <path value="HIMSPatientRegistrationDataDictionary.patientName"/>
          <code>
            <system
                    value="http://openhie.org/fhir/sri-lanka/CodeSystem/cs-register-patient-codes"/>
            <code value="RP18"/>
          </code>
          <short value="Name"/>
          <definition value="Name"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="HIMSPatientRegistrationDataDictionary.patientName"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="BackboneElement"/>
          </type>
          <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression
                        value="hasValue() or (children().count() &gt; id.count())"/>
            <xpath value="@value|f:*|h:div"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
          </constraint>
          <mapping>
            <identity value="HIMSPatientRegistrationDataDictionary-to-Patient"/>
            <map value="Patient.name"/>
          </mapping>
        </element>
        <element id="HIMSPatientRegistrationDataDictionary.patientName.id">
          <path value="HIMSPatientRegistrationDataDictionary.patientName.id"/>
          <representation value="xmlAttr"/>
          <short value="Unique id for inter-element referencing"/>
          <definition
                      value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Element.id"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
              <valueUrl value="string"/>
            </extension>
            <code value="http://hl7.org/fhirpath/System.String"/>
          </type>
          <isModifier value="false"/>
          <isSummary value="false"/>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element
                 id="HIMSPatientRegistrationDataDictionary.patientName.extension">
          <path
                value="HIMSPatientRegistrationDataDictionary.patientName.extension"/>
          <slicing>
            <discriminator>
              <type value="value"/>
              <path value="url"/>
            </discriminator>
            <description value="Extensions are always sliced by (at least) url"/>
            <rules value="open"/>
          </slicing>
          <short value="Additional content defined by implementations"/>
          <definition
                      value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
          <comment
                   value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
          <alias value="extensions"/>
          <alias value="user content"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="Element.extension"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Extension"/>
          </type>
          <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression
                        value="hasValue() or (children().count() &gt; id.count())"/>
            <xpath value="@value|f:*|h:div"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
          </constraint>
          <constraint>
            <key value="ext-1"/>
            <severity value="error"/>
            <human value="Must have either extensions or value[x], not both"/>
            <expression value="extension.exists() != value.exists()"/>
            <xpath
                   value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), &quot;value&quot;)])"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
          </constraint>
          <isModifier value="false"/>
          <isSummary value="false"/>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element
                 id="HIMSPatientRegistrationDataDictionary.patientName.modifierExtension">
          <path
                value="HIMSPatientRegistrationDataDictionary.patientName.modifierExtension"/>
          <short value="Extensions that cannot be ignored even if unrecognized"/>
          <definition
                      value="May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

    Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)."/>
          <comment
                   value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
          <requirements
                        value="Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension)."/>
          <alias value="extensions"/>
          <alias value="user content"/>
          <alias value="modifiers"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="BackboneElement.modifierExtension"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Extension"/>
          </type>
          <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression
                        value="hasValue() or (children().count() &gt; id.count())"/>
            <xpath value="@value|f:*|h:div"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
          </constraint>
          <constraint>
            <key value="ext-1"/>
            <severity value="error"/>
            <human value="Must have either extensions or value[x], not both"/>
            <expression value="extension.exists() != value.exists()"/>
            <xpath
                   value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), &quot;value&quot;)])"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
          </constraint>
          <isModifier value="true"/>
          <isModifierReason
                            value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them"/>
          <isSummary value="true"/>
          <mapping>
            <identity value="rim"/>
            <map value="N/A"/>
          </mapping>
        </element>
        <element id="HIMSPatientRegistrationDataDictionary.patientName.fullName">
          <path
                value="HIMSPatientRegistrationDataDictionary.patientName.fullName"/>
          <code>
            <system
                    value="http://openhie.org/fhir/sri-lanka/CodeSystem/cs-register-patient-codes"/>
            <code value="RP6"/>
          </code>
          <short value="Full name"/>
          <definition value="Patient's full name"/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path
                  value="HIMSPatientRegistrationDataDictionary.patientName.fullName"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="string"/>
          </type>
          <constraint>
            <key value="HIMS-name-1"/>
            <severity value="error"/>
            <human
                   value="Only letters and special characters (period, dash) allowed."/>
            <expression value="$this.matches('[A-Za-z-.]*')"/>
            <source
                    value="http://openhie.org/fhir/sri-lanka/StructureDefinition/HIMSPatientRegistrationDataDictionary"/>
          </constraint>
          <mapping>
            <identity value="HIMSPatientRegistrationDataDictionary-to-Patient"/>
            <map value="Patient.name.text"/>
          </mapping>
        </element>
        <element
                 id="HIMSPatientRegistrationDataDictionary.patientName.firstName">
          <path
                value="HIMSPatientRegistrationDataDictionary.patientName.firstName"/>
          <code>
            <system
                    value="http://openhie.org/fhir/sri-lanka/CodeSystem/cs-register-patient-codes"/>
            <code value="RP7"/>
          </code>
          <short value="First name"/>
          <definition value="Patient's first name or given name"/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path
                  value="HIMSPatientRegistrationDataDictionary.patientName.firstName"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="string"/>
          </type>
          <constraint>
            <key value="HIMS-name-1"/>
            <severity value="error"/>
            <human
                   value="Only letters and special characters (period, dash) allowed."/>
            <expression value="$this.matches('[A-Za-z-.]*')"/>
            <source
                    value="http://openhie.org/fhir/sri-lanka/StructureDefinition/HIMSPatientRegistrationDataDictionary"/>
          </constraint>
          <mapping>
            <identity value="HIMSPatientRegistrationDataDictionary-to-Patient"/>
            <map value="Patient.name.given"/>
          </mapping>
        </element>
        <element id="HIMSPatientRegistrationDataDictionary.patientName.surname">
          <path
                value="HIMSPatientRegistrationDataDictionary.patientName.surname"/>
          <code>
            <system
                    value="http://openhie.org/fhir/sri-lanka/CodeSystem/cs-register-patient-codes"/>
            <code value="RP8"/>
          </code>
          <short value="Last name"/>
          <definition value="Patient's family name or last name"/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path
                  value="HIMSPatientRegistrationDataDictionary.patientName.surname"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="string"/>
          </type>
          <constraint>
            <key value="HIMS-name-1"/>
            <severity value="error"/>
            <human
                   value="Only letters and special characters (period, dash) allowed."/>
            <expression value="$this.matches('[A-Za-z-.]*')"/>
            <source
                    value="http://openhie.org/fhir/sri-lanka/StructureDefinition/HIMSPatientRegistrationDataDictionary"/>
          </constraint>
          <mapping>
            <identity value="HIMSPatientRegistrationDataDictionary-to-Patient"/>
            <map value="Patient.name.family"/>
          </mapping>
        </element>
        <element id="HIMSPatientRegistrationDataDictionary.sex">
          <path value="HIMSPatientRegistrationDataDictionary.sex"/>
          <code>
            <system
                    value="http://openhie.org/fhir/sri-lanka/CodeSystem/cs-register-patient-codes"/>
            <code value="RP9"/>
          </code>
          <short value="Sex"/>
          <definition
                      value="Documentation of a specific instance of sex information for the patient"/>
          <min value="1"/>
          <max value="1"/>
          <base>
            <path value="HIMSPatientRegistrationDataDictionary.sex"/>
            <min value="1"/>
            <max value="1"/>
          </base>
          <type>
            <code value="code"/>
          </type>
          <binding>
            <strength value="required"/>
            <valueSet value="http://hl7.org/fhir/ValueSet/administrative-gender"/>
          </binding>
          <mapping>
            <identity value="HIMSPatientRegistrationDataDictionary-to-Patient"/>
            <map value="Patient.gender"/>
          </mapping>
        </element>
        <element id="HIMSPatientRegistrationDataDictionary.address">
          <path value="HIMSPatientRegistrationDataDictionary.address"/>
          <code>
            <system
                    value="http://openhie.org/fhir/sri-lanka/CodeSystem/cs-register-patient-codes"/>
            <code value="RP19"/>
          </code>
          <short value="Address"/>
          <definition value="Address"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="HIMSPatientRegistrationDataDictionary.address"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="BackboneElement"/>
          </type>
          <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression
                        value="hasValue() or (children().count() &gt; id.count())"/>
            <xpath value="@value|f:*|h:div"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
          </constraint>
          <mapping>
            <identity value="HIMSPatientRegistrationDataDictionary-to-Patient"/>
            <map value="Patient.address"/>
          </mapping>
        </element>
        <element id="HIMSPatientRegistrationDataDictionary.address.id">
          <path value="HIMSPatientRegistrationDataDictionary.address.id"/>
          <representation value="xmlAttr"/>
          <short value="Unique id for inter-element referencing"/>
          <definition
                      value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Element.id"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
              <valueUrl value="string"/>
            </extension>
            <code value="http://hl7.org/fhirpath/System.String"/>
          </type>
          <isModifier value="false"/>
          <isSummary value="false"/>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element id="HIMSPatientRegistrationDataDictionary.address.extension">
          <path value="HIMSPatientRegistrationDataDictionary.address.extension"/>
          <slicing>
            <discriminator>
              <type value="value"/>
              <path value="url"/>
            </discriminator>
            <description value="Extensions are always sliced by (at least) url"/>
            <rules value="open"/>
          </slicing>
          <short value="Additional content defined by implementations"/>
          <definition
                      value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
          <comment
                   value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
          <alias value="extensions"/>
          <alias value="user content"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="Element.extension"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Extension"/>
          </type>
          <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression
                        value="hasValue() or (children().count() &gt; id.count())"/>
            <xpath value="@value|f:*|h:div"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
          </constraint>
          <constraint>
            <key value="ext-1"/>
            <severity value="error"/>
            <human value="Must have either extensions or value[x], not both"/>
            <expression value="extension.exists() != value.exists()"/>
            <xpath
                   value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), &quot;value&quot;)])"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
          </constraint>
          <isModifier value="false"/>
          <isSummary value="false"/>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element
                 id="HIMSPatientRegistrationDataDictionary.address.modifierExtension">
          <path
                value="HIMSPatientRegistrationDataDictionary.address.modifierExtension"/>
          <short value="Extensions that cannot be ignored even if unrecognized"/>
          <definition
                      value="May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

    Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)."/>
          <comment
                   value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
          <requirements
                        value="Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension)."/>
          <alias value="extensions"/>
          <alias value="user content"/>
          <alias value="modifiers"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="BackboneElement.modifierExtension"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Extension"/>
          </type>
          <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression
                        value="hasValue() or (children().count() &gt; id.count())"/>
            <xpath value="@value|f:*|h:div"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
          </constraint>
          <constraint>
            <key value="ext-1"/>
            <severity value="error"/>
            <human value="Must have either extensions or value[x], not both"/>
            <expression value="extension.exists() != value.exists()"/>
            <xpath
                   value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), &quot;value&quot;)])"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
          </constraint>
          <isModifier value="true"/>
          <isModifierReason
                            value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them"/>
          <isSummary value="true"/>
          <mapping>
            <identity value="rim"/>
            <map value="N/A"/>
          </mapping>
        </element>
        <element
                 id="HIMSPatientRegistrationDataDictionary.address.streetNameAndNr">
          <path
                value="HIMSPatientRegistrationDataDictionary.address.streetNameAndNr"/>
          <code>
            <system
                    value="http://openhie.org/fhir/sri-lanka/CodeSystem/cs-register-patient-codes"/>
            <code value="RP11"/>
          </code>
          <short value="Street name and number"/>
          <definition value="Street name and number"/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path
                  value="HIMSPatientRegistrationDataDictionary.address.streetNameAndNr"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="string"/>
          </type>
          <mapping>
            <identity value="HIMSPatientRegistrationDataDictionary-to-Patient"/>
            <map value="Patient.address"/>
          </mapping>
        </element>
        <element id="HIMSPatientRegistrationDataDictionary.address.city">
          <path value="HIMSPatientRegistrationDataDictionary.address.city"/>
          <code>
            <system
                    value="http://openhie.org/fhir/sri-lanka/CodeSystem/cs-register-patient-codes"/>
            <code value="RP10"/>
          </code>
          <short value="City"/>
          <definition value="City"/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="HIMSPatientRegistrationDataDictionary.address.city"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="string"/>
          </type>
          <mapping>
            <identity value="HIMSPatientRegistrationDataDictionary-to-Patient"/>
            <map value="Patient.address.city"/>
          </mapping>
        </element>
        <element id="HIMSPatientRegistrationDataDictionary.address.state">
          <path value="HIMSPatientRegistrationDataDictionary.address.state"/>
          <code>
            <system
                    value="http://openhie.org/fhir/sri-lanka/CodeSystem/cs-register-patient-codes"/>
            <code value="RP12"/>
          </code>
          <short value="State"/>
          <definition value="State"/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="HIMSPatientRegistrationDataDictionary.address.state"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="string"/>
          </type>
          <mapping>
            <identity value="HIMSPatientRegistrationDataDictionary-to-Patient"/>
            <map value="Patient.address.state"/>
          </mapping>
        </element>
        <element id="HIMSPatientRegistrationDataDictionary.address.country">
          <path value="HIMSPatientRegistrationDataDictionary.address.country"/>
          <code>
            <system
                    value="http://openhie.org/fhir/sri-lanka/CodeSystem/cs-register-patient-codes"/>
            <code value="RP13"/>
          </code>
          <short value="Country"/>
          <definition value="Country"/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="HIMSPatientRegistrationDataDictionary.address.country"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="string"/>
          </type>
          <mapping>
            <identity value="HIMSPatientRegistrationDataDictionary-to-Patient"/>
            <map value="Patient.address.country"/>
          </mapping>
        </element>
        <element id="HIMSPatientRegistrationDataDictionary.address.postalCode">
          <path value="HIMSPatientRegistrationDataDictionary.address.postalCode"/>
          <code>
            <system
                    value="http://openhie.org/fhir/sri-lanka/CodeSystem/cs-register-patient-codes"/>
            <code value="RP14"/>
          </code>
          <short value="Postal code"/>
          <definition value="Postal code"/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path
                  value="HIMSPatientRegistrationDataDictionary.address.postalCode"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="string"/>
          </type>
          <mapping>
            <identity value="HIMSPatientRegistrationDataDictionary-to-Patient"/>
            <map value="Patient.address.postalCode"/>
          </mapping>
        </element>
        <element id="HIMSPatientRegistrationDataDictionary.birthDate">
          <path value="HIMSPatientRegistrationDataDictionary.birthDate"/>
          <code>
            <system
                    value="http://openhie.org/fhir/sri-lanka/CodeSystem/cs-register-patient-codes"/>
            <code value="RP15"/>
          </code>
          <short value="Date of birth"/>
          <definition
                      value="Patient's date of birth (DOB) if known; if unknown, use assigned DOB for administrative purposes"/>
          <min value="1"/>
          <max value="1"/>
          <base>
            <path value="HIMSPatientRegistrationDataDictionary.birthDate"/>
            <min value="1"/>
            <max value="1"/>
          </base>
          <type>
            <code value="date"/>
          </type>
          <mapping>
            <identity value="HIMSPatientRegistrationDataDictionary-to-Patient"/>
            <map value="Patient.birthDate"/>
          </mapping>
        </element>
        <element id="HIMSPatientRegistrationDataDictionary.contactDetails">
          <path value="HIMSPatientRegistrationDataDictionary.contactDetails"/>
          <code>
            <system
                    value="http://openhie.org/fhir/sri-lanka/CodeSystem/cs-register-patient-codes"/>
            <code value="RP20"/>
          </code>
          <short value="Contact details"/>
          <definition value="Contact details"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="HIMSPatientRegistrationDataDictionary.contactDetails"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="BackboneElement"/>
          </type>
          <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression
                        value="hasValue() or (children().count() &gt; id.count())"/>
            <xpath value="@value|f:*|h:div"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
          </constraint>
          <mapping>
            <identity value="HIMSPatientRegistrationDataDictionary-to-Patient"/>
            <map value="Patient.telecom"/>
          </mapping>
        </element>
        <element id="HIMSPatientRegistrationDataDictionary.contactDetails.id">
          <path value="HIMSPatientRegistrationDataDictionary.contactDetails.id"/>
          <representation value="xmlAttr"/>
          <short value="Unique id for inter-element referencing"/>
          <definition
                      value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="Element.id"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <extension
                       url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
              <valueUrl value="string"/>
            </extension>
            <code value="http://hl7.org/fhirpath/System.String"/>
          </type>
          <isModifier value="false"/>
          <isSummary value="false"/>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element
                 id="HIMSPatientRegistrationDataDictionary.contactDetails.extension">
          <path
                value="HIMSPatientRegistrationDataDictionary.contactDetails.extension"/>
          <slicing>
            <discriminator>
              <type value="value"/>
              <path value="url"/>
            </discriminator>
            <description value="Extensions are always sliced by (at least) url"/>
            <rules value="open"/>
          </slicing>
          <short value="Additional content defined by implementations"/>
          <definition
                      value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
          <comment
                   value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
          <alias value="extensions"/>
          <alias value="user content"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="Element.extension"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Extension"/>
          </type>
          <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression
                        value="hasValue() or (children().count() &gt; id.count())"/>
            <xpath value="@value|f:*|h:div"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
          </constraint>
          <constraint>
            <key value="ext-1"/>
            <severity value="error"/>
            <human value="Must have either extensions or value[x], not both"/>
            <expression value="extension.exists() != value.exists()"/>
            <xpath
                   value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), &quot;value&quot;)])"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
          </constraint>
          <isModifier value="false"/>
          <isSummary value="false"/>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element
                 id="HIMSPatientRegistrationDataDictionary.contactDetails.modifierExtension">
          <path
                value="HIMSPatientRegistrationDataDictionary.contactDetails.modifierExtension"/>
          <short value="Extensions that cannot be ignored even if unrecognized"/>
          <definition
                      value="May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

    Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)."/>
          <comment
                   value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
          <requirements
                        value="Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension)."/>
          <alias value="extensions"/>
          <alias value="user content"/>
          <alias value="modifiers"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="BackboneElement.modifierExtension"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Extension"/>
          </type>
          <constraint>
            <key value="ele-1"/>
            <severity value="error"/>
            <human value="All FHIR elements must have a @value or children"/>
            <expression
                        value="hasValue() or (children().count() &gt; id.count())"/>
            <xpath value="@value|f:*|h:div"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
          </constraint>
          <constraint>
            <key value="ext-1"/>
            <severity value="error"/>
            <human value="Must have either extensions or value[x], not both"/>
            <expression value="extension.exists() != value.exists()"/>
            <xpath
                   value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), &quot;value&quot;)])"/>
            <source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
          </constraint>
          <isModifier value="true"/>
          <isModifierReason
                            value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them"/>
          <isSummary value="true"/>
          <mapping>
            <identity value="rim"/>
            <map value="N/A"/>
          </mapping>
        </element>
        <element
                 id="HIMSPatientRegistrationDataDictionary.contactDetails.mobileNumber">
          <path
                value="HIMSPatientRegistrationDataDictionary.contactDetails.mobileNumber"/>
          <code>
            <system
                    value="http://openhie.org/fhir/sri-lanka/CodeSystem/cs-register-patient-codes"/>
            <code value="RP16"/>
          </code>
          <code>
            <system value="http://hl7.org/fhir/contact-point-system"/>
            <code value="phone"/>
          </code>
          <short value="Mobile phone number"/>
          <definition value="Patient's mobile phone number"/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path
                  value="HIMSPatientRegistrationDataDictionary.contactDetails.mobileNumber"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="string"/>
          </type>
          <mapping>
            <identity value="HIMSPatientRegistrationDataDictionary-to-Patient"/>
            <map value="Patient.telecom.value"/>
          </mapping>
        </element>
        <element
                 id="HIMSPatientRegistrationDataDictionary.contactDetails.landline">
          <path
                value="HIMSPatientRegistrationDataDictionary.contactDetails.landline"/>
          <code>
            <system
                    value="http://openhie.org/fhir/sri-lanka/CodeSystem/cs-register-patient-codes"/>
            <code value="RP17"/>
          </code>
          <code>
            <system value="http://hl7.org/fhir/contact-point-system"/>
            <code value="phone"/>
          </code>
          <short value="Landline phone number"/>
          <definition value="Patient's landline phone number"/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path
                  value="HIMSPatientRegistrationDataDictionary.contactDetails.landline"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="string"/>
          </type>
          <mapping>
            <identity value="HIMSPatientRegistrationDataDictionary-to-Patient"/>
            <map value="Patient.telecom.value"/>
          </mapping>
        </element>
      </snapshot>
      <differential>
        <element id="HIMSPatientRegistrationDataDictionary">
          <path value="HIMSPatientRegistrationDataDictionary"/>
          <short value="HIMS Patient Registration"/>
          <definition
                      value="Data elements for the HIMS Patient Registration Data Dictionary."/>
          <mapping>
            <identity value="HIMSPatientRegistrationDataDictionary-to-Patient"/>
            <map value="Patient"/>
          </mapping>
        </element>
        <element id="HIMSPatientRegistrationDataDictionary.personalHealthNumber">
          <path
                value="HIMSPatientRegistrationDataDictionary.personalHealthNumber"/>
          <code>
            <system
                    value="http://openhie.org/fhir/sri-lanka/CodeSystem/cs-register-patient-codes"/>
            <code value="RP1"/>
          </code>
          <short value="Personal health number"/>
          <definition
                      value="Unique identifier for the patient, according to the policies applicable to each country."/>
          <min value="1"/>
          <max value="1"/>
          <type>
            <code value="string"/>
          </type>
          <isSummary value="true"/>
          <mapping>
            <identity value="HIMSPatientRegistrationDataDictionary-to-Patient"/>
            <map value="Patient.identifier.value"/>
          </mapping>
        </element>
        <element id="HIMSPatientRegistrationDataDictionary.nationalIdentityCard">
          <path
                value="HIMSPatientRegistrationDataDictionary.nationalIdentityCard"/>
          <code>
            <system
                    value="http://openhie.org/fhir/sri-lanka/CodeSystem/cs-register-patient-codes"/>
            <code value="RP2"/>
          </code>
          <short value="National identity card"/>
          <definition
                      value="Unique identifier for the patient, according to the policies applicable to each country."/>
          <min value="0"/>
          <max value="*"/>
          <type>
            <code value="string"/>
          </type>
          <isSummary value="true"/>
          <mapping>
            <identity value="HIMSPatientRegistrationDataDictionary-to-Patient"/>
            <map value="Patient.identifier.value"/>
          </mapping>
        </element>
        <element id="HIMSPatientRegistrationDataDictionary.passport">
          <path value="HIMSPatientRegistrationDataDictionary.passport"/>
          <code>
            <system
                    value="http://openhie.org/fhir/sri-lanka/CodeSystem/cs-register-patient-codes"/>
            <code value="RP3"/>
          </code>
          <short value="Passport"/>
          <definition
                      value="Unique identifier for the patient, according to the policies applicable to each country."/>
          <min value="0"/>
          <max value="*"/>
          <type>
            <code value="string"/>
          </type>
          <isSummary value="true"/>
          <mapping>
            <identity value="HIMSPatientRegistrationDataDictionary-to-Patient"/>
            <map value="Patient.identifier.value"/>
          </mapping>
        </element>
        <element id="HIMSPatientRegistrationDataDictionary.drivingLicense">
          <path value="HIMSPatientRegistrationDataDictionary.drivingLicense"/>
          <code>
            <system
                    value="http://openhie.org/fhir/sri-lanka/CodeSystem/cs-register-patient-codes"/>
            <code value="RP4"/>
          </code>
          <short value="Driving license"/>
          <definition
                      value="Unique identifier for the patient, according to the policies applicable to each country."/>
          <min value="0"/>
          <max value="*"/>
          <type>
            <code value="string"/>
          </type>
          <isSummary value="true"/>
          <mapping>
            <identity value="HIMSPatientRegistrationDataDictionary-to-Patient"/>
            <map value="Patient.identifier.value"/>
          </mapping>
        </element>
        <element id="HIMSPatientRegistrationDataDictionary.seniorCitizenNumber">
          <path
                value="HIMSPatientRegistrationDataDictionary.seniorCitizenNumber"/>
          <code>
            <system
                    value="http://openhie.org/fhir/sri-lanka/CodeSystem/cs-register-patient-codes"/>
            <code value="RP5"/>
          </code>
          <short value="Senior citizen number"/>
          <definition
                      value="Unique identifier for the patient, according to the policies applicable to each country."/>
          <min value="0"/>
          <max value="*"/>
          <type>
            <code value="string"/>
          </type>
          <isSummary value="true"/>
          <mapping>
            <identity value="HIMSPatientRegistrationDataDictionary-to-Patient"/>
            <map value="Patient.identifier.value"/>
          </mapping>
        </element>
        <element id="HIMSPatientRegistrationDataDictionary.patientName">
          <path value="HIMSPatientRegistrationDataDictionary.patientName"/>
          <code>
            <system
                    value="http://openhie.org/fhir/sri-lanka/CodeSystem/cs-register-patient-codes"/>
            <code value="RP18"/>
          </code>
          <short value="Name"/>
          <definition value="Name"/>
          <min value="0"/>
          <max value="*"/>
          <type>
            <code value="BackboneElement"/>
          </type>
          <mapping>
            <identity value="HIMSPatientRegistrationDataDictionary-to-Patient"/>
            <map value="Patient.name"/>
          </mapping>
        </element>
        <element id="HIMSPatientRegistrationDataDictionary.patientName.fullName">
          <path
                value="HIMSPatientRegistrationDataDictionary.patientName.fullName"/>
          <code>
            <system
                    value="http://openhie.org/fhir/sri-lanka/CodeSystem/cs-register-patient-codes"/>
            <code value="RP6"/>
          </code>
          <short value="Full name"/>
          <definition value="Patient's full name"/>
          <min value="0"/>
          <max value="1"/>
          <type>
            <code value="string"/>
          </type>
          <constraint>
            <key value="HIMS-name-1"/>
            <severity value="error"/>
            <human
                   value="Only letters and special characters (period, dash) allowed."/>
            <expression value="$this.matches('[A-Za-z-.]*')"/>
            <source
                    value="http://openhie.org/fhir/sri-lanka/StructureDefinition/HIMSPatientRegistrationDataDictionary"/>
          </constraint>
          <mapping>
            <identity value="HIMSPatientRegistrationDataDictionary-to-Patient"/>
            <map value="Patient.name.text"/>
          </mapping>
        </element>
        <element
                 id="HIMSPatientRegistrationDataDictionary.patientName.firstName">
          <path
                value="HIMSPatientRegistrationDataDictionary.patientName.firstName"/>
          <code>
            <system
                    value="http://openhie.org/fhir/sri-lanka/CodeSystem/cs-register-patient-codes"/>
            <code value="RP7"/>
          </code>
          <short value="First name"/>
          <definition value="Patient's first name or given name"/>
          <min value="0"/>
          <max value="1"/>
          <type>
            <code value="string"/>
          </type>
          <constraint>
            <key value="HIMS-name-1"/>
            <severity value="error"/>
            <human
                   value="Only letters and special characters (period, dash) allowed."/>
            <expression value="$this.matches('[A-Za-z-.]*')"/>
            <source
                    value="http://openhie.org/fhir/sri-lanka/StructureDefinition/HIMSPatientRegistrationDataDictionary"/>
          </constraint>
          <mapping>
            <identity value="HIMSPatientRegistrationDataDictionary-to-Patient"/>
            <map value="Patient.name.given"/>
          </mapping>
        </element>
        <element id="HIMSPatientRegistrationDataDictionary.patientName.surname">
          <path
                value="HIMSPatientRegistrationDataDictionary.patientName.surname"/>
          <code>
            <system
                    value="http://openhie.org/fhir/sri-lanka/CodeSystem/cs-register-patient-codes"/>
            <code value="RP8"/>
          </code>
          <short value="Last name"/>
          <definition value="Patient's family name or last name"/>
          <min value="0"/>
          <max value="1"/>
          <type>
            <code value="string"/>
          </type>
          <constraint>
            <key value="HIMS-name-1"/>
            <severity value="error"/>
            <human
                   value="Only letters and special characters (period, dash) allowed."/>
            <expression value="$this.matches('[A-Za-z-.]*')"/>
            <source
                    value="http://openhie.org/fhir/sri-lanka/StructureDefinition/HIMSPatientRegistrationDataDictionary"/>
          </constraint>
          <mapping>
            <identity value="HIMSPatientRegistrationDataDictionary-to-Patient"/>
            <map value="Patient.name.family"/>
          </mapping>
        </element>
        <element id="HIMSPatientRegistrationDataDictionary.sex">
          <path value="HIMSPatientRegistrationDataDictionary.sex"/>
          <code>
            <system
                    value="http://openhie.org/fhir/sri-lanka/CodeSystem/cs-register-patient-codes"/>
            <code value="RP9"/>
          </code>
          <short value="Sex"/>
          <definition
                      value="Documentation of a specific instance of sex information for the patient"/>
          <min value="1"/>
          <max value="1"/>
          <type>
            <code value="code"/>
          </type>
          <binding>
            <strength value="required"/>
            <valueSet value="http://hl7.org/fhir/ValueSet/administrative-gender"/>
          </binding>
          <mapping>
            <identity value="HIMSPatientRegistrationDataDictionary-to-Patient"/>
            <map value="Patient.gender"/>
          </mapping>
        </element>
        <element id="HIMSPatientRegistrationDataDictionary.address">
          <path value="HIMSPatientRegistrationDataDictionary.address"/>
          <code>
            <system
                    value="http://openhie.org/fhir/sri-lanka/CodeSystem/cs-register-patient-codes"/>
            <code value="RP19"/>
          </code>
          <short value="Address"/>
          <definition value="Address"/>
          <min value="0"/>
          <max value="*"/>
          <type>
            <code value="BackboneElement"/>
          </type>
          <mapping>
            <identity value="HIMSPatientRegistrationDataDictionary-to-Patient"/>
            <map value="Patient.address"/>
          </mapping>
        </element>
        <element
                 id="HIMSPatientRegistrationDataDictionary.address.streetNameAndNr">
          <path
                value="HIMSPatientRegistrationDataDictionary.address.streetNameAndNr"/>
          <code>
            <system
                    value="http://openhie.org/fhir/sri-lanka/CodeSystem/cs-register-patient-codes"/>
            <code value="RP11"/>
          </code>
          <short value="Street name and number"/>
          <definition value="Street name and number"/>
          <min value="0"/>
          <max value="1"/>
          <type>
            <code value="string"/>
          </type>
          <mapping>
            <identity value="HIMSPatientRegistrationDataDictionary-to-Patient"/>
            <map value="Patient.address"/>
          </mapping>
        </element>
        <element id="HIMSPatientRegistrationDataDictionary.address.city">
          <path value="HIMSPatientRegistrationDataDictionary.address.city"/>
          <code>
            <system
                    value="http://openhie.org/fhir/sri-lanka/CodeSystem/cs-register-patient-codes"/>
            <code value="RP10"/>
          </code>
          <short value="City"/>
          <definition value="City"/>
          <min value="0"/>
          <max value="1"/>
          <type>
            <code value="string"/>
          </type>
          <mapping>
            <identity value="HIMSPatientRegistrationDataDictionary-to-Patient"/>
            <map value="Patient.address.city"/>
          </mapping>
        </element>
        <element id="HIMSPatientRegistrationDataDictionary.address.state">
          <path value="HIMSPatientRegistrationDataDictionary.address.state"/>
          <code>
            <system
                    value="http://openhie.org/fhir/sri-lanka/CodeSystem/cs-register-patient-codes"/>
            <code value="RP12"/>
          </code>
          <short value="State"/>
          <definition value="State"/>
          <min value="0"/>
          <max value="1"/>
          <type>
            <code value="string"/>
          </type>
          <mapping>
            <identity value="HIMSPatientRegistrationDataDictionary-to-Patient"/>
            <map value="Patient.address.state"/>
          </mapping>
        </element>
        <element id="HIMSPatientRegistrationDataDictionary.address.country">
          <path value="HIMSPatientRegistrationDataDictionary.address.country"/>
          <code>
            <system
                    value="http://openhie.org/fhir/sri-lanka/CodeSystem/cs-register-patient-codes"/>
            <code value="RP13"/>
          </code>
          <short value="Country"/>
          <definition value="Country"/>
          <min value="0"/>
          <max value="1"/>
          <type>
            <code value="string"/>
          </type>
          <mapping>
            <identity value="HIMSPatientRegistrationDataDictionary-to-Patient"/>
            <map value="Patient.address.country"/>
          </mapping>
        </element>
        <element id="HIMSPatientRegistrationDataDictionary.address.postalCode">
          <path value="HIMSPatientRegistrationDataDictionary.address.postalCode"/>
          <code>
            <system
                    value="http://openhie.org/fhir/sri-lanka/CodeSystem/cs-register-patient-codes"/>
            <code value="RP14"/>
          </code>
          <short value="Postal code"/>
          <definition value="Postal code"/>
          <min value="0"/>
          <max value="1"/>
          <type>
            <code value="string"/>
          </type>
          <mapping>
            <identity value="HIMSPatientRegistrationDataDictionary-to-Patient"/>
            <map value="Patient.address.postalCode"/>
          </mapping>
        </element>
        <element id="HIMSPatientRegistrationDataDictionary.birthDate">
          <path value="HIMSPatientRegistrationDataDictionary.birthDate"/>
          <code>
            <system
                    value="http://openhie.org/fhir/sri-lanka/CodeSystem/cs-register-patient-codes"/>
            <code value="RP15"/>
          </code>
          <short value="Date of birth"/>
          <definition
                      value="Patient's date of birth (DOB) if known; if unknown, use assigned DOB for administrative purposes"/>
          <min value="1"/>
          <max value="1"/>
          <type>
            <code value="date"/>
          </type>
          <mapping>
            <identity value="HIMSPatientRegistrationDataDictionary-to-Patient"/>
            <map value="Patient.birthDate"/>
          </mapping>
        </element>
        <element id="HIMSPatientRegistrationDataDictionary.contactDetails">
          <path value="HIMSPatientRegistrationDataDictionary.contactDetails"/>
          <code>
            <system
                    value="http://openhie.org/fhir/sri-lanka/CodeSystem/cs-register-patient-codes"/>
            <code value="RP20"/>
          </code>
          <short value="Contact details"/>
          <definition value="Contact details"/>
          <min value="0"/>
          <max value="*"/>
          <type>
            <code value="BackboneElement"/>
          </type>
          <mapping>
            <identity value="HIMSPatientRegistrationDataDictionary-to-Patient"/>
            <map value="Patient.telecom"/>
          </mapping>
        </element>
        <element
                 id="HIMSPatientRegistrationDataDictionary.contactDetails.mobileNumber">
          <path
                value="HIMSPatientRegistrationDataDictionary.contactDetails.mobileNumber"/>
          <code>
            <system
                    value="http://openhie.org/fhir/sri-lanka/CodeSystem/cs-register-patient-codes"/>
            <code value="RP16"/>
          </code>
          <code>
            <system value="http://hl7.org/fhir/contact-point-system"/>
            <code value="phone"/>
          </code>
          <short value="Mobile phone number"/>
          <definition value="Patient's mobile phone number"/>
          <min value="0"/>
          <max value="1"/>
          <type>
            <code value="string"/>
          </type>
          <mapping>
            <identity value="HIMSPatientRegistrationDataDictionary-to-Patient"/>
            <map value="Patient.telecom.value"/>
          </mapping>
        </element>
        <element
                 id="HIMSPatientRegistrationDataDictionary.contactDetails.landline">
          <path
                value="HIMSPatientRegistrationDataDictionary.contactDetails.landline"/>
          <code>
            <system
                    value="http://openhie.org/fhir/sri-lanka/CodeSystem/cs-register-patient-codes"/>
            <code value="RP17"/>
          </code>
          <code>
            <system value="http://hl7.org/fhir/contact-point-system"/>
            <code value="phone"/>
          </code>
          <short value="Landline phone number"/>
          <definition value="Patient's landline phone number"/>
          <min value="0"/>
          <max value="1"/>
          <type>
            <code value="string"/>
          </type>
          <mapping>
            <identity value="HIMSPatientRegistrationDataDictionary-to-Patient"/>
            <map value="Patient.telecom.value"/>
          </mapping>
        </element>
      </differential>
    </StructureDefinition>