AU Base Implementation Guide
5.0.1-ci-build - CI Build Australia flag

AU Base Implementation Guide, published by HL7 Australia. This guide is not an authorized publication; it is the continuous build for version 5.0.1-ci-build built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/hl7au/au-fhir-base/ and changes regularly. See the Directory of published versions

Data Type Profile: AUHPII - Detailed Descriptions

Page standards status: Trial-use Maturity Level: 2

Definitions for the au-hpii data type profile.

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

0. Identifier
Definition

Healthcare Provider Identifier for Individuals (HPI-I) assigned under the HI Service to healthcare providers involved in providing patient care.

ShortHealthcare Provider Identifier – Individual (HPI-I)
Invariantsinv-hpii-0: HPI-I shall be 16 digits (value.matches('^([0-9]{16})$'))
inv-hpii-1: HPI-I prefix shall be 800361 (value.startsWith('800361'))
inv-hpii-2: HPI-I 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{
  "coding" : [{
    "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
    "code" : "NPI"
  }]
}
4. Identifier.system
Control1..?
Fixed Valuehttp://ns.electronichealth.net.au/id/hi/hpii/1.0
6. Identifier.value
ShortHPI-I
Control1..?
This element is affected by the following invariants: inv-hpii-0, inv-hpii-1, inv-hpii-2
Max Length:16
Example<br/><b>HPI-I</b>:8003619900015717