New Zealand ICP Implementation Guide
1.0.0 - release

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: Referral Source

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

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

The source of the ICP referral, e.g. ACC referral, GP referral, rongoa referral, etc.

Context of Use

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

  • Element ID EpisodeOfCare
  • 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: The source of the ICP referral, e.g. ACC referral, GP referral, rongoa referral, etc.

  • referral-source-type: code: An Extension
  • received-date: date: An Extension

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..* Extension Referral Source
... extension 1..2 Extension Extension
... Slices for extension Content/Rules for all slices
.... extension:referral-source-type 1..1 Extension (gp | physio | specialist | allied | employer | rongoa | other | acc | patient)
..... extension 0..0
..... url 1..1 uri "referral-source-type"
..... value[x] 1..1 code Value of extension
Binding: Referral Source Type (required)
... Slices for extension Content/Rules for all slices
.... extension:received-date 0..1 Extension Extension
..... extension 0..0
..... url 1..1 uri "received-date"
..... value[x] C 0..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
... value[x] 0..0

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..* Extension Referral Source
... id 0..1 string Unique id for inter-element referencing
... Slices for extension 1..2 Extension Extension
Slice: Unordered, Open by value:url
.... extension:referral-source-type 1..1 Extension (gp | physio | specialist | allied | employer | rongoa | other | acc | patient)
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0
..... url 1..1 uri "referral-source-type"
..... value[x] 1..1 code Value of extension
Binding: Referral Source Type (required)
.... extension:received-date 0..1 Extension Extension
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0
..... url 1..1 uri "received-date"
..... value[x] C 0..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
... url 1..1 uri "http://hl7.org.nz/fhir/StructureDefinition/acc-icp-referral-source"

doco Documentation for this format

This structure is derived from Extension

Summary

Complex Extension: The source of the ICP referral, e.g. ACC referral, GP referral, rongoa referral, etc.

  • referral-source-type: code: An Extension
  • received-date: date: An Extension

Differential View

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..* Extension Referral Source
... extension 1..2 Extension Extension
... Slices for extension Content/Rules for all slices
.... extension:referral-source-type 1..1 Extension (gp | physio | specialist | allied | employer | rongoa | other | acc | patient)
..... extension 0..0
..... url 1..1 uri "referral-source-type"
..... value[x] 1..1 code Value of extension
Binding: Referral Source Type (required)
... Slices for extension Content/Rules for all slices
.... extension:received-date 0..1 Extension Extension
..... extension 0..0
..... url 1..1 uri "received-date"
..... value[x] C 0..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
... value[x] 0..0

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..* Extension Referral Source
... id 0..1 string Unique id for inter-element referencing
... Slices for extension 1..2 Extension Extension
Slice: Unordered, Open by value:url
.... extension:referral-source-type 1..1 Extension (gp | physio | specialist | allied | employer | rongoa | other | acc | patient)
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0
..... url 1..1 uri "referral-source-type"
..... value[x] 1..1 code Value of extension
Binding: Referral Source Type (required)
.... extension:received-date 0..1 Extension Extension
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0
..... url 1..1 uri "received-date"
..... value[x] C 0..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
... url 1..1 uri "http://hl7.org.nz/fhir/StructureDefinition/acc-icp-referral-source"

doco Documentation for this format

 

Other representations of profile: CSV, Excel, Schematron

Terminology Bindings

PathConformanceValueSetURI
Extension.extension:referral-source-type.value[x]requiredICPReferralSourceType (a valid code from Referral Source Type)
http://hl7.org.nz/fhir/ValueSet/acc-icp-referral-source-type
from this IG

Constraints

IdGradePath(s)DetailsRequirements
date-invarianterrorExtension.extension:received-date.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:received-date.value[x]The date value cannot be in the future
: $this <= today()