Guia de Implementação do AnHealth
0.2.0 - CI Build

Guia de Implementação do AnHealth - Local Development build (v0.2.0). See the Directory of published versions

Extension: Attachment

Official URL: https://ancode.app/fhir/StructureDefinition/Attachment Version: 0.2.0
Draft as of 2023-03-24 Computable Name: Attachment

Context of Use

This extension may be used on the following element(s):

  • Organization

Usage info

Usage:

Formal Views of Extension Content

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

This structure is derived from Extension

Summary

Mandatory: 4 elements
Fixed Value: 1 element

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..*ExtensionExtension
... url 1..1uri"https://ancode.app/fhir/StructureDefinition/Attachment"
... value[x] 1..1AttachmentValue of extension
.... contentType 1..1codeMime type of the content, with charset etc.
Binding: MimeType (required)
.... url 1..1urlUri where the data can be found
.... title 1..1stringLabel to display in place of the data

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..*ExtensionExtension
... id 0..1idUnique id for inter-element referencing
... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
... url 1..1uri"https://ancode.app/fhir/StructureDefinition/Attachment"
.... id 0..1idUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... contentType Σ1..1codeMime type of the content, with charset etc.
Binding: MimeType (required)
Example General: text/plain; charset=UTF-8, image/png
.... language Σ0..1codeHuman language of the content (BCP-47)
Binding: CommonLanguages (preferred): IETF language tag

Additional BindingsPurpose
AllLanguagesMax Binding

Example General: en-AU
.... data 0..1base64BinaryData inline, base64ed
.... url Σ1..1urlUri where the data can be found
Example General: http://www.acme.com/logo-small.png
.... size Σ0..1unsignedIntNumber of bytes of content (if url provided)
.... hash Σ0..1base64BinaryHash of the data (sha-1, base64ed)
.... title Σ1..1stringLabel to display in place of the data
Example General: Official Corporate Logo
.... creation Σ0..1dateTimeDate attachment was first created

doco Documentation for this format

This structure is derived from Extension

Summary

Mandatory: 4 elements
Fixed Value: 1 element

Differential View

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..*ExtensionExtension
... url 1..1uri"https://ancode.app/fhir/StructureDefinition/Attachment"
... value[x] 1..1AttachmentValue of extension
.... contentType 1..1codeMime type of the content, with charset etc.
Binding: MimeType (required)
.... url 1..1urlUri where the data can be found
.... title 1..1stringLabel to display in place of the data

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..*ExtensionExtension
... id 0..1idUnique id for inter-element referencing
... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
... url 1..1uri"https://ancode.app/fhir/StructureDefinition/Attachment"
.... id 0..1idUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... contentType Σ1..1codeMime type of the content, with charset etc.
Binding: MimeType (required)
Example General: text/plain; charset=UTF-8, image/png
.... language Σ0..1codeHuman language of the content (BCP-47)
Binding: CommonLanguages (preferred): IETF language tag

Additional BindingsPurpose
AllLanguagesMax Binding

Example General: en-AU
.... data 0..1base64BinaryData inline, base64ed
.... url Σ1..1urlUri where the data can be found
Example General: http://www.acme.com/logo-small.png
.... size Σ0..1unsignedIntNumber of bytes of content (if url provided)
.... hash Σ0..1base64BinaryHash of the data (sha-1, base64ed)
.... title Σ1..1stringLabel to display in place of the data
Example General: Official Corporate Logo
.... creation Σ0..1dateTimeDate attachment was first created

doco Documentation for this format

 

Other representations of profile: CSV, Excel, Schematron

Terminology Bindings

PathConformanceValueSet
Extension.value[x].contentTyperequiredMimeType
Extension.value[x].languagepreferredCommonLanguages
Additional Bindings Purpose
AllLanguages Max Binding

Constraints

IdGradePath(s)DetailsRequirements
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()