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

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

autocreate: true

autodelete: true

resource: au-core-location-organization

fixture

id

location-fixture

autocreate: true

autodelete: true

resource: au-core-location-conformant

Variables

-NamePathSourceId
*locationIdLocation.idlocation-fixture

test

name: Read

action

Operations

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

action

Asserts

-ResponseWarningOnly
*okayfalse

test

name: SearchByAddress

action

Operations

-TypeResourceEncodeRequestUrlParams
*Test script operation code: search (Search)Locationtrue?address=Frogville

action

Asserts

-ResponseWarningOnly
*okayfalse

action

Asserts

-ExpressionWarningOnly
*Bundle.entry.resource.ofType(Location).name.where($this.contains('Frog')).exists()false

test

name: SearchByName

action

Operations

-TypeResourceEncodeRequestUrlParams
*Test script operation code: search (Search)Locationtrue?name=Frog

action

Asserts

-ResponseWarningOnly
*okayfalse

action

Asserts

-ExpressionWarningOnly
*Bundle.entry.resource.ofType(Location).name.where($this.contains('Frog')).exists()false

test

name: SearchByAddressCity

action

Operations

-TypeResourceEncodeRequestUrlParams
*Test script operation code: search (Search)Locationtrue?address-city=Frogville

action

Asserts

-ResponseWarningOnly
*okayfalse

action

Asserts

-ExpressionWarningOnly
*Bundle.entry.resource.ofType(Location).name.where($this.contains('Frog')).exists()false

test

name: SearchByAddressState

action

Operations

-TypeResourceEncodeRequestUrlParams
*Test script operation code: search (Search)Locationtrue?address-state=NSW

action

Asserts

-ResponseWarningOnly
*okayfalse

action

Asserts

-ExpressionWarningOnly
*Bundle.entry.resource.ofType(Location).name.where($this.contains('Frog')).exists()false

test

name: SearchByAddressPostalcode

action

Operations

-TypeResourceEncodeRequestUrlParams
*Test script operation code: search (Search)Locationtrue?address-postalcode=2000

action

Asserts

-ResponseWarningOnly
*okayfalse

action

Asserts

-ExpressionWarningOnly
*Bundle.entry.resource.ofType(Location).name.where($this.contains('Frog')).exists()false

test

name: MustSupport

action

Operations

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

action

Asserts

-ExpressionWarningOnly
*Location.address.exists()false

action

Asserts

-ExpressionWarningOnly
*Location.managingOrganization.exists()false

action

Asserts

-ExpressionWarningOnly
*Location.name.exists()false

action

Asserts

-ExpressionWarningOnly
*Location.physicalType.exists()false

action

Asserts

-ExpressionWarningOnly
*Location.type.exists()false

test

name: ProfileValidation

action

Operations

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

action

Asserts

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