Helix AU Core
0.1.0 - ci-build

Helix AU Core - Local Development build (v0.1.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

Resource Profile: Helix AU Core Patient

Official URL: http://medicaldirector.com/fhir/helix-au-core/StructureDefinition/HelixAUCorePatient Version: 0.1.0
Draft as of 2025-12-09 Computable Name: HelixAUCorePatient

A patient in the context of MedicalDirector Helix.

Usages:

  • This Profile is not used by any profiles in this Implementation Guide

You can also check for usages in the FHIR IG Statistics

Formal Views of Profile Content

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

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Patient C 0..* AUCorePatient A patient in the context of electronic exchange of health information
Constraints: inv-pat-0, au-core-pat-01, au-core-pat-02
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... Slices for extension Content/Rules for all slices
.... extension:birthPlace S 0..1 Address Place of Birth for patient
URL: http://hl7.org/fhir/StructureDefinition/patient-birthPlace
.... extension:indigenousStatus S 0..1 Coding Indigenous status
URL: http://hl7.org.au/fhir/StructureDefinition/indigenous-status
Binding: https://healthterminologies.gov.au/fhir/ValueSet/australian-indigenous-status-1 (required)
.... extension:closingTheGapRegistration 0..1 boolean Closing the Gap co-payment eligibility indicator
URL: http://hl7.org.au/fhir/StructureDefinition/closing-the-gap-registration
.... extension:mothersMaidenName 0..1 string Mother's Maiden name
URL: http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName
.... extension:interpreterRequired S 0..1 boolean Whether the patient needs an interpreter
URL: http://hl7.org/fhir/StructureDefinition/patient-interpreterRequired
.... extension:dateOfArrival S 0..1 date Year of Arrival
URL: http://hl7.org.au/fhir/StructureDefinition/date-of-arrival
.... extension:genderIdentity 0..1 (Complex) The patient's gender identity shall be a member of the Gender Identity Response value set if any of the codes within that value set can apply
URL: http://hl7.org/fhir/StructureDefinition/patient-genderIdentity
..... extension 0..0 Extension
Slice: Unordered, Open by value:url
..... url 1..1 uri "http://hl7.org/fhir/StructureDefinition/patient-genderIdentity"
..... Slices for value[x] 1..1 CodeableConcept Value of extension
Slice: Unordered, Closed by type:$this
Binding: GenderIdentity (example)
...... value[x]:valueCodeableConcept 1..1 CodeableConcept Value of extension
Binding: https://healthterminologies.gov.au/fhir/ValueSet/gender-identity-response-1 (extensible)
.... extension:patient-status 0..1 Coding Helix Patient Status
URL: http://medicaldirector.com/fhir/helix-base/StructureDefinition/helix-patient-status
Binding: Helix Patient Status (required)
.... extension:sms-opt-in 0..1 boolean Helix AU Core Patient SMS Opt-in
URL: http://medicaldirector.com/fhir/helix-base/StructureDefinition/sms-opt-in
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
.... identifier:ihi SC 0..1 AUIHI Individual Healthcare Identifier (IHI)
Constraints: inv-ihi-value-0, inv-ihi-value-1, inv-ihi-value-2
.... identifier:medicare S 0..1 AUMedicareCardNumber Medicare Card Number
.... identifier:dva S 0..1 AUDVANumber Department of Veterans' Affairs (DVA) Number
.... identifier:authoring-key SC 1..1 HelixBaseAuthoringKey Identifies this patient across multiple systems
.... identifier:medical-record SC 0..1 HelixAUCoreMedicalRecordNumber Identifies this patient across multiple systems
... active ?!Σ 0..1 boolean Whether this patient's record is in active use
Fixed Value: true
... name SΣC 1..* HumanName A name associated with the patient
Constraints: au-core-pat-04
... telecom SΣ 0..* ContactPoint A contact detail for the individual
... gender SΣ 1..1 code male | female | other | unknown
Binding: AdministrativeGender (required): The gender of a person used for administrative purposes.
... birthDate SΣ 1..1 date Date of birth extended for time and accuracy indicator
.... Slices for extension Content/Rules for all slices
..... extension:accuracyIndicator S 0..1 Coding Date accuracy indicator
URL: http://hl7.org.au/fhir/StructureDefinition/date-accuracy-indicator
Binding: https://healthterminologies.gov.au/fhir/ValueSet/date-accuracy-indicator-1 (required): Date accuracy coding
..... extension:birthTime S 0..1 dateTime Time of day of birth
URL: http://hl7.org/fhir/StructureDefinition/patient-birthTime
... Slices for deceased[x] ?!Σ 0..1 Indicates if the individual is deceased or not
Slice: Unordered, Closed by type:$this
.... deceasedBoolean boolean
.... deceasedDateTime dateTime
.... deceased[x]:deceasedBoolean ?!Σ 0..1 boolean Deceased indicator
.... deceased[x]:deceasedDateTime ?!Σ 0..1 dateTime Deceased date time
..... Slices for extension Content/Rules for all slices
...... extension:accuracyIndicator 0..1 Coding Deceased date accuracy indicator
URL: http://hl7.org.au/fhir/StructureDefinition/date-accuracy-indicator
Binding: https://healthterminologies.gov.au/fhir/ValueSet/date-accuracy-indicator-1 (required): Date accuracy coding
... address SC 0..* AustralianAddress, Address An address for the individual
Constraints: inv-add-0, inv-add-1, inv-add-2
... communication S 0..* BackboneElement A language which may be used to communicate with the patient about his or her health
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... language S 1..1 CodeableConcept The language which can be used to communicate with the patient about his or her health
Binding: https://healthterminologies.gov.au/fhir/ValueSet/common-languages-australia-2 (extensible)
.... preferred S 0..1 boolean Language preference indicator
... link ?!Σ 0..* BackboneElement Link to a Patient or RelatedPerson resource that concerns the same actual person
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... other Σ 1..1 Reference(Patient | RelatedPerson) The other patient or related person resource that the link refers to
.... type Σ 1..1 code replaced-by | replaces | refer | seealso
Binding: LinkType (required): The type of link between this patient resource and another patient resource.

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Patient.extension:genderIdentity.​value[x] Base example Gender identity 📦4.0.1 FHIR Std.
Patient.extension:genderIdentity.​value[x]:valueCodeableConcept Base extensible https://healthterminologies.gov.au/fhir/ValueSet/gender-identity-response-1 Not State Unknown
Patient.gender Base required AdministrativeGender 📍4.0.1 FHIR Std.
Patient.communication.​language Base extensible https://healthterminologies.gov.au/fhir/ValueSet/common-languages-australia-2 Not State Unknown
Patient.link.type Base required LinkType 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
au-core-pat-01 error Patient At least one patient identifier shall be valid identifier.where(system.count() + value.count() >1).exists()
au-core-pat-02 error Patient At least one patient name shall have a family name name.family.exists()
au-core-pat-04 error Patient.name At least text, family name, or given name shall be present text.exists() or family.exists() or given.exists()
dom-2 error Patient If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Patient If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error Patient If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error Patient If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Patient A resource should have narrative for robust management text.`div`.exists()
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()
inv-add-0 error Patient.address The address shall at least have text or a line text.exists() or line.exists()
inv-add-1 error Patient.address If asserting no fixed address, the type shall be 'physical' extension('http://hl7.org.au/fhir/StructureDefinition/no-fixed-address').exists() implies type='physical'
inv-add-2 error Patient.address If asserting no fixed address, the address text shall begin with 'NO FIXED ADDRESS' extension('http://hl7.org.au/fhir/StructureDefinition/no-fixed-address').exists() implies text.startsWith('NO FIXED ADDRESS')
inv-ihi-value-0 error Patient.identifier:ihi IHI shall be an exactly 16 digit number value.matches('^([0-9]{16})$')
inv-ihi-value-1 error Patient.identifier:ihi IHI prefix is 800360 value.startsWith('800360')
inv-ihi-value-2 error Patient.identifier:ihi IHI 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)
inv-pat-0 error Patient If present, birth time's date shall be the birth date birthDate.extension('http://hl7.org/fhir/StructureDefinition/patient-birthTime').exists() implies birthDate.extension('http://hl7.org/fhir/StructureDefinition/patient-birthTime').value.toString().substring(0,10) = birthDate.toString()

