New Zealand HPI Implementation Guide
0.9.0 - CI Build

New Zealand HPI Implementation Guide, published by Ministry of Health. This is not an authorized publication; it is the continuous build for version 0.9.0). This version is based on the current content of https://github.com/HL7NZ/hpi/ and changes regularly. See the Directory of published versions

Resource Profile: HPI Organization

Defining URL:http://hl7.org.nz/fhir/StructureDefinition/hpiOrganization
Version:0.9.0
Name:HpiOrganization
Title:HPI Organization
Status:Active as of 12/3/21, 2:22 AM
Definition:

An entity that provides services of interest to, or is involved in, the business of health care service provision.

Publisher:Ministry of Health
Source Resource:XML / JSON / Turtle

The official URL for this profile is:

http://hl7.org.nz/fhir/StructureDefinition/hpiOrganization

Formal Views of Profile Content

Description of Profiles, Differentials, Snapshots and how the different presentations work.

This structure is derived from Organization

Summary

Mandatory: 4 elements (6 nested mandatory elements)
Must-Support: 3 elements
Fixed Value: 8 elements
Prohibited: 4 elements

Structures

This structure refers to these other structures:

Extensions

This structure refers to these extensions:

Slices

This structure defines the following Slices:

  • The element Organization.identifier is sliced based on the values of value:use, value:system (Open at End)

This structure is derived from Organization

NameFlagsCard.TypeDescription & Constraintsdoco
.. Organization 0..*OrganizationA grouping of people or organizations with a common purpose
... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
... established 0..1PeriodThe period over which this Organization has been established
URL: http://hl7.org.nz/fhir/StructureDefinition/established
... Slices for identifier 1..*IdentifierIdentifies this organization across multiple systems
Slice: Unordered, Open At End by value:use, value:system
.... identifier:All Slices Content/Rules for all slices
..... use 0..1codeofficial | old
Binding: IdentifierUse (required)
.... identifier:orgId S1..1IdentifierThe current HPI organization Id for this Organization
..... use 1..1codefixed to official
Fixed Value: official
..... system 1..1uriThe namespace for the identifier value
Fixed Value: https://standards.digital.health.nz/ns/hpi-organisation-id
.... identifier:legacyOrgId 0..1IdentifierThe MOH (NZHIS) Legacy agency code)
..... use 1..1codefixed to official
Fixed Value: official
..... system 1..1uriThe namespace for the identifier value
Fixed Value: https://standards.digital.health.nz/ns/nzhis-agency-id
.... identifier:nzbn S0..0
.... identifier:dormant S0..*IdentifierIdentifies this organization across multiple systems
..... use 1..1codeusual | official | temp | secondary | old (If known)
Fixed Value: old
..... system 1..1uriThe namespace for the identifier value
Fixed Value: https://standards.digital.health.nz/id/hpi-org
... alias
.... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
.... alias-type 0..1CodeableConceptThe type of alias for this Organization - eg its Maori name
URL: http://hl7.org.nz/fhir/StructureDefinition/alias-type
Binding: All the possible alias types (preferred)
..... valueCodeableConcept 0..1CodeableConceptValue of extension
Binding: HPI Alias Type (Organization) (preferred)
... telecom
.... use 0..1codehome | work | temp | old | mobile - purpose of this contact point
Binding: Use values for a ContactPoint (required)
... address 0..0
... contact 0..0
... endpoint 0..0

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Organization I0..*OrganizationA grouping of people or organizations with a common purpose
... id Σ0..1stringLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... text 0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
... established 0..1PeriodThe period over which this Organization has been established
URL: http://hl7.org.nz/fhir/StructureDefinition/established
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... Slices for identifier ΣI1..*IdentifierIdentifies this organization across multiple systems
Slice: Unordered, Open At End by value:use, value:system
.... identifier:All Slices Content/Rules for all slices
..... id 0..1stringUnique id for inter-element referencing
..... Slices for extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!Σ0..1codeofficial | old
Binding: IdentifierUse (required)
..... type Σ0..1CodeableConceptDescription 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.

