Australian Digital Health Agency FHIR Implementation Guide
1.2.0-ci-build - draft
Australian Digital Health Agency FHIR Implementation Guide, published by Australian Digital Health Agency. This guide is not an authorized publication; it is the continuous build for version 1.2.0-ci-build built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/AuDigitalHealth/ci-fhir-r4/ and changes regularly. See the Directory of published versions
Official URL: http://ns.electronichealth.net.au/fhir/StructureDefinition/dh-attachment-hl7-base64-1 | Version: 0.0.1 | |||
Draft as of 2024-09-12 | Computable Name: ADHAHL7AttachmentBase64 | |||
Copyright/Legal: Copyright © 2023 Australian Digital Health Agency - All rights reserved. This content is licensed under a Creative Commons Attribution 4.0 International License. See https://creativecommons.org/licenses/by/4.0/. |
This extension applies to any resource and is provided. It is used to provide an alternate HL7 format of the content represented by the associated FHIR Resource it is sent as an attachment with. The data is represented directly inline, base64 encoded.
Context of Use
This extension may be used on the following element(s):
This profile may be referred to by APIs, which will be listed here when available.
None.
This extension is part of a set of experimental design options:
Usage info
Usage:
Description of Profiles, Differentials, Snapshots, and how the XML and JSON presentations work.
This structure is derived from Extension
This structure is derived from Extension
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Extension | 0..1 | Extension | Alternate HL7 format of the content as an attachment, data inline, base64 encoded | |
url | 1..1 | uri | "http://ns.electronichealth.net.au/fhir/StructureDefinition/dh-attachment-hl7-base64-1" | |
value[x] | 1..1 | Attachment | Data inline, base64ed | |
contentType | 1..1 | code | x-application/hl7-v2+er7 | x-application/hl7-v2+xml | x-application/hl7-v3+xml | x-application/fhir+xml | x-application/fhir+json | x-application/xml+cda | |
data | 1..1 | base64Binary | Data inline, base64ed | |
Documentation for this format |
Name | Flags | Card. | Type | Description & Constraints | ||||
---|---|---|---|---|---|---|---|---|
Extension | 0..1 | Extension | Alternate HL7 format of the content as an attachment, data inline, base64 encoded | |||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
url | 1..1 | uri | "http://ns.electronichealth.net.au/fhir/StructureDefinition/dh-attachment-hl7-base64-1" | |||||
value[x] | 1..1 | Attachment | Data inline, base64ed | |||||
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 | Σ | 1..1 | code | x-application/hl7-v2+er7 | x-application/hl7-v2+xml | x-application/hl7-v3+xml | x-application/fhir+xml | x-application/fhir+json | x-application/xml+cda 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.
Example General: en-AU | ||||
data | 1..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 |
This structure is derived from Extension
Differential View
This structure is derived from Extension
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Extension | 0..1 | Extension | Alternate HL7 format of the content as an attachment, data inline, base64 encoded | |
url | 1..1 | uri | "http://ns.electronichealth.net.au/fhir/StructureDefinition/dh-attachment-hl7-base64-1" | |
value[x] | 1..1 | Attachment | Data inline, base64ed | |
contentType | 1..1 | code | x-application/hl7-v2+er7 | x-application/hl7-v2+xml | x-application/hl7-v3+xml | x-application/fhir+xml | x-application/fhir+json | x-application/xml+cda | |
data | 1..1 | base64Binary | Data inline, base64ed | |
Documentation for this format |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints | ||||
---|---|---|---|---|---|---|---|---|
Extension | 0..1 | Extension | Alternate HL7 format of the content as an attachment, data inline, base64 encoded | |||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
url | 1..1 | uri | "http://ns.electronichealth.net.au/fhir/StructureDefinition/dh-attachment-hl7-base64-1" | |||||
value[x] | 1..1 | Attachment | Data inline, base64ed | |||||
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 | Σ | 1..1 | code | x-application/hl7-v2+er7 | x-application/hl7-v2+xml | x-application/hl7-v3+xml | x-application/fhir+xml | x-application/fhir+json | x-application/xml+cda 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.
Example General: en-AU | ||||
data | 1..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 |
Other representations of profile: CSV, Excel, Schematron
Path | Conformance | ValueSet | URI | |||
Extension.value[x].contentType | required | Mime Types (a valid code from urn:ietf:bcp:13 )http://hl7.org/fhir/ValueSet/mimetypes|4.0.1 from the FHIR Standard | ||||
Extension.value[x].language | preferred | CommonLanguages
http://hl7.org/fhir/ValueSet/languages from the FHIR Standard |
Below is an overview of the mandatory and optional search parameters. FHIR search operations and the syntax used to describe the interactions is described here.