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-procedure | Version: 0.1.0 | |||
| Active as of 2026-08-16 | Computable Name: AUCoreProcedure | |||
Covers the AU Core Procedure (2.0.0) requirements: read, search by patient (SHALL), search by code/date/status (individually MAY-level in AU Core, but included here because issue #19 explicitly calls for code/date/status/patient search coverage on the generic search mechanism, following the same precedent as fhirfrog/au-core-compiler#17's Practitioner TestScript), must-support element presence, and profile conformance validation. Mirrors the relevant subset of au-fhir-core-inferno's ProcedureGroup (procedure_read_test, procedure_patient_search_test, procedure_code_search_test, procedure_date_search_test, procedure_status_search_test, procedure_must_support_test, procedure_validation_test). The combinatorial SHOULD/MAY search tests (patient+date, patient+status, patient+code+date, multiple-or on code/status, multiple-and on date, the DVA/IHI/Medicare identifier chain searches on patient, and the reference-resolution test) are not replicated here, per the same scope rationale used for Patient/Condition/Organization/Practitioner; see fhirfrog/au-core-compiler#6 and #19.
url: TestScript AU Core Procedure — SHALL-level conformance
version: 0.1.0
name: AUCoreProcedure
title: AU Core Procedure — 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 AU Core Procedure (2.0.0) requirements: read, search by patient (SHALL), search by code/date/status (individually MAY-level in AU Core, but included here because issue #19 explicitly calls for code/date/status/patient search coverage on the generic search mechanism, following the same precedent as fhirfrog/au-core-compiler#17's Practitioner TestScript), must-support element presence, and profile conformance validation. Mirrors the relevant subset of au-fhir-core-inferno's ProcedureGroup (procedure_read_test, procedure_patient_search_test, procedure_code_search_test, procedure_date_search_test, procedure_status_search_test, procedure_must_support_test, procedure_validation_test). The combinatorial SHOULD/MAY search tests (patient+date, patient+status, patient+code+date, multiple-or on code/status, multiple-and on date, the DVA/IHI/Medicare identifier chain searches on patient, and the reference-resolution test) are not replicated here, per the same scope rationale used for Patient/Condition/Organization/Practitioner; see fhirfrog/au-core-compiler#6 and #19.
fixture
id
patient-fixtureautocreate: true
autodelete: true
resource:
au-core-patient-conformant
fixture
id
procedure-fixtureautocreate: true
autodelete: true
resource:
au-core-procedure-conformant
variable
name: patientId
path: Patient.id
sourceId: patient-fixture
variable
name: procedureId
path: Procedure.id
sourceId: procedure-fixture
test
name: Read
action
Operations
Type Resource EncodeRequestUrl Params Test script operation code: read (Read) Procedure true /${procedureId} action
Asserts
Response WarningOnly okay false
test
name: SearchByPatient
action
Operations
Type Resource EncodeRequestUrl Params Test script operation code: search (Search) Procedure true ?patient=${patientId} action
Asserts
Response WarningOnly okay false action
Asserts
Expression WarningOnly Bundle.entry.resource.ofType(Procedure).code.coding.code.where($this = '80146002').exists() false
test
name: SearchByCode
action
Operations
Type Resource EncodeRequestUrl Params Test script operation code: search (Search) Procedure true ?code=http://snomed.info/sct|80146002 action
Asserts
Response WarningOnly okay false action
Asserts
Expression WarningOnly Bundle.entry.resource.ofType(Procedure).code.coding.code.where($this = '80146002').exists() false
test
name: SearchByDate
action
Operations
Type Resource EncodeRequestUrl Params Test script operation code: search (Search) Procedure true ?date=2020-06-15 action
Asserts
Response WarningOnly okay false action
Asserts
Expression WarningOnly Bundle.entry.resource.ofType(Procedure).performed.ofType(dateTime).toString().where($this.contains('2020-06-15')).exists() false
test
name: SearchByStatus
action
Operations
Type Resource EncodeRequestUrl Params Test script operation code: search (Search) Procedure true ?status=completed action
Asserts
Response WarningOnly okay false action
Asserts
Expression WarningOnly Bundle.entry.resource.ofType(Procedure).status.where($this = 'completed').exists() false
test
name: MustSupport
action
Operations
Type Resource EncodeRequestUrl Params Test script operation code: read (Read) Procedure true /${procedureId} action
Asserts
Expression WarningOnly Procedure.code.exists() false action
Asserts
Expression WarningOnly Procedure.encounter.exists() false action
Asserts
Expression WarningOnly Procedure.performed.exists() false action
Asserts
Expression WarningOnly Procedure.reasonCode.exists() false action
Asserts
Expression WarningOnly Procedure.reasonReference.exists() false action
Asserts
Expression WarningOnly Procedure.status.exists() false action
Asserts
Expression WarningOnly Procedure.subject.exists() false
test
name: ProfileValidation
action
Operations
Type Resource EncodeRequestUrl Params Test script operation code: read (Read) Procedure true /${procedureId} action
Asserts
ValidateProfileId WarningOnly http://hl7.org.au/fhir/core/StructureDefinition/au-core-procedure false