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
| Official URL: http://fhirfrog.org/fhir/au-core-tests/TestScript/au-core-patient | Version: 0.1.0 | |||
| Active as of 2026-08-16 | Computable Name: AUCorePatient | |||
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.
url: TestScript AU Core Patient — SHALL-level conformance
version: 0.1.0
name: AUCorePatient
title: AU Core Patient — SHALL-level conformance
status: Active
date: 2026-08-16 05:55:37+0000
publisher: FHIR Frog
contact: FHIR Frog: https://gitlab.com/fhirfrog
description:
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.
fixture
id
patient-fixtureautocreate: true
autodelete: true
resource:
au-core-patient-conformant
| Name | Path | SourceId |
| patientId | Patient.id | patient-fixture |
test
name: Read
action
Operations
Type Resource EncodeRequestUrl Params Test script operation code: read (Read) Patient true /${patientId} action
Asserts
Response WarningOnly okay false
test
name: SearchById
action
Operations
Type Resource EncodeRequestUrl Params Test script operation code: search (Search) Patient true ?_id=${patientId} action
Asserts
Response WarningOnly okay false action
Asserts
Expression WarningOnly Bundle.entry.resource.ofType(Patient).name.family.contains('Frog') false
test
name: SearchByIdentifier
action
Operations
Type Resource EncodeRequestUrl Params Test script operation code: search (Search) Patient true ?identifier=http://ns.electronichealth.net.au/id/hi/ihi/1.0|8003608833357361 action
Asserts
Response WarningOnly okay false action
Asserts
Expression WarningOnly Bundle.entry.resource.ofType(Patient).name.family.contains('Frog') false
test
name: MustSupport
action
Operations
Type Resource EncodeRequestUrl Params Test script operation code: read (Read) Patient true /${patientId} action
Asserts
Expression WarningOnly Patient.identifier.exists() false action
Asserts
Expression WarningOnly Patient.name.exists() false action
Asserts
Expression WarningOnly Patient.name.use.exists() false action
Asserts
Expression WarningOnly Patient.name.text.exists() false action
Asserts
Expression WarningOnly Patient.name.family.exists() false action
Asserts
Expression WarningOnly Patient.name.given.exists() false action
Asserts
Expression WarningOnly Patient.telecom.exists() false action
Asserts
Expression WarningOnly Patient.telecom.system.exists() false action
Asserts
Expression WarningOnly Patient.telecom.use.exists() false action
Asserts
Expression WarningOnly Patient.telecom.value.exists() false action
Asserts
Expression WarningOnly Patient.gender.exists() false action
Asserts
Expression WarningOnly Patient.birthDate.exists() false action
Asserts
Expression WarningOnly Patient.address.exists() false action
Asserts
Expression WarningOnly Patient.communication.exists() false action
Asserts
Expression WarningOnly Patient.communication.language.exists() false action
Asserts
Expression WarningOnly Patient.communication.preferred.exists() false action
Asserts
Expression WarningOnly Patient.extension.where(url = 'http://hl7.org.au/fhir/StructureDefinition/indigenous-status').exists() false action
Asserts
Expression WarningOnly Patient.extension.where(url = 'http://hl7.org/fhir/StructureDefinition/individual-genderIdentity').exists() false action
Asserts
Expression WarningOnly Patient.extension.where(url = 'http://hl7.org/fhir/StructureDefinition/individual-pronouns').exists() false
test
name: ProfileValidation
action
Operations
Type Resource EncodeRequestUrl Params Test script operation code: read (Read) Patient true /${patientId} action
Asserts
ValidateProfileId WarningOnly http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient false