Health New Zealand Te Whatu Ora Shared Care FHIR API
0.4.5 - release
Health New Zealand Te Whatu Ora Shared Care FHIR API - Local Development build (v0.4.5) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions
| Official URL: https://fhir-ig.digital.health.nz/shared-care/StructureDefinition/DHOLocation | Version: 0.0.1 | |||
| Draft as of 2026-03-16 | Computable Name: DHOLocation | |||
This profile derives from the Location Resource with localisations using international and NZ standards including the FHIR NZ Base IG, for use in the Dunedin Hospital Outpatients context.
This profile is used to represent outpatient locations for Dunedin Hospital Outpatients.
Usages:
You can also check for usages in the FHIR IG Statistics
Description of Profiles, Differentials, Snapshots and how the different presentations work.
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | NzLocation | Details and position information for a physical place Constraints: dho-location-internal-requirements |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() |
0..1 | CodeableConcept | District Health Board linked to a NZ Healthcare Service, Location or Patient URL: http://hl7.org.nz/fhir/StructureDefinition/dhb Binding: District Health Board Identifer (extensible): NZ HPI-ORG Values for DHBs | |
![]() ![]() ![]() |
0..1 | Period | Extension URL: http://hl7.org.nz/fhir/StructureDefinition/established | |
![]() ![]() ![]() |
0..1 | (Complex) | Funded Healthcare Programme URL: http://hl7.org.nz/fhir/StructureDefinition/funded-programme | |
![]() ![]() ![]() |
0..1 | CodeableConcept | Primary Healthcare Organisation URL: http://hl7.org.nz/fhir/StructureDefinition/pho Binding: PHO (extensible): NZ HPI-ORG Values for PHOs | |
![]() ![]() ![]() |
0..* | (Complex) | Messaging Address URL: http://hl7.org.nz/fhir/StructureDefinition/messaging-address | |
![]() ![]() ![]() |
S | 0..1 | CodeableConcept | DHO Outreach vs Fixed site URL: https://fhir-ig.digital.health.nz/shared-care/StructureDefinition/DHOOutreach Binding: Allowed outreach types for DHOLocation (required) |
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() |
SΣ | 1..* | Identifier | External (provider) and Health NZ location identifiers |
![]() ![]() ![]() |
?!SΣ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . |
![]() ![]() ![]() |
SΣ | 0..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient |
![]() ![]() ![]() |
SΣ | 1..1 | string | The value that is unique Example General: 123456 |
![]() ![]() |
?!Σ | 0..1 | code | active | suspended | inactive Binding: LocationStatus (required): Indicates whether the location is still in use. |
![]() ![]() |
SΣ | 1..1 | string | Name of the location as used by humans |
![]() ![]() |
SΣ | 0..* | CodeableConcept | Type of function performed Binding: Allowed relationship types for DHOLocation (required) |
![]() ![]() |
S | 0..* | NzContactPoint | Contact details of the location Slice: Unordered, Open by value:use |
![]() ![]() ![]() |
S | 0..* | ContactPoint | Public contact details |
![]() ![]() ![]() ![]() |
?!Σ | 1..1 | code | home | work | temp | old | mobile - purpose of this contact point Binding: ContactPointUse (required): Use of contact point. Required Pattern: work |
![]() ![]() ![]() |
S | 0..* | ContactPoint | Clinical/professional contact |
![]() ![]() ![]() ![]() |
?!Σ | 1..1 | code | home | work | temp | old | mobile - purpose of this contact point Binding: ContactPointUse (required): Use of contact point. Required Pattern: work |
![]() ![]() ![]() |
S | 0..* | ContactPoint | Technical or routing contact |
![]() ![]() ![]() ![]() |
?!Σ | 1..1 | code | home | work | temp | old | mobile - purpose of this contact point Binding: ContactPointUse (required): Use of contact point. Required Pattern: temp |
![]() ![]() |
S | 1..1 | NzAddress | Physical location |
![]() ![]() |
SΣ | 0..1 | CodeableConcept | Physical form of the location Binding: Allowed physical types for DHOLocation (required) |
![]() ![]() |
SΣ | 1..1 | Reference(Organization resource for use in NZ) | Organization responsible for provisioning and upkeep |
![]() ![]() |
0..1 | Reference(DHO Location Profile) | Another Location this one is physically a part of | |
Documentation for this format | ||||
| Path | Conformance | ValueSet / Code | URI |
| Location.identifier.use | required | IdentifierUsehttp://hl7.org/fhir/ValueSet/identifier-use|4.0.1From the FHIR Standard | |
| Location.status | required | LocationStatushttp://hl7.org/fhir/ValueSet/location-status|4.0.1From the FHIR Standard | |
| Location.type | required | DHOLocationRelationshipVS(a valid code from DHO Location Relationship)https://fhir-ig.digital.health.nz/shared-care/ValueSet/DHOLocationRelationshipVSFrom this IG | |
| Location.telecom:Public.use | required | Pattern Value: workhttp://hl7.org/fhir/ValueSet/contact-point-use|4.0.1From the FHIR Standard | |
| Location.telecom:Clinical.use | required | Pattern Value: workhttp://hl7.org/fhir/ValueSet/contact-point-use|4.0.1From the FHIR Standard | |
| Location.telecom:Technical.use | required | Pattern Value: temphttp://hl7.org/fhir/ValueSet/contact-point-use|4.0.1From the FHIR Standard | |
| Location.physicalType | required | DHOLocationPhysicalTypeVS(a valid code from DHO Location Physical Type)https://fhir-ig.digital.health.nz/shared-care/ValueSet/DHOLocationPhysicalTypeVSFrom this IG |
| Id | Grade | Path(s) | Details | Requirements |
| dho-location-internal-requirements | error | Location | When type is 'internal', require an identifier with system 'https://standards.digital.health.nz/ns/dho-area-code', partOf.display, and partOf.identifier. : type.coding.where(code = 'internal').exists() implies (identifier.where(system = 'https://standards.digital.health.nz/ns/dho-area-code').exists() and partOf.exists() and partOf.display.exists() and partOf.identifier.exists()) | |
| dom-2 | error | Location | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
| dom-3 | error | Location | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource : contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty() | |
| dom-4 | error | Location | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated : contained.meta.versionId.empty() and contained.meta.lastUpdated.empty() | |
| dom-5 | error | Location | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
| dom-6 | best practice | Location | A resource should have narrative for robust management : text.`div`.exists() | |
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() |
This structure is derived from NzLocation
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | NzLocation | Details and position information for a physical place Constraints: dho-location-internal-requirements |
![]() ![]() |
||||
![]() ![]() ![]() |
1..1 | uri | HPI Facility ID from where the record is sourced | |
![]() ![]() ![]() |
1..* | Coding | Correlation-id where the record is sourced Slice: Unordered, Open by value:system | |
![]() ![]() ![]() ![]() |
1..1 | Coding | Tags applied to this resource | |
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: https://hub.services.digital.health.nz/ns/correlation-id | |
![]() ![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system | |
![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() |
S | 0..1 | CodeableConcept | DHO Outreach vs Fixed site URL: https://fhir-ig.digital.health.nz/shared-care/StructureDefinition/DHOOutreach Binding: Allowed outreach types for DHOLocation (required) |
![]() ![]() |
S | 1..* | Identifier | External (provider) and Health NZ location identifiers |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
S | 0..1 | code | usual | official | temp | secondary | old (If known) |
![]() ![]() ![]() |
S | 0..1 | uri | The namespace for the identifier value |
![]() ![]() ![]() |
S | 1..1 | string | The value that is unique |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() |
S | 1..1 | string | Name of the location as used by humans |
![]() ![]() |
S | 0..* | CodeableConcept | Type of function performed Binding: Allowed relationship types for DHOLocation (required) |
![]() ![]() |
S | 0..* | NzContactPoint | Contact details of the location Slice: Unordered, Open by value:use |
![]() ![]() ![]() |
S | 0..* | ContactPoint | Public contact details |
![]() ![]() ![]() ![]() |
1..1 | code | home | work | temp | old | mobile - purpose of this contact point Required Pattern: work | |
![]() ![]() ![]() |
S | 0..* | ContactPoint | Clinical/professional contact |
![]() ![]() ![]() ![]() |
1..1 | code | home | work | temp | old | mobile - purpose of this contact point Required Pattern: work | |
![]() ![]() ![]() |
S | 0..* | ContactPoint | Technical or routing contact |
![]() ![]() ![]() ![]() |
1..1 | code | home | work | temp | old | mobile - purpose of this contact point Required Pattern: temp | |
![]() ![]() |
S | 1..1 | NzAddress | Physical location |
![]() ![]() |
S | 0..1 | CodeableConcept | Physical form of the location Binding: Allowed physical types for DHOLocation (required) |
![]() ![]() |
S | 1..1 | Reference(Organization resource for use in NZ) | Organization responsible for provisioning and upkeep |
![]() ![]() |
0..1 | Reference(DHO Location Profile) | Another Location this one is physically a part of | |
Documentation for this format | ||||
| Path | Conformance | ValueSet | URI |
| Location.type | required | DHOLocationRelationshipVS(a valid code from DHO Location Relationship)https://fhir-ig.digital.health.nz/shared-care/ValueSet/DHOLocationRelationshipVSFrom this IG | |
| Location.physicalType | required | DHOLocationPhysicalTypeVS(a valid code from DHO Location Physical Type)https://fhir-ig.digital.health.nz/shared-care/ValueSet/DHOLocationPhysicalTypeVSFrom this IG |
| Id | Grade | Path(s) | Details | Requirements |
| dho-location-internal-requirements | error | Location | When type is 'internal', require an identifier with system 'https://standards.digital.health.nz/ns/dho-area-code', partOf.display, and partOf.identifier. : type.coding.where(code = 'internal').exists() implies (identifier.where(system = 'https://standards.digital.health.nz/ns/dho-area-code').exists() and partOf.exists() and partOf.display.exists() and partOf.identifier.exists()) |
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | NzLocation | Details and position information for a physical place Constraints: dho-location-internal-requirements | ||||
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
Σ | 0..1 | id | Version specific identifier | ||||
![]() ![]() ![]() |
Σ | 0..1 | instant | When the resource version last changed | ||||
![]() ![]() ![]() |
Σ | 1..1 | uri | HPI Facility ID from where the record is sourced | ||||
![]() ![]() ![]() |
Σ | 0..* | canonical(StructureDefinition) | Profiles this resource claims to conform to | ||||
![]() ![]() ![]() |
Σ | 0..* | Coding | Security Labels applied to this resource Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System. | ||||
![]() ![]() ![]() |
Σ | 1..* | Coding | Correlation-id where the record is sourced Slice: Unordered, Open by value:system Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones". | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | Coding | Tags applied to this resource Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones". | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | Identity of the terminology system Fixed Value: https://hub.services.digital.health.nz/ns/correlation-id | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Version of the system - if relevant | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | code | Symbol in syntax defined by the system | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Representation defined by the system | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | boolean | If this coding was chosen directly by the user | ||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements | |||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
0..1 | CodeableConcept | District Health Board linked to a NZ Healthcare Service, Location or Patient URL: http://hl7.org.nz/fhir/StructureDefinition/dhb Binding: District Health Board Identifer (extensible): NZ HPI-ORG Values for DHBs | |||||
![]() ![]() ![]() |
0..1 | Period | Extension URL: http://hl7.org.nz/fhir/StructureDefinition/established | |||||
![]() ![]() ![]() |
0..1 | (Complex) | Funded Healthcare Programme URL: http://hl7.org.nz/fhir/StructureDefinition/funded-programme | |||||
![]() ![]() ![]() |
0..1 | CodeableConcept | Primary Healthcare Organisation URL: http://hl7.org.nz/fhir/StructureDefinition/pho Binding: PHO (extensible): NZ HPI-ORG Values for PHOs | |||||
![]() ![]() ![]() |
0..* | (Complex) | Messaging Address URL: http://hl7.org.nz/fhir/StructureDefinition/messaging-address | |||||
![]() ![]() ![]() |
S | 0..1 | CodeableConcept | DHO Outreach vs Fixed site URL: https://fhir-ig.digital.health.nz/shared-care/StructureDefinition/DHOOutreach Binding: Allowed outreach types for DHOLocation (required) | ||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() |
SΣ | 1..* | Identifier | External (provider) and Health NZ location identifiers | ||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
?!SΣ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | ||||
![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. | ||||
![]() ![]() ![]() |
SΣ | 0..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient | ||||
![]() ![]() ![]() |
SΣ | 1..1 | string | The value that is unique Example General: 123456 | ||||
![]() ![]() ![]() |
Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text) | ||||
![]() ![]() |
?!Σ | 0..1 | code | active | suspended | inactive Binding: LocationStatus (required): Indicates whether the location is still in use. | ||||
![]() ![]() |
Σ | 0..1 | Coding | The operational status of the location (typically only for a bed/room) Binding: hl7VS-bedStatus (preferred): The operational status if the location (where typically a bed/room). | ||||
![]() ![]() |
SΣ | 1..1 | string | Name of the location as used by humans | ||||
![]() ![]() |
0..* | string | A list of alternate names that the location is known as, or was known as, in the past | |||||
![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Extension URL: http://hl7.org.nz/fhir/StructureDefinition/alias-type Binding: Alias types (preferred) | |||||
![]() ![]() ![]() |
0..1 | string | Primitive value for string Max Length:1048576 | |||||
![]() ![]() |
Σ | 0..1 | string | Additional details about the location that could be displayed as further information to identify the location beyond its name | ||||
![]() ![]() |
Σ | 0..1 | code | instance | kind Binding: LocationMode (required): Indicates whether a resource instance represents a specific location or a class of locations. | ||||
![]() ![]() |
SΣ | 0..* | CodeableConcept | Type of function performed Binding: Allowed relationship types for DHOLocation (required) | ||||
![]() ![]() |
S | 0..* | NzContactPoint | Contact details of the location Slice: Unordered, Open by value:use | ||||
![]() ![]() ![]() |
S | 0..* | ContactPoint | Public contact details | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | code | phone | fax | email | pager | url | sms | other Binding: ContactPointSystem (required): Telecommunications form for contact point. | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | string | The actual contact point details | ||||
![]() ![]() ![]() ![]() |
?!Σ | 1..1 | code | home | work | temp | old | mobile - purpose of this contact point Binding: ContactPointUse (required): Use of contact point. Required Pattern: work | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | positiveInt | Specify preferred order of use (1 = highest) | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Period | Time period when the contact point was/is in use | ||||
![]() ![]() ![]() |
S | 0..* | ContactPoint | Clinical/professional contact | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | code | phone | fax | email | pager | url | sms | other Binding: ContactPointSystem (required): Telecommunications form for contact point. | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | string | The actual contact point details | ||||
![]() ![]() ![]() ![]() |
?!Σ | 1..1 | code | home | work | temp | old | mobile - purpose of this contact point Binding: ContactPointUse (required): Use of contact point. Required Pattern: work | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | positiveInt | Specify preferred order of use (1 = highest) | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Period | Time period when the contact point was/is in use | ||||
![]() ![]() ![]() |
S | 0..* | ContactPoint | Technical or routing contact | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | code | phone | fax | email | pager | url | sms | other Binding: ContactPointSystem (required): Telecommunications form for contact point. | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | string | The actual contact point details | ||||
![]() ![]() ![]() ![]() |
?!Σ | 1..1 | code | home | work | temp | old | mobile - purpose of this contact point Binding: ContactPointUse (required): Use of contact point. Required Pattern: temp | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | positiveInt | Specify preferred order of use (1 = highest) | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Period | Time period when the contact point was/is in use | ||||
![]() ![]() |
S | 1..1 | NzAddress | Physical location | ||||
![]() ![]() |
SΣ | 0..1 | CodeableConcept | Physical form of the location Binding: Allowed physical types for DHOLocation (required) | ||||
![]() ![]() |
0..1 | BackboneElement | The absolute geographic location | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() |
1..1 | decimal | Longitude with WGS84 datum | |||||
![]() ![]() ![]() |
1..1 | decimal | Latitude with WGS84 datum | |||||
![]() ![]() ![]() |
0..1 | decimal | Altitude with WGS84 datum | |||||
![]() ![]() |
SΣ | 1..1 | Reference(Organization resource for use in NZ) | Organization responsible for provisioning and upkeep | ||||
![]() ![]() |
0..1 | Reference(DHO Location Profile) | Another Location this one is physically a part of | |||||
![]() ![]() |
0..* | BackboneElement | What days/times during a week is this location usually open | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() |
0..* | code | mon | tue | wed | thu | fri | sat | sun Binding: DaysOfWeek (required): The days of the week. | |||||
![]() ![]() ![]() |
0..1 | boolean | The Location is open all day | |||||
![]() ![]() ![]() |
0..1 | time | Time that the Location opens | |||||
![]() ![]() ![]() |
0..1 | time | Time that the Location closes | |||||
![]() ![]() |
0..1 | string | Description of availability exceptions | |||||
![]() ![]() |
0..* | Reference(Endpoint) | Technical endpoints providing access to services operated for the location | |||||
Documentation for this format | ||||||||
| Path | Conformance | ValueSet / Code | URI | |||
| Location.meta.security | extensible | All Security Labelshttp://hl7.org/fhir/ValueSet/security-labelsFrom the FHIR Standard | ||||
| Location.meta.tag | example | CommonTagshttp://hl7.org/fhir/ValueSet/common-tagsFrom the FHIR Standard | ||||
| Location.meta.tag:correlationId | example | CommonTagshttp://hl7.org/fhir/ValueSet/common-tagsFrom the FHIR Standard | ||||
| Location.language | preferred | CommonLanguageshttp://hl7.org/fhir/ValueSet/languagesFrom the FHIR Standard
| ||||
| Location.identifier.use | required | IdentifierUsehttp://hl7.org/fhir/ValueSet/identifier-use|4.0.1From the FHIR Standard | ||||
| Location.identifier.type | extensible | Identifier Type Codeshttp://hl7.org/fhir/ValueSet/identifier-typeFrom the FHIR Standard | ||||
| Location.status | required | LocationStatushttp://hl7.org/fhir/ValueSet/location-status|4.0.1From the FHIR Standard | ||||
| Location.operationalStatus | preferred | Hl7VSBedStatushttp://terminology.hl7.org/ValueSet/v2-0116 | ||||
| Location.mode | required | LocationModehttp://hl7.org/fhir/ValueSet/location-mode|4.0.1From the FHIR Standard | ||||
| Location.type | required | DHOLocationRelationshipVS(a valid code from DHO Location Relationship)https://fhir-ig.digital.health.nz/shared-care/ValueSet/DHOLocationRelationshipVSFrom this IG | ||||
| Location.telecom:Public.system | required | ContactPointSystemhttp://hl7.org/fhir/ValueSet/contact-point-system|4.0.1From the FHIR Standard | ||||
| Location.telecom:Public.use | required | Pattern Value: workhttp://hl7.org/fhir/ValueSet/contact-point-use|4.0.1From the FHIR Standard | ||||
| Location.telecom:Clinical.system | required | ContactPointSystemhttp://hl7.org/fhir/ValueSet/contact-point-system|4.0.1From the FHIR Standard | ||||
| Location.telecom:Clinical.use | required | Pattern Value: workhttp://hl7.org/fhir/ValueSet/contact-point-use|4.0.1From the FHIR Standard | ||||
| Location.telecom:Technical.system | required | ContactPointSystemhttp://hl7.org/fhir/ValueSet/contact-point-system|4.0.1From the FHIR Standard | ||||
| Location.telecom:Technical.use | required | Pattern Value: temphttp://hl7.org/fhir/ValueSet/contact-point-use|4.0.1From the FHIR Standard | ||||
| Location.physicalType | required | DHOLocationPhysicalTypeVS(a valid code from DHO Location Physical Type)https://fhir-ig.digital.health.nz/shared-care/ValueSet/DHOLocationPhysicalTypeVSFrom this IG | ||||
| Location.hoursOfOperation.daysOfWeek | required | DaysOfWeekhttp://hl7.org/fhir/ValueSet/days-of-week|4.0.1From the FHIR Standard |
| Id | Grade | Path(s) | Details | Requirements |
| dho-location-internal-requirements | error | Location | When type is 'internal', require an identifier with system 'https://standards.digital.health.nz/ns/dho-area-code', partOf.display, and partOf.identifier. : type.coding.where(code = 'internal').exists() implies (identifier.where(system = 'https://standards.digital.health.nz/ns/dho-area-code').exists() and partOf.exists() and partOf.display.exists() and partOf.identifier.exists()) | |
| dom-2 | error | Location | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
| dom-3 | error | Location | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource : contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty() | |
| dom-4 | error | Location | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated : contained.meta.versionId.empty() and contained.meta.lastUpdated.empty() | |
| dom-5 | error | Location | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
| dom-6 | best practice | Location | A resource should have narrative for robust management : text.`div`.exists() | |
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() |
This structure is derived from NzLocation
Summary
Mandatory: 5 elements(8 nested mandatory elements)
Must-Support: 14 elements
Fixed: 1 element
Prohibited: 2 elements
Structures
This structure refers to these other structures:
Extensions
This structure refers to these extensions:
Slices
This structure defines the following Slices:
Key Elements View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | NzLocation | Details and position information for a physical place Constraints: dho-location-internal-requirements |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() |
0..1 | CodeableConcept | District Health Board linked to a NZ Healthcare Service, Location or Patient URL: http://hl7.org.nz/fhir/StructureDefinition/dhb Binding: District Health Board Identifer (extensible): NZ HPI-ORG Values for DHBs | |
![]() ![]() ![]() |
0..1 | Period | Extension URL: http://hl7.org.nz/fhir/StructureDefinition/established | |
![]() ![]() ![]() |
0..1 | (Complex) | Funded Healthcare Programme URL: http://hl7.org.nz/fhir/StructureDefinition/funded-programme | |
![]() ![]() ![]() |
0..1 | CodeableConcept | Primary Healthcare Organisation URL: http://hl7.org.nz/fhir/StructureDefinition/pho Binding: PHO (extensible): NZ HPI-ORG Values for PHOs | |
![]() ![]() ![]() |
0..* | (Complex) | Messaging Address URL: http://hl7.org.nz/fhir/StructureDefinition/messaging-address | |
![]() ![]() ![]() |
S | 0..1 | CodeableConcept | DHO Outreach vs Fixed site URL: https://fhir-ig.digital.health.nz/shared-care/StructureDefinition/DHOOutreach Binding: Allowed outreach types for DHOLocation (required) |
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() |
SΣ | 1..* | Identifier | External (provider) and Health NZ location identifiers |
![]() ![]() ![]() |
?!SΣ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . |
![]() ![]() ![]() |
SΣ | 0..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient |
![]() ![]() ![]() |
SΣ | 1..1 | string | The value that is unique Example General: 123456 |
![]() ![]() |
?!Σ | 0..1 | code | active | suspended | inactive Binding: LocationStatus (required): Indicates whether the location is still in use. |
![]() ![]() |
SΣ | 1..1 | string | Name of the location as used by humans |
![]() ![]() |
SΣ | 0..* | CodeableConcept | Type of function performed Binding: Allowed relationship types for DHOLocation (required) |
![]() ![]() |
S | 0..* | NzContactPoint | Contact details of the location Slice: Unordered, Open by value:use |
![]() ![]() ![]() |
S | 0..* | ContactPoint | Public contact details |
![]() ![]() ![]() ![]() |
?!Σ | 1..1 | code | home | work | temp | old | mobile - purpose of this contact point Binding: ContactPointUse (required): Use of contact point. Required Pattern: work |
![]() ![]() ![]() |
S | 0..* | ContactPoint | Clinical/professional contact |
![]() ![]() ![]() ![]() |
?!Σ | 1..1 | code | home | work | temp | old | mobile - purpose of this contact point Binding: ContactPointUse (required): Use of contact point. Required Pattern: work |
![]() ![]() ![]() |
S | 0..* | ContactPoint | Technical or routing contact |
![]() ![]() ![]() ![]() |
?!Σ | 1..1 | code | home | work | temp | old | mobile - purpose of this contact point Binding: ContactPointUse (required): Use of contact point. Required Pattern: temp |
![]() ![]() |
S | 1..1 | NzAddress | Physical location |
![]() ![]() |
SΣ | 0..1 | CodeableConcept | Physical form of the location Binding: Allowed physical types for DHOLocation (required) |
![]() ![]() |
SΣ | 1..1 | Reference(Organization resource for use in NZ) | Organization responsible for provisioning and upkeep |
![]() ![]() |
0..1 | Reference(DHO Location Profile) | Another Location this one is physically a part of | |
Documentation for this format | ||||
| Path | Conformance | ValueSet / Code | URI |
| Location.identifier.use | required | IdentifierUsehttp://hl7.org/fhir/ValueSet/identifier-use|4.0.1From the FHIR Standard | |
| Location.status | required | LocationStatushttp://hl7.org/fhir/ValueSet/location-status|4.0.1From the FHIR Standard | |
| Location.type | required | DHOLocationRelationshipVS(a valid code from DHO Location Relationship)https://fhir-ig.digital.health.nz/shared-care/ValueSet/DHOLocationRelationshipVSFrom this IG | |
| Location.telecom:Public.use | required | Pattern Value: workhttp://hl7.org/fhir/ValueSet/contact-point-use|4.0.1From the FHIR Standard | |
| Location.telecom:Clinical.use | required | Pattern Value: workhttp://hl7.org/fhir/ValueSet/contact-point-use|4.0.1From the FHIR Standard | |
| Location.telecom:Technical.use | required | Pattern Value: temphttp://hl7.org/fhir/ValueSet/contact-point-use|4.0.1From the FHIR Standard | |
| Location.physicalType | required | DHOLocationPhysicalTypeVS(a valid code from DHO Location Physical Type)https://fhir-ig.digital.health.nz/shared-care/ValueSet/DHOLocationPhysicalTypeVSFrom this IG |
| Id | Grade | Path(s) | Details | Requirements |
| dho-location-internal-requirements | error | Location | When type is 'internal', require an identifier with system 'https://standards.digital.health.nz/ns/dho-area-code', partOf.display, and partOf.identifier. : type.coding.where(code = 'internal').exists() implies (identifier.where(system = 'https://standards.digital.health.nz/ns/dho-area-code').exists() and partOf.exists() and partOf.display.exists() and partOf.identifier.exists()) | |
| dom-2 | error | Location | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
| dom-3 | error | Location | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource : contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty() | |
| dom-4 | error | Location | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated : contained.meta.versionId.empty() and contained.meta.lastUpdated.empty() | |
| dom-5 | error | Location | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
| dom-6 | best practice | Location | A resource should have narrative for robust management : text.`div`.exists() | |
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() |
Differential View
This structure is derived from NzLocation
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | NzLocation | Details and position information for a physical place Constraints: dho-location-internal-requirements |
![]() ![]() |
||||
![]() ![]() ![]() |
1..1 | uri | HPI Facility ID from where the record is sourced | |
![]() ![]() ![]() |
1..* | Coding | Correlation-id where the record is sourced Slice: Unordered, Open by value:system | |
![]() ![]() ![]() ![]() |
1..1 | Coding | Tags applied to this resource | |
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: https://hub.services.digital.health.nz/ns/correlation-id | |
![]() ![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system | |
![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() |
S | 0..1 | CodeableConcept | DHO Outreach vs Fixed site URL: https://fhir-ig.digital.health.nz/shared-care/StructureDefinition/DHOOutreach Binding: Allowed outreach types for DHOLocation (required) |
![]() ![]() |
S | 1..* | Identifier | External (provider) and Health NZ location identifiers |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
S | 0..1 | code | usual | official | temp | secondary | old (If known) |
![]() ![]() ![]() |
S | 0..1 | uri | The namespace for the identifier value |
![]() ![]() ![]() |
S | 1..1 | string | The value that is unique |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() |
S | 1..1 | string | Name of the location as used by humans |
![]() ![]() |
S | 0..* | CodeableConcept | Type of function performed Binding: Allowed relationship types for DHOLocation (required) |
![]() ![]() |
S | 0..* | NzContactPoint | Contact details of the location Slice: Unordered, Open by value:use |
![]() ![]() ![]() |
S | 0..* | ContactPoint | Public contact details |
![]() ![]() ![]() ![]() |
1..1 | code | home | work | temp | old | mobile - purpose of this contact point Required Pattern: work | |
![]() ![]() ![]() |
S | 0..* | ContactPoint | Clinical/professional contact |
![]() ![]() ![]() ![]() |
1..1 | code | home | work | temp | old | mobile - purpose of this contact point Required Pattern: work | |
![]() ![]() ![]() |
S | 0..* | ContactPoint | Technical or routing contact |
![]() ![]() ![]() ![]() |
1..1 | code | home | work | temp | old | mobile - purpose of this contact point Required Pattern: temp | |
![]() ![]() |
S | 1..1 | NzAddress | Physical location |
![]() ![]() |
S | 0..1 | CodeableConcept | Physical form of the location Binding: Allowed physical types for DHOLocation (required) |
![]() ![]() |
S | 1..1 | Reference(Organization resource for use in NZ) | Organization responsible for provisioning and upkeep |
![]() ![]() |
0..1 | Reference(DHO Location Profile) | Another Location this one is physically a part of | |
Documentation for this format | ||||
| Path | Conformance | ValueSet | URI |
| Location.type | required | DHOLocationRelationshipVS(a valid code from DHO Location Relationship)https://fhir-ig.digital.health.nz/shared-care/ValueSet/DHOLocationRelationshipVSFrom this IG | |
| Location.physicalType | required | DHOLocationPhysicalTypeVS(a valid code from DHO Location Physical Type)https://fhir-ig.digital.health.nz/shared-care/ValueSet/DHOLocationPhysicalTypeVSFrom this IG |
| Id | Grade | Path(s) | Details | Requirements |
| dho-location-internal-requirements | error | Location | When type is 'internal', require an identifier with system 'https://standards.digital.health.nz/ns/dho-area-code', partOf.display, and partOf.identifier. : type.coding.where(code = 'internal').exists() implies (identifier.where(system = 'https://standards.digital.health.nz/ns/dho-area-code').exists() and partOf.exists() and partOf.display.exists() and partOf.identifier.exists()) |
Snapshot View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | NzLocation | Details and position information for a physical place Constraints: dho-location-internal-requirements | ||||
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
Σ | 0..1 | id | Version specific identifier | ||||
![]() ![]() ![]() |
Σ | 0..1 | instant | When the resource version last changed | ||||
![]() ![]() ![]() |
Σ | 1..1 | uri | HPI Facility ID from where the record is sourced | ||||
![]() ![]() ![]() |
Σ | 0..* | canonical(StructureDefinition) | Profiles this resource claims to conform to | ||||
![]() ![]() ![]() |
Σ | 0..* | Coding | Security Labels applied to this resource Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System. | ||||
![]() ![]() ![]() |
Σ | 1..* | Coding | Correlation-id where the record is sourced Slice: Unordered, Open by value:system Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones". | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | Coding | Tags applied to this resource Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones". | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | Identity of the terminology system Fixed Value: https://hub.services.digital.health.nz/ns/correlation-id | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Version of the system - if relevant | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | code | Symbol in syntax defined by the system | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Representation defined by the system | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | boolean | If this coding was chosen directly by the user | ||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements | |||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
0..1 | CodeableConcept | District Health Board linked to a NZ Healthcare Service, Location or Patient URL: http://hl7.org.nz/fhir/StructureDefinition/dhb Binding: District Health Board Identifer (extensible): NZ HPI-ORG Values for DHBs | |||||
![]() ![]() ![]() |
0..1 | Period | Extension URL: http://hl7.org.nz/fhir/StructureDefinition/established | |||||
![]() ![]() ![]() |
0..1 | (Complex) | Funded Healthcare Programme URL: http://hl7.org.nz/fhir/StructureDefinition/funded-programme | |||||
![]() ![]() ![]() |
0..1 | CodeableConcept | Primary Healthcare Organisation URL: http://hl7.org.nz/fhir/StructureDefinition/pho Binding: PHO (extensible): NZ HPI-ORG Values for PHOs | |||||
![]() ![]() ![]() |
0..* | (Complex) | Messaging Address URL: http://hl7.org.nz/fhir/StructureDefinition/messaging-address | |||||
![]() ![]() ![]() |
S | 0..1 | CodeableConcept | DHO Outreach vs Fixed site URL: https://fhir-ig.digital.health.nz/shared-care/StructureDefinition/DHOOutreach Binding: Allowed outreach types for DHOLocation (required) | ||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() |
SΣ | 1..* | Identifier | External (provider) and Health NZ location identifiers | ||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
?!SΣ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | ||||
![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. | ||||
![]() ![]() ![]() |
SΣ | 0..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient | ||||
![]() ![]() ![]() |
SΣ | 1..1 | string | The value that is unique Example General: 123456 | ||||
![]() ![]() ![]() |
Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text) | ||||
![]() ![]() |
?!Σ | 0..1 | code | active | suspended | inactive Binding: LocationStatus (required): Indicates whether the location is still in use. | ||||
![]() ![]() |
Σ | 0..1 | Coding | The operational status of the location (typically only for a bed/room) Binding: hl7VS-bedStatus (preferred): The operational status if the location (where typically a bed/room). | ||||
![]() ![]() |
SΣ | 1..1 | string | Name of the location as used by humans | ||||
![]() ![]() |
0..* | string | A list of alternate names that the location is known as, or was known as, in the past | |||||
![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Extension URL: http://hl7.org.nz/fhir/StructureDefinition/alias-type Binding: Alias types (preferred) | |||||
![]() ![]() ![]() |
0..1 | string | Primitive value for string Max Length:1048576 | |||||
![]() ![]() |
Σ | 0..1 | string | Additional details about the location that could be displayed as further information to identify the location beyond its name | ||||
![]() ![]() |
Σ | 0..1 | code | instance | kind Binding: LocationMode (required): Indicates whether a resource instance represents a specific location or a class of locations. | ||||
![]() ![]() |
SΣ | 0..* | CodeableConcept | Type of function performed Binding: Allowed relationship types for DHOLocation (required) | ||||
![]() ![]() |
S | 0..* | NzContactPoint | Contact details of the location Slice: Unordered, Open by value:use | ||||
![]() ![]() ![]() |
S | 0..* | ContactPoint | Public contact details | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | code | phone | fax | email | pager | url | sms | other Binding: ContactPointSystem (required): Telecommunications form for contact point. | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | string | The actual contact point details | ||||
![]() ![]() ![]() ![]() |
?!Σ | 1..1 | code | home | work | temp | old | mobile - purpose of this contact point Binding: ContactPointUse (required): Use of contact point. Required Pattern: work | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | positiveInt | Specify preferred order of use (1 = highest) | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Period | Time period when the contact point was/is in use | ||||
![]() ![]() ![]() |
S | 0..* | ContactPoint | Clinical/professional contact | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | code | phone | fax | email | pager | url | sms | other Binding: ContactPointSystem (required): Telecommunications form for contact point. | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | string | The actual contact point details | ||||
![]() ![]() ![]() ![]() |
?!Σ | 1..1 | code | home | work | temp | old | mobile - purpose of this contact point Binding: ContactPointUse (required): Use of contact point. Required Pattern: work | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | positiveInt | Specify preferred order of use (1 = highest) | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Period | Time period when the contact point was/is in use | ||||
![]() ![]() ![]() |
S | 0..* | ContactPoint | Technical or routing contact | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | code | phone | fax | email | pager | url | sms | other Binding: ContactPointSystem (required): Telecommunications form for contact point. | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | string | The actual contact point details | ||||
![]() ![]() ![]() ![]() |
?!Σ | 1..1 | code | home | work | temp | old | mobile - purpose of this contact point Binding: ContactPointUse (required): Use of contact point. Required Pattern: temp | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | positiveInt | Specify preferred order of use (1 = highest) | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Period | Time period when the contact point was/is in use | ||||
![]() ![]() |
S | 1..1 | NzAddress | Physical location | ||||
![]() ![]() |
SΣ | 0..1 | CodeableConcept | Physical form of the location Binding: Allowed physical types for DHOLocation (required) | ||||
![]() ![]() |
0..1 | BackboneElement | The absolute geographic location | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() |
1..1 | decimal | Longitude with WGS84 datum | |||||
![]() ![]() ![]() |
1..1 | decimal | Latitude with WGS84 datum | |||||
![]() ![]() ![]() |
0..1 | decimal | Altitude with WGS84 datum | |||||
![]() ![]() |
SΣ | 1..1 | Reference(Organization resource for use in NZ) | Organization responsible for provisioning and upkeep | ||||
![]() ![]() |
0..1 | Reference(DHO Location Profile) | Another Location this one is physically a part of | |||||
![]() ![]() |
0..* | BackboneElement | What days/times during a week is this location usually open | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() |
0..* | code | mon | tue | wed | thu | fri | sat | sun Binding: DaysOfWeek (required): The days of the week. | |||||
![]() ![]() ![]() |
0..1 | boolean | The Location is open all day | |||||
![]() ![]() ![]() |
0..1 | time | Time that the Location opens | |||||
![]() ![]() ![]() |
0..1 | time | Time that the Location closes | |||||
![]() ![]() |
0..1 | string | Description of availability exceptions | |||||
![]() ![]() |
0..* | Reference(Endpoint) | Technical endpoints providing access to services operated for the location | |||||
Documentation for this format | ||||||||
| Path | Conformance | ValueSet / Code | URI | |||
| Location.meta.security | extensible | All Security Labelshttp://hl7.org/fhir/ValueSet/security-labelsFrom the FHIR Standard | ||||
| Location.meta.tag | example | CommonTagshttp://hl7.org/fhir/ValueSet/common-tagsFrom the FHIR Standard | ||||
| Location.meta.tag:correlationId | example | CommonTagshttp://hl7.org/fhir/ValueSet/common-tagsFrom the FHIR Standard | ||||
| Location.language | preferred | CommonLanguageshttp://hl7.org/fhir/ValueSet/languagesFrom the FHIR Standard
| ||||
| Location.identifier.use | required | IdentifierUsehttp://hl7.org/fhir/ValueSet/identifier-use|4.0.1From the FHIR Standard | ||||
| Location.identifier.type | extensible | Identifier Type Codeshttp://hl7.org/fhir/ValueSet/identifier-typeFrom the FHIR Standard | ||||
| Location.status | required | LocationStatushttp://hl7.org/fhir/ValueSet/location-status|4.0.1From the FHIR Standard | ||||
| Location.operationalStatus | preferred | Hl7VSBedStatushttp://terminology.hl7.org/ValueSet/v2-0116 | ||||
| Location.mode | required | LocationModehttp://hl7.org/fhir/ValueSet/location-mode|4.0.1From the FHIR Standard | ||||
| Location.type | required | DHOLocationRelationshipVS(a valid code from DHO Location Relationship)https://fhir-ig.digital.health.nz/shared-care/ValueSet/DHOLocationRelationshipVSFrom this IG | ||||
| Location.telecom:Public.system | required | ContactPointSystemhttp://hl7.org/fhir/ValueSet/contact-point-system|4.0.1From the FHIR Standard | ||||
| Location.telecom:Public.use | required | Pattern Value: workhttp://hl7.org/fhir/ValueSet/contact-point-use|4.0.1From the FHIR Standard | ||||
| Location.telecom:Clinical.system | required | ContactPointSystemhttp://hl7.org/fhir/ValueSet/contact-point-system|4.0.1From the FHIR Standard | ||||
| Location.telecom:Clinical.use | required | Pattern Value: workhttp://hl7.org/fhir/ValueSet/contact-point-use|4.0.1From the FHIR Standard | ||||
| Location.telecom:Technical.system | required | ContactPointSystemhttp://hl7.org/fhir/ValueSet/contact-point-system|4.0.1From the FHIR Standard | ||||
| Location.telecom:Technical.use | required | Pattern Value: temphttp://hl7.org/fhir/ValueSet/contact-point-use|4.0.1From the FHIR Standard | ||||
| Location.physicalType | required | DHOLocationPhysicalTypeVS(a valid code from DHO Location Physical Type)https://fhir-ig.digital.health.nz/shared-care/ValueSet/DHOLocationPhysicalTypeVSFrom this IG | ||||
| Location.hoursOfOperation.daysOfWeek | required | DaysOfWeekhttp://hl7.org/fhir/ValueSet/days-of-week|4.0.1From the FHIR Standard |
| Id | Grade | Path(s) | Details | Requirements |
| dho-location-internal-requirements | error | Location | When type is 'internal', require an identifier with system 'https://standards.digital.health.nz/ns/dho-area-code', partOf.display, and partOf.identifier. : type.coding.where(code = 'internal').exists() implies (identifier.where(system = 'https://standards.digital.health.nz/ns/dho-area-code').exists() and partOf.exists() and partOf.display.exists() and partOf.identifier.exists()) | |
| dom-2 | error | Location | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
| dom-3 | error | Location | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource : contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty() | |
| dom-4 | error | Location | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated : contained.meta.versionId.empty() and contained.meta.lastUpdated.empty() | |
| dom-5 | error | Location | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
| dom-6 | best practice | Location | A resource should have narrative for robust management : text.`div`.exists() | |
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() |
This structure is derived from NzLocation
Summary
Mandatory: 5 elements(8 nested mandatory elements)
Must-Support: 14 elements
Fixed: 1 element
Prohibited: 2 elements
Structures
This structure refers to these other structures:
Extensions
This structure refers to these extensions:
Slices
This structure defines the following Slices:
Other representations of profile: CSV, Excel, Schematron