New Zealand NES IG
1.5.0 - Release

New Zealand NES IG - Local Development build (v1.5.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

Resource Profile: NES Enrolment

Official URL: http://hl7.org.nz/fhir/StructureDefinition/NesEnrolment Version: 1.5.0
Active as of 2026-06-11 Computable Name: NesEnrolment

Adds additional, NES specific extensions for enrolments

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: Filtersdoco
.. EpisodeOfCare C 0..* EpisodeOfCare An association of a Patient with an Organization and Healthcare Provider(s) for a period of time that the Organization assumes some level of responsibility
Constraints: URL-LENGTH, URL-ALLOWED-CHARS, SYSTEM-LENGTH, SYSTEM-ALLOWED-CHARS, CODEABLE-CONCEPT-TEXT-LENGTH, CODEABLE-CONCEPT-TEXT-ALLOWED-CHARS
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... Slices for contained 0..* Resource Contained, inline Resources
Slice: Unordered, Closed by type:$this
.... contained:careManager 0..1 NesPractitionerRole Contained resource for the last qualified Encounter relating to this Enrolment
.... contained:qualifiedEncounter 0..1 Encounter Contained, inline Resources
.... contained:patient 0..1 NesPatient Information about an individual or animal receiving health care services
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:expiryDate 0..1 date The date on which the Enrolment will expire
URL: http://hl7.org.nz/fhir/StructureDefinition/enrolment-expiry-date
.... extension:re-enrolmentDate 0..1 date Extension
URL: http://hl7.org.nz/fhir/StructureDefinition/reenrolment-date
.... extension:owningOrganisation 0..1 Reference(HPI Organization) Organisation that creates the enrolment
URL: http://hl7.org.nz/fhir/StructureDefinition/enrolment-owner-org
.... extension:terminationReason 0..1 (Complex) describe the reason the enrolment has ended
URL: http://hl7.org.nz/fhir/StructureDefinition/nes-enrolment-termination-reason
..... extension 0..0 Extension
Slice: Unordered, Open by value:url
..... url 1..1 uri "http://hl7.org.nz/fhir/StructureDefinition/nes-enrolment-termination-reason"
..... value[x] 0..1 CodeableConcept Value of extension
Binding: NES Enrolment Termination Reason (required)
.... extension:qualifiedEncounter 0..1 Reference(Encounter) the last qualified Encounter relating to this Enrolment
URL: http://hl7.org.nz/fhir/StructureDefinition/enrolment-encounter
... status ?!Σ 1..1 code planned | waitlist | active | onhold | finished | cancelled | entered-in-error
Binding: NES Enrolment Status (required)
... type Σ 0..* CodeableConcept Type/class - e.g. specialist referral, disease management
Binding: NES Enrolment Type (required)
... patient Σ 1..1 Reference(NES Patient) The patient who is the focus of this episode of care

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
EpisodeOfCare.extension:terminationReason.​value[x] Base required NES Enrolment Termination Reason 📦1.0 HIP FHIR Common Terminology Guide v1.12
EpisodeOfCare.status Base required NES Enrolment Status 📦1.0 HIP FHIR Common Terminology Guide v1.12
EpisodeOfCare.statusHistory.​status Base required EpisodeOfCareStatus 📍4.0.1 FHIR Std.
EpisodeOfCare.type Base required NES Enrolment Type 📦1.0 HIP FHIR Common Terminology Guide v1.12

Constraints

Id Grade Path(s) Description Expression
CODEABLE-CONCEPT-TEXT-ALLOWED-CHARS error EpisodeOfCare character restrictions for valueCodeableConcept.text EpisodeOfCare.descendants().valueCodeableConcept.text.all(matches('^([-a-zA-Z0-9\' \t\r\n.\/,])*$'))
CODEABLE-CONCEPT-TEXT-LENGTH error EpisodeOfCare valueCodeableConcept.text must be less than 1024 characters EpisodeOfCare.descendants().valueCodeableConcept.text.all(length()<1024)
SYSTEM-ALLOWED-CHARS error EpisodeOfCare character restrictions for system url EpisodeOfCare.descendants().system.all(matches('^[-a-zA-Z0-9@:%._~#=?&\/]*$'))
SYSTEM-LENGTH error EpisodeOfCare System URLs must be less than 1024 characters EpisodeOfCare.descendants().system.all(length()<1024)
URL-ALLOWED-CHARS error EpisodeOfCare character restrictions for URLs EpisodeOfCare.descendants().url.all(matches('^[-a-zA-Z0-9@:%._~#=?&\/]*$'))
URL-LENGTH error EpisodeOfCare URLs must be less than 1024 characters EpisodeOfCare.descendants().url.all(length()<1024)
dom-2 error EpisodeOfCare If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error EpisodeOfCare 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 EpisodeOfCare 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 EpisodeOfCare If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice EpisodeOfCare 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 EpisodeOfCare

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. EpisodeOfCare C 0..* EpisodeOfCare An association of a Patient with an Organization and Healthcare Provider(s) for a period of time that the Organization assumes some level of responsibility
Constraints: URL-LENGTH, URL-ALLOWED-CHARS, SYSTEM-LENGTH, SYSTEM-ALLOWED-CHARS, CODEABLE-CONCEPT-TEXT-LENGTH, CODEABLE-CONCEPT-TEXT-ALLOWED-CHARS
... meta
.... versionId 0..0 Version specific identifier
.... source 0..0 Identifies where the resource comes from
.... security 0..0 Security Labels applied to this resource
.... tag 0..0 Tags applied to this resource
... language 0..0 Language of the resource content
... Slices for contained 0..* Resource Contained, inline Resources
Slice: Unordered, Closed by type:$this
.... contained:careManager 0..1 NesPractitionerRole Contained resource for the last qualified Encounter relating to this Enrolment
.... contained:qualifiedEncounter 0..1 Encounter Contained, inline Resources
.... contained:patient 0..1 NesPatient Information about an individual or animal receiving health care services
.... extension:expiryDate 0..1 date The date on which the Enrolment will expire
URL: http://hl7.org.nz/fhir/StructureDefinition/enrolment-expiry-date
.... extension:re-enrolmentDate 0..1 date Extension
URL: http://hl7.org.nz/fhir/StructureDefinition/reenrolment-date
.... extension:owningOrganisation 0..1 Reference(HPI Organization) Organisation that creates the enrolment
URL: http://hl7.org.nz/fhir/StructureDefinition/enrolment-owner-org
.... extension:terminationReason 0..1 (Complex) describe the reason the enrolment has ended
URL: http://hl7.org.nz/fhir/StructureDefinition/nes-enrolment-termination-reason
..... value[x] 0..1 CodeableConcept Value of extension
Binding: NES Enrolment Termination Reason (required)
.... extension:qualifiedEncounter 0..1 Reference(Encounter) the last qualified Encounter relating to this Enrolment
URL: http://hl7.org.nz/fhir/StructureDefinition/enrolment-encounter
... status 1..1 code planned | waitlist | active | onhold | finished | cancelled | entered-in-error
Binding: NES Enrolment Status (required)
... statusHistory 0..0 Past list of status codes (the current status may be included to cover the start date of the status)
... type 0..* CodeableConcept Type/class - e.g. specialist referral, disease management
Binding: NES Enrolment Type (required)
... diagnosis 0..0 The list of diagnosis relevant to this episode of care
... patient 1..1 Reference(NES Patient) The patient who is the focus of this episode of care
... referralRequest 0..0 Originating Referral Request(s)
... team 0..0 Other practitioners facilitating this episode of care
... account 0..0 The set of accounts that may be used for billing for this EpisodeOfCare

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
EpisodeOfCare.extension:terminationReason.​value[x] Base required NES Enrolment Termination Reason 📦1.0 HIP FHIR Common Terminology Guide v1.12
EpisodeOfCare.status Base required NES Enrolment Status 📦1.0 HIP FHIR Common Terminology Guide v1.12
EpisodeOfCare.type Base required NES Enrolment Type 📦1.0 HIP FHIR Common Terminology Guide v1.12

Constraints

Id Grade Path(s) Description Expression
CODEABLE-CONCEPT-TEXT-ALLOWED-CHARS error EpisodeOfCare character restrictions for valueCodeableConcept.text EpisodeOfCare.descendants().valueCodeableConcept.text.all(matches('^([-a-zA-Z0-9\' \t\r\n.\/,])*$'))
CODEABLE-CONCEPT-TEXT-LENGTH error EpisodeOfCare valueCodeableConcept.text must be less than 1024 characters EpisodeOfCare.descendants().valueCodeableConcept.text.all(length()<1024)
SYSTEM-ALLOWED-CHARS error EpisodeOfCare character restrictions for system url EpisodeOfCare.descendants().system.all(matches('^[-a-zA-Z0-9@:%._~#=?&\/]*$'))
SYSTEM-LENGTH error EpisodeOfCare System URLs must be less than 1024 characters EpisodeOfCare.descendants().system.all(length()<1024)
URL-ALLOWED-CHARS error EpisodeOfCare character restrictions for URLs EpisodeOfCare.descendants().url.all(matches('^[-a-zA-Z0-9@:%._~#=?&\/]*$'))
URL-LENGTH error EpisodeOfCare URLs must be less than 1024 characters EpisodeOfCare.descendants().url.all(length()<1024)
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. EpisodeOfCare C 0..* EpisodeOfCare An association of a Patient with an Organization and Healthcare Provider(s) for a period of time that the Organization assumes some level of responsibility
Constraints: URL-LENGTH, URL-ALLOWED-CHARS, SYSTEM-LENGTH, SYSTEM-ALLOWED-CHARS, CODEABLE-CONCEPT-TEXT-LENGTH, CODEABLE-CONCEPT-TEXT-ALLOWED-CHARS
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... lastUpdated Σ 0..1 instant When the resource version last changed
.... profile Σ 0..* canonical(StructureDefinition) Profiles this resource claims to conform to
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... Slices for contained 0..* Resource Contained, inline Resources
Slice: Unordered, Closed by type:$this
.... contained:careManager 0..1 NesPractitionerRole Contained resource for the last qualified Encounter relating to this Enrolment
.... contained:qualifiedEncounter 0..1 Encounter Contained, inline Resources
.... contained:patient 0..1 NesPatient Information about an individual or animal receiving health care services
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:expiryDate 0..1 date The date on which the Enrolment will expire
URL: http://hl7.org.nz/fhir/StructureDefinition/enrolment-expiry-date
.... extension:re-enrolmentDate 0..1 date Extension
URL: http://hl7.org.nz/fhir/StructureDefinition/reenrolment-date
.... extension:owningOrganisation 0..1 Reference(HPI Organization) Organisation that creates the enrolment
URL: http://hl7.org.nz/fhir/StructureDefinition/enrolment-owner-org
.... extension:terminationReason 0..1 (Complex) describe the reason the enrolment has ended
URL: http://hl7.org.nz/fhir/StructureDefinition/nes-enrolment-termination-reason
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0 Extension
Slice: Unordered, Open by value:url
..... url 1..1 uri "http://hl7.org.nz/fhir/StructureDefinition/nes-enrolment-termination-reason"
..... value[x] 0..1 CodeableConcept Value of extension
Binding: NES Enrolment Termination Reason (required)
.... extension:qualifiedEncounter 0..1 Reference(Encounter) the last qualified Encounter relating to this Enrolment
URL: http://hl7.org.nz/fhir/StructureDefinition/enrolment-encounter
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... identifier 0..* Identifier Business Identifier(s) relevant for this EpisodeOfCare
... status ?!Σ 1..1 code planned | waitlist | active | onhold | finished | cancelled | entered-in-error
Binding: NES Enrolment Status (required)
... type Σ 0..* CodeableConcept Type/class - e.g. specialist referral, disease management
Binding: NES Enrolment Type (required)
... patient Σ 1..1 Reference(NES Patient) The patient who is the focus of this episode of care
... managingOrganization Σ 0..1 Reference(Organization) Organization that assumes care
... period Σ 0..1 Period Interval during responsibility is assumed
... careManager 0..1 Reference(Practitioner | PractitionerRole) Care manager/care coordinator for the patient

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
EpisodeOfCare.extension:terminationReason.​value[x] Base required NES Enrolment Termination Reason 📦1.0 HIP FHIR Common Terminology Guide v1.12
EpisodeOfCare.status Base required NES Enrolment Status 📦1.0 HIP FHIR Common Terminology Guide v1.12
EpisodeOfCare.statusHistory.​status Base required EpisodeOfCareStatus 📍4.0.1 FHIR Std.
EpisodeOfCare.type Base required NES Enrolment Type 📦1.0 HIP FHIR Common Terminology Guide v1.12
EpisodeOfCare.diagnosis.​role Base preferred DiagnosisRole 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
CODEABLE-CONCEPT-TEXT-ALLOWED-CHARS error EpisodeOfCare character restrictions for valueCodeableConcept.text EpisodeOfCare.descendants().valueCodeableConcept.text.all(matches('^([-a-zA-Z0-9\' \t\r\n.\/,])*$'))
CODEABLE-CONCEPT-TEXT-LENGTH error EpisodeOfCare valueCodeableConcept.text must be less than 1024 characters EpisodeOfCare.descendants().valueCodeableConcept.text.all(length()<1024)
SYSTEM-ALLOWED-CHARS error EpisodeOfCare character restrictions for system url EpisodeOfCare.descendants().system.all(matches('^[-a-zA-Z0-9@:%._~#=?&\/]*$'))
SYSTEM-LENGTH error EpisodeOfCare System URLs must be less than 1024 characters EpisodeOfCare.descendants().system.all(length()<1024)
URL-ALLOWED-CHARS error EpisodeOfCare character restrictions for URLs EpisodeOfCare.descendants().url.all(matches('^[-a-zA-Z0-9@:%._~#=?&\/]*$'))
URL-LENGTH error EpisodeOfCare URLs must be less than 1024 characters EpisodeOfCare.descendants().url.all(length()<1024)
dom-2 error EpisodeOfCare If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error EpisodeOfCare 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 EpisodeOfCare 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 EpisodeOfCare If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice EpisodeOfCare 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()

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. EpisodeOfCare C 0..* EpisodeOfCare An association of a Patient with an Organization and Healthcare Provider(s) for a period of time that the Organization assumes some level of responsibility
Constraints: URL-LENGTH, URL-ALLOWED-CHARS, SYSTEM-LENGTH, SYSTEM-ALLOWED-CHARS, CODEABLE-CONCEPT-TEXT-LENGTH, CODEABLE-CONCEPT-TEXT-ALLOWED-CHARS
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... Slices for contained 0..* Resource Contained, inline Resources
Slice: Unordered, Closed by type:$this
.... contained:careManager 0..1 NesPractitionerRole Contained resource for the last qualified Encounter relating to this Enrolment
.... contained:qualifiedEncounter 0..1 Encounter Contained, inline Resources
.... contained:patient 0..1 NesPatient Information about an individual or animal receiving health care services
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:expiryDate 0..1 date The date on which the Enrolment will expire
URL: http://hl7.org.nz/fhir/StructureDefinition/enrolment-expiry-date
.... extension:re-enrolmentDate 0..1 date Extension
URL: http://hl7.org.nz/fhir/StructureDefinition/reenrolment-date
.... extension:owningOrganisation 0..1 Reference(HPI Organization) Organisation that creates the enrolment
URL: http://hl7.org.nz/fhir/StructureDefinition/enrolment-owner-org
.... extension:terminationReason 0..1 (Complex) describe the reason the enrolment has ended
URL: http://hl7.org.nz/fhir/StructureDefinition/nes-enrolment-termination-reason
..... extension 0..0 Extension
Slice: Unordered, Open by value:url
..... url 1..1 uri "http://hl7.org.nz/fhir/StructureDefinition/nes-enrolment-termination-reason"
..... value[x] 0..1 CodeableConcept Value of extension
Binding: NES Enrolment Termination Reason (required)
.... extension:qualifiedEncounter 0..1 Reference(Encounter) the last qualified Encounter relating to this Enrolment
URL: http://hl7.org.nz/fhir/StructureDefinition/enrolment-encounter
... status ?!Σ 1..1 code planned | waitlist | active | onhold | finished | cancelled | entered-in-error
Binding: NES Enrolment Status (required)
... type Σ 0..* CodeableConcept Type/class - e.g. specialist referral, disease management
Binding: NES Enrolment Type (required)
... patient Σ 1..1 Reference(NES Patient) The patient who is the focus of this episode of care

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
EpisodeOfCare.extension:terminationReason.​value[x] Base required NES Enrolment Termination Reason 📦1.0 HIP FHIR Common Terminology Guide v1.12
EpisodeOfCare.status Base required NES Enrolment Status 📦1.0 HIP FHIR Common Terminology Guide v1.12
EpisodeOfCare.statusHistory.​status Base required EpisodeOfCareStatus 📍4.0.1 FHIR Std.
EpisodeOfCare.type Base required NES Enrolment Type 📦1.0 HIP FHIR Common Terminology Guide v1.12

Constraints

Id Grade Path(s) Description Expression
CODEABLE-CONCEPT-TEXT-ALLOWED-CHARS error EpisodeOfCare character restrictions for valueCodeableConcept.text EpisodeOfCare.descendants().valueCodeableConcept.text.all(matches('^([-a-zA-Z0-9\' \t\r\n.\/,])*$'))
CODEABLE-CONCEPT-TEXT-LENGTH error EpisodeOfCare valueCodeableConcept.text must be less than 1024 characters EpisodeOfCare.descendants().valueCodeableConcept.text.all(length()<1024)
SYSTEM-ALLOWED-CHARS error EpisodeOfCare character restrictions for system url EpisodeOfCare.descendants().system.all(matches('^[-a-zA-Z0-9@:%._~#=?&\/]*$'))
SYSTEM-LENGTH error EpisodeOfCare System URLs must be less than 1024 characters EpisodeOfCare.descendants().system.all(length()<1024)
URL-ALLOWED-CHARS error EpisodeOfCare character restrictions for URLs EpisodeOfCare.descendants().url.all(matches('^[-a-zA-Z0-9@:%._~#=?&\/]*$'))
URL-LENGTH error EpisodeOfCare URLs must be less than 1024 characters EpisodeOfCare.descendants().url.all(length()<1024)
dom-2 error EpisodeOfCare If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error EpisodeOfCare 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 EpisodeOfCare 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 EpisodeOfCare If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice EpisodeOfCare 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 EpisodeOfCare

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. EpisodeOfCare C 0..* EpisodeOfCare An association of a Patient with an Organization and Healthcare Provider(s) for a period of time that the Organization assumes some level of responsibility
Constraints: URL-LENGTH, URL-ALLOWED-CHARS, SYSTEM-LENGTH, SYSTEM-ALLOWED-CHARS, CODEABLE-CONCEPT-TEXT-LENGTH, CODEABLE-CONCEPT-TEXT-ALLOWED-CHARS
... meta
.... versionId 0..0 Version specific identifier
.... source 0..0 Identifies where the resource comes from
.... security 0..0 Security Labels applied to this resource
.... tag 0..0 Tags applied to this resource
... language 0..0 Language of the resource content
... Slices for contained 0..* Resource Contained, inline Resources
Slice: Unordered, Closed by type:$this
.... contained:careManager 0..1 NesPractitionerRole Contained resource for the last qualified Encounter relating to this Enrolment
.... contained:qualifiedEncounter 0..1 Encounter Contained, inline Resources
.... contained:patient 0..1 NesPatient Information about an individual or animal receiving health care services
.... extension:expiryDate 0..1 date The date on which the Enrolment will expire
URL: http://hl7.org.nz/fhir/StructureDefinition/enrolment-expiry-date
.... extension:re-enrolmentDate 0..1 date Extension
URL: http://hl7.org.nz/fhir/StructureDefinition/reenrolment-date
.... extension:owningOrganisation 0..1 Reference(HPI Organization) Organisation that creates the enrolment
URL: http://hl7.org.nz/fhir/StructureDefinition/enrolment-owner-org
.... extension:terminationReason 0..1 (Complex) describe the reason the enrolment has ended
URL: http://hl7.org.nz/fhir/StructureDefinition/nes-enrolment-termination-reason
..... value[x] 0..1 CodeableConcept Value of extension
Binding: NES Enrolment Termination Reason (required)
.... extension:qualifiedEncounter 0..1 Reference(Encounter) the last qualified Encounter relating to this Enrolment
URL: http://hl7.org.nz/fhir/StructureDefinition/enrolment-encounter
... status 1..1 code planned | waitlist | active | onhold | finished | cancelled | entered-in-error
Binding: NES Enrolment Status (required)
... statusHistory 0..0 Past list of status codes (the current status may be included to cover the start date of the status)
... type 0..* CodeableConcept Type/class - e.g. specialist referral, disease management
Binding: NES Enrolment Type (required)
... diagnosis 0..0 The list of diagnosis relevant to this episode of care
... patient 1..1 Reference(NES Patient) The patient who is the focus of this episode of care
... referralRequest 0..0 Originating Referral Request(s)
... team 0..0 Other practitioners facilitating this episode of care
... account 0..0 The set of accounts that may be used for billing for this EpisodeOfCare

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
EpisodeOfCare.extension:terminationReason.​value[x] Base required NES Enrolment Termination Reason 📦1.0 HIP FHIR Common Terminology Guide v1.12
EpisodeOfCare.status Base required NES Enrolment Status 📦1.0 HIP FHIR Common Terminology Guide v1.12
EpisodeOfCare.type Base required NES Enrolment Type 📦1.0 HIP FHIR Common Terminology Guide v1.12

Constraints

Id Grade Path(s) Description Expression
CODEABLE-CONCEPT-TEXT-ALLOWED-CHARS error EpisodeOfCare character restrictions for valueCodeableConcept.text EpisodeOfCare.descendants().valueCodeableConcept.text.all(matches('^([-a-zA-Z0-9\' \t\r\n.\/,])*$'))
CODEABLE-CONCEPT-TEXT-LENGTH error EpisodeOfCare valueCodeableConcept.text must be less than 1024 characters EpisodeOfCare.descendants().valueCodeableConcept.text.all(length()<1024)
SYSTEM-ALLOWED-CHARS error EpisodeOfCare character restrictions for system url EpisodeOfCare.descendants().system.all(matches('^[-a-zA-Z0-9@:%._~#=?&\/]*$'))
SYSTEM-LENGTH error EpisodeOfCare System URLs must be less than 1024 characters EpisodeOfCare.descendants().system.all(length()<1024)
URL-ALLOWED-CHARS error EpisodeOfCare character restrictions for URLs EpisodeOfCare.descendants().url.all(matches('^[-a-zA-Z0-9@:%._~#=?&\/]*$'))
URL-LENGTH error EpisodeOfCare URLs must be less than 1024 characters EpisodeOfCare.descendants().url.all(length()<1024)

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. EpisodeOfCare C 0..* EpisodeOfCare An association of a Patient with an Organization and Healthcare Provider(s) for a period of time that the Organization assumes some level of responsibility
Constraints: URL-LENGTH, URL-ALLOWED-CHARS, SYSTEM-LENGTH, SYSTEM-ALLOWED-CHARS, CODEABLE-CONCEPT-TEXT-LENGTH, CODEABLE-CONCEPT-TEXT-ALLOWED-CHARS
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... lastUpdated Σ 0..1 instant When the resource version last changed
.... profile Σ 0..* canonical(StructureDefinition) Profiles this resource claims to conform to
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... Slices for contained 0..* Resource Contained, inline Resources
Slice: Unordered, Closed by type:$this
.... contained:careManager 0..1 NesPractitionerRole Contained resource for the last qualified Encounter relating to this Enrolment
.... contained:qualifiedEncounter 0..1 Encounter Contained, inline Resources
.... contained:patient 0..1 NesPatient Information about an individual or animal receiving health care services
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:expiryDate 0..1 date The date on which the Enrolment will expire
URL: http://hl7.org.nz/fhir/StructureDefinition/enrolment-expiry-date
.... extension:re-enrolmentDate 0..1 date Extension
URL: http://hl7.org.nz/fhir/StructureDefinition/reenrolment-date
.... extension:owningOrganisation 0..1 Reference(HPI Organization) Organisation that creates the enrolment
URL: http://hl7.org.nz/fhir/StructureDefinition/enrolment-owner-org
.... extension:terminationReason 0..1 (Complex) describe the reason the enrolment has ended
URL: http://hl7.org.nz/fhir/StructureDefinition/nes-enrolment-termination-reason
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0 Extension
Slice: Unordered, Open by value:url
..... url 1..1 uri "http://hl7.org.nz/fhir/StructureDefinition/nes-enrolment-termination-reason"
..... value[x] 0..1 CodeableConcept Value of extension
Binding: NES Enrolment Termination Reason (required)
.... extension:qualifiedEncounter 0..1 Reference(Encounter) the last qualified Encounter relating to this Enrolment
URL: http://hl7.org.nz/fhir/StructureDefinition/enrolment-encounter
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... identifier 0..* Identifier Business Identifier(s) relevant for this EpisodeOfCare
... status ?!Σ 1..1 code planned | waitlist | active | onhold | finished | cancelled | entered-in-error
Binding: NES Enrolment Status (required)
... type Σ 0..* CodeableConcept Type/class - e.g. specialist referral, disease management
Binding: NES Enrolment Type (required)
... patient Σ 1..1 Reference(NES Patient) The patient who is the focus of this episode of care
... managingOrganization Σ 0..1 Reference(Organization) Organization that assumes care
... period Σ 0..1 Period Interval during responsibility is assumed
... careManager 0..1 Reference(Practitioner | PractitionerRole) Care manager/care coordinator for the patient

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
EpisodeOfCare.extension:terminationReason.​value[x] Base required NES Enrolment Termination Reason 📦1.0 HIP FHIR Common Terminology Guide v1.12
EpisodeOfCare.status Base required NES Enrolment Status 📦1.0 HIP FHIR Common Terminology Guide v1.12
EpisodeOfCare.statusHistory.​status Base required EpisodeOfCareStatus 📍4.0.1 FHIR Std.
EpisodeOfCare.type Base required NES Enrolment Type 📦1.0 HIP FHIR Common Terminology Guide v1.12
EpisodeOfCare.diagnosis.​role Base preferred DiagnosisRole 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
CODEABLE-CONCEPT-TEXT-ALLOWED-CHARS error EpisodeOfCare character restrictions for valueCodeableConcept.text EpisodeOfCare.descendants().valueCodeableConcept.text.all(matches('^([-a-zA-Z0-9\' \t\r\n.\/,])*$'))
CODEABLE-CONCEPT-TEXT-LENGTH error EpisodeOfCare valueCodeableConcept.text must be less than 1024 characters EpisodeOfCare.descendants().valueCodeableConcept.text.all(length()<1024)
SYSTEM-ALLOWED-CHARS error EpisodeOfCare character restrictions for system url EpisodeOfCare.descendants().system.all(matches('^[-a-zA-Z0-9@:%._~#=?&\/]*$'))
SYSTEM-LENGTH error EpisodeOfCare System URLs must be less than 1024 characters EpisodeOfCare.descendants().system.all(length()<1024)
URL-ALLOWED-CHARS error EpisodeOfCare character restrictions for URLs EpisodeOfCare.descendants().url.all(matches('^[-a-zA-Z0-9@:%._~#=?&\/]*$'))
URL-LENGTH error EpisodeOfCare URLs must be less than 1024 characters EpisodeOfCare.descendants().url.all(length()<1024)
dom-2 error EpisodeOfCare If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error EpisodeOfCare 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 EpisodeOfCare 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 EpisodeOfCare If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice EpisodeOfCare 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()

 

Other representations of profile: CSV, Excel, Schematron