Health New Zealand Te Whatu Ora Shared Care FHIR API
0.4.7 - release New Zealand flag

Health New Zealand Te Whatu Ora Shared Care FHIR API - Local Development build (v0.4.7) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

Resource Profile: DHO Provenance Profile

Official URL: https://fhir-ig.digital.health.nz/shared-care/StructureDefinition/OutpatientProvenance Version: 1.0.0
Draft as of 2026-10-13 Computable Name: OutpatientProvenance

This profile derives from the Provenance Resource, for use in the Dunedin Hospital Outpatients context. Specificly for the tracking of the merge and unmerge of patient records.

Dunedin Hospital Outpatient Provenance profile

Usages:

You can also check for usages in the FHIR IG Statistics

Formal Views of Profile Content

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

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Provenance 0..* Provenance Who, What, When for a set of resources
Provenance.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri A set of rules under which this content was created
Provenance.modifierExtension This element is a modifier element. 0..* Extension Extensions that cannot be ignored
Provenance.target This element is included in summaries. 1..* Reference(Resource) Target Reference(s) (usually version specific)
Provenance.recorded This element is included in summaries. 1..1 instant When the activity was recorded / updated
Provenance.reason 0..* CodeableConcept Reason the activity is occurring
Binding: Provenance Reason Type (extensible)
Provenance.activity 1..1 CodeableConcept Activity that occurred
Binding: ProvenanceActivityType (extensible): The activity that took place.
Provenance.agent 1..* BackboneElement Actor involved
Provenance.agent.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Provenance.agent.who This element is included in summaries. 1..1 Reference(Practitioner | PractitionerRole | RelatedPerson | Patient | Device | Organization) Who participated

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Provenance.reason Base extensible Provenance Reason Type 📦0.4.7 This IG
Provenance.activity Base extensible Provenance activity type 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression

