Medtech ALEX® AU Implementation Guide
1.0.0 - Trial Use

Medtech ALEX® AU Implementation Guide - Local Development build (v1.0.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

## Resource Profile: Diagnostic Report

Official URL: https://alexapi.medtechglobal.com.au/fhir/StructureDefinition/alex-diagnosticreport | Version: 1.0.0
Active as of 2026-01-12 | Computable Name: AlexDiagnosticReport

The Diagnostic Report exposed by ALEX

Usages:

- Derived from this Profile: Diagnostic Report IPS Profile
- Use this Profile: Diagnostic Report Bundle
- Examples for this Profile: DiagnosticReport/diagnosticReport-full-example and DiagnosticReport/diagnosticReport-min-example

You can also check for usages in the FHIR IG Statistics

### 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 | C | 0..* | DiagnosticReport | A Diagnostic report - a combination of request information, atomic results, images, interpretation, as well as formatted reports Constraints: conclusion-validation, code-coding-system-validation
meta | Σ | 0..1 | Meta | Metadata about the resource
lastUpdated | S Σ | 0..1 | instant | When the resource version last changed
security | Σ | 0..* | Coding | Security Labels applied to this resource Binding: Definition of Confidentiality Value Set (required)
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored
identifier | S Σ | 0..1 | Identifier | Business identifier for report
use | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
status | ?!Σ | 1..1 | code | registered | partial | preliminary | final + Binding: DiagnosticReportStatus (required): The status of the diagnostic report. Required Pattern: final
category | S Σ | 1..1 | CodeableConcept | Service category Binding: Diagnostic Category Value Set (required)
code | S Σ | 1..1 | CodeableConcept | Name/Code for this diagnostic report Binding: Diagnostic Code Value Set (extensible)
coding | Σ | 0..* | Coding | Code defined by a terminology system
system | S Σ | 0..1 | uri | Identity of the terminology system
code | S Σ | 0..1 | code | Symbol in syntax defined by the system
subject | S Σ | 0..1 | Reference(Patient | Group | Device | Location) | The subject of the report - usually, but not always, the patient
reference | S Σ C | 0..1 | string | Literal reference, Relative, internal or absolute URL
display | Σ | 0..1 | string | External Name of Patient
issued | S Σ | 1..1 | instant | DateTime this version was made
performer | Σ | 0..* | Reference(Practitioner | PractitionerRole | Organization | CareTeam) | Responsible Diagnostic Service
type | Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). Required Pattern: Organization
identifier | Σ | 0..1 | Identifier | Logical reference, when literal reference is not known
use | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
value | S Σ | 0..1 | string | The value that is unique Example General: 123456
resultsInterpreter | S Σ | 1..1 | Reference(Practitioner | PractitionerRole | Organization | CareTeam) | Primary result interpreter
reference | S Σ C | 0..1 | string | Literal reference, Relative, internal or absolute URL
result | S | 0..* | Reference(Observation) | Observations
conclusion | S | 0..1 | string | Clinical conclusion (interpretation) of test results
presentedForm | S | 0..* | Attachment | Entire report as issued
contentType | S Σ | 0..1 | code | Mime type of the content, with charset etc. Binding: Mime Types (required): The mime type of an attachment. Any valid mime type is allowed. Example General: text/plain; charset=UTF-8, image/png
data | S | 0..1 | base64Binary | Data inline, base64ed
Documentation for this format

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
DiagnosticReport.meta.​security | Base | required | Definition of Confidentiality Value Set | 📦1.0.0 | This IG
DiagnosticReport.identifier.​use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std.
DiagnosticReport.status | Base | required | DiagnosticReportStatus | 📍4.0.1 | FHIR Std.
DiagnosticReport.category | Base | required | Diagnostic Category Value Set | 📦1.0.0 | This IG
DiagnosticReport.code | Base | extensible | Diagnostic Code Value Set | 📦1.0.0 | This IG
DiagnosticReport.performer.​type | Base | extensible | ResourceType | 📍4.0.1 | FHIR Std.
DiagnosticReport.performer.​identifier.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std.
DiagnosticReport.presentedForm.​contentType | Base | required | MimeType | 📍4.0.1 | FHIR Std.