This structure is derived from AUCorePatient

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Patient 0..* AUCorePatient A patient in the context of electronic exchange of health information
... Slices for extension Content/Rules for all slices
.... extension:patient-status 0..1 Coding Helix Patient Status
URL: http://medicaldirector.com/fhir/helix-base/StructureDefinition/helix-patient-status
Binding: Helix Patient Status (required)
.... extension:sms-opt-in 0..1 boolean Helix AU Core Patient SMS Opt-in
URL: http://medicaldirector.com/fhir/helix-base/StructureDefinition/sms-opt-in
... Slices for identifier Content/Rules for all slices
.... identifier:authoring-key S 1..1 HelixBaseAuthoringKey Identifies this patient across multiple systems
.... identifier:medical-record 0..1 HelixAUCoreMedicalRecordNumber Identifies this patient across multiple systems

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Patient C 0..* AUCorePatient A patient in the context of electronic exchange of health information
Constraints: inv-pat-0, au-core-pat-01, au-core-pat-02
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... text 0..1 Narrative Text summary of the resource, for human interpretation
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
... contained 0..* Resource Contained, inline Resources
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:birthPlace S 0..1 Address Place of Birth for patient
URL: http://hl7.org/fhir/StructureDefinition/patient-birthPlace
.... extension:indigenousStatus S 0..1 Coding Indigenous status
URL: http://hl7.org.au/fhir/StructureDefinition/indigenous-status
Binding: https://healthterminologies.gov.au/fhir/ValueSet/australian-indigenous-status-1 (required)
.... extension:closingTheGapRegistration 0..1 boolean Closing the Gap co-payment eligibility indicator
URL: http://hl7.org.au/fhir/StructureDefinition/closing-the-gap-registration
.... extension:mothersMaidenName 0..1 string Mother's Maiden name
URL: http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName
.... extension:interpreterRequired S 0..1 boolean Whether the patient needs an interpreter
URL: http://hl7.org/fhir/StructureDefinition/patient-interpreterRequired
.... extension:dateOfArrival S 0..1 date Year of Arrival
URL: http://hl7.org.au/fhir/StructureDefinition/date-of-arrival
.... extension:genderIdentity 0..1 (Complex) The patient's gender identity shall be a member of the Gender Identity Response value set if any of the codes within that value set can apply
URL: http://hl7.org/fhir/StructureDefinition/patient-genderIdentity
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0 Extension
Slice: Unordered, Open by value:url
..... url 1..1 uri "http://hl7.org/fhir/StructureDefinition/patient-genderIdentity"
..... Slices for value[x] 1..1 CodeableConcept Value of extension
Slice: Unordered, Closed by type:$this
Binding: GenderIdentity (example)
...... value[x]:valueCodeableConcept 1..1 CodeableConcept Value of extension
Binding: https://healthterminologies.gov.au/fhir/ValueSet/gender-identity-response-1 (extensible)
.... extension:patient-status 0..1 Coding Helix Patient Status
URL: http://medicaldirector.com/fhir/helix-base/StructureDefinition/helix-patient-status
Binding: Helix Patient Status (required)
.... extension:sms-opt-in 0..1 boolean Helix AU Core Patient SMS Opt-in
URL: http://medicaldirector.com/fhir/helix-base/StructureDefinition/sms-opt-in
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... Slices for identifier SC 1..* Identifier, AUIHI, AUMedicareCardNumber, AUDVANumber, AUHealthCareCardNumber, AUPensionerConcessionCardNumber, AUCwlthSeniorsHealthCardNumber, AUMedicalRecordNumber, AUInsuranceMemberNumber Identifies this patient across multiple systems
Slice: Unordered, Open by pattern:type
.... identifier:ihi SC 0..1 AUIHI Individual Healthcare Identifier (IHI)
Constraints: inv-ihi-value-0, inv-ihi-value-1, inv-ihi-value-2
.... identifier:medicare S 0..1 AUMedicareCardNumber Medicare Card Number
.... identifier:dva S 0..1 AUDVANumber Department of Veterans' Affairs (DVA) Number
.... identifier:authoring-key SC 1..1 HelixBaseAuthoringKey Identifies this patient across multiple systems
.... identifier:medical-record SC 0..1 HelixAUCoreMedicalRecordNumber Identifies this patient across multiple systems
... active ?!Σ 0..1 boolean Whether this patient's record is in active use
Fixed Value: true
... name SΣC 1..* HumanName A name associated with the patient
Constraints: au-core-pat-04
... telecom SΣ 0..* ContactPoint A contact detail for the individual
... gender SΣ 1..1 code male | female | other | unknown
Binding: AdministrativeGender (required): The gender of a person used for administrative purposes.
... birthDate SΣ 1..1 date Date of birth extended for time and accuracy indicator
.... id 0..1 string xml:id (or equivalent in JSON)
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:accuracyIndicator S 0..1 Coding Date accuracy indicator
URL: http://hl7.org.au/fhir/StructureDefinition/date-accuracy-indicator
Binding: https://healthterminologies.gov.au/fhir/ValueSet/date-accuracy-indicator-1 (required): Date accuracy coding
..... extension:birthTime S 0..1 dateTime Time of day of birth
URL: http://hl7.org/fhir/StructureDefinition/patient-birthTime
.... value 0..1 date Primitive value for date
... Slices for deceased[x] ?!Σ 0..1 Indicates if the individual is deceased or not
Slice: Unordered, Closed by type:$this
.... deceasedBoolean boolean
.... deceasedDateTime dateTime
.... deceased[x]:deceasedBoolean ?!Σ 0..1 boolean Deceased indicator
.... deceased[x]:deceasedDateTime ?!Σ 0..1 dateTime Deceased date time
..... id 0..1 string xml:id (or equivalent in JSON)
..... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
...... extension:accuracyIndicator 0..1 Coding Deceased date accuracy indicator
URL: http://hl7.org.au/fhir/StructureDefinition/date-accuracy-indicator
Binding: https://healthterminologies.gov.au/fhir/ValueSet/date-accuracy-indicator-1 (required): Date accuracy coding
..... value 0..1 dateTime Primitive value for dateTime
... address SC 0..* AustralianAddress, Address An address for the individual
Constraints: inv-add-0, inv-add-1, inv-add-2
... maritalStatus 0..1 CodeableConcept Marital (civil) status of a patient
Binding: Marital Status Codes (extensible): The domestic partnership status of a person.
... multipleBirth[x] 0..1 Whether patient is part of a multiple birth
.... multipleBirthBoolean boolean
.... multipleBirthInteger integer
... photo 0..* Attachment Image of the patient
... contact C 0..* BackboneElement A contact party (e.g. guardian, partner, friend) for the patient
Constraints: pat-1
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... relationship 0..* CodeableConcept The kind of relationship
Binding: https://healthterminologies.gov.au/fhir/ValueSet/contact-relationship-type-3 (extensible)
.... name 0..1 HumanName A name associated with the contact person
.... telecom 0..* ContactPoint A contact detail for the person
.... address 0..1 Address, AustralianAddress Address for the contact person
.... gender 0..1 code male | female | other | unknown
Binding: AdministrativeGender (required): The gender of a person used for administrative purposes.
.... organization C 0..1 Reference(Organization) Organization that is associated with the contact
.... period 0..1 Period The period during which this contact person or organization is valid to be contacted relating to this patient
... communication S 0..* BackboneElement A language which may be used to communicate with the patient about his or her health
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... language S 1..1 CodeableConcept The language which can be used to communicate with the patient about his or her health
Binding: https://healthterminologies.gov.au/fhir/ValueSet/common-languages-australia-2 (extensible)
.... preferred S 0..1 boolean Language preference indicator
... generalPractitioner 0..* Reference(Organization | Practitioner | PractitionerRole) Patient's nominated primary care provider
... managingOrganization Σ 0..1 Reference(Organization) Organization that is the custodian of the patient record
... link ?!Σ 0..* BackboneElement Link to a Patient or RelatedPerson resource that concerns the same actual person
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... other Σ 1..1 Reference(Patient | RelatedPerson) The other patient or related person resource that the link refers to
.... type Σ 1..1 code replaced-by | replaces | refer | seealso
Binding: LinkType (required): The type of link between this patient resource and another patient resource.

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Patient.language Base preferred Common Languages 📦4.0.1 FHIR Std.
Patient.extension:genderIdentity.​value[x] Base example Gender identity 📦4.0.1 FHIR Std.
Patient.extension:genderIdentity.​value[x]:valueCodeableConcept Base extensible https://healthterminologies.gov.au/fhir/ValueSet/gender-identity-response-1 Not State Unknown
Patient.gender Base required AdministrativeGender 📍4.0.1 FHIR Std.
Patient.maritalStatus Base extensible MaritalStatus 📦4.0.1 FHIR Std.
Patient.contact.relationship Base extensible https://healthterminologies.gov.au/fhir/ValueSet/contact-relationship-type-3 Not State Unknown
Patient.contact.gender Base required AdministrativeGender 📍4.0.1 FHIR Std.
Patient.communication.​language Base extensible https://healthterminologies.gov.au/fhir/ValueSet/common-languages-australia-2 Not State Unknown
Patient.link.type Base required LinkType 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
au-core-pat-01 error Patient At least one patient identifier shall be valid identifier.where(system.count() + value.count() >1).exists()
au-core-pat-02 error Patient At least one patient name shall have a family name name.family.exists()
au-core-pat-04 error Patient.name At least text, family name, or given name shall be present text.exists() or family.exists() or given.exists()
dom-2 error Patient If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Patient If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error Patient If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error Patient If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Patient A resource should have narrative for robust management text.`div`.exists()
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()
inv-add-0 error Patient.address The address shall at least have text or a line text.exists() or line.exists()
inv-add-1 error Patient.address If asserting no fixed address, the type shall be 'physical' extension('http://hl7.org.au/fhir/StructureDefinition/no-fixed-address').exists() implies type='physical'
inv-add-2 error Patient.address If asserting no fixed address, the address text shall begin with 'NO FIXED ADDRESS' extension('http://hl7.org.au/fhir/StructureDefinition/no-fixed-address').exists() implies text.startsWith('NO FIXED ADDRESS')
inv-ihi-value-0 error Patient.identifier:ihi IHI shall be an exactly 16 digit number value.matches('^([0-9]{16})$')
inv-ihi-value-1 error Patient.identifier:ihi IHI prefix is 800360 value.startsWith('800360')
inv-ihi-value-2 error Patient.identifier:ihi IHI 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)
inv-pat-0 error Patient If present, birth time's date shall be the birth date birthDate.extension('http://hl7.org/fhir/StructureDefinition/patient-birthTime').exists() implies birthDate.extension('http://hl7.org/fhir/StructureDefinition/patient-birthTime').value.toString().substring(0,10) = birthDate.toString()
pat-1 error Patient.contact SHALL at least contain a contact's details or a reference to an organization name.exists() or telecom.exists() or address.exists() or organization.exists()

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Patient C 0..* AUCorePatient A patient in the context of electronic exchange of health information
Constraints: inv-pat-0, au-core-pat-01, au-core-pat-02
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... Slices for extension Content/Rules for all slices
.... extension:birthPlace S 0..1 Address Place of Birth for patient
URL: http://hl7.org/fhir/StructureDefinition/patient-birthPlace
.... extension:indigenousStatus S 0..1 Coding Indigenous status
URL: http://hl7.org.au/fhir/StructureDefinition/indigenous-status
Binding: https://healthterminologies.gov.au/fhir/ValueSet/australian-indigenous-status-1 (required)
.... extension:closingTheGapRegistration 0..1 boolean Closing the Gap co-payment eligibility indicator
URL: http://hl7.org.au/fhir/StructureDefinition/closing-the-gap-registration
.... extension:mothersMaidenName 0..1 string Mother's Maiden name
URL: http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName
.... extension:interpreterRequired S 0..1 boolean Whether the patient needs an interpreter
URL: http://hl7.org/fhir/StructureDefinition/patient-interpreterRequired
.... extension:dateOfArrival S 0..1 date Year of Arrival
URL: http://hl7.org.au/fhir/StructureDefinition/date-of-arrival
.... extension:genderIdentity 0..1 (Complex) The patient's gender identity shall be a member of the Gender Identity Response value set if any of the codes within that value set can apply
URL: http://hl7.org/fhir/StructureDefinition/patient-genderIdentity
..... extension 0..0 Extension
Slice: Unordered, Open by value:url
..... url 1..1 uri "http://hl7.org/fhir/StructureDefinition/patient-genderIdentity"
..... Slices for value[x] 1..1 CodeableConcept Value of extension
Slice: Unordered, Closed by type:$this
Binding: GenderIdentity (example)
...... value[x]:valueCodeableConcept 1..1 CodeableConcept Value of extension
Binding: https://healthterminologies.gov.au/fhir/ValueSet/gender-identity-response-1 (extensible)
.... extension:patient-status 0..1 Coding Helix Patient Status
URL: http://medicaldirector.com/fhir/helix-base/StructureDefinition/helix-patient-status
Binding: Helix Patient Status (required)
.... extension:sms-opt-in 0..1 boolean Helix AU Core Patient SMS Opt-in
URL: http://medicaldirector.com/fhir/helix-base/StructureDefinition/sms-opt-in
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
.... identifier:ihi SC 0..1 AUIHI Individual Healthcare Identifier (IHI)
Constraints: inv-ihi-value-0, inv-ihi-value-1, inv-ihi-value-2
.... identifier:medicare S 0..1 AUMedicareCardNumber Medicare Card Number
.... identifier:dva S 0..1 AUDVANumber Department of Veterans' Affairs (DVA) Number
.... identifier:authoring-key SC 1..1 HelixBaseAuthoringKey Identifies this patient across multiple systems
.... identifier:medical-record SC 0..1 HelixAUCoreMedicalRecordNumber Identifies this patient across multiple systems
... active ?!Σ 0..1 boolean Whether this patient's record is in active use
Fixed Value: true
... name SΣC 1..* HumanName A name associated with the patient
Constraints: au-core-pat-04
... telecom SΣ 0..* ContactPoint A contact detail for the individual
... gender SΣ 1..1 code male | female | other | unknown
Binding: AdministrativeGender (required): The gender of a person used for administrative purposes.
... birthDate SΣ 1..1 date Date of birth extended for time and accuracy indicator
.... Slices for extension Content/Rules for all slices
..... extension:accuracyIndicator S 0..1 Coding Date accuracy indicator
URL: http://hl7.org.au/fhir/StructureDefinition/date-accuracy-indicator
Binding: https://healthterminologies.gov.au/fhir/ValueSet/date-accuracy-indicator-1 (required): Date accuracy coding
..... extension:birthTime S 0..1 dateTime Time of day of birth
URL: http://hl7.org/fhir/StructureDefinition/patient-birthTime
... Slices for deceased[x] ?!Σ 0..1 Indicates if the individual is deceased or not
Slice: Unordered, Closed by type:$this
.... deceasedBoolean boolean
.... deceasedDateTime dateTime
.... deceased[x]:deceasedBoolean ?!Σ 0..1 boolean Deceased indicator
.... deceased[x]:deceasedDateTime ?!Σ 0..1 dateTime Deceased date time
..... Slices for extension Content/Rules for all slices
...... extension:accuracyIndicator 0..1 Coding Deceased date accuracy indicator
URL: http://hl7.org.au/fhir/StructureDefinition/date-accuracy-indicator
Binding: https://healthterminologies.gov.au/fhir/ValueSet/date-accuracy-indicator-1 (required): Date accuracy coding
... address SC 0..* AustralianAddress, Address An address for the individual
Constraints: inv-add-0, inv-add-1, inv-add-2
... communication S 0..* BackboneElement A language which may be used to communicate with the patient about his or her health
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... language S 1..1 CodeableConcept The language which can be used to communicate with the patient about his or her health
Binding: https://healthterminologies.gov.au/fhir/ValueSet/common-languages-australia-2 (extensible)
.... preferred S 0..1 boolean Language preference indicator
... link ?!Σ 0..* BackboneElement Link to a Patient or RelatedPerson resource that concerns the same actual person
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... other Σ 1..1 Reference(Patient | RelatedPerson) The other patient or related person resource that the link refers to
.... type Σ 1..1 code replaced-by | replaces | refer | seealso
Binding: LinkType (required): The type of link between this patient resource and another patient resource.

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Patient.extension:genderIdentity.​value[x] Base example Gender identity 📦4.0.1 FHIR Std.
Patient.extension:genderIdentity.​value[x]:valueCodeableConcept Base extensible https://healthterminologies.gov.au/fhir/ValueSet/gender-identity-response-1 Not State Unknown
Patient.gender Base required AdministrativeGender 📍4.0.1 FHIR Std.
Patient.communication.​language Base extensible https://healthterminologies.gov.au/fhir/ValueSet/common-languages-australia-2 Not State Unknown
Patient.link.type Base required LinkType 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
au-core-pat-01 error Patient At least one patient identifier shall be valid identifier.where(system.count() + value.count() >1).exists()
au-core-pat-02 error Patient At least one patient name shall have a family name name.family.exists()
au-core-pat-04 error Patient.name At least text, family name, or given name shall be present text.exists() or family.exists() or given.exists()
dom-2 error Patient If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Patient If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error Patient If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error Patient If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Patient A resource should have narrative for robust management text.`div`.exists()
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()
inv-add-0 error Patient.address The address shall at least have text or a line text.exists() or line.exists()
inv-add-1 error Patient.address If asserting no fixed address, the type shall be 'physical' extension('http://hl7.org.au/fhir/StructureDefinition/no-fixed-address').exists() implies type='physical'
inv-add-2 error Patient.address If asserting no fixed address, the address text shall begin with 'NO FIXED ADDRESS' extension('http://hl7.org.au/fhir/StructureDefinition/no-fixed-address').exists() implies text.startsWith('NO FIXED ADDRESS')
inv-ihi-value-0 error Patient.identifier:ihi IHI shall be an exactly 16 digit number value.matches('^([0-9]{16})$')
inv-ihi-value-1 error Patient.identifier:ihi IHI prefix is 800360 value.startsWith('800360')
inv-ihi-value-2 error Patient.identifier:ihi IHI 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)
inv-pat-0 error Patient If present, birth time's date shall be the birth date birthDate.extension('http://hl7.org/fhir/StructureDefinition/patient-birthTime').exists() implies birthDate.extension('http://hl7.org/fhir/StructureDefinition/patient-birthTime').value.toString().substring(0,10) = birthDate.toString()