This structure is derived from Provenance

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Provenance 0..* Provenance Who, What, When for a set of resources
Provenance.meta
Provenance.meta.source 1..1 uri HPI Facility ID from where the record is sourced
Provenance.meta.Slices for tag 1..* Coding Correlation-id where the record is sourced
Slice: Unordered, Open by value:system
Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Provenance.meta.Slices for tag.tag:correlationId 1..1 Coding Tags applied to this resource
Provenance.meta.Slices for tag.tag:correlationId.system 1..1 uri Identity of the terminology system
Fixed Value: https://hub.services.digital.health.nz/ns/correlation-id
Provenance.meta.Slices for tag.tag:correlationId.code 1..1 code Symbol in syntax defined by the system
Provenance.reason 0..* CodeableConcept Reason the activity is occurring
Binding: Provenance Reason Type (extensible)
Provenance.reason.coding
Provenance.reason.coding.system 0..1 uri Identity of the terminology system
Fixed Value: https://fhir-ig.digital.health.nz/shared-care/CodeSystem/provenance-reason-type-cs
Provenance.reason.coding.code 1..1 code Symbol in syntax defined by the system
Provenance.activity 1..1 CodeableConcept Activity that occurred

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
Provenance.reason Base extensible Provenance Reason Type 📦0.4.7 This IG
NameFlagsCard.TypeDescription & Constraints    Filter: doco
Provenance 0..* Provenance Who, What, When for a set of resources
Provenance.id This element is included in summaries. 0..1 id Logical id of this artifact
Provenance.meta This element is included in summaries. 0..1 Meta Metadata about the resource
Provenance.meta.id 0..1 string Unique id for inter-element referencing
Provenance.meta.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Provenance.meta.versionId This element is included in summaries. 0..1 id Version specific identifier
Provenance.meta.lastUpdated This element is included in summaries. 0..1 instant When the resource version last changed
Provenance.meta.source This element is included in summaries. 1..1 uri HPI Facility ID from where the record is sourced
Provenance.meta.profile This element is included in summaries. 0..* canonical(StructureDefinition) Profiles this resource claims to conform to
Provenance.meta.security This element is included in summaries. 0..* Coding Security Labels applied to this resource
Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.
Provenance.meta.Slices for tag This element is included in summaries. 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".

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Provenance.meta.Slices for tag.tag:correlationId This element is included in summaries. 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".
Provenance.meta.Slices for tag.tag:correlationId.id 0..1 string Unique id for inter-element referencing
Provenance.meta.Slices for tag.tag:correlationId.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Provenance.meta.Slices for tag.tag:correlationId.system This element is included in summaries. 1..1 uri Identity of the terminology system
Fixed Value: https://hub.services.digital.health.nz/ns/correlation-id
Provenance.meta.Slices for tag.tag:correlationId.version This element is included in summaries. 0..1 string Version of the system - if relevant
Provenance.meta.Slices for tag.tag:correlationId.code This element is included in summaries. 1..1 code Symbol in syntax defined by the system
Provenance.meta.Slices for tag.tag:correlationId.display This element is included in summaries. 0..1 string Representation defined by the system
Provenance.meta.Slices for tag.tag:correlationId.userSelected This element is included in summaries. 0..1 boolean If this coding was chosen directly by the user
Provenance.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri A set of rules under which this content was created
Provenance.language 0..1 code Language of the resource content
Binding: CommonLanguages (preferred): A human language.
Additional BindingsPurpose
AllLanguages Max Binding
Provenance.text 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
Provenance.contained 0..* Resource Contained, inline Resources
Provenance.extension 0..* Extension Additional content defined by implementations
Provenance.modifierExtension This element is a modifier element. 0..* Extension Extensions that cannot be ignored
Provenance.target This element is included in summaries. 1..* Reference(Resource) Target Reference(s) (usually version specific)
Provenance.occurred[x] 0..1 When the activity occurred
Provenance.occurred[x].occurredPeriod Period
Provenance.occurred[x].occurredDateTime dateTime
Provenance.recorded This element is included in summaries. 1..1 instant When the activity was recorded / updated
Provenance.policy 0..* uri Policy or plan the activity was defined by
Provenance.location 0..1 Reference(Location) Where the activity occurred, if relevant
Provenance.reason 0..* CodeableConcept Reason the activity is occurring
Binding: Provenance Reason Type (extensible)
Provenance.reason.id 0..1 string Unique id for inter-element referencing
Provenance.reason.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Provenance.reason.coding This element is included in summaries. 0..* Coding Code defined by a terminology system
Provenance.reason.coding.id 0..1 string Unique id for inter-element referencing
Provenance.reason.coding.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Provenance.reason.coding.system This element is included in summaries. 0..1 uri Identity of the terminology system
Fixed Value: https://fhir-ig.digital.health.nz/shared-care/CodeSystem/provenance-reason-type-cs
Provenance.reason.coding.version This element is included in summaries. 0..1 string Version of the system - if relevant
Provenance.reason.coding.code This element is included in summaries. 1..1 code Symbol in syntax defined by the system
Provenance.reason.coding.display This element is included in summaries. 0..1 string Representation defined by the system
Provenance.reason.coding.userSelected This element is included in summaries. 0..1 boolean If this coding was chosen directly by the user
Provenance.reason.text This element is included in summaries. 0..1 string Plain text representation of the concept
Provenance.activity 1..1 CodeableConcept Activity that occurred
Binding: ProvenanceActivityType (extensible): The activity that took place.
Provenance.agent 1..* BackboneElement Actor involved
Provenance.agent.id 0..1 string Unique id for inter-element referencing
Provenance.agent.extension 0..* Extension Additional content defined by implementations
Provenance.agent.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Provenance.agent.type This element is included in summaries. 0..1 CodeableConcept How the agent participated
Binding: ProvenanceParticipantType (extensible): The type of participation that a provenance agent played with respect to the activity.
Provenance.agent.role 0..* CodeableConcept What the agents role was
Binding: SecurityRoleType (example): The role that a provenance agent played with respect to the activity.
Provenance.agent.who This element is included in summaries. 1..1 Reference(Practitioner | PractitionerRole | RelatedPerson | Patient | Device | Organization) Who participated
Provenance.agent.onBehalfOf 0..1 Reference(Practitioner | PractitionerRole | RelatedPerson | Patient | Device | Organization) Who the agent is representing
Provenance.entity 0..* BackboneElement An entity used in this activity
Provenance.entity.id 0..1 string Unique id for inter-element referencing
Provenance.entity.extension 0..* Extension Additional content defined by implementations
Provenance.entity.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Provenance.entity.role This element is included in summaries. 1..1 code derivation | revision | quotation | source | removal
Binding: ProvenanceEntityRole (required): How an entity was used in an activity.
Provenance.entity.what This element is included in summaries. 1..1 Reference(Resource) Identity of entity
Provenance.entity.agent 0..* See agent (Provenance) Entity is attributed to this agent
Provenance.signature 0..* Signature Signature on target

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Provenance.meta.security Base extensible SecurityLabels 📍4.0.1 FHIR Std.
Provenance.meta.tag Base example Common Tags 📍4.0.1 FHIR Std.
Provenance.meta.tag:correlationId Base example Common Tags 📍4.0.1 FHIR Std.
Provenance.language Base preferred Common Languages 📍4.0.1 FHIR Std.
Provenance.reason Base extensible Provenance Reason Type 📦0.4.7 This IG
Provenance.activity Base extensible Provenance activity type 📍4.0.1 FHIR Std.
Provenance.agent.type Base extensible Provenance participant type 📍4.0.1 FHIR Std.
Provenance.agent.role Base example SecurityRoleType 📍4.0.1 FHIR Std.
Provenance.entity.role Base required ProvenanceEntityRole 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression

This structure is derived from Provenance

Summary

Mandatory: 1 element(6 nested mandatory elements)
Fixed: 2 elements

Slices

This structure defines the following Slices:

  • The element 1 is sliced based on the value of Provenance.meta.tag

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Provenance 0..* Provenance Who, What, When for a set of resources
Provenance.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri A set of rules under which this content was created
Provenance.modifierExtension This element is a modifier element. 0..* Extension Extensions that cannot be ignored
Provenance.target This element is included in summaries. 1..* Reference(Resource) Target Reference(s) (usually version specific)
Provenance.recorded This element is included in summaries. 1..1 instant When the activity was recorded / updated
Provenance.reason 0..* CodeableConcept Reason the activity is occurring
Binding: Provenance Reason Type (extensible)
Provenance.activity 1..1 CodeableConcept Activity that occurred
Binding: ProvenanceActivityType (extensible): The activity that took place.
Provenance.agent 1..* BackboneElement Actor involved
Provenance.agent.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Provenance.agent.who This element is included in summaries. 1..1 Reference(Practitioner | PractitionerRole | RelatedPerson | Patient | Device | Organization) Who participated

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Provenance.reason Base extensible Provenance Reason Type 📦0.4.7 This IG
Provenance.activity Base extensible Provenance activity type 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression

Differential View

