New Zealand ICP Implementation Guide
1.0.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.0.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

Extension: ICP Referral Declined

Official URL: http://hl7.org.nz/fhir/StructureDefinition/acc-icp-referral-declined Version: 1.0.0
Active as of 2022-11-20 Computable Name: Icp_ReferralDeclined

Copyright/Legal: ACC New Zealand© 2023+; Licensed Under Creative Commons No Rights Reserved.

Integrated Care Pathways Referral Declined

Context of Use

This extension may be used on the following element(s):

  • Element ID Encounter

Usage info

Usage:

Formal Views of Extension Content

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 Referral Declined

  • date-declined: date: Date referral declined.
  • reason: code: An Extension
  • other-reason: string: An Extension
  • recommended-next-steps: string: An Extension

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension C 0..* Extension ICP Referral Declined
other-reason-invariant: if reason code is 'other', other-reason is required.
not-other-reason-invariant: if reason code is not 'other', other-reason must not be populated.
... extension 3..4 Extension Extension
... Slices for extension Content/Rules for all slices
.... extension:date-declined 1..1 Extension Date referral declined.
..... extension 0..0
..... url 1..1 uri "date-declined"
..... value[x] C 1..1 date Value of extension
date-invariant: All timestamps SHOULD be represented as Dates (YYYY-MM-DD only).
date-not-in-future-invariant: The date value cannot be in the future
.... extension:reason 1..1 Extension Extension
..... extension 0..0
..... url 1..1 uri "reason"
..... value[x] 1..1 code Value of extension
Binding: Referral Decline Reason (preferred)
.... extension:other-reason 0..1 Extension Descriptor for 'other' exit reason. Mandatory when the exit reason is 'other'.
..... extension 0..0
..... url 1..1 uri "other-reason"
..... value[x] C 0..1 string Value of extension
other-reason-max110-length-invariant: 'other-reason' must be no more than 110 characters.
.... extension:recommended-next-steps 1..1 Extension Extension
..... extension 0..0
..... url 1..1 uri "recommended-next-steps"
..... value[x] C 1..1 string Value of extension
recommended-next-steps-999-length-invariant: 'recommended-next-steps' must be less than 1000 characters.
... url 1..1 uri "http://hl7.org.nz/fhir/StructureDefinition/acc-icp-referral-declined"

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension C 0..* Extension ICP Referral Declined
other-reason-invariant: if reason code is 'other', other-reason is required.
not-other-reason-invariant: if reason code is not 'other', other-reason must not be populated.
... id 0..1 string Unique id for inter-element referencing
... Slices for extension 3..4 Extension Extension
Slice: Unordered, Open by value:url
.... extension:date-declined 1..1 Extension Date referral declined.
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0
..... url 1..1 uri "date-declined"
..... value[x] C 1..1 date Value of extension
date-invariant: All timestamps SHOULD be represented as Dates (YYYY-MM-DD only).
date-not-in-future-invariant: The date value cannot be in the future
.... extension:reason 1..1 Extension Extension
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0
..... url 1..1 uri "reason"
..... value[x] 1..1 code Value of extension
Binding: Referral Decline Reason (preferred)
.... extension:other-reason 0..1 Extension Descriptor for 'other' exit reason. Mandatory when the exit reason is 'other'.
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0
..... url 1..1 uri "other-reason"
..... value[x] C 0..1 string Value of extension
other-reason-max110-length-invariant: 'other-reason' must be no more than 110 characters.
.... extension:recommended-next-steps 1..1 Extension Extension
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0
..... url 1..1 uri "recommended-next-steps"
..... value[x] C 1..1 string Value of extension
recommended-next-steps-999-length-invariant: 'recommended-next-steps' must be less than 1000 characters.
... url 1..1 uri "http://hl7.org.nz/fhir/StructureDefinition/acc-icp-referral-declined"

doco Documentation for this format

This structure is derived from Extension

Summary

Complex Extension: Integrated Care Pathways Referral Declined

  • date-declined: date: Date referral declined.
  • reason: code: An Extension
  • other-reason: string: An Extension
  • recommended-next-steps: string: An Extension