#### Constraints

Id | Grade | Path(s) | Description | Expression
code-coding-system-validation | error | DiagnosticReport | code.coding.system must be either http://loinc.org or https://alexapi.medtechglobal.com.au/fhir/CodeSystem/diagnostic-code | `code.coding.all(system.empty() or system = %loinc or system = 'https://alexapi.medtechglobal.com.au/fhir/CodeSystem/diagnostic-code')`
conclusion-validation | error | DiagnosticReport | Conclusion must not exceed 200 characters | `conclusion.empty() or conclusion.length() <= 200`
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 | C | 0..* | DiagnosticReport | A Diagnostic report - a combination of request information, atomic results, images, interpretation, as well as formatted reports Constraints: conclusion-validation, code-coding-system-validation
meta |  |  |  |
lastUpdated | S | 0..1 | instant | When the resource version last changed
security |  | 0..* | Coding | Security Labels applied to this resource Binding: Definition of Confidentiality Value Set (required)
implicitRules |  | 0..0 |  | A set of rules under which this content was created
language |  | 0..0 |  | Language of the resource content
contained |  | 0..0 |  | Contained, inline Resources
identifier | S | 0..1 | Identifier | Business identifier for report
type |  |  |  |
coding |  |  |  |
system |  | 0..1 | uri | Identity of the terminology system Required Pattern: http://terminology.hl7.org/CodeSystem/v2-0203
code |  | 0..1 | code | Symbol in syntax defined by the system Required Pattern: FILL
status |  | 1..1 | code | registered | partial | preliminary | final + Required Pattern: final
category | S | 1..1 | CodeableConcept | Service category Binding: Diagnostic Category Value Set (required)
coding |  |  |  |
system |  | 1..1 | uri | Identity of the terminology system
code |  | 1..1 | code | Symbol in syntax defined by the system
code | S | 1..1 | CodeableConcept | Name/Code for this diagnostic report Binding: Diagnostic Code Value Set (extensible)
coding |  |  |  |
system | S | 0..1 | uri | Identity of the terminology system
code | S | 0..1 | code | Symbol in syntax defined by the system
subject | S | 0..1 | Reference(Patient | Group | Device | Location) | The subject of the report - usually, but not always, the patient
reference | S | 0..1 | string | Literal reference, Relative, internal or absolute URL
display |  | 0..1 | string | External Name of Patient
encounter |  | 0..0 |  | Health care event when test ordered
effective[x] |  | 0..0 |  | Clinically relevant time/time-period for report
issued | S | 1..1 | instant | DateTime this version was made
performer |  |  |  |
type |  | 0..1 | uri | Type the reference refers to (e.g. "Patient") Required Pattern: Organization
identifier |  |  |  |
value | S | 0..1 | string | The value that is unique
resultsInterpreter | S | 1..1 | Reference(Practitioner | PractitionerRole | Organization | CareTeam) | Primary result interpreter
reference | S | 0..1 | string | Literal reference, Relative, internal or absolute URL
specimen |  | 0..0 |  | Specimens this report is based on
result | S | 0..* | Reference(Observation) | Observations
imagingStudy |  | 0..0 |  | Reference to full details of imaging associated with the diagnostic report
media |  | 0..0 |  | Key images associated with this report
conclusion | S | 0..1 | string | Clinical conclusion (interpretation) of test results
conclusionCode |  | 0..0 |  | Codes for the clinical conclusion of test results
presentedForm | S | 0..* | Attachment | Entire report as issued
contentType | S | 0..1 | code | Mime type of the content, with charset etc.
data | S | 0..1 | base64Binary | Data inline, base64ed
Documentation for this format

#### Terminology Bindings (Differential)

Path | Status | Usage | ValueSet | Version | Source
DiagnosticReport.meta.​security | Base | required | Definition of Confidentiality Value Set | 📦1.0.0 | This IG
DiagnosticReport.category | Base | required | Diagnostic Category Value Set | 📦1.0.0 | This IG
DiagnosticReport.code | Base | extensible | Diagnostic Code Value Set | 📦1.0.0 | This IG

#### Constraints

