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
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.
location-organization-fixture: au-core-location-organization (created before, and removed after, the run)location-fixture: au-core-location-conformant (created before, and removed after, the run)${locationId} = Location.id of location-fixtureREAD Location/${locationId}
response = okay
SEARCH Location?address=Frogville
response = okay
expression = Bundle.entry.resource.ofType(Location).name.where($this.contains('Frog')).exists()
SEARCH Location?name=Frog
response = okay
expression = Bundle.entry.resource.ofType(Location).name.where($this.contains('Frog')).exists()
SEARCH Location?address-city=Frogville
response = okay
expression = Bundle.entry.resource.ofType(Location).name.where($this.contains('Frog')).exists()
SEARCH Location?address-state=NSW
response = okay
expression = Bundle.entry.resource.ofType(Location).name.where($this.contains('Frog')).exists()
SEARCH Location?address-postalcode=2000
response = okay
expression = Bundle.entry.resource.ofType(Location).name.where($this.contains('Frog')).exists()
READ Location/${locationId}
expression = Location.address.exists()
expression = Location.managingOrganization.exists()
expression = Location.name.exists()
expression = Location.physicalType.exists()
expression = Location.type.exists()
READ Location/${locationId}
validateProfileId = http://hl7.org.au/fhir/core/StructureDefinition/au-core-location