This page is part of the Australian Base IG (v2.1.0: AU Base 2 on R4) based on FHIR R4. For a full list of available versions, see the Directory of published versions 
Raw ttl
@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:Resource.id [ fhir:value "au-hpionumber"]; fhir:DomainResource.text [ fhir:Narrative.status [ fhir:value "extensions" ]; fhir:Narrative.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=\"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-au-hpionumber-definitions.html#Identifier\" title=\"The Healthcare provider identifier—organisation (HPI-O) is the numerical identifier that uniquely identifies organisations in Australia where healthcare is provided.\">Identifier</a><a name=\"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\"><span style=\"padding-left: 3px; padding-right: 3px; color: black; null\" title=\"This element has or is affected by some invariants (inv-hpio-0, inv-hpio-1, inv-hpio-2)\">I</span></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=\"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#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\">Healthcare Provider Identifier – Organisation (HPI-O)<br/><span style=\"font-weight:bold\">inv-hpio-0: </span>HPI-O shall be 16 digits<br/><span style=\"font-weight:bold\">inv-hpio-1: </span>HPI-O prefix shall be 800362<br/><span style=\"font-weight:bold\">inv-hpio-2: </span>The identifier shall pass the Luhn algorithm</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_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-au-hpionumber-definitions.html#Identifier.type\" title=\"Healthcare Provider Identifier – Organisation (HPI-O) identifier type.\">type</a><a name=\"Identifier.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\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></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=\"opacity: 0.5\" 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\">Identifier type for HPI-O<br/><span style=\"font-weight:bold\">Binding: </span><a href=\"ValueSet-au-hl7v2-0203.html\">V2 Identifier Type - AU Extended</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>)<br/><span style=\"font-weight:bold\">Required Pattern: </span><span style=\"color: darkgreen\">At least the following</span></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_bck111.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_fixed.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Fixed Value\" class=\"hierarchy\"/> <a href=\"http://hl7.org/fhir/R4/datatypes-definitions.html#CodeableConcept.coding\">coding</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..*</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#Coding\">Coding</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Code defined by a terminology system<br/><span style=\"font-weight: bold\">Fixed Value: </span><span style=\"color: darkgreen\">(complex)</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_bck1110.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_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_fixed.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Fixed Value\" class=\"hierarchy\"/> <a href=\"http://hl7.org/fhir/R4/datatypes-definitions.html#Coding.system\">system</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#uri\">uri</a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Identity of the terminology system<br/><span style=\"font-weight: bold\">Fixed Value: </span><a style=\"color: darkgreen\" href=\"CodeSystem-au-hl7v2-0203.html\">http://terminology.hl7.org.au/CodeSystem/v2-0203</a></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_bck1100.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_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_fixed.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Fixed Value\" class=\"hierarchy\"/> <a href=\"http://hl7.org/fhir/R4/datatypes-definitions.html#Coding.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\"/><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\">Symbol in syntax defined by the system<br/><span style=\"font-weight: bold\">Fixed Value: </span><span style=\"color: darkgreen\">NOI</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_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_fixed.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Fixed Value\" class=\"hierarchy\"/> <a href=\"http://hl7.org/fhir/R4/datatypes-definitions.html#CodeableConcept.text\">text</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\">Plain text representation of the concept<br/><span style=\"font-weight: bold\">Fixed Value: </span><span style=\"color: darkgreen\">HPI-O</span></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_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-au-hpionumber-definitions.html#Identifier.system\" title=\"This namespace is used for qualified identifiers to represent Healthcare Provider Identifier for Organisations (HPI-O) numbers. An example of the syntax of a HPI-O represented as a qualified identifer using this namespace is: http://ns.electronichealth.net.au/id/hi/hpio/1.0/8003620000000000.\">system</a><a name=\"Identifier.system\"> </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..<span style=\"opacity: 0.5\">1</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 style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#uri\">uri</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Namespace for HPI-O<br/><span style=\"font-weight:bold\">Fixed Value: </span><span style=\"color: darkgreen\">http://ns.electronichealth.net.au/id/hi/hpio/1.0</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_bck00.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-au-hpionumber-definitions.html#Identifier.value\" title=\"Identifier for the organization that is used to identify the organization across multiple disparate systems.\">value</a><a name=\"Identifier.value\"> </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..<span style=\"opacity: 0.5\">1</span></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=\"opacity: 0.5\" 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\">HPI-O number<br/><span style=\"font-weight:bold\">Example HPI-O number: </span><span style=\"color: darkgreen\">8003621566684455</span><br/><span style=\"font-weight:bold\">Max Length: </span><span style=\"color: darkgreen\">16</span></td></tr>\r\n<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>" ]; fhir:StructureDefinition.url [ fhir:value "http://hl7.org.au/fhir/StructureDefinition/au-hpionumber"]; fhir:StructureDefinition.version [ fhir:value "2.1.0"]; fhir:StructureDefinition.name [ fhir:value "AUHPIONumber"]; fhir:StructureDefinition.title [ fhir:value "AU HPI-O Number"]; fhir:StructureDefinition.status [ fhir:value "draft"]; fhir:StructureDefinition.date [ fhir:value "2020-04-01"^^xsd:date]; fhir:StructureDefinition.publisher [ fhir:value "Health Level Seven Australia (Patient Administration WG)"]; fhir:StructureDefinition.contact [ fhir:index 0; fhir:ContactDetail.telecom [ fhir:index 0; fhir:ContactPoint.system [ fhir:value "url" ]; fhir:ContactPoint.value [ fhir:value "http://hl7.com.au" ]; fhir:ContactPoint.use [ fhir:value "work" ] ] ]; fhir:StructureDefinition.description [ fhir:value "This identifier profile defines a Healthcare Provider Identifier – Organisation (HPI-O) identifier in an Australian context."]; fhir:StructureDefinition.jurisdiction [ fhir:index 0; fhir:CodeableConcept.coding [ fhir:index 0; fhir:Coding.system [ fhir:value "urn:iso:std:iso:3166" ]; fhir:Coding.code [ fhir:value "AU" ] ] ]; fhir:StructureDefinition.copyright [ fhir:value "HL7 Australia© 2018+; Licensed Under Creative Commons No Rights Reserved."]; fhir:StructureDefinition.fhirVersion [ fhir:value "4.0.1"]; fhir:StructureDefinition.mapping [ fhir:index 0; fhir:StructureDefinition.mapping.identity [ fhir:value "v2" ]; fhir:StructureDefinition.mapping.uri [ fhir:value "http://hl7.org/v2" ]; fhir:StructureDefinition.mapping.name [ fhir:value "HL7 v2 Mapping" ] ], [ fhir:index 1; fhir:StructureDefinition.mapping.identity [ fhir:value "rim" ]; fhir:StructureDefinition.mapping.uri [ fhir:value "http://hl7.org/v3" ]; fhir:StructureDefinition.mapping.name [ fhir:value "RIM Mapping" ] ], [ fhir:index 2; fhir:StructureDefinition.mapping.identity [ fhir:value "servd" ]; fhir:StructureDefinition.mapping.uri [ fhir:value "http://www.omg.org/spec/ServD/1.0/" ]; fhir:StructureDefinition.mapping.name [ fhir:value "ServD" ] ]; fhir:StructureDefinition.kind [ fhir:value "complex-type"]; fhir:StructureDefinition.abstract [ fhir:value "false"^^xsd:boolean]; fhir:StructureDefinition.type [ fhir:value "Identifier"]; fhir:StructureDefinition.baseDefinition [ fhir:value "http://hl7.org/fhir/StructureDefinition/Identifier"; fhir:link <http://hl7.org/fhir/StructureDefinition/Identifier> ]; fhir:StructureDefinition.derivation [ fhir:value "constraint"]; fhir:StructureDefinition.snapshot [ fhir:StructureDefinition.snapshot.element [ fhir:index 0; fhir:Element.id [ fhir:value "Identifier" ]; fhir:ElementDefinition.path [ fhir:value "Identifier" ]; fhir:ElementDefinition.short [ fhir:value "Healthcare Provider Identifier – Organisation (HPI-O)" ]; fhir:ElementDefinition.definition [ fhir:value "The Healthcare provider identifier—organisation (HPI-O) is the numerical identifier that uniquely identifies organisations in Australia where healthcare is provided." ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.max [ fhir:value "*" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Identifier" ]; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.base.max [ fhir:value "*" ] ]; fhir:ElementDefinition.condition [ fhir:value "ele-1"; fhir:index 0 ]; fhir:ElementDefinition.constraint [ fhir:index 0; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ]; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ]; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ]; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ]; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ]; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element"; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [ fhir:index 1; fhir:ElementDefinition.constraint.key [ fhir:value "inv-hpio-0" ]; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ]; fhir:ElementDefinition.constraint.human [ fhir:value "HPI-O shall be 16 digits" ]; fhir:ElementDefinition.constraint.expression [ fhir:value "value.matches('^([0-9]{16})$')" ]; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org.au/fhir/StructureDefinition/au-hpionumber"; fhir:link <http://hl7.org.au/fhir/StructureDefinition/au-hpionumber> ] ], [ fhir:index 2; fhir:ElementDefinition.constraint.key [ fhir:value "inv-hpio-1" ]; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ]; fhir:ElementDefinition.constraint.human [ fhir:value "HPI-O prefix shall be 800362" ]; fhir:ElementDefinition.constraint.expression [ fhir:value "value.startsWith('800362')" ]; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org.au/fhir/StructureDefinition/au-hpionumber"; fhir:link <http://hl7.org.au/fhir/StructureDefinition/au-hpionumber> ] ], [ fhir:index 3; fhir:ElementDefinition.constraint.key [ fhir:value "inv-hpio-2" ]; fhir:ElementDefinition.constraint.requirements [ fhir:value "HPI-O shall pass the Luhn algorithm" ]; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ]; fhir:ElementDefinition.constraint.human [ fhir:value "The identifier shall pass the Luhn algorithm" ]; fhir:ElementDefinition.constraint.expression [ fhir:value "(((select(value.substring(0,1).toInteger()).select(iif($this<5, $this*2, (($this*2)-9))))+(value.substring(1,1).toInteger())+(select(value.substring(2,1).toInteger()).select(iif($this<5, $this*2, (($this*2)-9))))+(value.substring(3,1).toInteger())+(select(value.substring(4,1).toInteger()).select(iif($this<5, $this*2, (($this*2)-9))))+(value.substring(5,1).toInteger())+(select(value.substring(6,1).toInteger()).select(iif($this<5, $this*2, (($this*2)-9))))+(value.substring(7,1).toInteger())+(select(value.substring(8,1).toInteger()).select(iif($this<5, $this*2, (($this*2)-9))))+(value.substring(9,1).toInteger())+(select(value.substring(10,1).toInteger()).select(iif($this<5, $this*2, (($this*2)-9))))+(value.substring(11,1).toInteger())+(select(value.substring(12,1).toInteger()).select(iif($this<5, $this*2, (($this*2)-9))))+(value.substring(13,1).toInteger())+(select(value.substring(14,1).toInteger()).select(iif($this<5, $this*2, (($this*2)-9))))+(value.substring(15,1).toInteger()))mod 10=0)" ]; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org.au/fhir/StructureDefinition/au-hpionumber"; fhir:link <http://hl7.org.au/fhir/StructureDefinition/au-hpionumber> ] ]; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ]; fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ], [ fhir:index 1; fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ]; fhir:ElementDefinition.mapping.map [ fhir:value "CX / EI (occasionally, more often EI maps to a resource id or a URL)" ] ], [ fhir:index 2; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ]; fhir:ElementDefinition.mapping.map [ fhir:value "II - The Identifier class is a little looser than the v3 type II because it allows URIs as well as registered OIDs or GUIDs. Also maps to Role[classCode=IDENT]" ] ], [ fhir:index 3; fhir:ElementDefinition.mapping.identity [ fhir:value "servd" ]; fhir:ElementDefinition.mapping.map [ fhir:value "Identifier" ] ] ], [ fhir:index 1; fhir:Element.id [ fhir:value "Identifier.id" ]; fhir:ElementDefinition.path [ fhir:value "Identifier.id" ]; fhir:ElementDefinition.representation [ fhir:value "xmlAttr"; fhir:index 0 ]; fhir:ElementDefinition.short [ fhir:value "Unique id for inter-element referencing" ]; fhir:ElementDefinition.definition [ fhir:value "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Element.id" ]; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.base.max [ fhir:value "1" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:Element.extension [ fhir:index 0; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ]; fhir:Extension.valueUrl [ fhir:value "string" ] ]; fhir:ElementDefinition.type.code [ fhir:value "http://hl7.org/fhirpath/System.String" ] ]; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ]; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ]; fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [ fhir:index 2; fhir:Element.id [ fhir:value "Identifier.extension" ]; fhir:ElementDefinition.path [ fhir:value "Identifier.extension" ]; fhir:ElementDefinition.slicing [ fhir:ElementDefinition.slicing.discriminator [ fhir:index 0; fhir:ElementDefinition.slicing.discriminator.type [ fhir:value "value" ]; fhir:ElementDefinition.slicing.discriminator.path [ fhir:value "url" ] ]; fhir:ElementDefinition.slicing.description [ fhir:value "Extensions are always sliced by (at least) url" ]; fhir:ElementDefinition.slicing.rules [ fhir:value "open" ] ]; fhir:ElementDefinition.short [ fhir:value "Additional content defined by implementations" ]; fhir:ElementDefinition.definition [ fhir: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." ]; fhir:ElementDefinition.comment [ fhir: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." ]; fhir:ElementDefinition.alias [ fhir:value "extensions"; fhir:index 0 ], [ fhir:value "user content"; fhir:index 1 ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.max [ fhir:value "*" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ]; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.base.max [ fhir:value "*" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ]; fhir:ElementDefinition.constraint [ fhir:index 0; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ]; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ]; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ]; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ]; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ]; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element"; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [ fhir:index 1; fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ]; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ]; fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ]; fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ]; fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ]; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension"; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ]; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ]; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ]; fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [ fhir:index 3; fhir:Element.id [ fhir:value "Identifier.use" ]; fhir:ElementDefinition.path [ fhir:value "Identifier.use" ]; fhir:ElementDefinition.short [ fhir:value "usual | official | temp | secondary | old (If known)" ]; fhir:ElementDefinition.definition [ fhir:value "The purpose of this identifier." ]; fhir:ElementDefinition.comment [ fhir:value "Applications can assume that an identifier is permanent unless it explicitly says that it is temporary." ]; fhir:ElementDefinition.requirements [ fhir:value "Allows the appropriate identifier for a particular context of use to be selected from among a set of identifiers." ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Identifier.use" ]; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.base.max [ fhir:value "1" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.type.code [ fhir:value "code" ] ]; fhir:ElementDefinition.constraint [ fhir:index 0; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ]; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ]; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ]; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ]; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ]; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element"; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ]; fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ]; fhir:ElementDefinition.isModifierReason [ fhir:value "This is labeled as \"Is Modifier\" because applications should not mistake a temporary id for a permanent one." ]; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ]; fhir:Extension.valueString [ fhir:value "IdentifierUse" ] ]; fhir:ElementDefinition.binding.strength [ fhir:value "required" ]; fhir:ElementDefinition.binding.description [ fhir:value "Identifies the purpose for this identifier, if known ." ]; fhir:ElementDefinition.binding.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/identifier-use|4.0.1"; fhir:link <http://hl7.org/fhir/ValueSet/identifier-use|4.0.1> ] ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ]; fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ] ], [ fhir:index 1; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ]; fhir:ElementDefinition.mapping.map [ fhir:value "Role.code or implied by context" ] ] ], [ fhir:index 4; fhir:Element.id [ fhir:value "Identifier.type" ]; fhir:ElementDefinition.path [ fhir:value "Identifier.type" ]; fhir:ElementDefinition.short [ fhir:value "Identifier type for HPI-O" ]; fhir:ElementDefinition.definition [ fhir:value "Healthcare Provider Identifier – Organisation (HPI-O) identifier type." ]; fhir:ElementDefinition.comment [ fhir:value "This element deals only with general categories of identifiers. It SHOULD not be used for codes that correspond 1..1 with the Identifier.system. Some identifiers may fall into multiple categories due to common usage. Where the system is known, a type is unnecessary because the type is always part of the system definition. However systems often need to handle identifiers where the system is not known. There is not a 1:1 relationship between type and system, since many different systems have the same type." ]; fhir:ElementDefinition.requirements [ fhir:value "Allows users to make use of identifiers when the identifier system is not known." ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Identifier.type" ]; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.base.max [ fhir:value "1" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ] ]; fhir:ElementDefinition.patternCodeableConcept [ fhir:CodeableConcept.coding [ fhir:index 0; fhir:Coding.system [ fhir:value "http://terminology.hl7.org.au/CodeSystem/v2-0203" ]; fhir:Coding.code [ fhir:value "NOI" ] ]; fhir:CodeableConcept.text [ fhir:value "HPI-O" ] ]; fhir:ElementDefinition.constraint [ fhir:index 0; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ]; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ]; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ]; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ]; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ]; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element"; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ]; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ]; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]; fhir:ElementDefinition.binding [ fhir:ElementDefinition.binding.strength [ fhir:value "required" ]; fhir:ElementDefinition.binding.description [ fhir:value "Local identifier type" ]; fhir:ElementDefinition.binding.valueSet [ fhir:value "http://hl7.org.au/fhir/ValueSet/au-hl7v2-0203"; fhir:link <http://hl7.org.au/fhir/ValueSet/au-hl7v2-0203> ] ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ]; fhir:ElementDefinition.mapping.map [ fhir:value "CX.5" ] ], [ fhir:index 1; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ]; fhir:ElementDefinition.mapping.map [ fhir:value "Role.code or implied by context" ] ] ], [ fhir:index 5; fhir:Element.id [ fhir:value "Identifier.system" ]; fhir:ElementDefinition.path [ fhir:value "Identifier.system" ]; fhir:ElementDefinition.short [ fhir:value "Namespace for HPI-O" ]; fhir:ElementDefinition.definition [ fhir:value "This namespace is used for qualified identifiers to represent Healthcare Provider Identifier for Organisations (HPI-O) numbers. An example of the syntax of a HPI-O represented as a qualified identifer using this namespace is: http://ns.electronichealth.net.au/id/hi/hpio/1.0/8003620000000000." ]; fhir:ElementDefinition.comment [ fhir:value "Identifier.system is always case sensitive." ]; fhir:ElementDefinition.requirements [ fhir:value "There are many sets of identifiers. To perform matching of two identifiers, we need to know what set we're dealing with. The system identifies a particular set of unique identifiers." ]; fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Identifier.system" ]; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.base.max [ fhir:value "1" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.type.code [ fhir:value "uri" ] ]; fhir:ElementDefinition.fixedUri [ fhir:value "http://ns.electronichealth.net.au/id/hi/hpio/1.0" ]; fhir:ElementDefinition.example [ fhir:index 0; fhir:ElementDefinition.example.label [ fhir:value "General" ]; fhir:ElementDefinition.example.valueUri [ fhir:value "http://www.acme.com/identifiers/patient" ] ]; fhir:ElementDefinition.constraint [ fhir:index 0; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ]; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ]; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ]; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ]; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ]; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element"; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ]; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ]; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ]; fhir:ElementDefinition.mapping.map [ fhir:value "CX.4 / EI-2-4" ] ], [ fhir:index 1; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ]; fhir:ElementDefinition.mapping.map [ fhir:value "II.root or Role.id.root" ] ], [ fhir:index 2; fhir:ElementDefinition.mapping.identity [ fhir:value "servd" ]; fhir:ElementDefinition.mapping.map [ fhir:value "./IdentifierType" ] ] ], [ fhir:index 6; fhir:Element.id [ fhir:value "Identifier.value" ]; fhir:ElementDefinition.path [ fhir:value "Identifier.value" ]; fhir:ElementDefinition.short [ fhir:value "HPI-O number" ]; fhir:ElementDefinition.definition [ fhir:value "Identifier for the organization that is used to identify the organization across multiple disparate systems." ]; fhir:ElementDefinition.comment [ fhir:value "If the value is a full URI, then the system SHALL be urn:ietf:rfc:3986. The value's primary purpose is computational mapping. As a result, it may be normalized for comparison purposes (e.g. removing non-significant whitespace, dashes, etc.) A value formatted for human display can be conveyed using the [Rendered Value extension](http://hl7.org/fhir/R4/extension-rendered-value.html). Identifier.value is to be treated as case sensitive unless knowledge of the Identifier.system allows the processer to be confident that non-case-sensitive processing is safe." ]; fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Identifier.value" ]; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.base.max [ fhir:value "1" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.type.code [ fhir:value "string" ] ]; fhir:ElementDefinition.example [ fhir:index 0; fhir:ElementDefinition.example.label [ fhir:value "General" ]; fhir:ElementDefinition.example.valueString [ fhir:value "123456" ] ], [ fhir:index 1; fhir:ElementDefinition.example.label [ fhir:value "HPI-O number" ]; fhir:ElementDefinition.example.valueString [ fhir:value "8003621566684455" ] ]; fhir:ElementDefinition.maxLength [ fhir:value "16"^^xsd:integer ]; fhir:ElementDefinition.constraint [ fhir:index 0; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ]; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ]; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ]; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ]; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ]; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element"; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ]; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ]; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ]; fhir:ElementDefinition.mapping.map [ fhir:value "CX.1 / EI.1" ] ], [ fhir:index 1; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ]; fhir:ElementDefinition.mapping.map [ fhir:value "II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)" ] ], [ fhir:index 2; fhir:ElementDefinition.mapping.identity [ fhir:value "servd" ]; fhir:ElementDefinition.mapping.map [ fhir:value "./Value" ] ] ], [ fhir:index 7; fhir:Element.id [ fhir:value "Identifier.period" ]; fhir:ElementDefinition.path [ fhir:value "Identifier.period" ]; fhir:ElementDefinition.short [ fhir:value "Time period when id is/was valid for use" ]; fhir:ElementDefinition.definition [ fhir:value "Time period during which identifier is/was valid for use." ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Identifier.period" ]; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.base.max [ fhir:value "1" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.type.code [ fhir:value "Period" ] ]; fhir:ElementDefinition.constraint [ fhir:index 0; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ]; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ]; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ]; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ]; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ]; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element"; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ]; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ]; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ]; fhir:ElementDefinition.mapping.map [ fhir:value "CX.7 + CX.8" ] ], [ fhir:index 1; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ]; fhir:ElementDefinition.mapping.map [ fhir:value "Role.effectiveTime or implied by context" ] ], [ fhir:index 2; fhir:ElementDefinition.mapping.identity [ fhir:value "servd" ]; fhir:ElementDefinition.mapping.map [ fhir:value "./StartDate and ./EndDate" ] ] ], [ fhir:index 8; fhir:Element.id [ fhir:value "Identifier.assigner" ]; fhir:ElementDefinition.path [ fhir:value "Identifier.assigner" ]; fhir:ElementDefinition.short [ fhir:value "Organization that issued id (may be just text)" ]; fhir:ElementDefinition.definition [ fhir:value "Organization that issued/manages the identifier." ]; fhir:ElementDefinition.comment [ fhir:value "The Identifier.assigner may omit the .reference element and only contain a .display element reflecting the name or other textual information about the assigning organization." ]; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.max [ fhir:value "1" ]; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Identifier.assigner" ]; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.base.max [ fhir:value "1" ] ]; fhir:ElementDefinition.type [ fhir:index 0; fhir:ElementDefinition.type.code [ fhir:value "Reference" ]; fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Organization"; fhir:index 0; fhir:link <http://hl7.org/fhir/StructureDefinition/Organization> ] ]; fhir:ElementDefinition.constraint [ fhir:index 0; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ]; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ]; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ]; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ]; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ]; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element"; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ]; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ]; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]; fhir:ElementDefinition.mapping [ fhir:index 0; fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ]; fhir:ElementDefinition.mapping.map [ fhir:value "CX.4 / (CX.4,CX.9,CX.10)" ] ], [ fhir:index 1; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ]; fhir:ElementDefinition.mapping.map [ fhir:value "II.assigningAuthorityName but note that this is an improper use by the definition of the field. Also Role.scoper" ] ], [ fhir:index 2; fhir:ElementDefinition.mapping.identity [ fhir:value "servd" ]; fhir:ElementDefinition.mapping.map [ fhir:value "./IdentifierIssuingAuthority" ] ] ] ]; fhir:StructureDefinition.differential [ fhir:StructureDefinition.differential.element [ fhir:index 0; fhir:Element.id [ fhir:value "Identifier" ]; fhir:ElementDefinition.path [ fhir:value "Identifier" ]; fhir:ElementDefinition.short [ fhir:value "Healthcare Provider Identifier – Organisation (HPI-O)" ]; fhir:ElementDefinition.definition [ fhir:value "The Healthcare provider identifier—organisation (HPI-O) is the numerical identifier that uniquely identifies organisations in Australia where healthcare is provided." ]; fhir:ElementDefinition.constraint [ fhir:index 0; fhir:ElementDefinition.constraint.key [ fhir:value "inv-hpio-0" ]; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ]; fhir:ElementDefinition.constraint.human [ fhir:value "HPI-O shall be 16 digits" ]; fhir:ElementDefinition.constraint.expression [ fhir:value "value.matches('^([0-9]{16})$')" ]; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org.au/fhir/StructureDefinition/au-hpionumber"; fhir:link <http://hl7.org.au/fhir/StructureDefinition/au-hpionumber> ] ], [ fhir:index 1; fhir:ElementDefinition.constraint.key [ fhir:value "inv-hpio-1" ]; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ]; fhir:ElementDefinition.constraint.human [ fhir:value "HPI-O prefix shall be 800362" ]; fhir:ElementDefinition.constraint.expression [ fhir:value "value.startsWith('800362')" ]; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org.au/fhir/StructureDefinition/au-hpionumber"; fhir:link <http://hl7.org.au/fhir/StructureDefinition/au-hpionumber> ] ], [ fhir:index 2; fhir:ElementDefinition.constraint.key [ fhir:value "inv-hpio-2" ]; fhir:ElementDefinition.constraint.requirements [ fhir:value "HPI-O shall pass the Luhn algorithm" ]; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ]; fhir:ElementDefinition.constraint.human [ fhir:value "The identifier shall pass the Luhn algorithm" ]; fhir:ElementDefinition.constraint.expression [ fhir:value "(((select(value.substring(0,1).toInteger()).select(iif($this<5, $this*2, (($this*2)-9))))+(value.substring(1,1).toInteger())+(select(value.substring(2,1).toInteger()).select(iif($this<5, $this*2, (($this*2)-9))))+(value.substring(3,1).toInteger())+(select(value.substring(4,1).toInteger()).select(iif($this<5, $this*2, (($this*2)-9))))+(value.substring(5,1).toInteger())+(select(value.substring(6,1).toInteger()).select(iif($this<5, $this*2, (($this*2)-9))))+(value.substring(7,1).toInteger())+(select(value.substring(8,1).toInteger()).select(iif($this<5, $this*2, (($this*2)-9))))+(value.substring(9,1).toInteger())+(select(value.substring(10,1).toInteger()).select(iif($this<5, $this*2, (($this*2)-9))))+(value.substring(11,1).toInteger())+(select(value.substring(12,1).toInteger()).select(iif($this<5, $this*2, (($this*2)-9))))+(value.substring(13,1).toInteger())+(select(value.substring(14,1).toInteger()).select(iif($this<5, $this*2, (($this*2)-9))))+(value.substring(15,1).toInteger()))mod 10=0)" ]; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org.au/fhir/StructureDefinition/au-hpionumber"; fhir:link <http://hl7.org.au/fhir/StructureDefinition/au-hpionumber> ] ] ], [ fhir:index 1; fhir:Element.id [ fhir:value "Identifier.type" ]; fhir:ElementDefinition.path [ fhir:value "Identifier.type" ]; fhir:ElementDefinition.short [ fhir:value "Identifier type for HPI-O" ]; fhir:ElementDefinition.definition [ fhir:value "Healthcare Provider Identifier – Organisation (HPI-O) identifier type." ]; fhir:ElementDefinition.patternCodeableConcept [ fhir:CodeableConcept.coding [ fhir:index 0; fhir:Coding.system [ fhir:value "http://terminology.hl7.org.au/CodeSystem/v2-0203" ]; fhir:Coding.code [ fhir:value "NOI" ] ]; fhir:CodeableConcept.text [ fhir:value "HPI-O" ] ]; fhir:ElementDefinition.binding [ fhir:ElementDefinition.binding.strength [ fhir:value "required" ]; fhir:ElementDefinition.binding.description [ fhir:value "Local identifier type" ]; fhir:ElementDefinition.binding.valueSet [ fhir:value "http://hl7.org.au/fhir/ValueSet/au-hl7v2-0203"; fhir:link <http://hl7.org.au/fhir/ValueSet/au-hl7v2-0203> ] ] ], [ fhir:index 2; fhir:Element.id [ fhir:value "Identifier.system" ]; fhir:ElementDefinition.path [ fhir:value "Identifier.system" ]; fhir:ElementDefinition.short [ fhir:value "Namespace for HPI-O" ]; fhir:ElementDefinition.definition [ fhir:value "This namespace is used for qualified identifiers to represent Healthcare Provider Identifier for Organisations (HPI-O) numbers. An example of the syntax of a HPI-O represented as a qualified identifer using this namespace is: http://ns.electronichealth.net.au/id/hi/hpio/1.0/8003620000000000." ]; fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.fixedUri [ fhir:value "http://ns.electronichealth.net.au/id/hi/hpio/1.0" ] ], [ fhir:index 3; fhir:Element.id [ fhir:value "Identifier.value" ]; fhir:ElementDefinition.path [ fhir:value "Identifier.value" ]; fhir:ElementDefinition.short [ fhir:value "HPI-O number" ]; fhir:ElementDefinition.definition [ fhir:value "Identifier for the organization that is used to identify the organization across multiple disparate systems." ]; fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ]; fhir:ElementDefinition.example [ fhir:index 0; fhir:ElementDefinition.example.label [ fhir:value "HPI-O number" ]; fhir:ElementDefinition.example.valueString [ fhir:value "8003621566684455" ] ]; fhir:ElementDefinition.maxLength [ fhir:value "16"^^xsd:integer ] ] ]. # - ontology header ------------------------------------------------------------ a owl:Ontology; owl:imports fhir:fhir.ttl.