AU Base Implementation Guide
7.0.0-ballot1 - Ballot

AU Base Implementation Guide - Downloaded Version 7.0.0-ballot1 See the Directory of published versions

## Resource Profile: AU Base DiagnosticReport

Official URL: http://hl7.org.au/fhir/StructureDefinition/au-diagnosticreport | Version: 7.0.0-ballot1
Standards status: Trial-use | Maturity Level: 1 | Computable Name: AUBaseDiagnosticReport
Copyright/Legal: HL7 Australia© 2018+; Licensed Under Creative Commons No Rights Reserved.

This profile defines a diagnostic report structure that localises core concepts, including identifiers and terminology, for use in an Australian context. The purpose of this profile is to provide national level agreement on core localised concepts. This profile does not force conformance to core localised concepts. It enables implementers and modellers to make their own rules, i.e. profiling, about how to support these concepts for specific implementation needs.

For specific reporting of pathology or imaging services the more specific AU Base Pathology Report or AU Base Diagnostic Imaging Report profiles would be preferred. This profile is suitable for any other diagnostic service reporting needs.

### Usage Notes

Profile specific implementation guidance:

- Results that are free text or report form are represented in `DiagnosticReport.presentedForm`.
- Results that are structured in FHIR resources are referenced in `DiagnosticReport.result`. Each referenced Observation resource represents an individual diagnostic test and result value or component result values, or a study / panel which references other Observations in `Observation.hasMember`.
- When constructing a report for a study / panel:
  - the individual component examinations are referenced by that grouping Observation in `Observation.hasMember` and not directly referenced in `DiagnosticReport.result`
  - `DiagnosticReport.code` and the study / panel Observation `Observation.code` should be the same concept if the report contains only the results of that study / panel
- See each Identifier profile page for guidance related to that identifier type.
- For guidance on representing a pathology report issued by the diagnostic service provider, the AU Base Pathology Report profile is preferred.
- For guidance on representing an imaging report issued by the diagnostic service provider, the AU Base Diagnostic Imaging Report profile is preferred.
- This profile supports the sex, gender, and related concepts of: Sex Parameter for Clinical Use:
  - When exchanging concepts of sex or gender, refer to the guidance in Sex and Gender and the Gender Harmony Implementation Guide.

Usages:

- Derived from this Profile: AU Base Diagnostic Imaging Report and AU Base Pathology Report

You can also check for usages in the FHIR IG Statistics

Changes since version 6.0.0:

- The resource metadata has changed (description)

### Formal Views of Profile Content

Description of Profiles, Differentials, Snapshots and how the different presentations work.

- Key Elements Table
- Differential Table
- Snapshot Table
- Statistics/References
- All

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
DiagnosticReport |  | 0..* | DiagnosticReport | A diagnostic report in an Australian healthcare context
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created
Slices for extension |  |  |  | Content/Rules for all slices
extension:sexParameterForClinicalUse |  | 0..* | (Complex) | A context-specific sex parameter for clinical use URL: http://hl7.org/fhir/StructureDefinition/patient-sexParameterForClinicalUse
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored
identifier | Σ | 0..* | Identifier, AULocalOrderIdentifier, AULocalReportIdentifier, AUAccessionNumber | Business identifier for report
basedOn |  | 0..* | Reference(CarePlan | ImmunizationRecommendation | MedicationRequest | NutritionOrder | ServiceRequest | AU Base ServiceRequest) | What was requested
status | ?!Σ | 1..1 | code | registered | partial | preliminary | final + Binding: DiagnosticReportStatus (required): The status of the diagnostic report.
category | Σ | 0..* | CodeableConcept | Service category Binding: DiagnosticServiceSectionCodes (preferred)
code | Σ | 1..1 | CodeableConcept | Name/Code for this diagnostic report Binding: Evaluation Procedure (preferred)
specimen |  | 0..* | Reference(AU Base Specimen) | Specimens this report is based on
result |  | 0..* | Reference(Observation | AU Base Diagnostic Result | AU Base Diagnostic Imaging Result | AU Base Pathology Result) | Observations
conclusionCode |  | 0..* | CodeableConcept | Codes for the clinical conclusion of test results Binding: Clinical Finding (preferred)
Documentation for this format

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
DiagnosticReport.status | Base | required | DiagnosticReportStatus | 📍4.0.1 | FHIR Std.
DiagnosticReport.category | Base | preferred | Diagnostic Service Section Codes | 📦4.0.1 | FHIR Std.
DiagnosticReport.code | Base | preferred | Evaluation Procedure | ⏿1.0.0 | tx.hl7.org.au
DiagnosticReport.conclusionCode | Base | preferred | Clinical Finding | ⏿1.0.2 | tx.hl7.org.au

