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 - TTL Profile

Active as of 2023-11-10

TTL representation of the HIMSPatientRegistrationDataDictionary logical model.

Raw ttl | Download

    @prefix fhir: <http://hl7.org/fhir/> .
    @prefix owl: <http://www.w3.org/2002/07/owl#> .
    @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
    @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

    # - resource -------------------------------------------------------------------

     a fhir:StructureDefinition ;
      fhir:nodeRole fhir:treeRoot ;
      fhir:id [ fhir:v "HIMSPatientRegistrationDataDictionary"] ; #
      fhir:text [
    fhir:status [ fhir:v "extensions" ] ;
    fhir:div "<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>\r\n<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>\r\n<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>\r\n<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>\r\n<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>\r\n<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>\r\n<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>\r\n<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>\r\n<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>\r\n<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>\r\n<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>\r\n<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>\r\n<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>\r\n<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>\r\n<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>\r\n<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>\r\n<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>\r\n<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>\r\n<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>\r\n<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>\r\n<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>\r\n<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>"
      ] ; #
      fhir:extension ( [
    fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/logical-target"^^xsd:anyURI ] ;
    fhir:value [ fhir:v "true"^^xsd:boolean ]
      ] ) ; #
      fhir:url [ fhir:v "http://openhie.org/fhir/sri-lanka/StructureDefinition/HIMSPatientRegistrationDataDictionary"^^xsd:anyURI] ; #
      fhir:version [ fhir:v "0.1.0"] ; #
      fhir:name [ fhir:v "HIMSPatientRegistrationDataDictionary"] ; #
      fhir:title [ fhir:v "HIMS Patient Registration"] ; #
      fhir:status [ fhir:v "active"] ; #
      fhir:date [ fhir:v "2023-11-10T04:37:53+00:00"^^xsd:dateTime] ; #
      fhir:publisher [ fhir:v "Jembi Health Systems"] ; #
      fhir:contact ( [
    fhir:name [ fhir:v "Jembi Health Systems" ] ;
        ( fhir:telecom [
    fhir:system [ fhir:v "url" ] ;
    fhir:value [ fhir:v "https://www.jembi.org" ]     ] [
    fhir:system [ fhir:v "email" ] ;
    fhir:value [ fhir:v "info@jembi.org" ]     ] )
      ] [
    fhir:name [ fhir:v "Richard Langford" ] ;
        ( fhir:telecom [
    fhir:system [ fhir:v "email" ] ;
    fhir:value [ fhir:v "richard.langford@jembi.org" ] ;
    fhir:use [ fhir:v "work" ]     ] )
      ] ) ; #
      fhir:description [ fhir:v "Data elements for the HIMS Patient Registration Data Dictionary."] ; #
      fhir:jurisdiction ( [
        ( fhir:coding [
    fhir:system [ fhir:v "http://unstats.un.org/unsd/methods/m49/m49.htm"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "001" ] ;
    fhir:display [ fhir:v "World" ]     ] )
      ] ) ; #
      fhir:fhirVersion [ fhir:v "4.0.1"] ; #
      fhir:mapping ( [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:uri [ fhir:v "http://hl7.org/v3"^^xsd:anyURI ] ;
    fhir:name [ fhir:v "RIM Mapping" ]
      ] [
    fhir:identity [ fhir:v "HIMSPatientRegistrationDataDictionary-to-Patient" ] ;
    fhir:uri [ fhir:v "Patient"^^xsd:anyURI ]
      ] ) ; #
      fhir:kind [ fhir:v "logical"] ; #
      fhir:abstract [ fhir:v "false"^^xsd:boolean] ; #
      fhir:type [ fhir:v "http://openhie.org/fhir/sri-lanka/StructureDefinition/HIMSPatientRegistrationDataDictionary"^^xsd:anyURI] ; #
      fhir:baseDefinition [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Base"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Base>
      ] ; #
      fhir:derivation [ fhir:v "specialization"] ; #
      fhir:snapshot [
        ( fhir:element [
    fhir:id [ fhir:v "HIMSPatientRegistrationDataDictionary" ] ;
    fhir:path [ fhir:v "HIMSPatientRegistrationDataDictionary" ] ;
    fhir:short [ fhir:v "HIMS Patient Registration" ] ;
    fhir:definition [ fhir:v "Data elements for the HIMS Patient Registration Data Dictionary." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "Base" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
    fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "HIMSPatientRegistrationDataDictionary-to-Patient" ] ;
    fhir:map [ fhir:v "Patient" ]       ] )     ] [
    fhir:id [ fhir:v "HIMSPatientRegistrationDataDictionary.personalHealthNumber" ] ;
    fhir:path [ fhir:v "HIMSPatientRegistrationDataDictionary.personalHealthNumber" ] ;
          ( fhir:code [
    fhir:system [ fhir:v "http://openhie.org/fhir/sri-lanka/CodeSystem/cs-register-patient-codes"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "RP1" ]       ] ) ;
    fhir:short [ fhir:v "Personal health number" ] ;
    fhir:definition [ fhir:v "Unique identifier for the patient, according to the policies applicable to each country." ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "HIMSPatientRegistrationDataDictionary.personalHealthNumber" ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "string"^^xsd:anyURI ]       ] ) ;
    fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "HIMSPatientRegistrationDataDictionary-to-Patient" ] ;
    fhir:map [ fhir:v "Patient.identifier.value" ]       ] )     ] [
    fhir:id [ fhir:v "HIMSPatientRegistrationDataDictionary.nationalIdentityCard" ] ;
    fhir:path [ fhir:v "HIMSPatientRegistrationDataDictionary.nationalIdentityCard" ] ;
          ( fhir:code [
    fhir:system [ fhir:v "http://openhie.org/fhir/sri-lanka/CodeSystem/cs-register-patient-codes"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "RP2" ]       ] ) ;
    fhir:short [ fhir:v "National identity card" ] ;
    fhir:definition [ fhir:v "Unique identifier for the patient, according to the policies applicable to each country." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "HIMSPatientRegistrationDataDictionary.nationalIdentityCard" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "string"^^xsd:anyURI ]       ] ) ;
    fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "HIMSPatientRegistrationDataDictionary-to-Patient" ] ;
    fhir:map [ fhir:v "Patient.identifier.value" ]       ] )     ] [
    fhir:id [ fhir:v "HIMSPatientRegistrationDataDictionary.passport" ] ;
    fhir:path [ fhir:v "HIMSPatientRegistrationDataDictionary.passport" ] ;
          ( fhir:code [
    fhir:system [ fhir:v "http://openhie.org/fhir/sri-lanka/CodeSystem/cs-register-patient-codes"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "RP3" ]       ] ) ;
    fhir:short [ fhir:v "Passport" ] ;
    fhir:definition [ fhir:v "Unique identifier for the patient, according to the policies applicable to each country." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "HIMSPatientRegistrationDataDictionary.passport" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "string"^^xsd:anyURI ]       ] ) ;
    fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "HIMSPatientRegistrationDataDictionary-to-Patient" ] ;
    fhir:map [ fhir:v "Patient.identifier.value" ]       ] )     ] [
    fhir:id [ fhir:v "HIMSPatientRegistrationDataDictionary.drivingLicense" ] ;
    fhir:path [ fhir:v "HIMSPatientRegistrationDataDictionary.drivingLicense" ] ;
          ( fhir:code [
    fhir:system [ fhir:v "http://openhie.org/fhir/sri-lanka/CodeSystem/cs-register-patient-codes"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "RP4" ]       ] ) ;
    fhir:short [ fhir:v "Driving license" ] ;
    fhir:definition [ fhir:v "Unique identifier for the patient, according to the policies applicable to each country." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "HIMSPatientRegistrationDataDictionary.drivingLicense" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "string"^^xsd:anyURI ]       ] ) ;
    fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "HIMSPatientRegistrationDataDictionary-to-Patient" ] ;
    fhir:map [ fhir:v "Patient.identifier.value" ]       ] )     ] [
    fhir:id [ fhir:v "HIMSPatientRegistrationDataDictionary.seniorCitizenNumber" ] ;
    fhir:path [ fhir:v "HIMSPatientRegistrationDataDictionary.seniorCitizenNumber" ] ;
          ( fhir:code [
    fhir:system [ fhir:v "http://openhie.org/fhir/sri-lanka/CodeSystem/cs-register-patient-codes"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "RP5" ]       ] ) ;
    fhir:short [ fhir:v "Senior citizen number" ] ;
    fhir:definition [ fhir:v "Unique identifier for the patient, according to the policies applicable to each country." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "HIMSPatientRegistrationDataDictionary.seniorCitizenNumber" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "string"^^xsd:anyURI ]       ] ) ;
    fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "HIMSPatientRegistrationDataDictionary-to-Patient" ] ;
    fhir:map [ fhir:v "Patient.identifier.value" ]       ] )     ] [
    fhir:id [ fhir:v "HIMSPatientRegistrationDataDictionary.patientName" ] ;
    fhir:path [ fhir:v "HIMSPatientRegistrationDataDictionary.patientName" ] ;
          ( fhir:code [
    fhir:system [ fhir:v "http://openhie.org/fhir/sri-lanka/CodeSystem/cs-register-patient-codes"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "RP18" ]       ] ) ;
    fhir:short [ fhir:v "Name" ] ;
    fhir:definition [ fhir:v "Name" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "HIMSPatientRegistrationDataDictionary.patientName" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "BackboneElement"^^xsd:anyURI ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "HIMSPatientRegistrationDataDictionary-to-Patient" ] ;
    fhir:map [ fhir:v "Patient.name" ]       ] )     ] [
    fhir:id [ fhir:v "HIMSPatientRegistrationDataDictionary.patientName.id" ] ;
    fhir:path [ fhir:v "HIMSPatientRegistrationDataDictionary.patientName.id" ] ;
          ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
    fhir:short [ fhir:v "Unique id for inter-element referencing" ] ;
    fhir:definition [ fhir:v "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Element.id" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"^^xsd:anyURI ] ;
    fhir:value [ fhir:v "string"^^xsd:anyURI ]         ] ) ;
    fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ]       ] ) ;
    fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ;
    fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] )     ] [
    fhir:id [ fhir:v "HIMSPatientRegistrationDataDictionary.patientName.extension" ] ;
    fhir:path [ fhir:v "HIMSPatientRegistrationDataDictionary.patientName.extension" ] ;
    fhir:slicing [
            ( fhir:discriminator [
    fhir:type [ fhir:v "value" ] ;
    fhir:path [ fhir:v "url" ]         ] ) ;
    fhir:description [ fhir:v "Extensions are always sliced by (at least) url" ] ;
    fhir:rules [ fhir:v "open" ]       ] ;
    fhir:short [ fhir:v "Additional content defined by implementations" ] ;
    fhir:definition [ fhir:v "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." ] ;
    fhir:comment [ fhir:v "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." ] ;
          ( fhir:alias [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "Element.extension" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "Extension"^^xsd:anyURI ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] [
    fhir:key [ fhir:v "ext-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ;
    fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ;
    fhir:xpath [ fhir:v "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Extension>         ]       ] ) ;
    fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ;
    fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] )     ] [
    fhir:id [ fhir:v "HIMSPatientRegistrationDataDictionary.patientName.modifierExtension" ] ;
    fhir:path [ fhir:v "HIMSPatientRegistrationDataDictionary.patientName.modifierExtension" ] ;
    fhir:short [ fhir:v "Extensions that cannot be ignored even if unrecognized" ] ;
    fhir:definition [ fhir:v "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.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." ] ;
    fhir:comment [ fhir:v "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." ] ;
    fhir:requirements [ fhir:v "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)." ] ;
          ( fhir:alias [ fhir:v "extensions" ] [ fhir:v "user content" ] [ fhir:v "modifiers" ] ) ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "BackboneElement.modifierExtension" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "Extension"^^xsd:anyURI ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] [
    fhir:key [ fhir:v "ext-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ;
    fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ;
    fhir:xpath [ fhir:v "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Extension>         ]       ] ) ;
    fhir:isModifier [ fhir:v "true"^^xsd:boolean ] ;
    fhir:isModifierReason [ fhir:v "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ] ;
    fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "N/A" ]       ] )     ] [
    fhir:id [ fhir:v "HIMSPatientRegistrationDataDictionary.patientName.fullName" ] ;
    fhir:path [ fhir:v "HIMSPatientRegistrationDataDictionary.patientName.fullName" ] ;
          ( fhir:code [
    fhir:system [ fhir:v "http://openhie.org/fhir/sri-lanka/CodeSystem/cs-register-patient-codes"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "RP6" ]       ] ) ;
    fhir:short [ fhir:v "Full name" ] ;
    fhir:definition [ fhir:v "Patient's full name" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "HIMSPatientRegistrationDataDictionary.patientName.fullName" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "string"^^xsd:anyURI ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "HIMS-name-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "Only letters and special characters (period, dash) allowed." ] ;
    fhir:expression [ fhir:v "$this.matches('[A-Za-z-.]*')" ] ;
    fhir:source [
    fhir:v "http://openhie.org/fhir/sri-lanka/StructureDefinition/HIMSPatientRegistrationDataDictionary"^^xsd:anyURI ;
    fhir:link <http://openhie.org/fhir/sri-lanka/StructureDefinition/HIMSPatientRegistrationDataDictionary>         ]       ] ) ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "HIMSPatientRegistrationDataDictionary-to-Patient" ] ;
    fhir:map [ fhir:v "Patient.name.text" ]       ] )     ] [
    fhir:id [ fhir:v "HIMSPatientRegistrationDataDictionary.patientName.firstName" ] ;
    fhir:path [ fhir:v "HIMSPatientRegistrationDataDictionary.patientName.firstName" ] ;
          ( fhir:code [
    fhir:system [ fhir:v "http://openhie.org/fhir/sri-lanka/CodeSystem/cs-register-patient-codes"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "RP7" ]       ] ) ;
    fhir:short [ fhir:v "First name" ] ;
    fhir:definition [ fhir:v "Patient's first name or given name" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "HIMSPatientRegistrationDataDictionary.patientName.firstName" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "string"^^xsd:anyURI ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "HIMS-name-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "Only letters and special characters (period, dash) allowed." ] ;
    fhir:expression [ fhir:v "$this.matches('[A-Za-z-.]*')" ] ;
    fhir:source [
    fhir:v "http://openhie.org/fhir/sri-lanka/StructureDefinition/HIMSPatientRegistrationDataDictionary"^^xsd:anyURI ;
    fhir:link <http://openhie.org/fhir/sri-lanka/StructureDefinition/HIMSPatientRegistrationDataDictionary>         ]       ] ) ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "HIMSPatientRegistrationDataDictionary-to-Patient" ] ;
    fhir:map [ fhir:v "Patient.name.given" ]       ] )     ] [
    fhir:id [ fhir:v "HIMSPatientRegistrationDataDictionary.patientName.surname" ] ;
    fhir:path [ fhir:v "HIMSPatientRegistrationDataDictionary.patientName.surname" ] ;
          ( fhir:code [
    fhir:system [ fhir:v "http://openhie.org/fhir/sri-lanka/CodeSystem/cs-register-patient-codes"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "RP8" ]       ] ) ;
    fhir:short [ fhir:v "Last name" ] ;
    fhir:definition [ fhir:v "Patient's family name or last name" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "HIMSPatientRegistrationDataDictionary.patientName.surname" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "string"^^xsd:anyURI ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "HIMS-name-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "Only letters and special characters (period, dash) allowed." ] ;
    fhir:expression [ fhir:v "$this.matches('[A-Za-z-.]*')" ] ;
    fhir:source [
    fhir:v "http://openhie.org/fhir/sri-lanka/StructureDefinition/HIMSPatientRegistrationDataDictionary"^^xsd:anyURI ;
    fhir:link <http://openhie.org/fhir/sri-lanka/StructureDefinition/HIMSPatientRegistrationDataDictionary>         ]       ] ) ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "HIMSPatientRegistrationDataDictionary-to-Patient" ] ;
    fhir:map [ fhir:v "Patient.name.family" ]       ] )     ] [
    fhir:id [ fhir:v "HIMSPatientRegistrationDataDictionary.sex" ] ;
    fhir:path [ fhir:v "HIMSPatientRegistrationDataDictionary.sex" ] ;
          ( fhir:code [
    fhir:system [ fhir:v "http://openhie.org/fhir/sri-lanka/CodeSystem/cs-register-patient-codes"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "RP9" ]       ] ) ;
    fhir:short [ fhir:v "Sex" ] ;
    fhir:definition [ fhir:v "Documentation of a specific instance of sex information for the patient" ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "HIMSPatientRegistrationDataDictionary.sex" ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "code"^^xsd:anyURI ]       ] ) ;
    fhir:binding [
    fhir:strength [ fhir:v "required" ] ;
    fhir:valueSet [
    fhir:v "http://hl7.org/fhir/ValueSet/administrative-gender"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/ValueSet/administrative-gender>         ]       ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "HIMSPatientRegistrationDataDictionary-to-Patient" ] ;
    fhir:map [ fhir:v "Patient.gender" ]       ] )     ] [
    fhir:id [ fhir:v "HIMSPatientRegistrationDataDictionary.address" ] ;
    fhir:path [ fhir:v "HIMSPatientRegistrationDataDictionary.address" ] ;
          ( fhir:code [
    fhir:system [ fhir:v "http://openhie.org/fhir/sri-lanka/CodeSystem/cs-register-patient-codes"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "RP19" ]       ] ) ;
    fhir:short [ fhir:v "Address" ] ;
    fhir:definition [ fhir:v "Address" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "HIMSPatientRegistrationDataDictionary.address" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "BackboneElement"^^xsd:anyURI ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "HIMSPatientRegistrationDataDictionary-to-Patient" ] ;
    fhir:map [ fhir:v "Patient.address" ]       ] )     ] [
    fhir:id [ fhir:v "HIMSPatientRegistrationDataDictionary.address.id" ] ;
    fhir:path [ fhir:v "HIMSPatientRegistrationDataDictionary.address.id" ] ;
          ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
    fhir:short [ fhir:v "Unique id for inter-element referencing" ] ;
    fhir:definition [ fhir:v "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Element.id" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"^^xsd:anyURI ] ;
    fhir:value [ fhir:v "string"^^xsd:anyURI ]         ] ) ;
    fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ]       ] ) ;
    fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ;
    fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] )     ] [
    fhir:id [ fhir:v "HIMSPatientRegistrationDataDictionary.address.extension" ] ;
    fhir:path [ fhir:v "HIMSPatientRegistrationDataDictionary.address.extension" ] ;
    fhir:slicing [
            ( fhir:discriminator [
    fhir:type [ fhir:v "value" ] ;
    fhir:path [ fhir:v "url" ]         ] ) ;
    fhir:description [ fhir:v "Extensions are always sliced by (at least) url" ] ;
    fhir:rules [ fhir:v "open" ]       ] ;
    fhir:short [ fhir:v "Additional content defined by implementations" ] ;
    fhir:definition [ fhir:v "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." ] ;
    fhir:comment [ fhir:v "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." ] ;
          ( fhir:alias [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "Element.extension" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "Extension"^^xsd:anyURI ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] [
    fhir:key [ fhir:v "ext-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ;
    fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ;
    fhir:xpath [ fhir:v "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Extension>         ]       ] ) ;
    fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ;
    fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] )     ] [
    fhir:id [ fhir:v "HIMSPatientRegistrationDataDictionary.address.modifierExtension" ] ;
    fhir:path [ fhir:v "HIMSPatientRegistrationDataDictionary.address.modifierExtension" ] ;
    fhir:short [ fhir:v "Extensions that cannot be ignored even if unrecognized" ] ;
    fhir:definition [ fhir:v "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.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." ] ;
    fhir:comment [ fhir:v "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." ] ;
    fhir:requirements [ fhir:v "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)." ] ;
          ( fhir:alias [ fhir:v "extensions" ] [ fhir:v "user content" ] [ fhir:v "modifiers" ] ) ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "BackboneElement.modifierExtension" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "Extension"^^xsd:anyURI ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] [
    fhir:key [ fhir:v "ext-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ;
    fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ;
    fhir:xpath [ fhir:v "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Extension>         ]       ] ) ;
    fhir:isModifier [ fhir:v "true"^^xsd:boolean ] ;
    fhir:isModifierReason [ fhir:v "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ] ;
    fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "N/A" ]       ] )     ] [
    fhir:id [ fhir:v "HIMSPatientRegistrationDataDictionary.address.streetNameAndNr" ] ;
    fhir:path [ fhir:v "HIMSPatientRegistrationDataDictionary.address.streetNameAndNr" ] ;
          ( fhir:code [
    fhir:system [ fhir:v "http://openhie.org/fhir/sri-lanka/CodeSystem/cs-register-patient-codes"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "RP11" ]       ] ) ;
    fhir:short [ fhir:v "Street name and number" ] ;
    fhir:definition [ fhir:v "Street name and number" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "HIMSPatientRegistrationDataDictionary.address.streetNameAndNr" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "string"^^xsd:anyURI ]       ] ) ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "HIMSPatientRegistrationDataDictionary-to-Patient" ] ;
    fhir:map [ fhir:v "Patient.address" ]       ] )     ] [
    fhir:id [ fhir:v "HIMSPatientRegistrationDataDictionary.address.city" ] ;
    fhir:path [ fhir:v "HIMSPatientRegistrationDataDictionary.address.city" ] ;
          ( fhir:code [
    fhir:system [ fhir:v "http://openhie.org/fhir/sri-lanka/CodeSystem/cs-register-patient-codes"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "RP10" ]       ] ) ;
    fhir:short [ fhir:v "City" ] ;
    fhir:definition [ fhir:v "City" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "HIMSPatientRegistrationDataDictionary.address.city" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "string"^^xsd:anyURI ]       ] ) ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "HIMSPatientRegistrationDataDictionary-to-Patient" ] ;
    fhir:map [ fhir:v "Patient.address.city" ]       ] )     ] [
    fhir:id [ fhir:v "HIMSPatientRegistrationDataDictionary.address.state" ] ;
    fhir:path [ fhir:v "HIMSPatientRegistrationDataDictionary.address.state" ] ;
          ( fhir:code [
    fhir:system [ fhir:v "http://openhie.org/fhir/sri-lanka/CodeSystem/cs-register-patient-codes"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "RP12" ]       ] ) ;
    fhir:short [ fhir:v "State" ] ;
    fhir:definition [ fhir:v "State" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "HIMSPatientRegistrationDataDictionary.address.state" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "string"^^xsd:anyURI ]       ] ) ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "HIMSPatientRegistrationDataDictionary-to-Patient" ] ;
    fhir:map [ fhir:v "Patient.address.state" ]       ] )     ] [
    fhir:id [ fhir:v "HIMSPatientRegistrationDataDictionary.address.country" ] ;
    fhir:path [ fhir:v "HIMSPatientRegistrationDataDictionary.address.country" ] ;
          ( fhir:code [
    fhir:system [ fhir:v "http://openhie.org/fhir/sri-lanka/CodeSystem/cs-register-patient-codes"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "RP13" ]       ] ) ;
    fhir:short [ fhir:v "Country" ] ;
    fhir:definition [ fhir:v "Country" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "HIMSPatientRegistrationDataDictionary.address.country" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "string"^^xsd:anyURI ]       ] ) ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "HIMSPatientRegistrationDataDictionary-to-Patient" ] ;
    fhir:map [ fhir:v "Patient.address.country" ]       ] )     ] [
    fhir:id [ fhir:v "HIMSPatientRegistrationDataDictionary.address.postalCode" ] ;
    fhir:path [ fhir:v "HIMSPatientRegistrationDataDictionary.address.postalCode" ] ;
          ( fhir:code [
    fhir:system [ fhir:v "http://openhie.org/fhir/sri-lanka/CodeSystem/cs-register-patient-codes"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "RP14" ]       ] ) ;
    fhir:short [ fhir:v "Postal code" ] ;
    fhir:definition [ fhir:v "Postal code" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "HIMSPatientRegistrationDataDictionary.address.postalCode" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "string"^^xsd:anyURI ]       ] ) ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "HIMSPatientRegistrationDataDictionary-to-Patient" ] ;
    fhir:map [ fhir:v "Patient.address.postalCode" ]       ] )     ] [
    fhir:id [ fhir:v "HIMSPatientRegistrationDataDictionary.birthDate" ] ;
    fhir:path [ fhir:v "HIMSPatientRegistrationDataDictionary.birthDate" ] ;
          ( fhir:code [
    fhir:system [ fhir:v "http://openhie.org/fhir/sri-lanka/CodeSystem/cs-register-patient-codes"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "RP15" ]       ] ) ;
    fhir:short [ fhir:v "Date of birth" ] ;
    fhir:definition [ fhir:v "Patient's date of birth (DOB) if known; if unknown, use assigned DOB for administrative purposes" ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "HIMSPatientRegistrationDataDictionary.birthDate" ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "date"^^xsd:anyURI ]       ] ) ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "HIMSPatientRegistrationDataDictionary-to-Patient" ] ;
    fhir:map [ fhir:v "Patient.birthDate" ]       ] )     ] [
    fhir:id [ fhir:v "HIMSPatientRegistrationDataDictionary.contactDetails" ] ;
    fhir:path [ fhir:v "HIMSPatientRegistrationDataDictionary.contactDetails" ] ;
          ( fhir:code [
    fhir:system [ fhir:v "http://openhie.org/fhir/sri-lanka/CodeSystem/cs-register-patient-codes"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "RP20" ]       ] ) ;
    fhir:short [ fhir:v "Contact details" ] ;
    fhir:definition [ fhir:v "Contact details" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "HIMSPatientRegistrationDataDictionary.contactDetails" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "BackboneElement"^^xsd:anyURI ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "HIMSPatientRegistrationDataDictionary-to-Patient" ] ;
    fhir:map [ fhir:v "Patient.telecom" ]       ] )     ] [
    fhir:id [ fhir:v "HIMSPatientRegistrationDataDictionary.contactDetails.id" ] ;
    fhir:path [ fhir:v "HIMSPatientRegistrationDataDictionary.contactDetails.id" ] ;
          ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
    fhir:short [ fhir:v "Unique id for inter-element referencing" ] ;
    fhir:definition [ fhir:v "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Element.id" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"^^xsd:anyURI ] ;
    fhir:value [ fhir:v "string"^^xsd:anyURI ]         ] ) ;
    fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ]       ] ) ;
    fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ;
    fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] )     ] [
    fhir:id [ fhir:v "HIMSPatientRegistrationDataDictionary.contactDetails.extension" ] ;
    fhir:path [ fhir:v "HIMSPatientRegistrationDataDictionary.contactDetails.extension" ] ;
    fhir:slicing [
            ( fhir:discriminator [
    fhir:type [ fhir:v "value" ] ;
    fhir:path [ fhir:v "url" ]         ] ) ;
    fhir:description [ fhir:v "Extensions are always sliced by (at least) url" ] ;
    fhir:rules [ fhir:v "open" ]       ] ;
    fhir:short [ fhir:v "Additional content defined by implementations" ] ;
    fhir:definition [ fhir:v "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." ] ;
    fhir:comment [ fhir:v "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." ] ;
          ( fhir:alias [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "Element.extension" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "Extension"^^xsd:anyURI ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] [
    fhir:key [ fhir:v "ext-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ;
    fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ;
    fhir:xpath [ fhir:v "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Extension>         ]       ] ) ;
    fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ;
    fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] )     ] [
    fhir:id [ fhir:v "HIMSPatientRegistrationDataDictionary.contactDetails.modifierExtension" ] ;
    fhir:path [ fhir:v "HIMSPatientRegistrationDataDictionary.contactDetails.modifierExtension" ] ;
    fhir:short [ fhir:v "Extensions that cannot be ignored even if unrecognized" ] ;
    fhir:definition [ fhir:v "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.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." ] ;
    fhir:comment [ fhir:v "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." ] ;
    fhir:requirements [ fhir:v "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)." ] ;
          ( fhir:alias [ fhir:v "extensions" ] [ fhir:v "user content" ] [ fhir:v "modifiers" ] ) ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "BackboneElement.modifierExtension" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "Extension"^^xsd:anyURI ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] [
    fhir:key [ fhir:v "ext-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ;
    fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ;
    fhir:xpath [ fhir:v "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Extension>         ]       ] ) ;
    fhir:isModifier [ fhir:v "true"^^xsd:boolean ] ;
    fhir:isModifierReason [ fhir:v "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ] ;
    fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "N/A" ]       ] )     ] [
    fhir:id [ fhir:v "HIMSPatientRegistrationDataDictionary.contactDetails.mobileNumber" ] ;
    fhir:path [ fhir:v "HIMSPatientRegistrationDataDictionary.contactDetails.mobileNumber" ] ;
          ( fhir:code [
    fhir:system [ fhir:v "http://openhie.org/fhir/sri-lanka/CodeSystem/cs-register-patient-codes"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "RP16" ]       ] [
    fhir:system [ fhir:v "http://hl7.org/fhir/contact-point-system"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "phone" ]       ] ) ;
    fhir:short [ fhir:v "Mobile phone number" ] ;
    fhir:definition [ fhir:v "Patient's mobile phone number" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "HIMSPatientRegistrationDataDictionary.contactDetails.mobileNumber" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "string"^^xsd:anyURI ]       ] ) ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "HIMSPatientRegistrationDataDictionary-to-Patient" ] ;
    fhir:map [ fhir:v "Patient.telecom.value" ]       ] )     ] [
    fhir:id [ fhir:v "HIMSPatientRegistrationDataDictionary.contactDetails.landline" ] ;
    fhir:path [ fhir:v "HIMSPatientRegistrationDataDictionary.contactDetails.landline" ] ;
          ( fhir:code [
    fhir:system [ fhir:v "http://openhie.org/fhir/sri-lanka/CodeSystem/cs-register-patient-codes"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "RP17" ]       ] [
    fhir:system [ fhir:v "http://hl7.org/fhir/contact-point-system"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "phone" ]       ] ) ;
    fhir:short [ fhir:v "Landline phone number" ] ;
    fhir:definition [ fhir:v "Patient's landline phone number" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "HIMSPatientRegistrationDataDictionary.contactDetails.landline" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "string"^^xsd:anyURI ]       ] ) ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "HIMSPatientRegistrationDataDictionary-to-Patient" ] ;
    fhir:map [ fhir:v "Patient.telecom.value" ]       ] )     ] )
      ] ; #
      fhir:differential [
        ( fhir:element [
    fhir:id [ fhir:v "HIMSPatientRegistrationDataDictionary" ] ;
    fhir:path [ fhir:v "HIMSPatientRegistrationDataDictionary" ] ;
    fhir:short [ fhir:v "HIMS Patient Registration" ] ;
    fhir:definition [ fhir:v "Data elements for the HIMS Patient Registration Data Dictionary." ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "HIMSPatientRegistrationDataDictionary-to-Patient" ] ;
    fhir:map [ fhir:v "Patient" ]       ] )     ] [
    fhir:id [ fhir:v "HIMSPatientRegistrationDataDictionary.personalHealthNumber" ] ;
    fhir:path [ fhir:v "HIMSPatientRegistrationDataDictionary.personalHealthNumber" ] ;
          ( fhir:code [
    fhir:system [ fhir:v "http://openhie.org/fhir/sri-lanka/CodeSystem/cs-register-patient-codes"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "RP1" ]       ] ) ;
    fhir:short [ fhir:v "Personal health number" ] ;
    fhir:definition [ fhir:v "Unique identifier for the patient, according to the policies applicable to each country." ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
          ( fhir:type [
    fhir:code [ fhir:v "string"^^xsd:anyURI ]       ] ) ;
    fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "HIMSPatientRegistrationDataDictionary-to-Patient" ] ;
    fhir:map [ fhir:v "Patient.identifier.value" ]       ] )     ] [
    fhir:id [ fhir:v "HIMSPatientRegistrationDataDictionary.nationalIdentityCard" ] ;
    fhir:path [ fhir:v "HIMSPatientRegistrationDataDictionary.nationalIdentityCard" ] ;
          ( fhir:code [
    fhir:system [ fhir:v "http://openhie.org/fhir/sri-lanka/CodeSystem/cs-register-patient-codes"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "RP2" ]       ] ) ;
    fhir:short [ fhir:v "National identity card" ] ;
    fhir:definition [ fhir:v "Unique identifier for the patient, according to the policies applicable to each country." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
          ( fhir:type [
    fhir:code [ fhir:v "string"^^xsd:anyURI ]       ] ) ;
    fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "HIMSPatientRegistrationDataDictionary-to-Patient" ] ;
    fhir:map [ fhir:v "Patient.identifier.value" ]       ] )     ] [
    fhir:id [ fhir:v "HIMSPatientRegistrationDataDictionary.passport" ] ;
    fhir:path [ fhir:v "HIMSPatientRegistrationDataDictionary.passport" ] ;
          ( fhir:code [
    fhir:system [ fhir:v "http://openhie.org/fhir/sri-lanka/CodeSystem/cs-register-patient-codes"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "RP3" ]       ] ) ;
    fhir:short [ fhir:v "Passport" ] ;
    fhir:definition [ fhir:v "Unique identifier for the patient, according to the policies applicable to each country." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
          ( fhir:type [
    fhir:code [ fhir:v "string"^^xsd:anyURI ]       ] ) ;
    fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "HIMSPatientRegistrationDataDictionary-to-Patient" ] ;
    fhir:map [ fhir:v "Patient.identifier.value" ]       ] )     ] [
    fhir:id [ fhir:v "HIMSPatientRegistrationDataDictionary.drivingLicense" ] ;
    fhir:path [ fhir:v "HIMSPatientRegistrationDataDictionary.drivingLicense" ] ;
          ( fhir:code [
    fhir:system [ fhir:v "http://openhie.org/fhir/sri-lanka/CodeSystem/cs-register-patient-codes"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "RP4" ]       ] ) ;
    fhir:short [ fhir:v "Driving license" ] ;
    fhir:definition [ fhir:v "Unique identifier for the patient, according to the policies applicable to each country." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
          ( fhir:type [
    fhir:code [ fhir:v "string"^^xsd:anyURI ]       ] ) ;
    fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "HIMSPatientRegistrationDataDictionary-to-Patient" ] ;
    fhir:map [ fhir:v "Patient.identifier.value" ]       ] )     ] [
    fhir:id [ fhir:v "HIMSPatientRegistrationDataDictionary.seniorCitizenNumber" ] ;
    fhir:path [ fhir:v "HIMSPatientRegistrationDataDictionary.seniorCitizenNumber" ] ;
          ( fhir:code [
    fhir:system [ fhir:v "http://openhie.org/fhir/sri-lanka/CodeSystem/cs-register-patient-codes"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "RP5" ]       ] ) ;
    fhir:short [ fhir:v "Senior citizen number" ] ;
    fhir:definition [ fhir:v "Unique identifier for the patient, according to the policies applicable to each country." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
          ( fhir:type [
    fhir:code [ fhir:v "string"^^xsd:anyURI ]       ] ) ;
    fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "HIMSPatientRegistrationDataDictionary-to-Patient" ] ;
    fhir:map [ fhir:v "Patient.identifier.value" ]       ] )     ] [
    fhir:id [ fhir:v "HIMSPatientRegistrationDataDictionary.patientName" ] ;
    fhir:path [ fhir:v "HIMSPatientRegistrationDataDictionary.patientName" ] ;
          ( fhir:code [
    fhir:system [ fhir:v "http://openhie.org/fhir/sri-lanka/CodeSystem/cs-register-patient-codes"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "RP18" ]       ] ) ;
    fhir:short [ fhir:v "Name" ] ;
    fhir:definition [ fhir:v "Name" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
          ( fhir:type [
    fhir:code [ fhir:v "BackboneElement"^^xsd:anyURI ]       ] ) ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "HIMSPatientRegistrationDataDictionary-to-Patient" ] ;
    fhir:map [ fhir:v "Patient.name" ]       ] )     ] [
    fhir:id [ fhir:v "HIMSPatientRegistrationDataDictionary.patientName.fullName" ] ;
    fhir:path [ fhir:v "HIMSPatientRegistrationDataDictionary.patientName.fullName" ] ;
          ( fhir:code [
    fhir:system [ fhir:v "http://openhie.org/fhir/sri-lanka/CodeSystem/cs-register-patient-codes"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "RP6" ]       ] ) ;
    fhir:short [ fhir:v "Full name" ] ;
    fhir:definition [ fhir:v "Patient's full name" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
          ( fhir:type [
    fhir:code [ fhir:v "string"^^xsd:anyURI ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "HIMS-name-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "Only letters and special characters (period, dash) allowed." ] ;
    fhir:expression [ fhir:v "$this.matches('[A-Za-z-.]*')" ] ;
    fhir:source [
    fhir:v "http://openhie.org/fhir/sri-lanka/StructureDefinition/HIMSPatientRegistrationDataDictionary"^^xsd:anyURI ;
    fhir:link <http://openhie.org/fhir/sri-lanka/StructureDefinition/HIMSPatientRegistrationDataDictionary>         ]       ] ) ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "HIMSPatientRegistrationDataDictionary-to-Patient" ] ;
    fhir:map [ fhir:v "Patient.name.text" ]       ] )     ] [
    fhir:id [ fhir:v "HIMSPatientRegistrationDataDictionary.patientName.firstName" ] ;
    fhir:path [ fhir:v "HIMSPatientRegistrationDataDictionary.patientName.firstName" ] ;
          ( fhir:code [
    fhir:system [ fhir:v "http://openhie.org/fhir/sri-lanka/CodeSystem/cs-register-patient-codes"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "RP7" ]       ] ) ;
    fhir:short [ fhir:v "First name" ] ;
    fhir:definition [ fhir:v "Patient's first name or given name" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
          ( fhir:type [
    fhir:code [ fhir:v "string"^^xsd:anyURI ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "HIMS-name-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "Only letters and special characters (period, dash) allowed." ] ;
    fhir:expression [ fhir:v "$this.matches('[A-Za-z-.]*')" ] ;
    fhir:source [
    fhir:v "http://openhie.org/fhir/sri-lanka/StructureDefinition/HIMSPatientRegistrationDataDictionary"^^xsd:anyURI ;
    fhir:link <http://openhie.org/fhir/sri-lanka/StructureDefinition/HIMSPatientRegistrationDataDictionary>         ]       ] ) ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "HIMSPatientRegistrationDataDictionary-to-Patient" ] ;
    fhir:map [ fhir:v "Patient.name.given" ]       ] )     ] [
    fhir:id [ fhir:v "HIMSPatientRegistrationDataDictionary.patientName.surname" ] ;
    fhir:path [ fhir:v "HIMSPatientRegistrationDataDictionary.patientName.surname" ] ;
          ( fhir:code [
    fhir:system [ fhir:v "http://openhie.org/fhir/sri-lanka/CodeSystem/cs-register-patient-codes"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "RP8" ]       ] ) ;
    fhir:short [ fhir:v "Last name" ] ;
    fhir:definition [ fhir:v "Patient's family name or last name" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
          ( fhir:type [
    fhir:code [ fhir:v "string"^^xsd:anyURI ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "HIMS-name-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "Only letters and special characters (period, dash) allowed." ] ;
    fhir:expression [ fhir:v "$this.matches('[A-Za-z-.]*')" ] ;
    fhir:source [
    fhir:v "http://openhie.org/fhir/sri-lanka/StructureDefinition/HIMSPatientRegistrationDataDictionary"^^xsd:anyURI ;
    fhir:link <http://openhie.org/fhir/sri-lanka/StructureDefinition/HIMSPatientRegistrationDataDictionary>         ]       ] ) ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "HIMSPatientRegistrationDataDictionary-to-Patient" ] ;
    fhir:map [ fhir:v "Patient.name.family" ]       ] )     ] [
    fhir:id [ fhir:v "HIMSPatientRegistrationDataDictionary.sex" ] ;
    fhir:path [ fhir:v "HIMSPatientRegistrationDataDictionary.sex" ] ;
          ( fhir:code [
    fhir:system [ fhir:v "http://openhie.org/fhir/sri-lanka/CodeSystem/cs-register-patient-codes"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "RP9" ]       ] ) ;
    fhir:short [ fhir:v "Sex" ] ;
    fhir:definition [ fhir:v "Documentation of a specific instance of sex information for the patient" ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
          ( fhir:type [
    fhir:code [ fhir:v "code"^^xsd:anyURI ]       ] ) ;
    fhir:binding [
    fhir:strength [ fhir:v "required" ] ;
    fhir:valueSet [
    fhir:v "http://hl7.org/fhir/ValueSet/administrative-gender"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/ValueSet/administrative-gender>         ]       ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "HIMSPatientRegistrationDataDictionary-to-Patient" ] ;
    fhir:map [ fhir:v "Patient.gender" ]       ] )     ] [
    fhir:id [ fhir:v "HIMSPatientRegistrationDataDictionary.address" ] ;
    fhir:path [ fhir:v "HIMSPatientRegistrationDataDictionary.address" ] ;
          ( fhir:code [
    fhir:system [ fhir:v "http://openhie.org/fhir/sri-lanka/CodeSystem/cs-register-patient-codes"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "RP19" ]       ] ) ;
    fhir:short [ fhir:v "Address" ] ;
    fhir:definition [ fhir:v "Address" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
          ( fhir:type [
    fhir:code [ fhir:v "BackboneElement"^^xsd:anyURI ]       ] ) ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "HIMSPatientRegistrationDataDictionary-to-Patient" ] ;
    fhir:map [ fhir:v "Patient.address" ]       ] )     ] [
    fhir:id [ fhir:v "HIMSPatientRegistrationDataDictionary.address.streetNameAndNr" ] ;
    fhir:path [ fhir:v "HIMSPatientRegistrationDataDictionary.address.streetNameAndNr" ] ;
          ( fhir:code [
    fhir:system [ fhir:v "http://openhie.org/fhir/sri-lanka/CodeSystem/cs-register-patient-codes"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "RP11" ]       ] ) ;
    fhir:short [ fhir:v "Street name and number" ] ;
    fhir:definition [ fhir:v "Street name and number" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
          ( fhir:type [
    fhir:code [ fhir:v "string"^^xsd:anyURI ]       ] ) ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "HIMSPatientRegistrationDataDictionary-to-Patient" ] ;
    fhir:map [ fhir:v "Patient.address" ]       ] )     ] [
    fhir:id [ fhir:v "HIMSPatientRegistrationDataDictionary.address.city" ] ;
    fhir:path [ fhir:v "HIMSPatientRegistrationDataDictionary.address.city" ] ;
          ( fhir:code [
    fhir:system [ fhir:v "http://openhie.org/fhir/sri-lanka/CodeSystem/cs-register-patient-codes"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "RP10" ]       ] ) ;
    fhir:short [ fhir:v "City" ] ;
    fhir:definition [ fhir:v "City" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
          ( fhir:type [
    fhir:code [ fhir:v "string"^^xsd:anyURI ]       ] ) ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "HIMSPatientRegistrationDataDictionary-to-Patient" ] ;
    fhir:map [ fhir:v "Patient.address.city" ]       ] )     ] [
    fhir:id [ fhir:v "HIMSPatientRegistrationDataDictionary.address.state" ] ;
    fhir:path [ fhir:v "HIMSPatientRegistrationDataDictionary.address.state" ] ;
          ( fhir:code [
    fhir:system [ fhir:v "http://openhie.org/fhir/sri-lanka/CodeSystem/cs-register-patient-codes"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "RP12" ]       ] ) ;
    fhir:short [ fhir:v "State" ] ;
    fhir:definition [ fhir:v "State" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
          ( fhir:type [
    fhir:code [ fhir:v "string"^^xsd:anyURI ]       ] ) ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "HIMSPatientRegistrationDataDictionary-to-Patient" ] ;
    fhir:map [ fhir:v "Patient.address.state" ]       ] )     ] [
    fhir:id [ fhir:v "HIMSPatientRegistrationDataDictionary.address.country" ] ;
    fhir:path [ fhir:v "HIMSPatientRegistrationDataDictionary.address.country" ] ;
          ( fhir:code [
    fhir:system [ fhir:v "http://openhie.org/fhir/sri-lanka/CodeSystem/cs-register-patient-codes"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "RP13" ]       ] ) ;
    fhir:short [ fhir:v "Country" ] ;
    fhir:definition [ fhir:v "Country" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
          ( fhir:type [
    fhir:code [ fhir:v "string"^^xsd:anyURI ]       ] ) ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "HIMSPatientRegistrationDataDictionary-to-Patient" ] ;
    fhir:map [ fhir:v "Patient.address.country" ]       ] )     ] [
    fhir:id [ fhir:v "HIMSPatientRegistrationDataDictionary.address.postalCode" ] ;
    fhir:path [ fhir:v "HIMSPatientRegistrationDataDictionary.address.postalCode" ] ;
          ( fhir:code [
    fhir:system [ fhir:v "http://openhie.org/fhir/sri-lanka/CodeSystem/cs-register-patient-codes"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "RP14" ]       ] ) ;
    fhir:short [ fhir:v "Postal code" ] ;
    fhir:definition [ fhir:v "Postal code" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
          ( fhir:type [
    fhir:code [ fhir:v "string"^^xsd:anyURI ]       ] ) ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "HIMSPatientRegistrationDataDictionary-to-Patient" ] ;
    fhir:map [ fhir:v "Patient.address.postalCode" ]       ] )     ] [
    fhir:id [ fhir:v "HIMSPatientRegistrationDataDictionary.birthDate" ] ;
    fhir:path [ fhir:v "HIMSPatientRegistrationDataDictionary.birthDate" ] ;
          ( fhir:code [
    fhir:system [ fhir:v "http://openhie.org/fhir/sri-lanka/CodeSystem/cs-register-patient-codes"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "RP15" ]       ] ) ;
    fhir:short [ fhir:v "Date of birth" ] ;
    fhir:definition [ fhir:v "Patient's date of birth (DOB) if known; if unknown, use assigned DOB for administrative purposes" ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
          ( fhir:type [
    fhir:code [ fhir:v "date"^^xsd:anyURI ]       ] ) ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "HIMSPatientRegistrationDataDictionary-to-Patient" ] ;
    fhir:map [ fhir:v "Patient.birthDate" ]       ] )     ] [
    fhir:id [ fhir:v "HIMSPatientRegistrationDataDictionary.contactDetails" ] ;
    fhir:path [ fhir:v "HIMSPatientRegistrationDataDictionary.contactDetails" ] ;
          ( fhir:code [
    fhir:system [ fhir:v "http://openhie.org/fhir/sri-lanka/CodeSystem/cs-register-patient-codes"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "RP20" ]       ] ) ;
    fhir:short [ fhir:v "Contact details" ] ;
    fhir:definition [ fhir:v "Contact details" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
          ( fhir:type [
    fhir:code [ fhir:v "BackboneElement"^^xsd:anyURI ]       ] ) ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "HIMSPatientRegistrationDataDictionary-to-Patient" ] ;
    fhir:map [ fhir:v "Patient.telecom" ]       ] )     ] [
    fhir:id [ fhir:v "HIMSPatientRegistrationDataDictionary.contactDetails.mobileNumber" ] ;
    fhir:path [ fhir:v "HIMSPatientRegistrationDataDictionary.contactDetails.mobileNumber" ] ;
          ( fhir:code [
    fhir:system [ fhir:v "http://openhie.org/fhir/sri-lanka/CodeSystem/cs-register-patient-codes"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "RP16" ]       ] [
    fhir:system [ fhir:v "http://hl7.org/fhir/contact-point-system"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "phone" ]       ] ) ;
    fhir:short [ fhir:v "Mobile phone number" ] ;
    fhir:definition [ fhir:v "Patient's mobile phone number" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
          ( fhir:type [
    fhir:code [ fhir:v "string"^^xsd:anyURI ]       ] ) ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "HIMSPatientRegistrationDataDictionary-to-Patient" ] ;
    fhir:map [ fhir:v "Patient.telecom.value" ]       ] )     ] [
    fhir:id [ fhir:v "HIMSPatientRegistrationDataDictionary.contactDetails.landline" ] ;
    fhir:path [ fhir:v "HIMSPatientRegistrationDataDictionary.contactDetails.landline" ] ;
          ( fhir:code [
    fhir:system [ fhir:v "http://openhie.org/fhir/sri-lanka/CodeSystem/cs-register-patient-codes"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "RP17" ]       ] [
    fhir:system [ fhir:v "http://hl7.org/fhir/contact-point-system"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "phone" ]       ] ) ;
    fhir:short [ fhir:v "Landline phone number" ] ;
    fhir:definition [ fhir:v "Patient's landline phone number" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
          ( fhir:type [
    fhir:code [ fhir:v "string"^^xsd:anyURI ]       ] ) ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "HIMSPatientRegistrationDataDictionary-to-Patient" ] ;
    fhir:map [ fhir:v "Patient.telecom.value" ]       ] )     ] )
      ] . #