Attachment

complex type

Base StructureDefinition for Attachment Type: For referring to data content defined in other formats.

Official spec
PathCard.TypeDescription & Constraints
Attachment0..*Content in a format defined elsewhere
.id0..1StringUnique id for inter-element referencing
.extension0..*ExtensionAdditional content defined by implementations
.contentTypeΣ0..1codeMime type of the content, with charset etc.
Bindingmimetypes(required)
.languageΣ0..1codeHuman language of the content (BCP-47)
Bindinglanguages(preferred)
.data0..1base64BinaryData inline, base64ed
.urlΣ0..1urlUri where the data can be found
.sizeΣ0..1unsignedIntNumber of bytes of content (if url provided)
.hashΣ0..1base64BinaryHash of the data (sha-1, base64ed)
.titleΣ0..1stringLabel to display in place of the data
.creationΣ0..1dateTimeDate attachment was first created