3.24 StructureDefinition: Shared Health Attachment
The official URL for this profile is:
http://sharedhealth.exchange/fhir/StructureDefinition/dtprofile-attachment
3.24.2 Formal Views of Profile Content
Download Excel representation
Description of Profiles, Differentials, Snapshots and how the different presentations work.
This structure is derived from Attachment
Name | Card. | Type | Constraints and Usage |
---|---|---|---|
Attachment | 0..* | Attachment | att-1: It the Attachment has data, it SHALL have a contentType Definition: For referring to data content defined in other formats. Comments: When providing a summary view (for example with Observation.value[x]) Attachment should be represented with a brief display text such as "Attachment". |
contentType | 1..1 | code | Binding: MimeTypes (required): The mime type of an attachment. Any valid mime type is allowed. Example' General': text/plain; charset=UTF-8, image/png Definition: Identifies the type of the data in the attachment and allows a method to be chosen to interpret or render the data. Includes mime type parameters such as charset where appropriate. Comments: Identifies the mime type the binary content is expressed in |
url | 1..1 | uri | Example' General': http://www.acme.com/logo-small.png Definition: An alternative location where the data can be accessed. Comments: Conformance Rule: This will be expressed as a URL on the server - https://EnvironmentSpecificHost/EnvironmentSpecificPathInbox/Binary/[guid]. The attachment content SHALL be PUT to the same URL either immediately before or after posting the message containing this attachment |
size | 1..1 | unsignedInt | Definition: The number of bytes of data that make up this attachment. Comments: Conformance Rule: The combined size of all attachments cannot exceed 50 MB. |
title | 0..1 | string | Example' General': Official Corporate Logo Definition: A label or set of text to display in place of the data. |
This structure is derived from Attachment
This structure is derived from Attachment
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Attachment | 0..* | Attachment | Content in a format defined elsewhere | |
contentType | S | 1..1 | code | Mime type of the content, with charset etc. |
url | S | 1..1 | uri | Uri where the data can be found |
size | S | 1..1 | unsignedInt | Number of bytes of content (if url provided) |
title | S | 0..1 | string | Label to display in place of the data |
Documentation for this format |
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Attachment | I | 0..* | Attachment | Content in a format defined elsewhere |
id | 0..1 | id | xml:id (or equivalent in JSON) | |
extension | 0..* | Extension | Additional Content defined by implementations | |
contentType | SΣ | 1..1 | code | Mime type of the content, with charset etc. Binding: MimeTypes (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: http://tools.ietf.org/html/bcp47 (required): A human language. Example General: en-AU |
data | 0..1 | base64Binary | Data inline, base64ed | |
url | SΣ | 1..1 | uri | Uri where the data can be found Example General: http://www.acme.com/logo-small.png |
size | SΣ | 1..1 | unsignedInt | Number of bytes of content (if url provided) |
hash | Σ | 0..1 | base64Binary | Hash of the data (sha-1, base64ed) |
title | SΣ | 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 |
Grid View
This structure is derived from Attachment
Name | Card. | Type | Constraints and Usage |
---|---|---|---|
Attachment | 0..* | Attachment | att-1: It the Attachment has data, it SHALL have a contentType Definition: For referring to data content defined in other formats. Comments: When providing a summary view (for example with Observation.value[x]) Attachment should be represented with a brief display text such as "Attachment". |
contentType | 1..1 | code | Binding: MimeTypes (required): The mime type of an attachment. Any valid mime type is allowed. Example' General': text/plain; charset=UTF-8, image/png Definition: Identifies the type of the data in the attachment and allows a method to be chosen to interpret or render the data. Includes mime type parameters such as charset where appropriate. Comments: Identifies the mime type the binary content is expressed in |
url | 1..1 | uri | Example' General': http://www.acme.com/logo-small.png Definition: An alternative location where the data can be accessed. Comments: Conformance Rule: This will be expressed as a URL on the server - https://EnvironmentSpecificHost/EnvironmentSpecificPathInbox/Binary/[guid]. The attachment content SHALL be PUT to the same URL either immediately before or after posting the message containing this attachment |
size | 1..1 | unsignedInt | Definition: The number of bytes of data that make up this attachment. Comments: Conformance Rule: The combined size of all attachments cannot exceed 50 MB. |
title | 0..1 | string | Example' General': Official Corporate Logo Definition: A label or set of text to display in place of the data. |
This structure is derived from Attachment
Differential View
This structure is derived from Attachment
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Attachment | 0..* | Attachment | Content in a format defined elsewhere | |
contentType | S | 1..1 | code | Mime type of the content, with charset etc. |
url | S | 1..1 | uri | Uri where the data can be found |
size | S | 1..1 | unsignedInt | Number of bytes of content (if url provided) |
title | S | 0..1 | string | Label to display in place of the data |
Documentation for this format |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Attachment | I | 0..* | Attachment | Content in a format defined elsewhere |
id | 0..1 | id | xml:id (or equivalent in JSON) | |
extension | 0..* | Extension | Additional Content defined by implementations | |
contentType | SΣ | 1..1 | code | Mime type of the content, with charset etc. Binding: MimeTypes (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: http://tools.ietf.org/html/bcp47 (required): A human language. Example General: en-AU |
data | 0..1 | base64Binary | Data inline, base64ed | |
url | SΣ | 1..1 | uri | Uri where the data can be found Example General: http://www.acme.com/logo-small.png |
size | SΣ | 1..1 | unsignedInt | Number of bytes of content (if url provided) |
hash | Σ | 0..1 | base64Binary | Hash of the data (sha-1, base64ed) |
title | SΣ | 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: Schematron
3.24.3 Terminology Bindings
Terminology Bindings
Path | Conformance | ValueSet |
Attachment.contentType | required | MimeTypes |
Attachment.language | required | http://tools.ietf.org/html/bcp47 |
3.24.4 Constraints
Constraints
Id | Path | Details | Requirements |
att-1 | Attachment | It the Attachment has data, it SHALL have a contentType : data.empty() or contentType.exists() |