This structure is derived from Provenance

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Provenance 0..* Provenance Who, What, When for a set of resources
Provenance.meta
Provenance.meta.source 1..1 uri HPI Facility ID from where the record is sourced
Provenance.meta.Slices for tag 1..* Coding Correlation-id where the record is sourced
Slice: Unordered, Open by value:system
Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Provenance.meta.Slices for tag.tag:correlationId 1..1 Coding Tags applied to this resource
Provenance.meta.Slices for tag.tag:correlationId.system 1..1 uri Identity of the terminology system
Fixed Value: https://hub.services.digital.health.nz/ns/correlation-id
Provenance.meta.Slices for tag.tag:correlationId.code 1..1 code Symbol in syntax defined by the system
Provenance.reason 0..* CodeableConcept Reason the activity is occurring
Binding: Provenance Reason Type (extensible)
Provenance.reason.coding
Provenance.reason.coding.system 0..1 uri Identity of the terminology system
Fixed Value: https://fhir-ig.digital.health.nz/shared-care/CodeSystem/provenance-reason-type-cs
Provenance.reason.coding.code 1..1 code Symbol in syntax defined by the system
Provenance.activity 1..1 CodeableConcept Activity that occurred

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
Provenance.reason Base extensible Provenance Reason Type 📦0.4.7 This IG

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Provenance 0..* Provenance Who, What, When for a set of resources
Provenance.id This element is included in summaries. 0..1 id Logical id of this artifact
Provenance.meta This element is included in summaries. 0..1 Meta Metadata about the resource
Provenance.meta.id 0..1 string Unique id for inter-element referencing
Provenance.meta.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Provenance.meta.versionId This element is included in summaries. 0..1 id Version specific identifier
Provenance.meta.lastUpdated This element is included in summaries. 0..1 instant When the resource version last changed
Provenance.meta.source This element is included in summaries. 1..1 uri HPI Facility ID from where the record is sourced
Provenance.meta.profile This element is included in summaries. 0..* canonical(StructureDefinition) Profiles this resource claims to conform to
Provenance.meta.security This element is included in summaries. 0..* Coding Security Labels applied to this resource
Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.
Provenance.meta.Slices for tag This element is included in summaries. 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".

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Provenance.meta.Slices for tag.tag:correlationId This element is included in summaries. 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".
Provenance.meta.Slices for tag.tag:correlationId.id 0..1 string Unique id for inter-element referencing
Provenance.meta.Slices for tag.tag:correlationId.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Provenance.meta.Slices for tag.tag:correlationId.system This element is included in summaries. 1..1 uri Identity of the terminology system
Fixed Value: https://hub.services.digital.health.nz/ns/correlation-id
Provenance.meta.Slices for tag.tag:correlationId.version This element is included in summaries. 0..1 string Version of the system - if relevant
Provenance.meta.Slices for tag.tag:correlationId.code This element is included in summaries. 1..1 code Symbol in syntax defined by the system
Provenance.meta.Slices for tag.tag:correlationId.display This element is included in summaries. 0..1 string Representation defined by the system
Provenance.meta.Slices for tag.tag:correlationId.userSelected This element is included in summaries. 0..1 boolean If this coding was chosen directly by the user
Provenance.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri A set of rules under which this content was created
Provenance.language 0..1 code Language of the resource content
Binding: CommonLanguages (preferred): A human language.
Additional BindingsPurpose
AllLanguages Max Binding
Provenance.text 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
Provenance.contained 0..* Resource Contained, inline Resources
Provenance.extension 0..* Extension Additional content defined by implementations
Provenance.modifierExtension This element is a modifier element. 0..* Extension Extensions that cannot be ignored
Provenance.target This element is included in summaries. 1..* Reference(Resource) Target Reference(s) (usually version specific)
Provenance.occurred[x] 0..1 When the activity occurred
Provenance.occurred[x].occurredPeriod Period
Provenance.occurred[x].occurredDateTime dateTime
Provenance.recorded This element is included in summaries. 1..1 instant When the activity was recorded / updated
Provenance.policy 0..* uri Policy or plan the activity was defined by
Provenance.location 0..1 Reference(Location) Where the activity occurred, if relevant
Provenance.reason 0..* CodeableConcept Reason the activity is occurring
Binding: Provenance Reason Type (extensible)
Provenance.reason.id 0..1 string Unique id for inter-element referencing
Provenance.reason.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Provenance.reason.coding This element is included in summaries. 0..* Coding Code defined by a terminology system
Provenance.reason.coding.id 0..1 string Unique id for inter-element referencing
Provenance.reason.coding.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Provenance.reason.coding.system This element is included in summaries. 0..1 uri Identity of the terminology system
Fixed Value: https://fhir-ig.digital.health.nz/shared-care/CodeSystem/provenance-reason-type-cs
Provenance.reason.coding.version This element is included in summaries. 0..1 string Version of the system - if relevant
Provenance.reason.coding.code This element is included in summaries. 1..1 code Symbol in syntax defined by the system
Provenance.reason.coding.display This element is included in summaries. 0..1 string Representation defined by the system
Provenance.reason.coding.userSelected This element is included in summaries. 0..1 boolean If this coding was chosen directly by the user
Provenance.reason.text This element is included in summaries. 0..1 string Plain text representation of the concept
Provenance.activity 1..1 CodeableConcept Activity that occurred
Binding: ProvenanceActivityType (extensible): The activity that took place.
Provenance.agent 1..* BackboneElement Actor involved
Provenance.agent.id 0..1 string Unique id for inter-element referencing
Provenance.agent.extension 0..* Extension Additional content defined by implementations
Provenance.agent.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Provenance.agent.type This element is included in summaries. 0..1 CodeableConcept How the agent participated
Binding: ProvenanceParticipantType (extensible): The type of participation that a provenance agent played with respect to the activity.
Provenance.agent.role 0..* CodeableConcept What the agents role was
Binding: SecurityRoleType (example): The role that a provenance agent played with respect to the activity.
Provenance.agent.who This element is included in summaries. 1..1 Reference(Practitioner | PractitionerRole | RelatedPerson | Patient | Device | Organization) Who participated
Provenance.agent.onBehalfOf 0..1 Reference(Practitioner | PractitionerRole | RelatedPerson | Patient | Device | Organization) Who the agent is representing
Provenance.entity 0..* BackboneElement An entity used in this activity
Provenance.entity.id 0..1 string Unique id for inter-element referencing
Provenance.entity.extension 0..* Extension Additional content defined by implementations
Provenance.entity.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Provenance.entity.role This element is included in summaries. 1..1 code derivation | revision | quotation | source | removal
Binding: ProvenanceEntityRole (required): How an entity was used in an activity.
Provenance.entity.what This element is included in summaries. 1..1 Reference(Resource) Identity of entity
Provenance.entity.agent 0..* See agent (Provenance) Entity is attributed to this agent
Provenance.signature 0..* Signature Signature on target

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Provenance.meta.security Base extensible SecurityLabels 📍4.0.1 FHIR Std.
Provenance.meta.tag Base example Common Tags 📍4.0.1 FHIR Std.
Provenance.meta.tag:correlationId Base example Common Tags 📍4.0.1 FHIR Std.
Provenance.language Base preferred Common Languages 📍4.0.1 FHIR Std.
Provenance.reason Base extensible Provenance Reason Type 📦0.4.7 This IG
Provenance.activity Base extensible Provenance activity type 📍4.0.1 FHIR Std.
Provenance.agent.type Base extensible Provenance participant type 📍4.0.1 FHIR Std.
Provenance.agent.role Base example SecurityRoleType 📍4.0.1 FHIR Std.
Provenance.entity.role Base required ProvenanceEntityRole 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression

This structure is derived from Provenance

Summary

Mandatory: 1 element(6 nested mandatory elements)
Fixed: 2 elements

Slices

This structure defines the following Slices:

  • The element 1 is sliced based on the value of Provenance.meta.tag

 

Other representations of profile: CSV, Excel, Schematron