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 Condition — SHALL-level conformance

Official URL: http://fhirfrog.org/fhir/au-core-tests/TestScript/au-core-condition Version: 0.1.0
Active as of 2026-08-16 Computable Name: AUCoreCondition

Covers the SHALL-level AU Core Condition (2.0.0) requirements: read, search by patient, the SHALL search-combos patient+category and patient+clinical-status, must-support element presence, and profile conformance validation, plus one SHOULD search-combo (patient+code) included to demonstrate the multi-param querystring pattern. Mirrors the SHALL subset of au-fhir-core-inferno's ConditionGroup (condition_read_test, condition_patient_search_test, condition_patient_category_search_test, condition_patient_clinical_status_search_test, condition_must_support_test, condition_validation_test). The remaining SHOULD/MAY-level combinatorial search tests (patient+category+clinical-status, patient+onset-date, code with multiple-or, onset-date with multiple-and, the DVA/IHI/Medicare identifier chain searches on patient, and the reference-resolution test) are not replicated here, per the same SHALL-only scope rationale used for Patient; see fhirfrog/au-core-compiler#6 and #8.

url: TestScript AU Core Condition — SHALL-level conformance

version: 0.1.0

name: AUCoreCondition

title: AU Core Condition — 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 Condition (2.0.0) requirements: read, search by patient, the SHALL search-combos patient+category and patient+clinical-status, must-support element presence, and profile conformance validation, plus one SHOULD search-combo (patient+code) included to demonstrate the multi-param querystring pattern. Mirrors the SHALL subset of au-fhir-core-inferno's ConditionGroup (condition_read_test, condition_patient_search_test, condition_patient_category_search_test, condition_patient_clinical_status_search_test, condition_must_support_test, condition_validation_test). The remaining SHOULD/MAY-level combinatorial search tests (patient+category+clinical-status, patient+onset-date, code with multiple-or, onset-date with multiple-and, the DVA/IHI/Medicare identifier chain searches on patient, and the reference-resolution test) are not replicated here, per the same SHALL-only scope rationale used for Patient; see fhirfrog/au-core-compiler#6 and #8.

fixture

id

patient-fixture

autocreate: true

autodelete: true

resource: au-core-patient-conformant

fixture

id

condition-fixture

autocreate: true

autodelete: true

resource: au-core-condition-conformant

variable

name: patientId

path: Patient.id

sourceId: patient-fixture

variable

name: conditionId

path: Condition.id

sourceId: condition-fixture

test

name: Read

action

Operations

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

action

Asserts

-ResponseWarningOnly
*okayfalse

test

name: SearchByPatient

action

Operations

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

action

Asserts

-ResponseWarningOnly
*okayfalse

action

Asserts

-ExpressionWarningOnly
*Bundle.entry.resource.ofType(Condition).where(code.coding.code = '68566005').exists()false

test

name: SearchByPatientAndCategory

action

Operations

-TypeResourceEncodeRequestUrlParams
*Test script operation code: search (Search)Conditiontrue?patient=${patientId}&category=http://terminology.hl7.org/CodeSystem/condition-category|problem-list-item

action

Asserts

-ResponseWarningOnly
*okayfalse

action

Asserts

-ExpressionWarningOnly
*Bundle.entry.resource.ofType(Condition).where(category.coding.code = 'problem-list-item').exists()false

test

name: SearchByPatientAndClinicalStatus

action

Operations

-TypeResourceEncodeRequestUrlParams
*Test script operation code: search (Search)Conditiontrue?patient=${patientId}&clinical-status=http://terminology.hl7.org/CodeSystem/condition-clinical|resolved

action

Asserts

-ResponseWarningOnly
*okayfalse

action

Asserts

-ExpressionWarningOnly
*Bundle.entry.resource.ofType(Condition).where(clinicalStatus.coding.code = 'resolved').exists()false

test

name: SearchByPatientAndCode

action

Operations

-TypeResourceEncodeRequestUrlParams
*Test script operation code: search (Search)Conditiontrue?patient=${patientId}&code=http://snomed.info/sct|68566005

action

Asserts

-ResponseWarningOnly
*okayfalse

action

Asserts

-ExpressionWarningOnly
*Bundle.entry.resource.ofType(Condition).where(code.coding.code = '68566005').exists()false

test

name: MustSupport

action

Operations

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

action

Asserts

-ExpressionWarningOnly
*Condition.clinicalStatus.exists()false

action

Asserts

-ExpressionWarningOnly
*Condition.verificationStatus.exists()false

action

Asserts

-ExpressionWarningOnly
*Condition.category.exists()false

action

Asserts

-ExpressionWarningOnly
*Condition.severity.exists()false

action

Asserts

-ExpressionWarningOnly
*Condition.code.exists()false

action

Asserts

-ExpressionWarningOnly
*Condition.subject.exists()false

action

Asserts

-ExpressionWarningOnly
*Condition.onset.exists()false

action

Asserts

-ExpressionWarningOnly
*Condition.abatement.exists()false

action

Asserts

-ExpressionWarningOnly
*Condition.note.exists()false

test

name: ProfileValidation

action

Operations

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

action

Asserts

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