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: AUPAIDIdentifier - Detailed Descriptions

Page standards status: Trial-use Maturity Level: 0

Definitions for the au-paididentifier data type profile.

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

0. Identifier
Definition

My Health Record Assigned Identity - Device (PAI-D) identifier assigned to an organisation.

ShortMy Health Record Assigned Identity - Device (PAI-D) Identifier
Invariantsinv-paid-0: PAI-D shall be 16 digits (value.matches('^([0-9]{16})$'))
inv-paid-1: PAI-D prefix shall be 800364 (value.startsWith('800364'))
inv-paid-2: PAI-D shall pass the Luhn algorithm ((((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
ShortCoded identifier type for PAI-D
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;NDI&quot;/&gt;<br/>&nbsp;&nbsp;&lt;/coding&gt;<br/>&lt;/valueCodeableConcept&gt;<br/>
4. Identifier.system
Control1..?
Fixed Valuehttp://ns.electronichealth.net.au/id/pcehr/paid/1.0
6. Identifier.value
ShortPAI-D
Comments

PAI-D values may be test values or production (real) values. A production PAI-D is in the format 8003640003xxxxxz, a test PAI-D is in the format 8003640013xxxxxz.

Control1..?
This element is affected by the following invariants: inv-paid-0, inv-paid-1, inv-paid-2
Max Length16
Example<br/><b>PAI-D</b>:8003640013000057