Attachment

  • Profile status: Draft
  • Canonical URL: http://fhir.smart4health.eu/StructureDefinition/s4h-attachment

Mandatory and must-support data elements

A valid instance according to this profile must satisfy the following constraints:

  • a MIME-type (element: contentType) - Smart4Health constraint, to support targeted security-related check on content.

In addition, 4 top-level elements are marked as must-support.

Additional business rules

If the hash element is filled, the hash will be checked upon upload and the resource rejected if the hash is incorrect. This business rule cannot be enforced by the profile.

Examples

For examples of S4H-conformant attachments, see the examples for the DocumentReference profile.

Formal views of profile content

Differential view

Shows only differences relative to the base resource definition.

id0..1string
extensionI0..*Extension
contentTypeS Σ1..1codeBinding
languageΣ0..1codeBinding
dataS0..1base64Binary
urlS Σ0..1url
sizeΣ0..1unsignedInt
hashS Σ0..1base64Binary
titleΣ0..1string
creationS Σ0..1dateTime

Snapshot view

Shows all constraints, including those from underlying profiles and the base resource definition.

id0..1string
extensionI0..*Extension
contentTypeS Σ1..1codeBinding
languageΣ0..1codeBinding
dataS0..1base64Binary
urlS Σ0..1url
sizeΣ0..1unsignedInt
hashS Σ0..1base64Binary
titleΣ0..1string
creationS Σ0..1dateTime