Id | Grade | Path(s) | Description | Expression
code-coding-system-validation | error | DiagnosticReport | code.coding.system must be either http://loinc.org or https://alexapi.medtechglobal.com.au/fhir/CodeSystem/diagnostic-code | `code.coding.all(system.empty() or system = %loinc or system = 'https://alexapi.medtechglobal.com.au/fhir/CodeSystem/diagnostic-code')`
conclusion-validation | error | DiagnosticReport | Conclusion must not exceed 200 characters | `conclusion.empty() or conclusion.length() <= 200`

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
DiagnosticReport | C | 0..* | DiagnosticReport | A Diagnostic report - a combination of request information, atomic results, images, interpretation, as well as formatted reports Constraints: conclusion-validation, code-coding-system-validation
id | Σ | 0..1 | id | Logical id of this artifact
meta | Σ | 0..1 | Meta | Metadata about the resource
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
versionId | Σ | 0..1 | id | Version specific identifier
lastUpdated | S Σ | 0..1 | instant | When the resource version last changed
source | Σ | 0..1 | uri | Identifies where the resource comes from
profile | Σ | 0..* | canonical(StructureDefinition) | Profiles this resource claims to conform to
security | Σ | 0..* | Coding | Security Labels applied to this resource Binding: Definition of Confidentiality Value Set (required)
tag | Σ | 0..* | Coding | Tags applied to this resource Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".
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
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored
identifier | S Σ | 0..1 | Identifier | Business identifier for report
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
use | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
type | Σ | 0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
coding | Σ | 0..* | Coding | Code defined by a terminology system
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
system | Σ | 0..1 | uri | Identity of the terminology system Required Pattern: http://terminology.hl7.org/CodeSystem/v2-0203
version | Σ | 0..1 | string | Version of the system - if relevant
code | Σ | 0..1 | code | Symbol in syntax defined by the system Required Pattern: FILL
display | Σ | 0..1 | string | Representation defined by the system
userSelected | Σ | 0..1 | boolean | If this coding was chosen directly by the user
text | Σ | 0..1 | string | Plain text representation of the concept
system | Σ | 0..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient
value | Σ | 0..1 | string | The value that is unique Example General: 123456
period | Σ | 0..1 | Period | Time period when id is/was valid for use
assigner | Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text)
basedOn |  | 0..* | Reference(CarePlan | ImmunizationRecommendation | MedicationRequest | NutritionOrder | ServiceRequest) | What was requested
status | ?!Σ | 1..1 | code | registered | partial | preliminary | final + Binding: DiagnosticReportStatus (required): The status of the diagnostic report. Required Pattern: final
category | S Σ | 1..1 | CodeableConcept | Service category Binding: Diagnostic Category Value Set (required)
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
coding | Σ | 0..* | Coding | Code defined by a terminology system
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
system | Σ | 1..1 | uri | Identity of the terminology system
version | Σ | 0..1 | string | Version of the system - if relevant
code | Σ | 1..1 | code | Symbol in syntax defined by the system
display | Σ | 0..1 | string | Representation defined by the system
userSelected | Σ | 0..1 | boolean | If this coding was chosen directly by the user
text | Σ | 0..1 | string | Plain text representation of the concept
code | S Σ | 1..1 | CodeableConcept | Name/Code for this diagnostic report Binding: Diagnostic Code Value Set (extensible)
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
coding | Σ | 0..* | Coding | Code defined by a terminology system
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
system | S Σ | 0..1 | uri | Identity of the terminology system
version | Σ | 0..1 | string | Version of the system - if relevant
code | S Σ | 0..1 | code | Symbol in syntax defined by the system
display | Σ | 0..1 | string | Representation defined by the system
userSelected | Σ | 0..1 | boolean | If this coding was chosen directly by the user
text | Σ | 0..1 | string | Plain text representation of the concept
subject | S Σ | 0..1 | Reference(Patient | Group | Device | Location) | The subject of the report - usually, but not always, the patient
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
reference | S Σ C | 0..1 | string | Literal reference, Relative, internal or absolute URL
type | Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
identifier | Σ | 0..1 | Identifier | Logical reference, when literal reference is not known
display | Σ | 0..1 | string | External Name of Patient
issued | S Σ | 1..1 | instant | DateTime this version was made
performer | Σ | 0..* | Reference(Practitioner | PractitionerRole | Organization | CareTeam) | Responsible Diagnostic Service
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
reference | Σ C | 0..1 | string | Literal reference, Relative, internal or absolute URL
type | Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). Required Pattern: Organization
identifier | Σ | 0..1 | Identifier | Logical reference, when literal reference is not known
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
use | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
type | Σ | 0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
system | Σ | 0..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient
value | S Σ | 0..1 | string | The value that is unique Example General: 123456
period | Σ | 0..1 | Period | Time period when id is/was valid for use
assigner | Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text)
display | Σ | 0..1 | string | Text alternative for the resource
resultsInterpreter | S Σ | 1..1 | Reference(Practitioner | PractitionerRole | Organization | CareTeam) | Primary result interpreter
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
reference | S Σ C | 0..1 | string | Literal reference, Relative, internal or absolute URL
type | Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
identifier | Σ | 0..1 | Identifier | Logical reference, when literal reference is not known
display | Σ | 0..1 | string | Text alternative for the resource
result | S | 0..* | Reference(Observation) | Observations
conclusion | S | 0..1 | string | Clinical conclusion (interpretation) of test results
presentedForm | S | 0..* | Attachment | Entire report as issued
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
contentType | S Σ | 0..1 | code | Mime type of the content, with charset etc. Binding: Mime Types (required): The mime type of an attachment. Any valid mime type is allowed. Example General: text/plain; charset=UTF-8, image/png
language | Σ | 0..1 | code | Human language of the content (BCP-47) Binding: CommonLanguages (preferred): A human language.
Additional Bindings | Purpose
AllLanguages | Max Binding
Example General: en-AU
data | S | 0..1 | base64Binary | Data inline, base64ed
url | Σ | 0..1 | url | Uri where the data can be found Example General: http://www.acme.com/logo-small.png
size | Σ | 0..1 | unsignedInt | Number of bytes of content (if url provided)
hash | Σ | 0..1 | base64Binary | Hash of the data (sha-1, base64ed)
title | Σ | 0..1 | string | Label to display in place of the data Example General: Official Corporate Logo
creation | Σ | 0..1 | dateTime | Date attachment was first created
Documentation for this format

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
DiagnosticReport.meta.​security | Base | required | Definition of Confidentiality Value Set | 📦1.0.0 | This IG
DiagnosticReport.meta.​tag | Base | example | Common Tags | 📍4.0.1 | FHIR Std.
DiagnosticReport.identifier.​use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std.
DiagnosticReport.identifier.​type | Base | extensible | IdentifierType | 📍4.0.1 | FHIR Std.
DiagnosticReport.status | Base | required | DiagnosticReportStatus | 📍4.0.1 | FHIR Std.
DiagnosticReport.category | Base | required | Diagnostic Category Value Set | 📦1.0.0 | This IG
DiagnosticReport.code | Base | extensible | Diagnostic Code Value Set | 📦1.0.0 | This IG
DiagnosticReport.subject.​type | Base | extensible | ResourceType | 📍4.0.1 | FHIR Std.
DiagnosticReport.performer.​type | Base | extensible | ResourceType | 📍4.0.1 | FHIR Std.
DiagnosticReport.performer.​identifier.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std.
DiagnosticReport.performer.​identifier.type | Base | extensible | IdentifierType | 📍4.0.1 | FHIR Std.
DiagnosticReport.resultsInterpreter.​type | Base | extensible | ResourceType | 📍4.0.1 | FHIR Std.
DiagnosticReport.presentedForm.​contentType | Base | required | MimeType | 📍4.0.1 | FHIR Std.
DiagnosticReport.presentedForm.​language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std.

