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

TestScript: AU Core Patient — SHALL-level conformance

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-fixture

autocreate: true

autodelete: true

resource: au-core-patient-conformant

Variables

-NamePathSourceId
*patientIdPatient.idpatient-fixture

test

name: Read

action

Operations

-TypeResourceEncodeRequestUrlParams
*Test script operation code: read (Read)Patienttrue/${patientId}

action

Asserts

-ResponseWarningOnly
*okayfalse

test

name: SearchById

action

Operations

-TypeResourceEncodeRequestUrlParams
*Test script operation code: search (Search)Patienttrue?_id=${patientId}

action

Asserts

-ResponseWarningOnly
*okayfalse

action

Asserts

-ExpressionWarningOnly
*Bundle.entry.resource.ofType(Patient).name.family.contains('Frog')false

test

name: SearchByIdentifier

action

Operations

-TypeResourceEncodeRequestUrlParams
*Test script operation code: search (Search)Patienttrue?identifier=http://ns.electronichealth.net.au/id/hi/ihi/1.0|8003608833357361

action

Asserts

-ResponseWarningOnly
*okayfalse

action

Asserts

-ExpressionWarningOnly
*Bundle.entry.resource.ofType(Patient).name.family.contains('Frog')false

test

name: MustSupport

action

Operations

-TypeResourceEncodeRequestUrlParams
*Test script operation code: read (Read)Patienttrue/${patientId}

action

Asserts

-ExpressionWarningOnly
*Patient.identifier.exists()false

action

Asserts

-ExpressionWarningOnly
*Patient.name.exists()false

action

Asserts

-ExpressionWarningOnly
*Patient.name.use.exists()false

action

Asserts

-ExpressionWarningOnly
*Patient.name.text.exists()false

action

Asserts

-ExpressionWarningOnly
*Patient.name.family.exists()false

action

Asserts

-ExpressionWarningOnly
*Patient.name.given.exists()false

action

Asserts

-ExpressionWarningOnly
*Patient.telecom.exists()false

action

Asserts

-ExpressionWarningOnly
*Patient.telecom.system.exists()false

action

Asserts

-ExpressionWarningOnly
*Patient.telecom.use.exists()false

action

Asserts

-ExpressionWarningOnly
*Patient.telecom.value.exists()false

action

Asserts

-ExpressionWarningOnly
*Patient.gender.exists()false

action

Asserts

-ExpressionWarningOnly
*Patient.birthDate.exists()false

action

Asserts

-ExpressionWarningOnly
*Patient.address.exists()false

action

Asserts

-ExpressionWarningOnly
*Patient.communication.exists()false

action

Asserts

-ExpressionWarningOnly
*Patient.communication.language.exists()false

action

Asserts

-ExpressionWarningOnly
*Patient.communication.preferred.exists()false

action

Asserts

-ExpressionWarningOnly
*Patient.extension.where(url = 'http://hl7.org.au/fhir/StructureDefinition/indigenous-status').exists()false

action

Asserts

-ExpressionWarningOnly
*Patient.extension.where(url = 'http://hl7.org/fhir/StructureDefinition/individual-genderIdentity').exists()false

action

Asserts

-ExpressionWarningOnly
*Patient.extension.where(url = 'http://hl7.org/fhir/StructureDefinition/individual-pronouns').exists()false

test

name: ProfileValidation

action

Operations

-TypeResourceEncodeRequestUrlParams
*Test script operation code: read (Read)Patienttrue/${patientId}

action

Asserts

-ValidateProfileIdWarningOnly
*http://hl7.org.au/fhir/core/StructureDefinition/au-core-patientfalse