Differential View

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension C 0..* Extension ICP Referral Declined
other-reason-invariant: if reason code is 'other', other-reason is required.
not-other-reason-invariant: if reason code is not 'other', other-reason must not be populated.
... extension 3..4 Extension Extension
... Slices for extension Content/Rules for all slices
.... extension:date-declined 1..1 Extension Date referral declined.
..... extension 0..0
..... url 1..1 uri "date-declined"
..... value[x] C 1..1 date Value of extension
date-invariant: All timestamps SHOULD be represented as Dates (YYYY-MM-DD only).
date-not-in-future-invariant: The date value cannot be in the future
.... extension:reason 1..1 Extension Extension
..... extension 0..0
..... url 1..1 uri "reason"
..... value[x] 1..1 code Value of extension
Binding: Referral Decline Reason (preferred)
.... extension:other-reason 0..1 Extension Descriptor for 'other' exit reason. Mandatory when the exit reason is 'other'.
..... extension 0..0
..... url 1..1 uri "other-reason"
..... value[x] C 0..1 string Value of extension
other-reason-max110-length-invariant: 'other-reason' must be no more than 110 characters.
.... extension:recommended-next-steps 1..1 Extension Extension
..... extension 0..0
..... url 1..1 uri "recommended-next-steps"
..... value[x] C 1..1 string Value of extension
recommended-next-steps-999-length-invariant: 'recommended-next-steps' must be less than 1000 characters.
... url 1..1 uri "http://hl7.org.nz/fhir/StructureDefinition/acc-icp-referral-declined"

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension C 0..* Extension ICP Referral Declined
other-reason-invariant: if reason code is 'other', other-reason is required.
not-other-reason-invariant: if reason code is not 'other', other-reason must not be populated.
... id 0..1 string Unique id for inter-element referencing
... Slices for extension 3..4 Extension Extension
Slice: Unordered, Open by value:url
.... extension:date-declined 1..1 Extension Date referral declined.
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0
..... url 1..1 uri "date-declined"
..... value[x] C 1..1 date Value of extension
date-invariant: All timestamps SHOULD be represented as Dates (YYYY-MM-DD only).
date-not-in-future-invariant: The date value cannot be in the future
.... extension:reason 1..1 Extension Extension
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0
..... url 1..1 uri "reason"
..... value[x] 1..1 code Value of extension
Binding: Referral Decline Reason (preferred)
.... extension:other-reason 0..1 Extension Descriptor for 'other' exit reason. Mandatory when the exit reason is 'other'.
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0
..... url 1..1 uri "other-reason"
..... value[x] C 0..1 string Value of extension
other-reason-max110-length-invariant: 'other-reason' must be no more than 110 characters.
.... extension:recommended-next-steps 1..1 Extension Extension
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0
..... url 1..1 uri "recommended-next-steps"
..... value[x] C 1..1 string Value of extension
recommended-next-steps-999-length-invariant: 'recommended-next-steps' must be less than 1000 characters.
... url 1..1 uri "http://hl7.org.nz/fhir/StructureDefinition/acc-icp-referral-declined"

doco Documentation for this format

 

Other representations of profile: CSV, Excel, Schematron

Terminology Bindings

PathConformanceValueSetURI
Extension.extension:reason.value[x]preferredICPDeclinedReason
http://hl7.org.nz/fhir/ValueSet/acc-icp-declined-reason
from this IG

Constraints

IdGradePath(s)DetailsRequirements
date-invarianterrorExtension.extension:date-declined.value[x]All timestamps SHOULD be represented as Dates (YYYY-MM-DD only).
: $this.toString().matches('^[0-9]{4}-[0-9]{2}-[0-9]{2}$')
date-not-in-future-invarianterrorExtension.extension:date-declined.value[x]The date value cannot be in the future
: $this <= today()
not-other-reason-invarianterrorExtensionif 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())
other-reason-invarianterrorExtensionif reason code is 'other', other-reason is required.
: (extension.where(url='reason').value = 'other' implies extension.where(url='other-reason').value.exists())
other-reason-max110-length-invarianterrorExtension.extension:other-reason.value[x]'other-reason' must be no more than 110 characters.
: value.length() <= 110
recommended-next-steps-999-length-invarianterrorExtension.extension:recommended-next-steps.value[x]'recommended-next-steps' must be less than 1000 characters.
: value.length() <= 999