..... system Σ0..1uriThe namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
..... value Σ0..1stringThe value that is unique
Example General: 123456
..... period Σ0..1PeriodTime period when id is/was valid for use
..... assigner Σ0..1Reference(Organization)Organization that issued id (may be just text)
.... identifier:orgId SΣI1..1IdentifierThe current HPI organization Id for this Organization
..... id 0..1stringUnique id for inter-element referencing
..... Slices for extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!Σ1..1codefixed to official
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .


Fixed Value: official
..... type Σ0..1CodeableConceptDescription 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.

..... system Σ1..1uriThe namespace for the identifier value
Fixed Value: https://standards.digital.health.nz/ns/hpi-organisation-id
..... value Σ0..1stringThe value that is unique
Example General: 123456
..... period Σ0..1PeriodTime period when id is/was valid for use
..... assigner Σ0..1Reference(Organization)Organization that issued id (may be just text)
.... identifier:legacyOrgId ΣI0..1IdentifierThe MOH (NZHIS) Legacy agency code)
..... id 0..1stringUnique id for inter-element referencing
..... Slices for extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!Σ1..1codefixed to official
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .


Fixed Value: official
..... type Σ0..1CodeableConceptDescription 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.

..... system Σ1..1uriThe namespace for the identifier value
Fixed Value: https://standards.digital.health.nz/ns/nzhis-agency-id
..... value Σ0..1stringThe value that is unique
Example General: 123456
..... period Σ0..1PeriodTime period when id is/was valid for use
..... assigner Σ0..1Reference(Organization)Organization that issued id (may be just text)
.... identifier:dormant SΣI0..*IdentifierIdentifies this organization across multiple systems
..... id 0..1stringUnique id for inter-element referencing
..... Slices for extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!Σ1..1codeusual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .


Fixed Value: old
..... type Σ0..1CodeableConceptDescription 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.

..... system Σ1..1uriThe namespace for the identifier value
Fixed Value: https://standards.digital.health.nz/id/hpi-org
..... value Σ0..1stringThe value that is unique
Example General: 123456
..... period Σ0..1PeriodTime period when id is/was valid for use
..... assigner Σ0..1Reference(Organization)Organization that issued id (may be just text)
... active ?!Σ0..1booleanWhether the organization's record is still in active use
... type Σ0..*CodeableConceptKind of organization
Binding: Organisation Type (required)
... name ΣI0..1stringName used for the organization
... alias 0..*stringA list of alternate names that the organization is known as, or was known as in the past
.... id 0..1stringxml:id (or equivalent in JSON)
.... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
.... alias-type 0..1CodeableConceptThe type of alias for this Organization - eg its Maori name
URL: http://hl7.org.nz/fhir/StructureDefinition/alias-type
Binding: All the possible alias types (preferred)
..... id 0..1stringUnique id for inter-element referencing
..... Slices for extension 0..0
..... url 1..1uri"http://hl7.org.nz/fhir/StructureDefinition/alias-type"
..... Slices for value[x] 0..1CodeableConceptValue of extension
Slice: Unordered, Closed by type:$this
...... value[x]:valueCodeableConcept 0..1CodeableConceptValue of extension
Binding: HPI Alias Type (Organization) (preferred)
.... value 0..1stringPrimitive value for string
Max Length: 1048576
... telecom I0..*ContactPointA contact detail for the organization
org-3: The telecom of an organization can never be of use 'home'
.... id 0..1stringUnique id for inter-element referencing
.... Slices for extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... system ΣI0..1codephone | fax | email | pager | url | sms | other
Binding: ContactPointSystem (required): Telecommunications form for contact point.

.... value Σ0..1stringThe actual contact point details
.... use ?!Σ0..1codehome | work | temp | old | mobile - purpose of this contact point
Binding: Use values for a ContactPoint (required)
.... rank Σ0..1positiveIntSpecify preferred order of use (1 = highest)
.... period Σ0..1PeriodTime period when the contact point was/is in use
... partOf Σ0..1Reference(Organization)The organization of which this organization forms a part

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Organization I0..*OrganizationA grouping of people or organizations with a common purpose
... identifier:orgId ΣI1..1IdentifierThe current HPI organization Id for this Organization
... identifier:dormant ΣI0..*IdentifierIdentifies this organization across multiple systems

doco Documentation for this format

This structure is derived from Organization

Summary