#### Constraints

Id | Grade | Path(s) | Description | Expression
dom-2 | error | DiagnosticReport | If the resource is contained in another resource, it SHALL NOT contain nested Resources | `contained.contained.empty()`
dom-3 | error | DiagnosticReport | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource | `contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()`
dom-4 | error | DiagnosticReport | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated | `contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()`
dom-5 | error | DiagnosticReport | If a resource is contained in another resource, it SHALL NOT have a security label | `contained.meta.security.empty()`
dom-6 | best practice | DiagnosticReport | A resource should have narrative for robust management | `text.`div`.exists()`
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children | `hasValue() or (children().count() > id.count())`
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both | `extension.exists() != value.exists()`

This structure is derived from DiagnosticReport

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
DiagnosticReport |  | 0..* | DiagnosticReport | A diagnostic report in an Australian healthcare context
Slices for extension |  |  |  | Content/Rules for all slices
extension:sexParameterForClinicalUse |  | 0..* | (Complex) | A context-specific sex parameter for clinical use URL: http://hl7.org/fhir/StructureDefinition/patient-sexParameterForClinicalUse
identifier |  | 0..* | Identifier, AULocalOrderIdentifier, AULocalReportIdentifier, AUAccessionNumber | Business identifier for report
basedOn |  | 0..* | Reference(CarePlan | ImmunizationRecommendation | MedicationRequest | NutritionOrder | ServiceRequest | AU Base ServiceRequest) | What was requested
category |  | 0..* | CodeableConcept | Service category Binding: DiagnosticServiceSectionCodes (preferred)
code |  | 1..1 | CodeableConcept | Name/Code for this diagnostic report Binding: Evaluation Procedure (preferred)
specimen |  | 0..* | Reference(AU Base Specimen) | Specimens this report is based on
result |  | 0..* | Reference(Observation | AU Base Diagnostic Result | AU Base Diagnostic Imaging Result | AU Base Pathology Result) | Observations
conclusionCode |  | 0..* | CodeableConcept | Codes for the clinical conclusion of test results Binding: Clinical Finding (preferred)
Documentation for this format

#### Terminology Bindings (Differential)

Path | Status | Usage | ValueSet | Version | Source
DiagnosticReport.category | Base | preferred | Diagnostic Service Section Codes | 📦4.0.1 | FHIR Std.
DiagnosticReport.code | Base | preferred | Evaluation Procedure | ⏿1.0.0 | tx.hl7.org.au
DiagnosticReport.conclusionCode | Base | preferred | Clinical Finding | ⏿1.0.2 | tx.hl7.org.au

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
DiagnosticReport |  | 0..* | DiagnosticReport | A diagnostic report in an Australian healthcare context
id | Σ | 0..1 | id | Logical id of this artifact
meta | Σ | 0..1 | Meta | Metadata about the resource
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created
language |  | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
Additional Bindings | Purpose
AllLanguages | Max Binding
text |  | 0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements
contained |  | 0..* | Resource | Contained, inline Resources
Slices for extension |  | 0..* | Extension | Extension Slice: Unordered, Open by value:url
extension:sexParameterForClinicalUse |  | 0..* | (Complex) | A context-specific sex parameter for clinical use URL: http://hl7.org/fhir/StructureDefinition/patient-sexParameterForClinicalUse
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored
identifier | Σ | 0..* | Identifier, AULocalOrderIdentifier, AULocalReportIdentifier, AUAccessionNumber | Business identifier for report
basedOn |  | 0..* | Reference(CarePlan | ImmunizationRecommendation | MedicationRequest | NutritionOrder | ServiceRequest | AU Base ServiceRequest) | What was requested
status | ?!Σ | 1..1 | code | registered | partial | preliminary | final + Binding: DiagnosticReportStatus (required): The status of the diagnostic report.
category | Σ | 0..* | CodeableConcept | Service category Binding: DiagnosticServiceSectionCodes (preferred)
code | Σ | 1..1 | CodeableConcept | Name/Code for this diagnostic report Binding: Evaluation Procedure (preferred)
subject | Σ | 0..1 | Reference(Patient | Group | Device | Location) | The subject of the report - usually, but not always, the patient
encounter | Σ | 0..1 | Reference(Encounter) | Health care event when test ordered
effective[x] | Σ | 0..1 |  | Clinically relevant time/time-period for report
effectiveDateTime |  |  | dateTime |
effectivePeriod |  |  | Period |
issued | Σ | 0..1 | instant | DateTime this version was made
performer | Σ | 0..* | Reference(Practitioner | PractitionerRole | Organization | CareTeam) | Responsible Diagnostic Service
resultsInterpreter | Σ | 0..* | Reference(Practitioner | PractitionerRole | Organization | CareTeam) | Primary result interpreter
specimen |  | 0..* | Reference(AU Base Specimen) | Specimens this report is based on
result |  | 0..* | Reference(Observation | AU Base Diagnostic Result | AU Base Diagnostic Imaging Result | AU Base Pathology Result) | Observations
imagingStudy |  | 0..* | Reference(ImagingStudy) | Reference to full details of imaging associated with the diagnostic report
media | Σ | 0..* | BackboneElement | Key images associated with this report
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
comment |  | 0..1 | string | Comment about the image (e.g. explanation)
link | Σ | 1..1 | Reference(Media) | Reference to the image source
conclusion |  | 0..1 | string | Clinical conclusion (interpretation) of test results
conclusionCode |  | 0..* | CodeableConcept | Codes for the clinical conclusion of test results Binding: Clinical Finding (preferred)
presentedForm |  | 0..* | Attachment | Entire report as issued
Documentation for this format

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
DiagnosticReport.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std.
DiagnosticReport.status | Base | required | DiagnosticReportStatus | 📍4.0.1 | FHIR Std.
DiagnosticReport.category | Base | preferred | Diagnostic Service Section Codes | 📦4.0.1 | FHIR Std.
DiagnosticReport.code | Base | preferred | Evaluation Procedure | ⏿1.0.0 | tx.hl7.org.au
DiagnosticReport.conclusionCode | Base | preferred | Clinical Finding | ⏿1.0.2 | tx.hl7.org.au

