New Zealand HPI Implementation Guide
0.9.0 - CI Build
New Zealand HPI Implementation Guide, published by Ministry of Health. This is not an authorized publication; it is the continuous build for version 0.9.0). This version is based on the current content of https://github.com/HL7NZ/hpi/ and changes regularly. See the Directory of published versions
XML representation of the FacilityModel logical model.
<StructureDefinition xmlns="http://hl7.org/fhir">
<id value="FacilityModel"/>
<text>
<status value="extensions"/>
<div xmlns="http://www.w3.org/1999/xhtml"><table border="0" cellpadding="0" cellspacing="0" style="border: 0px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top;"><tr style="border: 1px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top"><th style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="http://hl7.org/fhir/R4/formats.html#table" 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="http://hl7.org/fhir/R4/formats.html#table" 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="http://hl7.org/fhir/R4/formats.html#table" 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="http://hl7.org/fhir/R4/formats.html#table" 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="http://hl7.org/fhir/R4/formats.html#table" title="Additional information about the element">Description & Constraints</a><span style="float: right"><a href="http://hl7.org/fhir/R4/formats.html#table" title="Legend for this format"><img src="http://hl7.org/fhir/R4/help16.png" 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-FacilityModel-definitions.html#FacilityModel" title="An actual physical location. Represented by a Location model in FHIR">FacilityModel</a><a name="FacilityModel"> </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://hl7.org/fhir/R4/datatypes.html#Element">Element</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 facility involved in healthcare</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_primitive.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Primitive Data Type" class="hierarchy"/> <a href="StructureDefinition-FacilityModel-definitions.html#FacilityModel.name" title="The name of the facility">name</a><a name="FacilityModel.name"> </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#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">The name of the facility</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_primitive.png" alt="." style="background-color: white; background-color: inherit" title="Primitive Data Type" class="hierarchy"/> <a href="StructureDefinition-FacilityModel-definitions.html#FacilityModel.description" title="A longer description of the facility">description</a><a name="FacilityModel.description"> </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">A longer description of the facility</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck11.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_datatype.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Data Type" class="hierarchy"/> <a href="StructureDefinition-FacilityModel-definitions.html#FacilityModel.alias" title="Other names by which this facility is known">alias</a><a name="FacilityModel.alias"> </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">Other names by which this facility is known<br/></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck110.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_primitive.png" alt="." style="background-color: white; background-color: inherit" title="Primitive Data Type" class="hierarchy"/> <a href="StructureDefinition-FacilityModel-definitions.html#FacilityModel.alias.name" title="The alternative name">name</a><a name="FacilityModel.alias.name"> </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#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">The alternative name</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck100.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_datatype.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Data Type" class="hierarchy"/> <a href="StructureDefinition-FacilityModel-definitions.html#FacilityModel.alias.type" title="The type of alias - eg locally used name">type</a><a name="FacilityModel.alias.type"> </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#CodeableConcept">CodeableConcept</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">The type of alias - eg locally used name<br/><span style="font-weight:bold">Binding: </span><a href="https://build.fhir.org/ig/HL7NZ/nzbase//ValueSet-location-alias-type.html">All the possible alias types</a> (<a href="http://hl7.org/fhir/R4/terminologies.html#required" title="To be conformant, the concept in this element SHALL be from the specified value set.">required</a>)</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: 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_datatype.gif" alt="." style="background-color: white; background-color: inherit" title="Data Type" class="hierarchy"/> <a href="StructureDefinition-FacilityModel-definitions.html#FacilityModel.hpiFacilityId" title="The identifier assigned by the HPI to this facility">hpiFacilityId</a><a name="FacilityModel.hpiFacilityId"> </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#Identifier">Identifier</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">The identifier assigned by the HPI to this facility</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_datatype.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Data Type" class="hierarchy"/> <a href="StructureDefinition-FacilityModel-definitions.html#FacilityModel.dormantFacilityId" title="Previously assigned identifiers, no longer used">dormantFacilityId</a><a name="FacilityModel.dormantFacilityId"> </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#Identifier">Identifier</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Previously assigned identifiers, no longer used<br/></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_datatype.gif" alt="." style="background-color: white; background-color: inherit" title="Data Type" class="hierarchy"/> <a href="StructureDefinition-FacilityModel-definitions.html#FacilityModel.otherIdentifiers" title="Other identifiers that may have been assigned">otherIdentifiers</a><a name="FacilityModel.otherIdentifiers"> </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#Identifier">Identifier</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Other identifiers that may have been assigned<br/></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_primitive.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Primitive Data Type" class="hierarchy"/> <a href="StructureDefinition-FacilityModel-definitions.html#FacilityModel.status" title="The current status of this facility">status</a><a name="FacilityModel.status"> </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#code">code</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">The current status of this facility</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_datatype.gif" alt="." style="background-color: white; background-color: inherit" title="Data Type" class="hierarchy"/> <a href="StructureDefinition-FacilityModel-definitions.html#FacilityModel.typeOfFunction" title="The kinds of function that can be performed at this facility">typeOfFunction</a><a name="FacilityModel.typeOfFunction"> </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#CodeableConcept">CodeableConcept</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">The kinds of function that can be performed at this facility</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_datatype.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Data Type" class="hierarchy"/> <a href="StructureDefinition-FacilityModel-definitions.html#FacilityModel.contactDetails" title="How to contact the facility (by a human)">contactDetails</a><a name="FacilityModel.contactDetails"> </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#ContactPoint">ContactPoint</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">How to contact the facility (by a human)<br/></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_resource.png" alt="." style="background-color: white; background-color: inherit" title="Resource" class="hierarchy"/> <a href="StructureDefinition-FacilityModel-definitions.html#FacilityModel.electronicContactDetails" title="Technical contacts">electronicContactDetails</a><a name="FacilityModel.electronicContactDetails"> </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="StructureDefinition-EndpointModel.html">http://hl7.org.nz/fhir/ig/hpi/StructureDefinition/EndpointModel</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Technical contacts<br/></td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_datatype.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Data Type" class="hierarchy"/> <a href="StructureDefinition-FacilityModel-definitions.html#FacilityModel.address" title="Where the facility is located">address</a><a name="FacilityModel.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..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#Address">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">Where the facility is located</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_resource.png" alt="." style="background-color: white; background-color: inherit" title="Resource" class="hierarchy"/> <a href="StructureDefinition-FacilityModel-definitions.html#FacilityModel.managingOrganization" title="The organization responsible for this facility">managingOrganization</a><a name="FacilityModel.managingOrganization"> </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="StructureDefinition-OrganizationModel.html">http://hl7.org.nz/fhir/ig/hpi/StructureDefinition/OrganizationModel</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">The organization responsible for this facility</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_resource.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Resource" class="hierarchy"/> <a href="StructureDefinition-FacilityModel-definitions.html#FacilityModel.partOf" title="If this facility is part of a larger one (eg a ward in a hospital">partOf</a><a name="FacilityModel.partOf"> </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="StructureDefinition-FacilityModel.html">http://hl7.org.nz/fhir/ig/hpi/StructureDefinition/FacilityModel</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">If this facility is part of a larger one (eg a ward in a hospital</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_datatype.gif" alt="." style="background-color: white; background-color: inherit" title="Data Type" class="hierarchy"/> <a href="StructureDefinition-FacilityModel-definitions.html#FacilityModel.established" title="The period over which the facility has been / is in operation">established</a><a name="FacilityModel.established"> </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#Period">Period</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">The period over which the facility has been / is in operation</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_datatype.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Data Type" class="hierarchy"/> <a href="StructureDefinition-FacilityModel-definitions.html#FacilityModel.dhb" title="The DHB whose catchment area this facility is in">dhb</a><a name="FacilityModel.dhb"> </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#CodeableConcept">CodeableConcept</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">The DHB whose catchment area this facility is in<br/><span style="font-weight:bold">Binding: </span><a href="https://build.fhir.org/ig/HL7NZ/nzbase//ValueSet-dhb.html">District Health Board Identifer</a> (<a href="http://hl7.org/fhir/R4/terminologies.html#required" title="To be conformant, the concept in this element SHALL be from the specified value set.">required</a>)</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: 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-FacilityModel-definitions.html#FacilityModel.geocode" title="The geocode for this facility. Uses the NZ datum (reference point)">geocode</a><a name="FacilityModel.geocode"> </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#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">The geocode for this facility. Uses the NZ datum (reference point)</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7"><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck010.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_primitive.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Primitive Data Type" class="hierarchy"/> <a href="StructureDefinition-FacilityModel-definitions.html#FacilityModel.geocode.latitude" title="Latitude">latitude</a><a name="FacilityModel.geocode.latitude"> </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#decimal">decimal</a></td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Latitude</td></tr>
<tr style="border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white"><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck000.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="icon_primitive.png" alt="." style="background-color: white; background-color: inherit" title="Primitive Data Type" class="hierarchy"/> <a href="StructureDefinition-FacilityModel-definitions.html#FacilityModel.geocode.longitude" title="Longitude">longitude</a><a name="FacilityModel.geocode.longitude"> </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#decimal">decimal</a></td><td style="vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Longitude</td></tr>
<tr><td colspan="5" class="hierarchy"><br/><a href="http://hl7.org/fhir/R4/formats.html#table" title="Legend for this format"><img src="http://hl7.org/fhir/R4/help16.png" alt="doco" style="background-color: inherit"/> Documentation for this format</a></td></tr></table></div>
</text>
<url value="http://hl7.org.nz/fhir/ig/hpi/StructureDefinition/FacilityModel"/>
<version value="0.9.0"/>
<name value="FacilityModel"/>
<title value="A facility involved in healthcare"/>
<status value="active"/>
<date value="2021-12-03T02:22:27+00:00"/>
<publisher value="Ministry of Health"/>
<contact>
<name value="Ministry of Health"/>
<telecom>
<system value="email"/>
<value value="mailto:integration@health.govt.nz"/>
</telecom>
</contact>
<description
value="An actual physical location. Represented by a Location model in FHIR"/>
<fhirVersion value="4.0.1"/>
<mapping>
<identity value="rim"/>
<uri value="http://hl7.org/v3"/>
<name value="RIM Mapping"/>
</mapping>
<kind value="logical"/>
<abstract value="false"/>
<type value="http://hl7.org.nz/fhir/ig/hpi/StructureDefinition/FacilityModel"/>
<baseDefinition value="http://hl7.org/fhir/StructureDefinition/Element"/>
<derivation value="specialization"/>
<snapshot>
<element id="FacilityModel">
<path value="FacilityModel"/>
<short value="A facility involved in healthcare"/>
<definition
value="An actual physical location. Represented by a Location model in FHIR"/>
<min value="0"/>
<max value="*"/>
<base>
<path value="Element"/>
<min value="0"/>
<max value="*"/>
</base>
<condition value="ele-1"/>
<constraint>
<key value="ele-1"/>
<severity value="error"/>
<human value="All FHIR elements must have a @value or children"/>
<expression value="hasValue() or (children().count() > id.count())"/>
<xpath value="@value|f:*|h:div"/>
<source value="http://hl7.org/fhir/StructureDefinition/Element"/>
</constraint>
<isModifier value="false"/>
<mapping>
<identity value="rim"/>
<map value="n/a"/>
</mapping>
</element>
<element id="FacilityModel.id">
<path value="FacilityModel.id"/>
<representation value="xmlAttr"/>
<short value="Unique id for inter-element referencing"/>
<definition
value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
<min value="0"/>
<max value="1"/>
<base>
<path value="Element.id"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<extension
url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
<valueUrl value="string"/>
</extension>
<code value="http://hl7.org/fhirpath/System.String"/>
</type>
<isModifier value="false"/>
<isSummary value="false"/>
<mapping>
<identity value="rim"/>
<map value="n/a"/>
</mapping>
</element>
<element id="FacilityModel.extension">
<path value="FacilityModel.extension"/>
<slicing>
<discriminator>
<type value="value"/>
<path value="url"/>
</discriminator>
<description value="Extensions are always sliced by (at least) url"/>
<rules value="open"/>
</slicing>
<short value="Additional content defined by implementations"/>
<definition
value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
<comment
value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
<alias value="extensions"/>
<alias value="user content"/>
<min value="0"/>
<max value="*"/>
<base>
<path value="Element.extension"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code value="Extension"/>
</type>
<constraint>
<key value="ele-1"/>
<severity value="error"/>
<human value="All FHIR elements must have a @value or children"/>
<expression value="hasValue() or (children().count() > id.count())"/>
<xpath value="@value|f:*|h:div"/>
<source value="http://hl7.org/fhir/StructureDefinition/Element"/>
</constraint>
<constraint>
<key value="ext-1"/>
<severity value="error"/>
<human value="Must have either extensions or value[x], not both"/>
<expression value="extension.exists() != value.exists()"/>
<xpath
value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])"/>
<source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
</constraint>
<isModifier value="false"/>
<isSummary value="false"/>
<mapping>
<identity value="rim"/>
<map value="n/a"/>
</mapping>
</element>
<element id="FacilityModel.name">
<path value="FacilityModel.name"/>
<short value="The name of the facility"/>
<definition value="The name of the facility"/>
<min value="1"/>
<max value="1"/>
<base>
<path value="FacilityModel.name"/>
<min value="1"/>
<max value="1"/>
</base>
<type>
<code value="string"/>
</type>
</element>
<element id="FacilityModel.description">
<path value="FacilityModel.description"/>
<short value="A longer description of the facility"/>
<definition value="A longer description of the facility"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="FacilityModel.description"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="string"/>
</type>
</element>
<element id="FacilityModel.alias">
<path value="FacilityModel.alias"/>
<short value="Other names by which this facility is known"/>
<definition value="Other names by which this facility is known"/>
<min value="0"/>
<max value="*"/>
<base>
<path value="FacilityModel.alias"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code value="BackboneElement"/>
</type>
</element>
<element id="FacilityModel.alias.name">
<path value="FacilityModel.alias.name"/>
<short value="The alternative name"/>
<definition value="The alternative name"/>
<min value="1"/>
<max value="1"/>
<base>
<path value="FacilityModel.alias.name"/>
<min value="1"/>
<max value="1"/>
</base>
<type>
<code value="string"/>
</type>
</element>
<element id="FacilityModel.alias.type">
<path value="FacilityModel.alias.type"/>
<short value="The type of alias - eg locally used name"/>
<definition value="The type of alias - eg locally used name"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="FacilityModel.alias.type"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="CodeableConcept"/>
</type>
<binding>
<strength value="required"/>
<valueSet
value="https://nzhts.digital.health.nz/fhir/ValueSet/alias-type-code"/>
</binding>
</element>
<element id="FacilityModel.hpiFacilityId">
<path value="FacilityModel.hpiFacilityId"/>
<short value="The identifier assigned by the HPI to this facility"/>
<definition value="The identifier assigned by the HPI to this facility"/>
<min value="1"/>
<max value="1"/>
<base>
<path value="FacilityModel.hpiFacilityId"/>
<min value="1"/>
<max value="1"/>
</base>
<type>
<code value="Identifier"/>
</type>
</element>
<element id="FacilityModel.dormantFacilityId">
<path value="FacilityModel.dormantFacilityId"/>
<short value="Previously assigned identifiers, no longer used"/>
<definition value="Previously assigned identifiers, no longer used"/>
<min value="0"/>
<max value="*"/>
<base>
<path value="FacilityModel.dormantFacilityId"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code value="Identifier"/>
</type>
</element>
<element id="FacilityModel.otherIdentifiers">
<path value="FacilityModel.otherIdentifiers"/>
<short value="Other identifiers that may have been assigned"/>
<definition value="Other identifiers that may have been assigned"/>
<min value="0"/>
<max value="*"/>
<base>
<path value="FacilityModel.otherIdentifiers"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code value="Identifier"/>
</type>
</element>
<element id="FacilityModel.status">
<path value="FacilityModel.status"/>
<short value="The current status of this facility"/>
<definition value="The current status of this facility"/>
<min value="1"/>
<max value="1"/>
<base>
<path value="FacilityModel.status"/>
<min value="1"/>
<max value="1"/>
</base>
<type>
<code value="code"/>
</type>
</element>
<element id="FacilityModel.typeOfFunction">
<path value="FacilityModel.typeOfFunction"/>
<short
value="The kinds of function that can be performed at this facility"/>
<definition
value="The kinds of function that can be performed at this facility"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="FacilityModel.typeOfFunction"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="CodeableConcept"/>
</type>
</element>
<element id="FacilityModel.contactDetails">
<path value="FacilityModel.contactDetails"/>
<short value="How to contact the facility (by a human)"/>
<definition value="How to contact the facility (by a human)"/>
<min value="0"/>
<max value="*"/>
<base>
<path value="FacilityModel.contactDetails"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code value="ContactPoint"/>
</type>
</element>
<element id="FacilityModel.electronicContactDetails">
<path value="FacilityModel.electronicContactDetails"/>
<short value="Technical contacts"/>
<definition value="Technical contacts"/>
<min value="0"/>
<max value="*"/>
<base>
<path value="FacilityModel.electronicContactDetails"/>
<min value="0"/>
<max value="*"/>
</base>
<type>
<code
value="http://hl7.org.nz/fhir/ig/hpi/StructureDefinition/EndpointModel"/>
</type>
</element>
<element id="FacilityModel.address">
<path value="FacilityModel.address"/>
<short value="Where the facility is located"/>
<definition value="Where the facility is located"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="FacilityModel.address"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="Address"/>
</type>
</element>
<element id="FacilityModel.managingOrganization">
<path value="FacilityModel.managingOrganization"/>
<short value="The organization responsible for this facility"/>
<definition value="The organization responsible for this facility"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="FacilityModel.managingOrganization"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code
value="http://hl7.org.nz/fhir/ig/hpi/StructureDefinition/OrganizationModel"/>
</type>
</element>
<element id="FacilityModel.partOf">
<path value="FacilityModel.partOf"/>
<short
value="If this facility is part of a larger one (eg a ward in a hospital"/>
<definition
value="If this facility is part of a larger one (eg a ward in a hospital"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="FacilityModel.partOf"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code
value="http://hl7.org.nz/fhir/ig/hpi/StructureDefinition/FacilityModel"/>
</type>
</element>
<element id="FacilityModel.established">
<path value="FacilityModel.established"/>
<short
value="The period over which the facility has been / is in operation"/>
<definition
value="The period over which the facility has been / is in operation"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="FacilityModel.established"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="Period"/>
</type>
</element>
<element id="FacilityModel.dhb">
<path value="FacilityModel.dhb"/>
<short value="The DHB whose catchment area this facility is in"/>
<definition value="The DHB whose catchment area this facility is in"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="FacilityModel.dhb"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="CodeableConcept"/>
</type>
<binding>
<strength value="required"/>
<valueSet value="https://nzhts.digital.health.nz/fhir/ValueSet/dhb-code"/>
</binding>
</element>
<element id="FacilityModel.geocode">
<path value="FacilityModel.geocode"/>
<short
value="The geocode for this facility. Uses the NZ datum (reference point)"/>
<definition
value="The geocode for this facility. Uses the NZ datum (reference point)"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="FacilityModel.geocode"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="BackboneElement"/>
</type>
</element>
<element id="FacilityModel.geocode.latitude">
<path value="FacilityModel.geocode.latitude"/>
<short value="Latitude"/>
<definition value="Latitude"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="FacilityModel.geocode.latitude"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="decimal"/>
</type>
</element>
<element id="FacilityModel.geocode.longitude">
<path value="FacilityModel.geocode.longitude"/>
<short value="Longitude"/>
<definition value="Longitude"/>
<min value="0"/>
<max value="1"/>
<base>
<path value="FacilityModel.geocode.longitude"/>
<min value="0"/>
<max value="1"/>
</base>
<type>
<code value="decimal"/>
</type>
</element>
</snapshot>
<differential>
<element id="FacilityModel">
<path value="FacilityModel"/>
<short value="A facility involved in healthcare"/>
<definition
value="An actual physical location. Represented by a Location model in FHIR"/>
</element>
<element id="FacilityModel.name">
<path value="FacilityModel.name"/>
<short value="The name of the facility"/>
<definition value="The name of the facility"/>
<min value="1"/>
<max value="1"/>
<type>
<code value="string"/>
</type>
</element>
<element id="FacilityModel.description">
<path value="FacilityModel.description"/>
<short value="A longer description of the facility"/>
<definition value="A longer description of the facility"/>
<min value="0"/>
<max value="1"/>
<type>
<code value="string"/>
</type>
</element>
<element id="FacilityModel.alias">
<path value="FacilityModel.alias"/>
<short value="Other names by which this facility is known"/>
<definition value="Other names by which this facility is known"/>
<min value="0"/>
<max value="*"/>
<type>
<code value="BackboneElement"/>
</type>
</element>
<element id="FacilityModel.alias.name">
<path value="FacilityModel.alias.name"/>
<short value="The alternative name"/>
<definition value="The alternative name"/>
<min value="1"/>
<max value="1"/>
<type>
<code value="string"/>
</type>
</element>
<element id="FacilityModel.alias.type">
<path value="FacilityModel.alias.type"/>
<short value="The type of alias - eg locally used name"/>
<definition value="The type of alias - eg locally used name"/>
<min value="0"/>
<max value="1"/>
<type>
<code value="CodeableConcept"/>
</type>
<binding>
<strength value="required"/>
<valueSet
value="https://nzhts.digital.health.nz/fhir/ValueSet/alias-type-code"/>
</binding>
</element>
<element id="FacilityModel.hpiFacilityId">
<path value="FacilityModel.hpiFacilityId"/>
<short value="The identifier assigned by the HPI to this facility"/>
<definition value="The identifier assigned by the HPI to this facility"/>
<min value="1"/>
<max value="1"/>
<type>
<code value="Identifier"/>
</type>
</element>
<element id="FacilityModel.dormantFacilityId">
<path value="FacilityModel.dormantFacilityId"/>
<short value="Previously assigned identifiers, no longer used"/>
<definition value="Previously assigned identifiers, no longer used"/>
<min value="0"/>
<max value="*"/>
<type>
<code value="Identifier"/>
</type>
</element>
<element id="FacilityModel.otherIdentifiers">
<path value="FacilityModel.otherIdentifiers"/>
<short value="Other identifiers that may have been assigned"/>
<definition value="Other identifiers that may have been assigned"/>
<min value="0"/>
<max value="*"/>
<type>
<code value="Identifier"/>
</type>
</element>
<element id="FacilityModel.status">
<path value="FacilityModel.status"/>
<short value="The current status of this facility"/>
<definition value="The current status of this facility"/>
<min value="1"/>
<max value="1"/>
<type>
<code value="code"/>
</type>
</element>
<element id="FacilityModel.typeOfFunction">
<path value="FacilityModel.typeOfFunction"/>
<short
value="The kinds of function that can be performed at this facility"/>
<definition
value="The kinds of function that can be performed at this facility"/>
<min value="0"/>
<max value="1"/>
<type>
<code value="CodeableConcept"/>
</type>
</element>
<element id="FacilityModel.contactDetails">
<path value="FacilityModel.contactDetails"/>
<short value="How to contact the facility (by a human)"/>
<definition value="How to contact the facility (by a human)"/>
<min value="0"/>
<max value="*"/>
<type>
<code value="ContactPoint"/>
</type>
</element>
<element id="FacilityModel.electronicContactDetails">
<path value="FacilityModel.electronicContactDetails"/>
<short value="Technical contacts"/>
<definition value="Technical contacts"/>
<min value="0"/>
<max value="*"/>
<type>
<code
value="http://hl7.org.nz/fhir/ig/hpi/StructureDefinition/EndpointModel"/>
</type>
</element>
<element id="FacilityModel.address">
<path value="FacilityModel.address"/>
<short value="Where the facility is located"/>
<definition value="Where the facility is located"/>
<min value="0"/>
<max value="1"/>
<type>
<code value="Address"/>
</type>
</element>
<element id="FacilityModel.managingOrganization">
<path value="FacilityModel.managingOrganization"/>
<short value="The organization responsible for this facility"/>
<definition value="The organization responsible for this facility"/>
<min value="0"/>
<max value="1"/>
<type>
<code
value="http://hl7.org.nz/fhir/ig/hpi/StructureDefinition/OrganizationModel"/>
</type>
</element>
<element id="FacilityModel.partOf">
<path value="FacilityModel.partOf"/>
<short
value="If this facility is part of a larger one (eg a ward in a hospital"/>
<definition
value="If this facility is part of a larger one (eg a ward in a hospital"/>
<min value="0"/>
<max value="1"/>
<type>
<code
value="http://hl7.org.nz/fhir/ig/hpi/StructureDefinition/FacilityModel"/>
</type>
</element>
<element id="FacilityModel.established">
<path value="FacilityModel.established"/>
<short
value="The period over which the facility has been / is in operation"/>
<definition
value="The period over which the facility has been / is in operation"/>
<min value="0"/>
<max value="1"/>
<type>
<code value="Period"/>
</type>
</element>
<element id="FacilityModel.dhb">
<path value="FacilityModel.dhb"/>
<short value="The DHB whose catchment area this facility is in"/>
<definition value="The DHB whose catchment area this facility is in"/>
<min value="0"/>
<max value="1"/>
<type>
<code value="CodeableConcept"/>
</type>
<binding>
<strength value="required"/>
<valueSet value="https://nzhts.digital.health.nz/fhir/ValueSet/dhb-code"/>
</binding>
</element>
<element id="FacilityModel.geocode">
<path value="FacilityModel.geocode"/>
<short
value="The geocode for this facility. Uses the NZ datum (reference point)"/>
<definition
value="The geocode for this facility. Uses the NZ datum (reference point)"/>
<min value="0"/>
<max value="1"/>
<type>
<code value="BackboneElement"/>
</type>
</element>
<element id="FacilityModel.geocode.latitude">
<path value="FacilityModel.geocode.latitude"/>
<short value="Latitude"/>
<definition value="Latitude"/>
<min value="0"/>
<max value="1"/>
<type>
<code value="decimal"/>
</type>
</element>
<element id="FacilityModel.geocode.longitude">
<path value="FacilityModel.geocode.longitude"/>
<short value="Longitude"/>
<definition value="Longitude"/>
<min value="0"/>
<max value="1"/>
<type>
<code value="decimal"/>
</type>
</element>
</differential>
</StructureDefinition>