New Zealand ICP Implementation Guide
1.1.0 - draft
New Zealand ICP Implementation Guide, published by Accident Compensation Corporation. This guide is not an authorized publication; it is the continuous build for version 1.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/acc-fhir-publisher/icp/ and changes regularly. See the Directory of published versions
Official URL: http://hl7.org.nz/fhir/StructureDefinition/acc-icp-exit-reason | Version: 1.1.0 | |||
Active as of 2022-11-20 | Computable Name: Icp_ExitReason | |||
Copyright/Legal: ACC New Zealand© 2023+; Licensed Under Creative Commons No Rights Reserved. |
Integrated Care Pathways Exit Reason
Context of Use
This extension may be used on the following element(s):
Usage info
Usages:
Description of Profiles, Differentials, Snapshots, and how the XML and JSON presentations work.
This structure is derived from Extension
Summary
Complex Extension: Integrated Care Pathways Exit Reason
This structure is derived from Extension
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
---|---|---|---|---|
![]() ![]() |
C | 0..* | Extension | Exit Reason Constraints: recovery-goal-not-achieved-or-acc-support-invariant, not-recovery-goal-achieved-and-acc-support-invariant, other-reason-invariant, not-other-reason-invariant |
![]() ![]() ![]() |
2..5 | Extension | Extension | |
![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() |
1..1 | Extension | Extension | |
![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "reason" | |
![]() ![]() ![]() ![]() ![]() |
1..1 | code | Value of extension Binding: Exit Reason (preferred) | |
![]() ![]() ![]() ![]() |
0..1 | Extension | Descriptor for 'other' exit reason. Mandatory when the exit reason is 'other'. | |
![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "other-reason" | |
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | string | Value of extension Constraints: other-reason-max250-length-invariant |
![]() ![]() ![]() ![]() |
1..1 | Extension | Extension | |
![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "additional-acc-support-needed" | |
![]() ![]() ![]() ![]() ![]() |
1..1 | boolean | Value of extension | |
![]() ![]() ![]() ![]() |
0..1 | Extension | Used to explain the client exit reason not being 'Recovery goal achieved'. | |
![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "supporting-details" | |
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | string | Value of extension Constraints: supporting-details-max250-length-invariant |
![]() ![]() ![]() ![]() |
0..1 | Extension | A summary of the client's recovery outcome. | |
![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "outcome-summary" | |
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | string | Value of extension Constraints: outcome-summary-max-length5000-invariant |
![]() ![]() ![]() |
1..1 | uri | "http://hl7.org.nz/fhir/StructureDefinition/acc-icp-exit-reason" | |
![]() ![]() ![]() |
0..0 | |||
![]() |
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
---|---|---|---|---|
![]() ![]() |
C | 0..* | Extension | Exit Reason Constraints: recovery-goal-not-achieved-or-acc-support-invariant, not-recovery-goal-achieved-and-acc-support-invariant, other-reason-invariant, not-other-reason-invariant |
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() |
2..5 | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
1..1 | Extension | Extension | |
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "reason" | |
![]() ![]() ![]() ![]() ![]() |
1..1 | code | Value of extension Binding: Exit Reason (preferred) | |
![]() ![]() ![]() ![]() |
0..1 | Extension | Descriptor for 'other' exit reason. Mandatory when the exit reason is 'other'. | |
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "other-reason" | |
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | string | Value of extension Constraints: other-reason-max250-length-invariant |
![]() ![]() ![]() ![]() |
1..1 | Extension | Extension | |
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "additional-acc-support-needed" | |
![]() ![]() ![]() ![]() ![]() |
1..1 | boolean | Value of extension | |
![]() ![]() ![]() ![]() |
0..1 | Extension | Used to explain the client exit reason not being 'Recovery goal achieved'. | |
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "supporting-details" | |
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | string | Value of extension Constraints: supporting-details-max250-length-invariant |
![]() ![]() ![]() ![]() |
0..1 | Extension | A summary of the client's recovery outcome. | |
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "outcome-summary" | |
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | string | Value of extension Constraints: outcome-summary-max-length5000-invariant |
![]() ![]() ![]() |
1..1 | uri | "http://hl7.org.nz/fhir/StructureDefinition/acc-icp-exit-reason" | |
![]() |
This structure is derived from Extension
Summary
Complex Extension: Integrated Care Pathways Exit Reason
Differential View
This structure is derived from Extension
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
---|---|---|---|---|
![]() ![]() |
C | 0..* | Extension | Exit Reason Constraints: recovery-goal-not-achieved-or-acc-support-invariant, not-recovery-goal-achieved-and-acc-support-invariant, other-reason-invariant, not-other-reason-invariant |
![]() ![]() ![]() |
2..5 | Extension | Extension | |
![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() |
1..1 | Extension | Extension | |
![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "reason" | |
![]() ![]() ![]() ![]() ![]() |
1..1 | code | Value of extension Binding: Exit Reason (preferred) | |
![]() ![]() ![]() ![]() |
0..1 | Extension | Descriptor for 'other' exit reason. Mandatory when the exit reason is 'other'. | |
![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "other-reason" | |
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | string | Value of extension Constraints: other-reason-max250-length-invariant |
![]() ![]() ![]() ![]() |
1..1 | Extension | Extension | |
![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "additional-acc-support-needed" | |
![]() ![]() ![]() ![]() ![]() |
1..1 | boolean | Value of extension | |
![]() ![]() ![]() ![]() |
0..1 | Extension | Used to explain the client exit reason not being 'Recovery goal achieved'. | |
![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "supporting-details" | |
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | string | Value of extension Constraints: supporting-details-max250-length-invariant |
![]() ![]() ![]() ![]() |
0..1 | Extension | A summary of the client's recovery outcome. | |
![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "outcome-summary" | |
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | string | Value of extension Constraints: outcome-summary-max-length5000-invariant |
![]() ![]() ![]() |
1..1 | uri | "http://hl7.org.nz/fhir/StructureDefinition/acc-icp-exit-reason" | |
![]() ![]() ![]() |
0..0 | |||
![]() |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
---|---|---|---|---|
![]() ![]() |
C | 0..* | Extension | Exit Reason Constraints: recovery-goal-not-achieved-or-acc-support-invariant, not-recovery-goal-achieved-and-acc-support-invariant, other-reason-invariant, not-other-reason-invariant |
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() |
2..5 | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
1..1 | Extension | Extension | |
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "reason" | |
![]() ![]() ![]() ![]() ![]() |
1..1 | code | Value of extension Binding: Exit Reason (preferred) | |
![]() ![]() ![]() ![]() |
0..1 | Extension | Descriptor for 'other' exit reason. Mandatory when the exit reason is 'other'. | |
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "other-reason" | |
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | string | Value of extension Constraints: other-reason-max250-length-invariant |
![]() ![]() ![]() ![]() |
1..1 | Extension | Extension | |
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "additional-acc-support-needed" | |
![]() ![]() ![]() ![]() ![]() |
1..1 | boolean | Value of extension | |
![]() ![]() ![]() ![]() |
0..1 | Extension | Used to explain the client exit reason not being 'Recovery goal achieved'. | |
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "supporting-details" | |
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | string | Value of extension Constraints: supporting-details-max250-length-invariant |
![]() ![]() ![]() ![]() |
0..1 | Extension | A summary of the client's recovery outcome. | |
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "outcome-summary" | |
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | string | Value of extension Constraints: outcome-summary-max-length5000-invariant |
![]() ![]() ![]() |
1..1 | uri | "http://hl7.org.nz/fhir/StructureDefinition/acc-icp-exit-reason" | |
![]() |
Other representations of profile: CSV, Excel, Schematron
Path | Conformance | ValueSet | URI |
Extension.extension:reason.value[x] | preferred | ICPExitReasonhttp://hl7.org.nz/fhir/ValueSet/acc-icp-exit-reason From this IG |
Id | Grade | Path(s) | Details | Requirements |
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() | |
not-other-reason-invariant | error | Extension | if reason code is not 'other', other-reason must not be populated. : (extension.where(url='reason').value != 'other' implies extension.where(url='other-reason').value.empty()) | |
not-recovery-goal-achieved-and-acc-support-invariant | error | Extension | if 'additional-acc-support-needed' is false and reason is 'goal-achieved', supporting-details and outcome-summary must not be populated. : ((extension.where(url='additional-acc-support-needed').value = false and extension.where(url='reason').value = 'goal-achieved') implies (extension.where(url='supporting-details').value.empty() and extension.where(url='outcome-summary').value.empty())) | |
other-reason-invariant | error | Extension | if reason code is 'other', other-reason is required. : (extension.where(url='reason').value = 'other' implies extension.where(url='other-reason').value.exists()) | |
other-reason-max250-length-invariant | error | Extension.extension:other-reason.value[x] | 'other-reason' must be no more than 250 characters. : value.length() <= 250 | |
outcome-summary-max-length5000-invariant | error | Extension.extension:outcome-summary.value[x] | 'supporting-details' must be no more than 5000 characters. : value.length() <= 5000 | |
recovery-goal-not-achieved-or-acc-support-invariant | error | Extension | if 'additional-acc-support-needed' is true or reason is not 'goal-achieved', supporting-details and outcome-summary are required. : ((extension.where(url='additional-acc-support-needed').value = true or extension.where(url='reason').value != 'goal-achieved') implies (extension.where(url='supporting-details').value.exists() and extension.where(url='outcome-summary').value.exists())) | |
supporting-details-max250-length-invariant | error | Extension.extension:supporting-details.value[x] | 'supporting-details' must be no more than 250 characters. : value.length() <= 250 |