Mandatory: 4 elements (6 nested mandatory elements)
Must-Support: 3 elements
Fixed Value: 8 elements
Prohibited: 4 elements

Structures

This structure refers to these other structures:

Extensions

This structure refers to these extensions:

Slices

This structure defines the following Slices:

  • The element Organization.identifier is sliced based on the values of value:use, value:system (Open at End)

Differential View

This structure is derived from Organization

NameFlagsCard.TypeDescription & Constraintsdoco
.. Organization 0..*OrganizationA grouping of people or organizations with a common purpose
... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
... established 0..1PeriodThe period over which this Organization has been established
URL: http://hl7.org.nz/fhir/StructureDefinition/established
... Slices for identifier 1..*IdentifierIdentifies this organization across multiple systems
Slice: Unordered, Open At End by value:use, value:system
.... identifier:All Slices Content/Rules for all slices
..... use 0..1codeofficial | old
Binding: IdentifierUse (required)
.... identifier:orgId S1..1IdentifierThe current HPI organization Id for this Organization
..... use 1..1codefixed to official
Fixed Value: official
..... system 1..1uriThe namespace for the identifier value
Fixed Value: https://standards.digital.health.nz/ns/hpi-organisation-id
.... identifier:legacyOrgId 0..1IdentifierThe MOH (NZHIS) Legacy agency code)
..... use 1..1codefixed to official
Fixed Value: official
..... system 1..1uriThe namespace for the identifier value
Fixed Value: https://standards.digital.health.nz/ns/nzhis-agency-id
.... identifier:nzbn S0..0
.... identifier:dormant S0..*IdentifierIdentifies this organization across multiple systems
..... use 1..1codeusual | official | temp | secondary | old (If known)
Fixed Value: old
..... system 1..1uriThe namespace for the identifier value
Fixed Value: https://standards.digital.health.nz/id/hpi-org
... alias
.... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
.... alias-type 0..1CodeableConceptThe type of alias for this Organization - eg its Maori name
URL: http://hl7.org.nz/fhir/StructureDefinition/alias-type
Binding: All the possible alias types (preferred)
..... valueCodeableConcept 0..1CodeableConceptValue of extension
Binding: HPI Alias Type (Organization) (preferred)
... telecom
.... use 0..1codehome | work | temp | old | mobile - purpose of this contact point
Binding: Use values for a ContactPoint (required)
... address 0..0
... contact 0..0
... endpoint 0..0

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Organization I0..*OrganizationA grouping of people or organizations with a common purpose
... id Σ0..1stringLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... text 0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
... established 0..1PeriodThe period over which this Organization has been established
URL: http://hl7.org.nz/fhir/StructureDefinition/established
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... Slices for identifier ΣI1..*IdentifierIdentifies this organization across multiple systems
Slice: Unordered, Open At End by value:use, value:system
.... identifier:All Slices Content/Rules for all slices
..... id 0..1stringUnique id for inter-element referencing
..... Slices for extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!Σ0..1codeofficial | old
Binding: IdentifierUse (required)
..... type Σ0..1CodeableConceptDescription 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.

..... system Σ0..1uriThe namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
..... value Σ0..1stringThe value that is unique
Example General: 123456
..... period Σ0..1PeriodTime period when id is/was valid for use
..... assigner Σ0..1Reference(Organization)Organization that issued id (may be just text)
.... identifier:orgId SΣI1..1IdentifierThe current HPI organization Id for this Organization
..... id 0..1stringUnique id for inter-element referencing
..... Slices for extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!Σ1..1codefixed to official
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .


Fixed Value: official
..... type Σ0..1CodeableConceptDescription 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.

..... system Σ1..1uriThe namespace for the identifier value
Fixed Value: https://standards.digital.health.nz/ns/hpi-organisation-id
..... value Σ0..1stringThe value that is unique
Example General: 123456
..... period Σ0..1PeriodTime period when id is/was valid for use
..... assigner Σ0..1Reference(Organization)Organization that issued id (may be just text)
.... identifier:legacyOrgId ΣI0..1IdentifierThe MOH (NZHIS) Legacy agency code)
..... id 0..1stringUnique id for inter-element referencing
..... Slices for extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!Σ1..1codefixed to official
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .


Fixed Value: official
..... type Σ0..1CodeableConceptDescription 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.