#### Constraints

Id | Grade | Path(s) | Description | Expression
code-coding-system-validation | error | DiagnosticReport | code.coding.system must be either http://loinc.org or https://alexapi.medtechglobal.com.au/fhir/CodeSystem/diagnostic-code | `code.coding.all(system.empty() or system = %loinc or system = 'https://alexapi.medtechglobal.com.au/fhir/CodeSystem/diagnostic-code')`
conclusion-validation | error | DiagnosticReport | Conclusion must not exceed 200 characters | `conclusion.empty() or conclusion.length() <= 200`
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

Mandatory: 3 elements(2 nested mandatory elements)
Must-Support: 17 elements
Prohibited: 9 elements

Key Elements View

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
DiagnosticReport | C | 0..* | DiagnosticReport | A Diagnostic report - a combination of request information, atomic results, images, interpretation, as well as formatted reports Constraints: conclusion-validation, code-coding-system-validation
meta | Σ | 0..1 | Meta | Metadata about the resource
lastUpdated | S Σ | 0..1 | instant | When the resource version last changed
security | Σ | 0..* | Coding | Security Labels applied to this resource Binding: Definition of Confidentiality Value Set (required)
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored
identifier | S Σ | 0..1 | Identifier | Business identifier for report
use | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
status | ?!Σ | 1..1 | code | registered | partial | preliminary | final + Binding: DiagnosticReportStatus (required): The status of the diagnostic report. Required Pattern: final
category | S Σ | 1..1 | CodeableConcept | Service category Binding: Diagnostic Category Value Set (required)
code | S Σ | 1..1 | CodeableConcept | Name/Code for this diagnostic report Binding: Diagnostic Code Value Set (extensible)
coding | Σ | 0..* | Coding | Code defined by a terminology system
system | S Σ | 0..1 | uri | Identity of the terminology system
code | S Σ | 0..1 | code | Symbol in syntax defined by the system
subject | S Σ | 0..1 | Reference(Patient | Group | Device | Location) | The subject of the report - usually, but not always, the patient
reference | S Σ C | 0..1 | string | Literal reference, Relative, internal or absolute URL
display | Σ | 0..1 | string | External Name of Patient
issued | S Σ | 1..1 | instant | DateTime this version was made
performer | Σ | 0..* | Reference(Practitioner | PractitionerRole | Organization | CareTeam) | Responsible Diagnostic Service
type | Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). Required Pattern: Organization
identifier | Σ | 0..1 | Identifier | Logical reference, when literal reference is not known
use | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
value | S Σ | 0..1 | string | The value that is unique Example General: 123456
resultsInterpreter | S Σ | 1..1 | Reference(Practitioner | PractitionerRole | Organization | CareTeam) | Primary result interpreter
reference | S Σ C | 0..1 | string | Literal reference, Relative, internal or absolute URL
result | S | 0..* | Reference(Observation) | Observations
conclusion | S | 0..1 | string | Clinical conclusion (interpretation) of test results
presentedForm | S | 0..* | Attachment | Entire report as issued
contentType | S Σ | 0..1 | code | Mime type of the content, with charset etc. Binding: Mime Types (required): The mime type of an attachment. Any valid mime type is allowed. Example General: text/plain; charset=UTF-8, image/png
data | S | 0..1 | base64Binary | Data inline, base64ed
Documentation for this format

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
DiagnosticReport.meta.​security | Base | required | Definition of Confidentiality Value Set | 📦1.0.0 | This IG
DiagnosticReport.identifier.​use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std.
DiagnosticReport.status | Base | required | DiagnosticReportStatus | 📍4.0.1 | FHIR Std.
DiagnosticReport.category | Base | required | Diagnostic Category Value Set | 📦1.0.0 | This IG
DiagnosticReport.code | Base | extensible | Diagnostic Code Value Set | 📦1.0.0 | This IG
DiagnosticReport.performer.​type | Base | extensible | ResourceType | 📍4.0.1 | FHIR Std.
DiagnosticReport.performer.​identifier.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std.
DiagnosticReport.presentedForm.​contentType | Base | required | MimeType | 📍4.0.1 | FHIR Std.

