FHIR Frog AU Core Conformance Tests
0.1.0 - draft
FHIR Frog AU Core Conformance Tests, published by FHIR Frog. This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/jgsuess/au-core-tests/ and changes regularly. See the Directory of published versions
Covers the SHALL-level AU Core Patient (2.0.0) requirements: read, search by _id, search by identifier, must-support element presence, and profile conformance validation. Mirrors the SHALL subset of au-fhir-core-inferno's PatientGroup (patient_read_test, patient__id_search_test, patient_identifier_search_test, patient_must_support_test, patient_validation_test) — the SHOULD/MAY-level combinatorial search tests (name, gender, birthdate, indigenous-status, gender-identity and their combinations) are not replicated here; see fhirfrog/au-core-compiler#6 for scope rationale.
patient-fixture: au-core-patient-conformant (created before, and removed after, the run)${patientId} = Patient.id of patient-fixtureREAD Patient/${patientId}
response = okay
SEARCH Patient?_id=${patientId}
response = okay
expression = Bundle.entry.resource.ofType(Patient).name.family.contains('Frog')
SEARCH Patient?identifier=http://ns.electronichealth.net.au/id/hi/ihi/1.0|8003608833357361
response = okay
expression = Bundle.entry.resource.ofType(Patient).name.family.contains('Frog')
READ Patient/${patientId}
expression = Patient.identifier.exists()
expression = Patient.name.exists()
expression = Patient.name.use.exists()
expression = Patient.name.text.exists()
expression = Patient.name.family.exists()
expression = Patient.name.given.exists()
expression = Patient.telecom.exists()
expression = Patient.telecom.system.exists()
expression = Patient.telecom.use.exists()
expression = Patient.telecom.value.exists()
expression = Patient.gender.exists()
expression = Patient.birthDate.exists()
expression = Patient.address.exists()
expression = Patient.communication.exists()
expression = Patient.communication.language.exists()
expression = Patient.communication.preferred.exists()
expression = Patient.extension.where(url = 'http://hl7.org.au/fhir/StructureDefinition/indigenous-status').exists()
expression = Patient.extension.where(url = 'http://hl7.org/fhir/StructureDefinition/individual-genderIdentity').exists()
expression = Patient.extension.where(url = 'http://hl7.org/fhir/StructureDefinition/individual-pronouns').exists()
READ Patient/${patientId}
validateProfileId = http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient