AU Base Implementation Guide
4.1.2-preview - Preview Australia flag

This page is part of the Australian Base IG (v4.1.2-preview: AU Base) based on FHIR R4. For a full list of available versions, see the Directory of published versions

Data Type Profile: AUCSPRegistrationNumber - Detailed Descriptions

Page standards status: Trial-use Maturity Level: 1

Definitions for the au-cspregistrationnumber data type profile.

Guidance on how to interpret the contents of this table can be found here

0. Identifier
Definition

Contracted Service Provider (CSP) registration number assigned to an organisation.

ShortContracted Service Provider (CSP) Registration Number
Invariantsinv-csp-0: CSP registration number shall be 16 digits (value.matches('^([0-9]{16})$'))
inv-csp-1: CSP registration number prefix shall be 800363 (value.startsWith('800363'))
inv-csp-2: CSP registration number shall pass the Luhn algorithm check ((((select(value.substring(0,1).toInteger()).select(iif($this<5, $this*2, (($this*2)-9))))+(value.substring(1,1).toInteger())+(select(value.substring(2,1).toInteger()).select(iif($this<5, $this*2, (($this*2)-9))))+(value.substring(3,1).toInteger())+(select(value.substring(4,1).toInteger()).select(iif($this<5, $this*2, (($this*2)-9))))+(value.substring(5,1).toInteger())+(select(value.substring(6,1).toInteger()).select(iif($this<5, $this*2, (($this*2)-9))))+(value.substring(7,1).toInteger())+(select(value.substring(8,1).toInteger()).select(iif($this<5, $this*2, (($this*2)-9))))+(value.substring(9,1).toInteger())+(select(value.substring(10,1).toInteger()).select(iif($this<5, $this*2, (($this*2)-9))))+(value.substring(11,1).toInteger())+(select(value.substring(12,1).toInteger()).select(iif($this<5, $this*2, (($this*2)-9))))+(value.substring(13,1).toInteger())+(select(value.substring(14,1).toInteger()).select(iif($this<5, $this*2, (($this*2)-9))))+(value.substring(15,1).toInteger()))mod 10=0))
2. Identifier.type
Control1..?
Pattern Value&lt;valueCodeableConcept&nbsp;xmlns=&quot;http://hl7.org/fhir&quot;&gt;<br/>&nbsp;&nbsp;&lt;coding&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;system&nbsp;value=&quot;http://terminology.hl7.org.au/CodeSystem/v2-0203&quot;/&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;code&nbsp;value=&quot;CSPRN&quot;/&gt;<br/>&nbsp;&nbsp;&lt;/coding&gt;<br/>&lt;/valueCodeableConcept&gt;<br/>
4. Identifier.system
Control1..?
Fixed Valuehttp://ns.electronichealth.net.au/id/hi/csp/1.0
6. Identifier.value
ShortCSP registration number
Control1..?
Max Length16
Example<br/><b>CSP registration number</b>:8003639900027009