description: Australian realm Patient profile package_name: rs/hl7.fhir.au.base derivation: constraint name: AUBasePatient type: Patient elements: extension: index: 0 slicing: rules: open discriminator: - {path: url, type: value} min: null slices: birthPlace: match: {url: null} schema: {type: Extension, short: Patient Birth Place, url: h, index: 1} min: 0 max: 1 indigenousStatus: match: {url: null} schema: {type: Extension, short: Patient Indigenous Status, url: h, index: 2} min: 0 max: 1 closingTheGapRegistration: match: {url: null} schema: {type: Extension, short: Patient Closing the Gap Registration, url: h, index: 3} min: 0 max: 1 mothersMaidenName: match: {url: null} schema: {type: Extension, short: Patient Mother's Maiden Name, url: h, index: 4} min: 0 max: 1 identifier: index: 5 slicing: rules: open discriminator: - {path: system, type: value} - {path: type, type: value} min: null slices: ihiNumber: match: {system: 'http://ns.electronichealth.net.au/id/hi/ihi/1.0', type: null} schema: short: National Individual Healthcare Identifier (IHI) index: 6 extensions: ihiStatus: {url: h, min: 0, max: 1, type: Extension, short: Individual Healthcare Identifier (IHI) Number Status, index: 8} ihiRecordStatus: {url: h, min: 0, max: 1, type: Extension, short: Individual Healthcare Identifier (IHI) Number Record Status, index: 9} elements: extension: index: 7 slicing: rules: open discriminator: - {path: url, type: value} min: null slices: ihiStatus: match: {url: null} schema: {type: Extension, short: Individual Healthcare Identifier (IHI) Number Status, url: h, index: 8} min: 0 max: 1 ihiRecordStatus: match: {url: null} schema: {type: Extension, short: Individual Healthcare Identifier (IHI) Number Record Status, url: h, index: 9} min: 0 max: 1 type: short: Coded identifier type for IHI index: 10 elements: coding: index: 11 elements: system: pattern: {type: uri, value: 'http://hl7.org/fhir/v2/0203'} type: uri index: 12 code: pattern: {type: code, value: NI} type: code index: 13 required: [code, system] text: pattern: {type: string, value: IHI} type: string index: 14 system: short: Namespace for IHI pattern: {type: uri, value: 'http://ns.electronichealth.net.au/id/hi/ihi/1.0'} type: uri index: 15 value: short: IHI number maxLength: 16 constraint: inv-ihi-0: {human: IHI shall be an exactly 16 digit number, severity: error, expression: 'matches(''^([0-9]{16})$'')'} inv-ihi-1: {human: IHI prefix is 800360, severity: error, expression: startsWith('800360')} inv-ihi-2: {human: IHI shall pass the Luhn algorithm check, severity: error, expression: '(((select(substring(0,1).toInteger()).select(iif($this<5, $this*2, (($this*2)-9))))+(substring(1,1).toInteger())+(select(substring(2,1).toInteger()).select(iif($this<5, $this*2, (($this*2)-9))))+(substring(3,1).toInteger())+(select(substring(4,1).toInteger()).select(iif($this<5, $this*2, (($this*2)-9))))+(substring(5,1).toInteger())+(select(substring(6,1).toInteger()).select(iif($this<5, $this*2, (($this*2)-9))))+(substring(7,1).toInteger())+(select(substring(8,1).toInteger()).select(iif($this<5, $this*2, (($this*2)-9))))+(substring(9,1).toInteger())+(select(substring(10,1).toInteger()).select(iif($this<5, $this*2, (($this*2)-9))))+(substring(11,1).toInteger())+(select(substring(12,1).toInteger()).select(iif($this<5, $this*2, (($this*2)-9))))+(substring(13,1).toInteger())+(select(substring(14,1).toInteger()).select(iif($this<5, $this*2, (($this*2)-9))))+(substring(15,1).toInteger()))mod 10=0)'} index: 16 required: [system, value] medicareNumber: match: {system: 'http://ns.electronichealth.net.au/id/medicare-number', type: null} schema: short: Medicare Number index: 17 elements: type: short: Coded identifier type for Medicare number index: 18 elements: coding: index: 19 elements: system: pattern: {type: uri, value: 'http://hl7.org/fhir/v2/0203'} type: uri index: 20 code: pattern: {type: code, value: MC} type: code index: 21 required: [code, system] text: pattern: {type: string, value: Medicare Number} type: string index: 22 system: short: Namespace for Medicare number pattern: {type: uri, value: 'http://ns.electronichealth.net.au/id/medicare-number'} type: uri index: 23 value: {short: Medicare number including optional individual reference number, maxLength: 11, index: 24} period: short: Medicare number validity period index: 25 elements: end: {short: Medicare number expiry date, index: 26} required: [end] required: [period, system, value] dvaNumber: match: {system: 'http://ns.electronichealth.net.au/id/dva', type: null} schema: short: Department of Veterans' Affairs (DVA) Number constraint: inv-dva-number-unspecified: {human: DVA number identifier type text must be 'DVA Number' when colour is not specified, severity: error, expression: type.coding.empty() implies type.text = 'DVA Number'} inv-dva-number-gold: {human: DVA number identifier type text must be 'DVA Number (Gold)' when colour coding is DVG., severity: error, expression: type.coding.code='DVG' implies type.text = 'DVA Number (Gold)'} inv-dva-number-white: {human: DVA number identifier type text must be 'DVA Number (White)' when colour coding is DVW., severity: error, expression: type.coding.code='DVW' implies type.text = 'DVA Number (White)'} inv-dva-number-orange: {human: DVA number identifier type text must be 'DVA Number (Orange)' when colour coding is DVO., severity: error, expression: type.coding.code='DVO' implies type.text = 'DVA Number (Orange)'} inv-dva-number-lilac: {human: DVA number identifier type text must be 'DVA Number (Lilac)' when colour coding is DVL., severity: error, expression: type.coding.code='DVL' implies type.text = 'DVA Number (Lilac)'} inv-dva-number-text: {human: 'DVA number identifier type text must be one of ''DVA Number'', ''DVA Number (Gold)'', ''DVA Number (White), ''DVA Number (Orange), ''DVA Number (Lilac)''', severity: error, expression: type.text = 'DVA Number' or type.text = 'DVA Number (Gold)' or type.text = 'DVA Number (White)' or type.text = 'DVA Number (Orange)' or type.text = 'DVA Number (Lilac)'} index: 27 elements: type: short: Coded identifier type for DVA number index: 28 elements: coding: constraint: inv-dva-number-coding: {human: 'DVA colour coding must be DVL, DVW, DVO or DVG', severity: error, expression: code='DVL' or code='DVW' or code='DVO' or code='DVG'} index: 29 text: {index: 30} system: short: Namespace for DVA number pattern: {type: uri, value: 'http://ns.electronichealth.net.au/id/dva'} type: uri index: 31 value: {short: DVA number, maxLength: 9, index: 32} required: [system, value] healthcareCard: match: {system: 'http://ns.electronichealth.net.au/id/centrelink-customer-reference-number', type: null} schema: short: Health Care Card Number index: 33 elements: type: short: Coded identifier type for Health Care Card number index: 34 elements: coding: index: 35 elements: system: pattern: {type: uri, value: 'http://hl7.org/fhir/v2/0203'} type: uri index: 36 code: pattern: {type: code, value: HC} type: code index: 37 required: [code, system] text: pattern: {type: string, value: Health Care Card Number} type: string index: 38 system: short: Namespace for Centrelink Customer Reference Number (CRN) pattern: {type: uri, value: 'http://ns.electronichealth.net.au/id/centrelink-customer-reference-number'} type: uri index: 39 value: {short: Centrelink CRN, maxLength: 10, index: 40} required: [system, value] pensionerConcessionCard: match: {system: 'http://ns.electronichealth.net.au/id/centrelink-customer-reference-number', type: null} schema: short: Pensioner Concession Card Number index: 41 elements: type: short: Coded identifier type for Pensioner Concession Card number index: 42 elements: coding: index: 43 elements: system: pattern: {type: uri, value: 'http://hl7.org/fhir/v2/0203'} type: uri index: 44 code: pattern: {type: code, value: PEN} type: code index: 45 required: [code, system] text: pattern: {type: string, value: Pensioner Concession Card Number} type: string index: 46 system: short: Namespace for Centrelink Customer Reference Number (CRN) pattern: {type: uri, value: 'http://ns.electronichealth.net.au/id/centrelink-customer-reference-number'} type: uri index: 47 value: {short: Centrelink CRN, maxLength: 10, index: 48} required: [system, value] commonwealthSeniorsHealthCard: match: {system: 'http://ns.electronichealth.net.au/id/centrelink-customer-reference-number', type: null} schema: short: Commonwealth Seniors Health Card Number index: 49 elements: type: short: Coded identifier type for Commonwealth Seniors Health Card number index: 50 elements: coding: index: 51 elements: system: pattern: {type: uri, value: 'http://hl7.org.au/fhir/v2/0203'} type: uri index: 52 code: pattern: {type: code, value: SEN} type: code index: 53 required: [code, system] text: pattern: {type: string, value: Commonwealth Seniors Health Card} type: string index: 54 system: short: Namespace for Centrelink Customer Reference Number (CRN) pattern: {type: uri, value: 'http://ns.electronichealth.net.au/id/centrelink-customer-reference-number'} type: uri index: 55 value: {short: Centrelink CRN, maxLength: 10, index: 56} required: [system, value] medicalRecordNumber: match: {system: null, type: null} schema: short: Medical Record Number (MRN) index: 57 elements: type: short: Coded identifier type for MRN index: 58 elements: coding: index: 59 elements: system: pattern: {type: uri, value: 'http://hl7.org/fhir/v2/0203'} type: uri index: 60 code: pattern: {type: code, value: MR} type: code index: 61 required: [code, system] text: pattern: {type: string, value: Medical Record Number} type: string index: 62 required: [coding] system: {short: Medical record number system namespace, index: 63} value: {short: Medical record number, index: 64} assigner: {short: Medical record number assigning entity, index: 65} required: [assigner, system, type, value] insurerNumber: match: {system: null, type: null} schema: short: Private Health Insurance Member Number index: 66 elements: type: short: Coded identifier type for private health insurance member number index: 67 elements: coding: index: 68 elements: system: pattern: {type: uri, value: 'http://hl7.org/fhir/v2/0203'} type: uri index: 69 code: pattern: {type: code, value: MB} type: code index: 70 required: [code, system] text: pattern: {type: string, value: Private Health Insurance Member Number} type: string index: 71 required: [coding] value: {short: Private health insurance member number, index: 72} assigner: short: Private health insurer index: 73 elements: display: {index: 74} required: [display] required: [assigner, type, value] birthDate: short: Date of birth extended for time and accuracy indicator index: 75 extensions: accuracyIndicator: {url: h, min: 0, max: 1, type: Extension, short: Birth Date Accuracy Indicator, index: 77} birthTime: {url: h, min: 0, max: 1, type: Extension, short: Birth Time, index: 78} elements: extension: index: 76 slicing: rules: open discriminator: - {path: url, type: value} min: null slices: accuracyIndicator: match: {url: null} schema: {type: Extension, short: Birth Date Accuracy Indicator, url: h, index: 77} min: 0 max: 1 birthTime: match: {url: null} schema: {type: Extension, short: Birth Time, url: h, index: 78} min: 0 max: 1 deceased: short: Deceased Date Time choices: [deceasedDateTime] index: 85 slicing: slices: deceasedDateTime: match: {} schema: short: Deceased Date Time choices: [deceasedDateTime] index: 85 deceasedBoolean: type: boolean short: Deceased Indicator choiceOf: deceased index: 83 slicing: slices: deceasedBoolean: match: {} schema: {type: boolean, short: Deceased Indicator, choiceOf: deceased, index: 83} deceasedDateTime: type: dateTime short: Deceased Date Time choiceOf: deceased index: 86 slicing: slices: deceasedDateTime: match: {} schema: {type: dateTime, short: Deceased Date Time, choiceOf: deceased, index: 86} deceased[x]: extensions: accuracyIndicator: {url: h, min: 0, max: 1, type: Extension, short: Deceased Date Accuracy Indicator, index: 88} elements: extension: index: 87 slicing: rules: open discriminator: - {path: url, type: value} min: null slices: accuracyIndicator: match: {url: null} schema: {type: Extension, short: Deceased Date Accuracy Indicator, url: h, index: 88} min: 0 max: 1 communication: index: 89 elements: language: {index: 90} package_version: 1.0.0 extensions: birthPlace: {url: h, min: 0, max: 1, type: Extension, short: Patient Birth Place, index: 1} indigenousStatus: {url: h, min: 0, max: 1, type: Extension, short: Patient Indigenous Status, index: 2} closingTheGapRegistration: {url: h, min: 0, max: 1, type: Extension, short: Patient Closing the Gap Registration, index: 3} mothersMaidenName: {url: h, min: 0, max: 1, type: Extension, short: Patient Mother's Maiden Name, index: 4} class: profile kind: resource url: http://hl7.org.au/fhir/StructureDefinition/au-patient base: http://hl7.org/fhir/StructureDefinition/Patient version: 1.0.0