#### Constraints

Id | Grade | Path(s) | Description | Expression
code-coding-system-validation | error | DiagnosticReport | code.coding.system must be either http://loinc.org or https://alexapi.medtechglobal.com.au/fhir/CodeSystem/diagnostic-code | `code.coding.all(system.empty() or system = %loinc or system = 'https://alexapi.medtechglobal.com.au/fhir/CodeSystem/diagnostic-code')`
conclusion-validation | error | DiagnosticReport | Conclusion must not exceed 200 characters | `conclusion.empty() or conclusion.length() <= 200`
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 | C | 0..* | DiagnosticReport | A Diagnostic report - a combination of request information, atomic results, images, interpretation, as well as formatted reports Constraints: conclusion-validation, code-coding-system-validation
meta |  |  |  |
lastUpdated | S | 0..1 | instant | When the resource version last changed
security |  | 0..* | Coding | Security Labels applied to this resource Binding: Definition of Confidentiality Value Set (required)
implicitRules |  | 0..0 |  | A set of rules under which this content was created
language |  | 0..0 |  | Language of the resource content
contained |  | 0..0 |  | Contained, inline Resources
identifier | S | 0..1 | Identifier | Business identifier for report
type |  |  |  |
coding |  |  |  |
system |  | 0..1 | uri | Identity of the terminology system Required Pattern: http://terminology.hl7.org/CodeSystem/v2-0203
code |  | 0..1 | code | Symbol in syntax defined by the system Required Pattern: FILL
status |  | 1..1 | code | registered | partial | preliminary | final + Required Pattern: final
category | S | 1..1 | CodeableConcept | Service category Binding: Diagnostic Category Value Set (required)
coding |  |  |  |
system |  | 1..1 | uri | Identity of the terminology system
code |  | 1..1 | code | Symbol in syntax defined by the system
code | S | 1..1 | CodeableConcept | Name/Code for this diagnostic report Binding: Diagnostic Code Value Set (extensible)
coding |  |  |  |
system | S | 0..1 | uri | Identity of the terminology system
code | S | 0..1 | code | Symbol in syntax defined by the system
subject | S | 0..1 | Reference(Patient | Group | Device | Location) | The subject of the report - usually, but not always, the patient
reference | S | 0..1 | string | Literal reference, Relative, internal or absolute URL
display |  | 0..1 | string | External Name of Patient
encounter |  | 0..0 |  | Health care event when test ordered
effective[x] |  | 0..0 |  | Clinically relevant time/time-period for report
issued | S | 1..1 | instant | DateTime this version was made
performer |  |  |  |
type |  | 0..1 | uri | Type the reference refers to (e.g. "Patient") Required Pattern: Organization
identifier |  |  |  |
value | S | 0..1 | string | The value that is unique
resultsInterpreter | S | 1..1 | Reference(Practitioner | PractitionerRole | Organization | CareTeam) | Primary result interpreter
reference | S | 0..1 | string | Literal reference, Relative, internal or absolute URL
specimen |  | 0..0 |  | Specimens this report is based on
result | S | 0..* | Reference(Observation) | Observations
imagingStudy |  | 0..0 |  | Reference to full details of imaging associated with the diagnostic report
media |  | 0..0 |  | Key images associated with this report
conclusion | S | 0..1 | string | Clinical conclusion (interpretation) of test results
conclusionCode |  | 0..0 |  | Codes for the clinical conclusion of test results
presentedForm | S | 0..* | Attachment | Entire report as issued
contentType | S | 0..1 | code | Mime type of the content, with charset etc.
data | S | 0..1 | base64Binary | Data inline, base64ed
Documentation for this format