#### Constraints

Id | Grade | Path(s) | Description | Expression
dom-2 | error | DiagnosticReport | If the resource is contained in another resource, it SHALL NOT contain nested Resources | `contained.contained.empty()`
dom-3 | error | DiagnosticReport | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource | `contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()`
dom-4 | error | DiagnosticReport | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated | `contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()`
dom-5 | error | DiagnosticReport | If a resource is contained in another resource, it SHALL NOT have a security label | `contained.meta.security.empty()`
dom-6 | best practice | DiagnosticReport | A resource should have narrative for robust management | `text.`div`.exists()`
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children | `hasValue() or (children().count() > id.count())`
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both | `extension.exists() != value.exists()`

This structure is derived from DiagnosticReport

Summary

Structures

This structure refers to these other structures:

- AU Base ServiceRequest (http://hl7.org.au/fhir/StructureDefinition/au-servicerequest)
- AU Base Specimen (http://hl7.org.au/fhir/StructureDefinition/au-specimen)
- AU Base Diagnostic Result (http://hl7.org.au/fhir/StructureDefinition/au-diagnosticresult)
- AU Base Diagnostic Imaging Result (http://hl7.org.au/fhir/StructureDefinition/au-imagingresult)
- AU Base Pathology Result (http://hl7.org.au/fhir/StructureDefinition/au-pathologyresult)

Extensions

This structure refers to these extensions:

- http://hl7.org/fhir/StructureDefinition/patient-sexParameterForClinicalUse|5.3.0

Maturity: 1

Key Elements View

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
DiagnosticReport |  | 0..* | DiagnosticReport | A diagnostic report in an Australian healthcare context
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created
Slices for extension |  |  |  | Content/Rules for all slices
extension:sexParameterForClinicalUse |  | 0..* | (Complex) | A context-specific sex parameter for clinical use URL: http://hl7.org/fhir/StructureDefinition/patient-sexParameterForClinicalUse
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored
identifier | Σ | 0..* | Identifier, AULocalOrderIdentifier, AULocalReportIdentifier, AUAccessionNumber | Business identifier for report
basedOn |  | 0..* | Reference(CarePlan | ImmunizationRecommendation | MedicationRequest | NutritionOrder | ServiceRequest | AU Base ServiceRequest) | What was requested
status | ?!Σ | 1..1 | code | registered | partial | preliminary | final + Binding: DiagnosticReportStatus (required): The status of the diagnostic report.
category | Σ | 0..* | CodeableConcept | Service category Binding: DiagnosticServiceSectionCodes (preferred)
code | Σ | 1..1 | CodeableConcept | Name/Code for this diagnostic report Binding: Evaluation Procedure (preferred)
specimen |  | 0..* | Reference(AU Base Specimen) | Specimens this report is based on
result |  | 0..* | Reference(Observation | AU Base Diagnostic Result | AU Base Diagnostic Imaging Result | AU Base Pathology Result) | Observations
conclusionCode |  | 0..* | CodeableConcept | Codes for the clinical conclusion of test results Binding: Clinical Finding (preferred)
Documentation for this format

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
DiagnosticReport.status | Base | required | DiagnosticReportStatus | 📍4.0.1 | FHIR Std.
DiagnosticReport.category | Base | preferred | Diagnostic Service Section Codes | 📦4.0.1 | FHIR Std.
DiagnosticReport.code | Base | preferred | Evaluation Procedure | ⏿1.0.0 | tx.hl7.org.au
DiagnosticReport.conclusionCode | Base | preferred | Clinical Finding | ⏿1.0.2 | tx.hl7.org.au

#### Constraints

Id | Grade | Path(s) | Description | Expression
dom-2 | error | DiagnosticReport | If the resource is contained in another resource, it SHALL NOT contain nested Resources | `contained.contained.empty()`
dom-3 | error | DiagnosticReport | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource | `contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()`
dom-4 | error | DiagnosticReport | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated | `contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()`
dom-5 | error | DiagnosticReport | If a resource is contained in another resource, it SHALL NOT have a security label | `contained.meta.security.empty()`
dom-6 | best practice | DiagnosticReport | A resource should have narrative for robust management | `text.`div`.exists()`
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children | `hasValue() or (children().count() > id.count())`
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both | `extension.exists() != value.exists()`

Differential View

This structure is derived from DiagnosticReport

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
DiagnosticReport |  | 0..* | DiagnosticReport | A diagnostic report in an Australian healthcare context
Slices for extension |  |  |  | Content/Rules for all slices
extension:sexParameterForClinicalUse |  | 0..* | (Complex) | A context-specific sex parameter for clinical use URL: http://hl7.org/fhir/StructureDefinition/patient-sexParameterForClinicalUse
identifier |  | 0..* | Identifier, AULocalOrderIdentifier, AULocalReportIdentifier, AUAccessionNumber | Business identifier for report
basedOn |  | 0..* | Reference(CarePlan | ImmunizationRecommendation | MedicationRequest | NutritionOrder | ServiceRequest | AU Base ServiceRequest) | What was requested
category |  | 0..* | CodeableConcept | Service category Binding: DiagnosticServiceSectionCodes (preferred)
code |  | 1..1 | CodeableConcept | Name/Code for this diagnostic report Binding: Evaluation Procedure (preferred)
specimen |  | 0..* | Reference(AU Base Specimen) | Specimens this report is based on
result |  | 0..* | Reference(Observation | AU Base Diagnostic Result | AU Base Diagnostic Imaging Result | AU Base Pathology Result) | Observations
conclusionCode |  | 0..* | CodeableConcept | Codes for the clinical conclusion of test results Binding: Clinical Finding (preferred)
Documentation for this format

#### Terminology Bindings (Differential)

Path | Status | Usage | ValueSet | Version | Source
DiagnosticReport.category | Base | preferred | Diagnostic Service Section Codes | 📦4.0.1 | FHIR Std.
DiagnosticReport.code | Base | preferred | Evaluation Procedure | ⏿1.0.0 | tx.hl7.org.au
DiagnosticReport.conclusionCode | Base | preferred | Clinical Finding | ⏿1.0.2 | tx.hl7.org.au

Snapshot View

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
DiagnosticReport |  | 0..* | DiagnosticReport | A diagnostic report in an Australian healthcare context
id | Σ | 0..1 | id | Logical id of this artifact
meta | Σ | 0..1 | Meta | Metadata about the resource
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created
language |  | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
Additional Bindings | Purpose
AllLanguages | Max Binding
text |  | 0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements
contained |  | 0..* | Resource | Contained, inline Resources
Slices for extension |  | 0..* | Extension | Extension Slice: Unordered, Open by value:url
extension:sexParameterForClinicalUse |  | 0..* | (Complex) | A context-specific sex parameter for clinical use URL: http://hl7.org/fhir/StructureDefinition/patient-sexParameterForClinicalUse
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored
identifier | Σ | 0..* | Identifier, AULocalOrderIdentifier, AULocalReportIdentifier, AUAccessionNumber | Business identifier for report
basedOn |  | 0..* | Reference(CarePlan | ImmunizationRecommendation | MedicationRequest | NutritionOrder | ServiceRequest | AU Base ServiceRequest) | What was requested
status | ?!Σ | 1..1 | code | registered | partial | preliminary | final + Binding: DiagnosticReportStatus (required): The status of the diagnostic report.
category | Σ | 0..* | CodeableConcept | Service category Binding: DiagnosticServiceSectionCodes (preferred)
code | Σ | 1..1 | CodeableConcept | Name/Code for this diagnostic report Binding: Evaluation Procedure (preferred)
subject | Σ | 0..1 | Reference(Patient | Group | Device | Location) | The subject of the report - usually, but not always, the patient
encounter | Σ | 0..1 | Reference(Encounter) | Health care event when test ordered
effective[x] | Σ | 0..1 |  | Clinically relevant time/time-period for report
effectiveDateTime |  |  | dateTime |
effectivePeriod |  |  | Period |
issued | Σ | 0..1 | instant | DateTime this version was made
performer | Σ | 0..* | Reference(Practitioner | PractitionerRole | Organization | CareTeam) | Responsible Diagnostic Service
resultsInterpreter | Σ | 0..* | Reference(Practitioner | PractitionerRole | Organization | CareTeam) | Primary result interpreter
specimen |  | 0..* | Reference(AU Base Specimen) | Specimens this report is based on
result |  | 0..* | Reference(Observation | AU Base Diagnostic Result | AU Base Diagnostic Imaging Result | AU Base Pathology Result) | Observations
imagingStudy |  | 0..* | Reference(ImagingStudy) | Reference to full details of imaging associated with the diagnostic report
media | Σ | 0..* | BackboneElement | Key images associated with this report
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
comment |  | 0..1 | string | Comment about the image (e.g. explanation)
link | Σ | 1..1 | Reference(Media) | Reference to the image source
conclusion |  | 0..1 | string | Clinical conclusion (interpretation) of test results
conclusionCode |  | 0..* | CodeableConcept | Codes for the clinical conclusion of test results Binding: Clinical Finding (preferred)
presentedForm |  | 0..* | Attachment | Entire report as issued
Documentation for this format

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
DiagnosticReport.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std.
DiagnosticReport.status | Base | required | DiagnosticReportStatus | 📍4.0.1 | FHIR Std.
DiagnosticReport.category | Base | preferred | Diagnostic Service Section Codes | 📦4.0.1 | FHIR Std.
DiagnosticReport.code | Base | preferred | Evaluation Procedure | ⏿1.0.0 | tx.hl7.org.au
DiagnosticReport.conclusionCode | Base | preferred | Clinical Finding | ⏿1.0.2 | tx.hl7.org.au

#### Constraints

Id | Grade | Path(s) | Description | Expression
dom-2 | error | DiagnosticReport | If the resource is contained in another resource, it SHALL NOT contain nested Resources | `contained.contained.empty()`
dom-3 | error | DiagnosticReport | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource | `contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()`
dom-4 | error | DiagnosticReport | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated | `contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()`
dom-5 | error | DiagnosticReport | If a resource is contained in another resource, it SHALL NOT have a security label | `contained.meta.security.empty()`
dom-6 | best practice | DiagnosticReport | A resource should have narrative for robust management | `text.`div`.exists()`
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children | `hasValue() or (children().count() > id.count())`
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both | `extension.exists() != value.exists()`

This structure is derived from DiagnosticReport

Summary

Structures

This structure refers to these other structures:

- AU Base ServiceRequest (http://hl7.org.au/fhir/StructureDefinition/au-servicerequest)
- AU Base Specimen (http://hl7.org.au/fhir/StructureDefinition/au-specimen)
- AU Base Diagnostic Result (http://hl7.org.au/fhir/StructureDefinition/au-diagnosticresult)
- AU Base Diagnostic Imaging Result (http://hl7.org.au/fhir/StructureDefinition/au-imagingresult)
- AU Base Pathology Result (http://hl7.org.au/fhir/StructureDefinition/au-pathologyresult)

Extensions

This structure refers to these extensions:

- http://hl7.org/fhir/StructureDefinition/patient-sexParameterForClinicalUse|5.3.0

Maturity: 1

Other representations of profile: CSV, Excel, Schematron