..... system Σ1..1uriThe namespace for the identifier value
Fixed Value: https://standards.digital.health.nz/ns/nzhis-agency-id
..... value Σ0..1stringThe value that is unique
Example General: 123456
..... period Σ0..1PeriodTime period when id is/was valid for use
..... assigner Σ0..1Reference(Organization)Organization that issued id (may be just text)
.... identifier:dormant SΣI0..*IdentifierIdentifies this organization across multiple systems
..... id 0..1stringUnique id for inter-element referencing
..... Slices for extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!Σ1..1codeusual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .


Fixed Value: old
..... type Σ0..1CodeableConceptDescription 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.

..... system Σ1..1uriThe namespace for the identifier value
Fixed Value: https://standards.digital.health.nz/id/hpi-org
..... value Σ0..1stringThe value that is unique
Example General: 123456
..... period Σ0..1PeriodTime period when id is/was valid for use
..... assigner Σ0..1Reference(Organization)Organization that issued id (may be just text)
... active ?!Σ0..1booleanWhether the organization's record is still in active use
... type Σ0..*CodeableConceptKind of organization
Binding: Organisation Type (required)
... name ΣI0..1stringName used for the organization
... alias 0..*stringA list of alternate names that the organization is known as, or was known as in the past
.... id 0..1stringxml:id (or equivalent in JSON)
.... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
.... alias-type 0..1CodeableConceptThe type of alias for this Organization - eg its Maori name
URL: http://hl7.org.nz/fhir/StructureDefinition/alias-type
Binding: All the possible alias types (preferred)
..... id 0..1stringUnique id for inter-element referencing
..... Slices for extension 0..0
..... url 1..1uri"http://hl7.org.nz/fhir/StructureDefinition/alias-type"
..... Slices for value[x] 0..1CodeableConceptValue of extension
Slice: Unordered, Closed by type:$this
...... value[x]:valueCodeableConcept 0..1CodeableConceptValue of extension
Binding: HPI Alias Type (Organization) (preferred)
.... value 0..1stringPrimitive value for string
Max Length: 1048576
... telecom I0..*ContactPointA contact detail for the organization
org-3: The telecom of an organization can never be of use 'home'
.... id 0..1stringUnique id for inter-element referencing
.... Slices for extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... system ΣI0..1codephone | fax | email | pager | url | sms | other
Binding: ContactPointSystem (required): Telecommunications form for contact point.

.... value Σ0..1stringThe actual contact point details
.... use ?!Σ0..1codehome | work | temp | old | mobile - purpose of this contact point
Binding: Use values for a ContactPoint (required)
.... rank Σ0..1positiveIntSpecify preferred order of use (1 = highest)
.... period Σ0..1PeriodTime period when the contact point was/is in use
... partOf Σ0..1Reference(Organization)The organization of which this organization forms a part

doco Documentation for this format

 

Other representations of profile: CSV, Excel, Schematron

Terminology Bindings

PathConformanceValueSet / Code
Organization.languagepreferredCommonLanguages
Max Binding: AllLanguages
Organization.identifier.userequiredHpi_IdentfierUse
Organization.identifier.typeextensibleIdentifier Type Codes
Organization.identifier:orgId.userequiredFixed Value: official
Organization.identifier:orgId.typeextensibleIdentifier Type Codes
Organization.identifier:legacyOrgId.userequiredFixed Value: official
Organization.identifier:legacyOrgId.typeextensibleIdentifier Type Codes
Organization.identifier:nzbn.userequiredFixed Value: official
Organization.identifier:nzbn.typeextensibleIdentifier Type Codes
Organization.identifier:dormant.userequiredFixed Value: old
Organization.identifier:dormant.typeextensibleIdentifier Type Codes
Organization.typerequiredHpi_organisation_type
Organization.alias.extension:alias-type.value[x]:valueCodeableConceptpreferredHpi_organization_alias_type
Organization.telecom.systemrequiredContactPointSystem
Organization.telecom.userequiredHpi_ContactPointUse
Organization.contact.purposeextensibleContactEntityType

Constraints

IdPathDetailsRequirements
org-3Organization.telecomThe telecom of an organization can never be of use 'home'
: where(use = 'home').empty()