attachment

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

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

Source

ModelLegRole
AttachmentFHIRdefines this table
openEHR-EHR-CLUSTER.media_file.v1openEHRmerged in — Media file
This table is the union of 2 source models. Columns carrying a From value came from a model that merged into it, so the same row satisfies both specifications.

Columns

ColumnTypeNullDescriptionFromSource
iduuid primary keynoAttachment.id——
created_attimestamptznoRow creation timestamp.——
updated_attimestamptznoRow update timestamp; maintained by the application.——
created_bytextnoActor who created the row.——
updated_bytextnoActor who last updated the row.——
media_typetextnoMime type of the content, with charset etc.—Attachment.contentType
languagetextyesHuman language of the content (BCP-47)—Attachment.language
contentbyteayesData inline, base64ed—Attachment.data
uritextyesUri where the data can be found—Attachment.url
sizeintegeryesNumber of bytes of content (if url provided)—Attachment.size
hashbyteayesHash of the data (sha-1, base64ed)—Attachment.hash
titletextyesLabel to display in place of the data—Attachment.title
creationtimestamptzyesDate attachment was first created—Attachment.creation
descriptiontextyesDescriptionopenEHR-EHR-CLUSTER.media_file.v1/items[at0005]
commenttextyesCommentopenEHR-EHR-CLUSTER.media_file.v1/items[at0007]
identifier_value
identifier_system
text, text
text, text
yesIdentifieropenEHR-EHR-CLUSTER.media_file.v1/items[at0010]

Constraints

check (identifier_system is null or identifier_value is not null)
check (num_nonnulls(content, uri) = 1)

Referenced by

19 tables reference attachment, via digital_representation. The first 15 alphabetically: