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
| Active as of 2026-10-23 |
<TestScript xmlns="http://hl7.org/fhir">
<id value="au-core-practitioner"/>
<url
value="http://fhirfrog.org/fhir/au-core-tests/TestScript/au-core-practitioner"/>
<version value="0.1.0"/>
<name value="AUCorePractitioner"/>
<title value="AU Core Practitioner — SHALL-level conformance"/>
<status value="active"/>
<date value="2026-10-23T03:11:59+00:00"/>
<publisher value="FHIR Frog"/>
<contact>
<name value="FHIR Frog"/>
<telecom>
<system value="url"/>
<value value="https://gitlab.com/fhirfrog"/>
</telecom>
</contact>
<description
value="Covers the AU Core Practitioner (2.0.0) requirements: read, search by _id, search by identifier (the fixture's identifier carries the HPI-I system http://ns.electronichealth.net.au/id/hi/hpii/1.0, so this same identifier search exercises the HPI-I slice — per fhirfrog/au-core-compiler#17, Inferno's separate HPI-I search test is functionally just a parameterised identifier search that fhir-frog's generic byUrl pass-through already handles, so no distinct test action is needed for it), search by name, must-support element presence, and profile conformance validation. Mirrors au-fhir-core-inferno's PractitionerGroup (practitioner_read_test, practitioner_id_search_test, practitioner_identifier_search_test, practitioner_identifier_hpii_search_test, practitioner_name_search_test, practitioner_must_support_test, practitioner_validation_test). The _id/name/identifier(HPI-I) searches are SHOULD-level in AU Core but are included here because issue #17 explicitly calls for _id/identifier/name coverage; their combinatorial SHOULD/MAY variants (chained params, GET/POST result-count comparisons, etc.) are not replicated — see fhirfrog/au-core-compiler#6 for the general scope rationale."/>
<fixture id="practitioner-fixture">
<autocreate value="true"/>
<autodelete value="true"/>
<resource>
<reference value="au-core-practitioner-conformant"/>
</resource>
</fixture>
<variable>
<name value="practitionerId"/>
<path value="Practitioner.id"/>
<sourceId value="practitioner-fixture"/>
</variable>
<test>
<name value="Read"/>
<action>
<operation>
<type>
<system
value="http://terminology.hl7.org/CodeSystem/testscript-operation-codes"/>
<code value="read"/>
</type>
<resource value="Practitioner"/>
<encodeRequestUrl value="true"/>
<params value="/${practitionerId}"/>
</operation>
</action>
<action>
<assert>
<response value="okay"/>
<warningOnly value="false"/>
</assert>
</action>
</test>
<test>
<name value="SearchById"/>
<action>
<operation>
<type>
<system
value="http://terminology.hl7.org/CodeSystem/testscript-operation-codes"/>
<code value="search"/>
</type>
<resource value="Practitioner"/>
<encodeRequestUrl value="true"/>
<params value="?_id=${practitionerId}"/>
</operation>
</action>
<action>
<assert>
<response value="okay"/>
<warningOnly value="false"/>
</assert>
</action>
<action>
<assert>
<expression
value="Bundle.entry.resource.ofType(Practitioner).name.family.where($this = 'Frog').exists()"/>
<warningOnly value="false"/>
</assert>
</action>
</test>
<test>
<name value="SearchByIdentifier"/>
<action>
<operation>
<type>
<system
value="http://terminology.hl7.org/CodeSystem/testscript-operation-codes"/>
<code value="search"/>
</type>
<resource value="Practitioner"/>
<encodeRequestUrl value="true"/>
<params
value="?identifier=http://ns.electronichealth.net.au/id/hi/hpii/1.0|8003621234567890"/>
</operation>
</action>
<action>
<assert>
<response value="okay"/>
<warningOnly value="false"/>
</assert>
</action>
<action>
<assert>
<expression
value="Bundle.entry.resource.ofType(Practitioner).name.family.where($this = 'Frog').exists()"/>
<warningOnly value="false"/>
</assert>
</action>
<action>
<assert>
<expression
value="Bundle.entry.resource.ofType(Practitioner).identifier.where(system = 'http://ns.electronichealth.net.au/id/hi/hpii/1.0').exists()"/>
<warningOnly value="false"/>
</assert>
</action>
</test>
<test>
<name value="SearchByName"/>
<action>
<operation>
<type>
<system
value="http://terminology.hl7.org/CodeSystem/testscript-operation-codes"/>
<code value="search"/>
</type>
<resource value="Practitioner"/>
<encodeRequestUrl value="true"/>
<params value="?name=Frog"/>
</operation>
</action>
<action>
<assert>
<response value="okay"/>
<warningOnly value="false"/>
</assert>
</action>
<action>
<assert>
<expression
value="Bundle.entry.resource.ofType(Practitioner).name.family.where($this = 'Frog').exists()"/>
<warningOnly value="false"/>
</assert>
</action>
</test>
<test>
<name value="MustSupport"/>
<action>
<operation>
<type>
<system
value="http://terminology.hl7.org/CodeSystem/testscript-operation-codes"/>
<code value="read"/>
</type>
<resource value="Practitioner"/>
<encodeRequestUrl value="true"/>
<params value="/${practitionerId}"/>
</operation>
</action>
<action>
<assert>
<expression value="Practitioner.identifier.exists()"/>
<warningOnly value="false"/>
</assert>
</action>
<action>
<assert>
<expression value="Practitioner.name.exists()"/>
<warningOnly value="false"/>
</assert>
</action>
<action>
<assert>
<expression value="Practitioner.name.family.exists()"/>
<warningOnly value="false"/>
</assert>
</action>
<action>
<assert>
<expression value="Practitioner.name.given.exists()"/>
<warningOnly value="false"/>
</assert>
</action>
</test>
<test>
<name value="ProfileValidation"/>
<action>
<operation>
<type>
<system
value="http://terminology.hl7.org/CodeSystem/testscript-operation-codes"/>
<code value="read"/>
</type>
<resource value="Practitioner"/>
<encodeRequestUrl value="true"/>
<params value="/${practitionerId}"/>
</operation>
</action>
<action>
<assert>
<validateProfileId
value="http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitioner"/>
<warningOnly value="false"/>
</assert>
</action>
</test>
</TestScript>