AU Base Implementation Guide
5.1.0-preview - Preview

Publication Build: This will be filled in by the publication tooling

## Extension: Contact Purpose

Official URL: http://hl7.org.au/fhir/StructureDefinition/contact-purpose | Version: 5.1.0-preview
Standards status: Trial-use | Maturity Level: 1 | Computable Name: ContactPurpose
Copyright/Legal: HL7 Australia© 2018+; Licensed Under Creative Commons No Rights Reserved.

This extension applies to the ContactPoint data type and is used to represent the purpose for which a contact can be reached, e.g. after hours or billing.

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

- Element ID ContactPoint

### Usage Notes

Usage:

- Examples for this Extension: Cardiothoracic Services, General Practitioner services and PractitionerRole/example0

Changes since version 5.0.0:

- No changes

### Formal Views of Extension Content

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

- Differential Table
- Snapshot Table
- All

This structure is derived from Extension

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
Extension |  | 0..1 | Extension | Contact purpose
url |  | 1..1 | uri | "http://hl7.org.au/fhir/StructureDefinition/contact-purpose"
value[x] |  | 1..1 | CodeableConcept | Contact purpose Binding: Contact Purpose (extensible)
Documentation for this format

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
Extension |  | 0..1 | Extension | Contact purpose
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
url |  | 1..1 | uri | "http://hl7.org.au/fhir/StructureDefinition/contact-purpose"
value[x] |  | 1..1 | CodeableConcept | Contact purpose Binding: Contact Purpose (extensible)
Documentation for this format

This structure is derived from Extension

Summary

Simple Extension of type CodeableConcept: This extension applies to the ContactPoint data type and is used to represent the purpose for which a contact can be reached, e.g. after hours or billing.

Maturity: 1

Differential View

This structure is derived from Extension

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
Extension |  | 0..1 | Extension | Contact purpose
url |  | 1..1 | uri | "http://hl7.org.au/fhir/StructureDefinition/contact-purpose"
value[x] |  | 1..1 | CodeableConcept | Contact purpose Binding: Contact Purpose (extensible)
Documentation for this format

Snapshot View

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
Extension |  | 0..1 | Extension | Contact purpose
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
url |  | 1..1 | uri | "http://hl7.org.au/fhir/StructureDefinition/contact-purpose"
value[x] |  | 1..1 | CodeableConcept | Contact purpose Binding: Contact Purpose (extensible)
Documentation for this format

Other representations of profile: CSV, Excel, Schematron

#### Terminology Bindings

Path | Conformance | ValueSet | URI
Extension.value[x] | extensible | ContactPurpose `http://terminology.hl7.org.au/ValueSet/contact-purpose` from this IG

#### Constraints

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() |