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 Condition (2.0.0) requirements: read, search by patient, the SHALL search-combos patient+category and patient+clinical-status, must-support element presence, and profile conformance validation, plus one SHOULD search-combo (patient+code) included to demonstrate the multi-param querystring pattern. Mirrors the SHALL subset of au-fhir-core-inferno's ConditionGroup (condition_read_test, condition_patient_search_test, condition_patient_category_search_test, condition_patient_clinical_status_search_test, condition_must_support_test, condition_validation_test). The remaining SHOULD/MAY-level combinatorial search tests (patient+category+clinical-status, patient+onset-date, code with multiple-or, onset-date with multiple-and, the DVA/IHI/Medicare identifier chain searches on patient, and the reference-resolution test) are not replicated here, per the same SHALL-only scope rationale used for Patient; see fhirfrog/au-core-compiler#6 and #8.
patient-fixture: au-core-patient-conformant (created before, and removed after, the run)condition-fixture: au-core-condition-conformant (created before, and removed after, the run)${patientId} = Patient.id of patient-fixture${conditionId} = Condition.id of condition-fixtureREAD Condition/${conditionId}
response = okay
SEARCH Condition?patient=${patientId}
response = okay
expression = Bundle.entry.resource.ofType(Condition).where(code.coding.code = '68566005').exists()
SEARCH Condition?patient=${patientId}&category=http://terminology.hl7.org/CodeSystem/condition-category|problem-list-item
response = okay
expression = Bundle.entry.resource.ofType(Condition).where(category.coding.code = 'problem-list-item').exists()
SEARCH Condition?patient=${patientId}&clinical-status=http://terminology.hl7.org/CodeSystem/condition-clinical|resolved
response = okay
expression = Bundle.entry.resource.ofType(Condition).where(clinicalStatus.coding.code = 'resolved').exists()
SEARCH Condition?patient=${patientId}&code=http://snomed.info/sct|68566005
response = okay
expression = Bundle.entry.resource.ofType(Condition).where(code.coding.code = '68566005').exists()
READ Condition/${conditionId}
expression = Condition.clinicalStatus.exists()
expression = Condition.verificationStatus.exists()
expression = Condition.category.exists()
expression = Condition.severity.exists()
expression = Condition.code.exists()
expression = Condition.subject.exists()
expression = Condition.onset.exists()
expression = Condition.abatement.exists()
expression = Condition.note.exists()
READ Condition/${conditionId}
validateProfileId = http://hl7.org.au/fhir/core/StructureDefinition/au-core-condition