#### Terminology Bindings (Differential)

Path | Status | Usage | ValueSet | Version | Source
DiagnosticReport.meta.​security | Base | required | Definition of Confidentiality Value Set | 📦1.0.0 | This IG
DiagnosticReport.category | Base | required | Diagnostic Category Value Set | 📦1.0.0 | This IG
DiagnosticReport.code | Base | extensible | Diagnostic Code Value Set | 📦1.0.0 | This IG

#### Constraints

Id | Grade | Path(s) | Description | Expression
code-coding-system-validation | error | DiagnosticReport | code.coding.system must be either http://loinc.org or https://alexapi.medtechglobal.com.au/fhir/CodeSystem/diagnostic-code | `code.coding.all(system.empty() or system = %loinc or system = 'https://alexapi.medtechglobal.com.au/fhir/CodeSystem/diagnostic-code')`
conclusion-validation | error | DiagnosticReport | Conclusion must not exceed 200 characters | `conclusion.empty() or conclusion.length() <= 200`

Snapshot View

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
DiagnosticReport | C | 0..* | DiagnosticReport | A Diagnostic report - a combination of request information, atomic results, images, interpretation, as well as formatted reports Constraints: conclusion-validation, code-coding-system-validation
id | Σ | 0..1 | id | Logical id of this artifact
meta | Σ | 0..1 | Meta | Metadata about the resource
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
versionId | Σ | 0..1 | id | Version specific identifier
lastUpdated | S Σ | 0..1 | instant | When the resource version last changed
source | Σ | 0..1 | uri | Identifies where the resource comes from
profile | Σ | 0..* | canonical(StructureDefinition) | Profiles this resource claims to conform to
security | Σ | 0..* | Coding | Security Labels applied to this resource Binding: Definition of Confidentiality Value Set (required)
tag | Σ | 0..* | Coding | Tags applied to this resource Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".
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
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored
identifier | S Σ | 0..1 | Identifier | Business identifier for report
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
use | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
type | Σ | 0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
coding | Σ | 0..* | Coding | Code defined by a terminology system
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
system | Σ | 0..1 | uri | Identity of the terminology system Required Pattern: http://terminology.hl7.org/CodeSystem/v2-0203
version | Σ | 0..1 | string | Version of the system - if relevant
code | Σ | 0..1 | code | Symbol in syntax defined by the system Required Pattern: FILL
display | Σ | 0..1 | string | Representation defined by the system
userSelected | Σ | 0..1 | boolean | If this coding was chosen directly by the user
text | Σ | 0..1 | string | Plain text representation of the concept
system | Σ | 0..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient
value | Σ | 0..1 | string | The value that is unique Example General: 123456
period | Σ | 0..1 | Period | Time period when id is/was valid for use
assigner | Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text)
basedOn |  | 0..* | Reference(CarePlan | ImmunizationRecommendation | MedicationRequest | NutritionOrder | ServiceRequest) | What was requested
status | ?!Σ | 1..1 | code | registered | partial | preliminary | final + Binding: DiagnosticReportStatus (required): The status of the diagnostic report. Required Pattern: final
category | S Σ | 1..1 | CodeableConcept | Service category Binding: Diagnostic Category Value Set (required)
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
coding | Σ | 0..* | Coding | Code defined by a terminology system
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
system | Σ | 1..1 | uri | Identity of the terminology system
version | Σ | 0..1 | string | Version of the system - if relevant
code | Σ | 1..1 | code | Symbol in syntax defined by the system
display | Σ | 0..1 | string | Representation defined by the system
userSelected | Σ | 0..1 | boolean | If this coding was chosen directly by the user
text | Σ | 0..1 | string | Plain text representation of the concept
code | S Σ | 1..1 | CodeableConcept | Name/Code for this diagnostic report Binding: Diagnostic Code Value Set (extensible)
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
coding | Σ | 0..* | Coding | Code defined by a terminology system
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
system | S Σ | 0..1 | uri | Identity of the terminology system
version | Σ | 0..1 | string | Version of the system - if relevant
code | S Σ | 0..1 | code | Symbol in syntax defined by the system
display | Σ | 0..1 | string | Representation defined by the system
userSelected | Σ | 0..1 | boolean | If this coding was chosen directly by the user
text | Σ | 0..1 | string | Plain text representation of the concept
subject | S Σ | 0..1 | Reference(Patient | Group | Device | Location) | The subject of the report - usually, but not always, the patient
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
reference | S Σ C | 0..1 | string | Literal reference, Relative, internal or absolute URL
type | Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
identifier | Σ | 0..1 | Identifier | Logical reference, when literal reference is not known
display | Σ | 0..1 | string | External Name of Patient
issued | S Σ | 1..1 | instant | DateTime this version was made
performer | Σ | 0..* | Reference(Practitioner | PractitionerRole | Organization | CareTeam) | Responsible Diagnostic Service
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
reference | Σ C | 0..1 | string | Literal reference, Relative, internal or absolute URL
type | Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). Required Pattern: Organization
identifier | Σ | 0..1 | Identifier | Logical reference, when literal reference is not known
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
use | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
type | Σ | 0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
system | Σ | 0..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient
value | S Σ | 0..1 | string | The value that is unique Example General: 123456
period | Σ | 0..1 | Period | Time period when id is/was valid for use
assigner | Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text)
display | Σ | 0..1 | string | Text alternative for the resource
resultsInterpreter | S Σ | 1..1 | Reference(Practitioner | PractitionerRole | Organization | CareTeam) | Primary result interpreter
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
reference | S Σ C | 0..1 | string | Literal reference, Relative, internal or absolute URL
type | Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
identifier | Σ | 0..1 | Identifier | Logical reference, when literal reference is not known
display | Σ | 0..1 | string | Text alternative for the resource
result | S | 0..* | Reference(Observation) | Observations
conclusion | S | 0..1 | string | Clinical conclusion (interpretation) of test results
presentedForm | S | 0..* | Attachment | Entire report as issued
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
contentType | S Σ | 0..1 | code | Mime type of the content, with charset etc. Binding: Mime Types (required): The mime type of an attachment. Any valid mime type is allowed. Example General: text/plain; charset=UTF-8, image/png
language | Σ | 0..1 | code | Human language of the content (BCP-47) Binding: CommonLanguages (preferred): A human language.
Additional Bindings | Purpose
AllLanguages | Max Binding
Example General: en-AU
data | S | 0..1 | base64Binary | Data inline, base64ed
url | Σ | 0..1 | url | Uri where the data can be found Example General: http://www.acme.com/logo-small.png
size | Σ | 0..1 | unsignedInt | Number of bytes of content (if url provided)
hash | Σ | 0..1 | base64Binary | Hash of the data (sha-1, base64ed)
title | Σ | 0..1 | string | Label to display in place of the data Example General: Official Corporate Logo
creation | Σ | 0..1 | dateTime | Date attachment was first created
Documentation for this format

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
DiagnosticReport.meta.​security | Base | required | Definition of Confidentiality Value Set | 📦1.0.0 | This IG
DiagnosticReport.meta.​tag | Base | example | Common Tags | 📍4.0.1 | FHIR Std.
DiagnosticReport.identifier.​use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std.
DiagnosticReport.identifier.​type | Base | extensible | IdentifierType | 📍4.0.1 | FHIR Std.
DiagnosticReport.status | Base | required | DiagnosticReportStatus | 📍4.0.1 | FHIR Std.
DiagnosticReport.category | Base | required | Diagnostic Category Value Set | 📦1.0.0 | This IG
DiagnosticReport.code | Base | extensible | Diagnostic Code Value Set | 📦1.0.0 | This IG
DiagnosticReport.subject.​type | Base | extensible | ResourceType | 📍4.0.1 | FHIR Std.
DiagnosticReport.performer.​type | Base | extensible | ResourceType | 📍4.0.1 | FHIR Std.
DiagnosticReport.performer.​identifier.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std.
DiagnosticReport.performer.​identifier.type | Base | extensible | IdentifierType | 📍4.0.1 | FHIR Std.
DiagnosticReport.resultsInterpreter.​type | Base | extensible | ResourceType | 📍4.0.1 | FHIR Std.
DiagnosticReport.presentedForm.​contentType | Base | required | MimeType | 📍4.0.1 | FHIR Std.
DiagnosticReport.presentedForm.​language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std.

#### Constraints

Id | Grade | Path(s) | Description | Expression
code-coding-system-validation | error | DiagnosticReport | code.coding.system must be either http://loinc.org or https://alexapi.medtechglobal.com.au/fhir/CodeSystem/diagnostic-code | `code.coding.all(system.empty() or system = %loinc or system = 'https://alexapi.medtechglobal.com.au/fhir/CodeSystem/diagnostic-code')`
conclusion-validation | error | DiagnosticReport | Conclusion must not exceed 200 characters | `conclusion.empty() or conclusion.length() <= 200`
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

Mandatory: 3 elements(2 nested mandatory elements)
Must-Support: 17 elements
Prohibited: 9 elements

Other representations of profile: CSV, Excel, Schematron