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-location | Version: 0.1.0 | |||
| Active as of 2026-08-16 | Computable Name: AUCoreLocation | |||
Covers the SHALL-level AU Core Location (2.0.0) requirements: read, search by each of the five documented search parameters (address, name, address-city, address-state, address-postalcode), must-support element presence, and profile conformance validation. Location is self-contained — no Patient reference is required for these search paths. Per fhirfrog/au-core-compiler#12, au-fhir-core-inferno's own LocationGroup only marks the name search as SHALL and treats address/address-city/address-state/address-postalcode as optional (SHOULD) single-param searches, with no dedicated first-class search test beyond that; the AU Core IG demands support for all five as part of the Location search capability, so this TestScript exercises all five explicitly rather than only mirroring Inferno's narrower baseline. As with au-core-patient (fhirfrog/au-core-compiler#6), this does not attempt Inferno's SHOULD/MAY-level combinatorial multi-param search coverage or MustSupport reference resolution (location_reference_resolution_test) — each search parameter gets one standalone test against the single fixture resource.
url: TestScript AU Core Location — SHALL-level conformance
version: 0.1.0
name: AUCoreLocation
title: AU Core Location — 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 Location (2.0.0) requirements: read, search by each of the five documented search parameters (address, name, address-city, address-state, address-postalcode), must-support element presence, and profile conformance validation. Location is self-contained — no Patient reference is required for these search paths. Per fhirfrog/au-core-compiler#12, au-fhir-core-inferno's own LocationGroup only marks the name search as SHALL and treats address/address-city/address-state/address-postalcode as optional (SHOULD) single-param searches, with no dedicated first-class search test beyond that; the AU Core IG demands support for all five as part of the Location search capability, so this TestScript exercises all five explicitly rather than only mirroring Inferno's narrower baseline. As with au-core-patient (fhirfrog/au-core-compiler#6), this does not attempt Inferno's SHOULD/MAY-level combinatorial multi-param search coverage or MustSupport reference resolution (location_reference_resolution_test) — each search parameter gets one standalone test against the single fixture resource.
fixture
id
location-organization-fixtureautocreate: true
autodelete: true
resource:
au-core-location-organization
fixture
id
location-fixtureautocreate: true
autodelete: true
resource:
au-core-location-conformant
| Name | Path | SourceId |
| locationId | Location.id | location-fixture |
test
name: Read
action
Operations
Type Resource EncodeRequestUrl Params Test script operation code: read (Read) Location true /${locationId} action
Asserts
Response WarningOnly okay false
test
name: SearchByAddress
action
Operations
Type Resource EncodeRequestUrl Params Test script operation code: search (Search) Location true ?address=Frogville action
Asserts
Response WarningOnly okay false action
Asserts
Expression WarningOnly Bundle.entry.resource.ofType(Location).name.where($this.contains('Frog')).exists() false
test
name: SearchByName
action
Operations
Type Resource EncodeRequestUrl Params Test script operation code: search (Search) Location true ?name=Frog action
Asserts
Response WarningOnly okay false action
Asserts
Expression WarningOnly Bundle.entry.resource.ofType(Location).name.where($this.contains('Frog')).exists() false
test
name: SearchByAddressCity
action
Operations
Type Resource EncodeRequestUrl Params Test script operation code: search (Search) Location true ?address-city=Frogville action
Asserts
Response WarningOnly okay false action
Asserts
Expression WarningOnly Bundle.entry.resource.ofType(Location).name.where($this.contains('Frog')).exists() false
test
name: SearchByAddressState
action
Operations
Type Resource EncodeRequestUrl Params Test script operation code: search (Search) Location true ?address-state=NSW action
Asserts
Response WarningOnly okay false action
Asserts
Expression WarningOnly Bundle.entry.resource.ofType(Location).name.where($this.contains('Frog')).exists() false
test
name: SearchByAddressPostalcode
action
Operations
Type Resource EncodeRequestUrl Params Test script operation code: search (Search) Location true ?address-postalcode=2000 action
Asserts
Response WarningOnly okay false action
Asserts
Expression WarningOnly Bundle.entry.resource.ofType(Location).name.where($this.contains('Frog')).exists() false
test
name: MustSupport
action
Operations
Type Resource EncodeRequestUrl Params Test script operation code: read (Read) Location true /${locationId} action
Asserts
Expression WarningOnly Location.address.exists() false action
Asserts
Expression WarningOnly Location.managingOrganization.exists() false action
Asserts
Expression WarningOnly Location.name.exists() false action
Asserts
Expression WarningOnly Location.physicalType.exists() false action
Asserts
Expression WarningOnly Location.type.exists() false
test
name: ProfileValidation
action
Operations
Type Resource EncodeRequestUrl Params Test script operation code: read (Read) Location true /${locationId} action
Asserts
ValidateProfileId WarningOnly http://hl7.org.au/fhir/core/StructureDefinition/au-core-location false