Differential View

This structure is derived from AUCorePatient

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Patient 0..* AUCorePatient A patient in the context of electronic exchange of health information
... Slices for extension Content/Rules for all slices
.... extension:patient-status 0..1 Coding Helix Patient Status
URL: http://medicaldirector.com/fhir/helix-base/StructureDefinition/helix-patient-status
Binding: Helix Patient Status (required)
.... extension:sms-opt-in 0..1 boolean Helix AU Core Patient SMS Opt-in
URL: http://medicaldirector.com/fhir/helix-base/StructureDefinition/sms-opt-in
... Slices for identifier Content/Rules for all slices
.... identifier:authoring-key S 1..1 HelixBaseAuthoringKey Identifies this patient across multiple systems
.... identifier:medical-record 0..1 HelixAUCoreMedicalRecordNumber Identifies this patient across multiple systems

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Patient C 0..* AUCorePatient A patient in the context of electronic exchange of health information
Constraints: inv-pat-0, au-core-pat-01, au-core-pat-02
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... text 0..1 Narrative Text summary of the resource, for human interpretation
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
... contained 0..* Resource Contained, inline Resources
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:birthPlace S 0..1 Address Place of Birth for patient
URL: http://hl7.org/fhir/StructureDefinition/patient-birthPlace
.... extension:indigenousStatus S 0..1 Coding Indigenous status
URL: http://hl7.org.au/fhir/StructureDefinition/indigenous-status
Binding: https://healthterminologies.gov.au/fhir/ValueSet/australian-indigenous-status-1 (required)
.... extension:closingTheGapRegistration 0..1 boolean Closing the Gap co-payment eligibility indicator
URL: http://hl7.org.au/fhir/StructureDefinition/closing-the-gap-registration
.... extension:mothersMaidenName 0..1 string Mother's Maiden name
URL: http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName
.... extension:interpreterRequired S 0..1 boolean Whether the patient needs an interpreter
URL: http://hl7.org/fhir/StructureDefinition/patient-interpreterRequired
.... extension:dateOfArrival S 0..1 date Year of Arrival
URL: http://hl7.org.au/fhir/StructureDefinition/date-of-arrival
.... extension:genderIdentity 0..1 (Complex) The patient's gender identity shall be a member of the Gender Identity Response value set if any of the codes within that value set can apply
URL: http://hl7.org/fhir/StructureDefinition/patient-genderIdentity
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0 Extension
Slice: Unordered, Open by value:url
..... url 1..1 uri "http://hl7.org/fhir/StructureDefinition/patient-genderIdentity"
..... Slices for value[x] 1..1 CodeableConcept Value of extension
Slice: Unordered, Closed by type:$this
Binding: GenderIdentity (example)
...... value[x]:valueCodeableConcept 1..1 CodeableConcept Value of extension
Binding: https://healthterminologies.gov.au/fhir/ValueSet/gender-identity-response-1 (extensible)
.... extension:patient-status 0..1 Coding Helix Patient Status
URL: http://medicaldirector.com/fhir/helix-base/StructureDefinition/helix-patient-status
Binding: Helix Patient Status (required)
.... extension:sms-opt-in 0..1 boolean Helix AU Core Patient SMS Opt-in
URL: http://medicaldirector.com/fhir/helix-base/StructureDefinition/sms-opt-in
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... Slices for identifier SC 1..* Identifier, AUIHI, AUMedicareCardNumber, AUDVANumber, AUHealthCareCardNumber, AUPensionerConcessionCardNumber, AUCwlthSeniorsHealthCardNumber, AUMedicalRecordNumber, AUInsuranceMemberNumber Identifies this patient across multiple systems
Slice: Unordered, Open by pattern:type
.... identifier:ihi SC 0..1 AUIHI Individual Healthcare Identifier (IHI)
Constraints: inv-ihi-value-0, inv-ihi-value-1, inv-ihi-value-2
.... identifier:medicare S 0..1 AUMedicareCardNumber Medicare Card Number
.... identifier:dva S 0..1 AUDVANumber Department of Veterans' Affairs (DVA) Number
.... identifier:authoring-key SC 1..1 HelixBaseAuthoringKey Identifies this patient across multiple systems
.... identifier:medical-record SC 0..1 HelixAUCoreMedicalRecordNumber Identifies this patient across multiple systems
... active ?!Σ 0..1 boolean Whether this patient's record is in active use
Fixed Value: true
... name SΣC 1..* HumanName A name associated with the patient
Constraints: au-core-pat-04
... telecom SΣ 0..* ContactPoint A contact detail for the individual
... gender SΣ 1..1 code male | female | other | unknown
Binding: AdministrativeGender (required): The gender of a person used for administrative purposes.
... birthDate SΣ 1..1 date Date of birth extended for time and accuracy indicator
.... id 0..1 string xml:id (or equivalent in JSON)
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:accuracyIndicator S 0..1 Coding Date accuracy indicator
URL: http://hl7.org.au/fhir/StructureDefinition/date-accuracy-indicator
Binding: https://healthterminologies.gov.au/fhir/ValueSet/date-accuracy-indicator-1 (required): Date accuracy coding
..... extension:birthTime S 0..1 dateTime Time of day of birth
URL: http://hl7.org/fhir/StructureDefinition/patient-birthTime
.... value 0..1 date Primitive value for date
... Slices for deceased[x] ?!Σ 0..1 Indicates if the individual is deceased or not
Slice: Unordered, Closed by type:$this
.... deceasedBoolean boolean
.... deceasedDateTime dateTime
.... deceased[x]:deceasedBoolean ?!Σ 0..1 boolean Deceased indicator
.... deceased[x]:deceasedDateTime ?!Σ 0..1 dateTime Deceased date time
..... id 0..1 string xml:id (or equivalent in JSON)
..... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
...... extension:accuracyIndicator 0..1 Coding Deceased date accuracy indicator
URL: http://hl7.org.au/fhir/StructureDefinition/date-accuracy-indicator
Binding: https://healthterminologies.gov.au/fhir/ValueSet/date-accuracy-indicator-1 (required): Date accuracy coding
..... value 0..1 dateTime Primitive value for dateTime
... address SC 0..* AustralianAddress, Address An address for the individual
Constraints: inv-add-0, inv-add-1, inv-add-2
... maritalStatus 0..1 CodeableConcept Marital (civil) status of a patient
Binding: Marital Status Codes (extensible): The domestic partnership status of a person.
... multipleBirth[x] 0..1 Whether patient is part of a multiple birth
.... multipleBirthBoolean boolean
.... multipleBirthInteger integer
... photo 0..* Attachment Image of the patient
... contact C 0..* BackboneElement A contact party (e.g. guardian, partner, friend) for the patient
Constraints: pat-1
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... relationship 0..* CodeableConcept The kind of relationship
Binding: https://healthterminologies.gov.au/fhir/ValueSet/contact-relationship-type-3 (extensible)
.... name 0..1 HumanName A name associated with the contact person
.... telecom 0..* ContactPoint A contact detail for the person
.... address 0..1 Address, AustralianAddress Address for the contact person
.... gender 0..1 code male | female | other | unknown
Binding: AdministrativeGender (required): The gender of a person used for administrative purposes.
.... organization C 0..1 Reference(Organization) Organization that is associated with the contact
.... period 0..1 Period The period during which this contact person or organization is valid to be contacted relating to this patient
... communication S 0..* BackboneElement A language which may be used to communicate with the patient about his or her health
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... language S 1..1 CodeableConcept The language which can be used to communicate with the patient about his or her health
Binding: https://healthterminologies.gov.au/fhir/ValueSet/common-languages-australia-2 (extensible)
.... preferred S 0..1 boolean Language preference indicator
... generalPractitioner 0..* Reference(Organization | Practitioner | PractitionerRole) Patient's nominated primary care provider
... managingOrganization Σ 0..1 Reference(Organization) Organization that is the custodian of the patient record
... link ?!Σ 0..* BackboneElement Link to a Patient or RelatedPerson resource that concerns the same actual person
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... other Σ 1..1 Reference(Patient | RelatedPerson) The other patient or related person resource that the link refers to
.... type Σ 1..1 code replaced-by | replaces | refer | seealso
Binding: LinkType (required): The type of link between this patient resource and another patient resource.

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Patient.language Base preferred Common Languages 📦4.0.1 FHIR Std.
Patient.extension:genderIdentity.​value[x] Base example Gender identity 📦4.0.1 FHIR Std.
Patient.extension:genderIdentity.​value[x]:valueCodeableConcept Base extensible https://healthterminologies.gov.au/fhir/ValueSet/gender-identity-response-1 Not State Unknown
Patient.gender Base required AdministrativeGender 📍4.0.1 FHIR Std.
Patient.maritalStatus Base extensible MaritalStatus 📦4.0.1 FHIR Std.
Patient.contact.relationship Base extensible https://healthterminologies.gov.au/fhir/ValueSet/contact-relationship-type-3 Not State Unknown
Patient.contact.gender Base required AdministrativeGender 📍4.0.1 FHIR Std.
Patient.communication.​language Base extensible https://healthterminologies.gov.au/fhir/ValueSet/common-languages-australia-2 Not State Unknown
Patient.link.type Base required LinkType 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
au-core-pat-01 error Patient At least one patient identifier shall be valid identifier.where(system.count() + value.count() >1).exists()
au-core-pat-02 error Patient At least one patient name shall have a family name name.family.exists()
au-core-pat-04 error Patient.name At least text, family name, or given name shall be present text.exists() or family.exists() or given.exists()
dom-2 error Patient If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Patient If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error Patient If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error Patient If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Patient A resource should have narrative for robust management text.`div`.exists()
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()
inv-add-0 error Patient.address The address shall at least have text or a line text.exists() or line.exists()
inv-add-1 error Patient.address If asserting no fixed address, the type shall be 'physical' extension('http://hl7.org.au/fhir/StructureDefinition/no-fixed-address').exists() implies type='physical'
inv-add-2 error Patient.address If asserting no fixed address, the address text shall begin with 'NO FIXED ADDRESS' extension('http://hl7.org.au/fhir/StructureDefinition/no-fixed-address').exists() implies text.startsWith('NO FIXED ADDRESS')
inv-ihi-value-0 error Patient.identifier:ihi IHI shall be an exactly 16 digit number value.matches('^([0-9]{16})$')
inv-ihi-value-1 error Patient.identifier:ihi IHI prefix is 800360 value.startsWith('800360')
inv-ihi-value-2 error Patient.identifier:ihi IHI 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)
inv-pat-0 error Patient If present, birth time's date shall be the birth date birthDate.extension('http://hl7.org/fhir/StructureDefinition/patient-birthTime').exists() implies birthDate.extension('http://hl7.org/fhir/StructureDefinition/patient-birthTime').value.toString().substring(0,10) = birthDate.toString()
pat-1 error Patient.contact SHALL at least contain a contact's details or a reference to an organization name.exists() or telecom.exists() or address.exists() or organization.exists()

 

Other representations of profile: CSV, Excel, Schematron