Generated Narrative: TestScript au-core-organization url: TestScript AU Core Organization — SHALL-level conformance version: 0.1.0 name: AUCoreOrganization title: AU Core Organization — 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 Organization (2.0.0) requirements: read, search by identifier, search by name, must-support element presence (including identifier slice-presence checks for HPI-O and ABN), and profile conformance validation. Mirrors the SHALL subset of au-fhir-core-inferno's OrganizationGroup (organization_read_test, organization_identifier_search_test, organization_name_search_test, organization_must_support_test, organization_validation_test) — the SHOULD-level searches (_id, address) and the SHOULD-level identifier-slice-specific searches (organization_identifier_hpio_search_test, organization_identifier_abn_search_test) are not replicated as separate search tests here, consistent with fhirfrog/au-core-compiler#6 scope rationale. The HPI-O/ABN identifier slice presence that those SHOULD-level search tests would otherwise exercise is instead covered directly via FHIRPath assertions in the MustSupport test against a fixture carrying both slices; see fhirfrog/au-core-compiler#16. fixture id organization-fixture autocreate: true autodelete: true resource: au-core-organization-conformant Variables - Name Path SourceId * organizationId Organization.id organization-fixture test name: Read action Operations - Type Resource EncodeRequestUrl Params * Test script operation code: read (Read) Organization true /${organizationId} action Asserts - Response WarningOnly * okay false test name: SearchByIdentifier action Operations - Type Resource EncodeRequestUrl Params * Test script operation code: search (Search) Organization true ?identifier=http://ns.electronichealth.net.au/id/hi/hpio/1.0|8003620000000013 action Asserts - Response WarningOnly * okay false action Asserts - Expression WarningOnly * Bundle.entry.resource.ofType(Organization).name.where($this.contains('Frog')).exists() false test name: SearchByName action Operations - Type Resource EncodeRequestUrl Params * Test script operation code: search (Search) Organization true ?name=Frog action Asserts - Response WarningOnly * okay false action Asserts - Expression WarningOnly * Bundle.entry.resource.ofType(Organization).name.where($this.contains('Frog')).exists() false test name: MustSupport action Operations - Type Resource EncodeRequestUrl Params * Test script operation code: read (Read) Organization true /${organizationId} action Asserts - Expression WarningOnly * Organization.identifier.exists() false action Asserts - Expression WarningOnly * Organization.identifier.where(system = 'http://ns.electronichealth.net.au/id/hi/hpio/1.0').exists() false action Asserts - Expression WarningOnly * Organization.identifier.where(system = 'http://hl7.org.au/id/abn').exists() false action Asserts - Expression WarningOnly * Organization.type.exists() false action Asserts - Expression WarningOnly * Organization.name.exists() false action Asserts - Expression WarningOnly * Organization.telecom.exists() false action Asserts - Expression WarningOnly * Organization.telecom.system.exists() false action Asserts - Expression WarningOnly * Organization.telecom.value.exists() false action Asserts - Expression WarningOnly * Organization.address.exists() false test name: ProfileValidation action Operations - Type Resource EncodeRequestUrl Params * Test script operation code: read (Read) Organization true /${organizationId} action Asserts - ValidateProfileId WarningOnly * http://hl7.org.au/fhir/core/StructureDefinition/au-core-organization false
AU Core Organization — SHALL-level conformance
Covers the SHALL-level AU Core Organization (2.0.0) requirements: read, search by identifier, search by name, must-support element presence (including identifier slice-presence checks for HPI-O and ABN), and profile conformance validation. Mirrors the SHALL subset of au-fhir-core-inferno's OrganizationGroup (organization_read_test, organization_identifier_search_test, organization_name_search_test, organization_must_support_test, organization_validation_test) — the SHOULD-level searches (_id, address) and the SHOULD-level identifier-slice-specific searches (organization_identifier_hpio_search_test, organization_identifier_abn_search_test) are not replicated as separate search tests here, consistent with fhirfrog/au-core-compiler#6 scope rationale. The HPI-O/ABN identifier slice presence that those SHOULD-level search tests would otherwise exercise is instead covered directly via FHIRPath assertions in the MustSupport test against a fixture carrying both slices; see fhirfrog/au-core-compiler#16.
Organization.identifier.where(system = 'http://ns.electronichealth.net.au/id/hi/hpio/1.0').exists()
Organization.identifier.where(system = 'http://hl7.org.au/id/abn').exists()