This page is part of the FHIR Specification (v3.2.0: R4 Ballot 1). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R4B R4 R3 R2
Orders and Observations Work Group | Maturity Level: N/A | Ballot Status: Informative | Compartments: Device, Patient, Practitioner |
StructureDefinition for media
{ "resourceType": "StructureDefinition", "id": "Media", "meta": { "lastUpdated": "2017-12-20T15:52:34.818+11:00" }, "text": { "status": "generated", "div": "<div>!-- Snipped for Brevity --></div>" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 1 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "oo" } ], "url": "http://hl7.org/fhir/StructureDefinition/Media", "name": "Media", "status": "draft", "date": "2017-12-20T15:52:34+11:00", "publisher": "Health Level Seven International (Orders and Observations)", "contact": [ { "telecom": [ { "system": "url", "value": "http://hl7.org/fhir" } ] }, { "telecom": [ { "system": "url", "value": "http://www.hl7.org/Special/committees/orders/index.cfm" } ] } ], "description": "A photo, video, or audio recording acquired or used in healthcare. The actual content may be inline or provided by direct reference.", "fhirVersion": "3.2.0", "mapping": [ { "identity": "workflow", "uri": "http://hl7.org/fhir/workflow", "name": "Workflow Pattern" }, { "identity": "rim", "uri": "http://hl7.org/v3", "name": "RIM Mapping" }, { "identity": "w5", "uri": "http://hl7.org/fhir/w5", "name": "W5 Mapping" }, { "identity": "dicom", "uri": "http://nema.org/dicom", "name": "DICOM Tag Mapping" }, { "identity": "v2", "uri": "http://hl7.org/v2", "name": "HL7 v2 Mapping" }, { "identity": "sct-concept", "uri": "http://snomed.info/conceptdomain", "name": "SNOMED CT Concept Domain Binding" }, { "identity": "sct-attr", "uri": "http://snomed.info/sct", "name": "SNOMED CT Attribute Binding" } ], "kind": "resource", "abstract": false, "type": "Media", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource", "derivation": "specialization", "snapshot": { "element": [ { "id": "Media", "path": "Media", "short": "A photo, video, or audio recording acquired or used in healthcare. The actual content may be inline or provided by direct reference", "definition": "A photo, video, or audio recording acquired or used in healthcare. The actual content may be inline or provided by direct reference.", "min": 0, "max": "*", "constraint": [ { "key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)", "source": "DomainResource" }, { "key": "dom-1", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", "expression": "contained.text.empty()", "xpath": "not(parent::f:contained and f:text)", "source": "DomainResource" }, { "key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "DomainResource" }, { "key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource", "expression": "contained.all(('#'+id in %resource.descendants().reference) or descendants().where(reference = '#').exists())", "xpath": "not(exists(for $contained in f:contained return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::reference[@value='#'])]))", "source": "DomainResource" } ], "mapping": [ { "identity": "rim", "map": "Entity. Role, or Act" }, { "identity": "workflow", "map": "Event" }, { "identity": "rim", "map": "Act[classCode=\"DGIMG\", moodCode=\"EVN\"]" }, { "identity": "w5", "map": "infrastructure.structure" } ] }, { "id": "Media.id", "path": "Media.id", "short": "Logical id of this artifact", "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", "comment": "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.", "min": 0, "max": "1", "base": { "path": "Resource.id", "min": 0, "max": "1" }, "type": [ { "code": "id" } ], "isSummary": true }, { "id": "Media.meta", "path": "Media.meta", "short": "Metadata about the resource", "definition": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", "min": 0, "max": "1", "base": { "path": "Resource.meta", "min": 0, "max": "1" }, "type": [ { "code": "Meta" } ], "isSummary": true }, { "id": "Media.implicitRules", "path": "Media.implicitRules", "short": "A set of rules under which this content was created", "definition": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content.", "comment": "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. \n\nThis element is labelled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation.", "min": 0, "max": "1", "base": { "path": "Resource.implicitRules", "min": 0, "max": "1" }, "type": [ { "code": "uri" } ], "isModifier": true, "isSummary": true }, { "id": "Media.language", "path": "Media.language", "short": "Language of the resource content", "definition": "The base language in which the resource is written.", "comment": "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).", "min": 0, "max": "1", "base": { "path": "Resource.language", "min": 0, "max": "1" }, "type": [ { "code": "code" } ], "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueReference": { "reference": "http://hl7.org/fhir/ValueSet/all-languages" } }, { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "Language" }, { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", "valueBoolean": true } ], "strength": "extensible", "description": "A human language.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/languages" } } }, { "id": "Media.text", "path": "Media.text", "short": "Text summary of the resource, for human interpretation", "definition": "A human-readable narrative that contains a summary of the resource, and may be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", "comment": "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded in formation is added later.", "alias": [ "narrative", "html", "xhtml", "display" ], "min": 0, "max": "1", "base": { "path": "DomainResource.text", "min": 0, "max": "1" }, "type": [ { "code": "Narrative" } ], "condition": [ "dom-1" ], "mapping": [ { "identity": "rim", "map": "Act.text?" } ] }, { "id": "Media.contained", "path": "Media.contained", "short": "Contained, inline Resources", "definition": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.", "comment": "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again.", "alias": [ "inline resources", "anonymous resources", "contained resources" ], "min": 0, "max": "*", "base": { "path": "DomainResource.contained", "min": 0, "max": "*" }, "type": [ { "code": "Resource" } ], "mapping": [ { "identity": "rim", "map": "N/A" } ] }, { "id": "Media.extension", "path": "Media.extension", "short": "Additional Content defined by implementations", "definition": "May be used to represent additional information that is not part of the basic definition of the resource. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "alias": [ "extensions", "user content" ], "min": 0, "max": "*", "base": { "path": "DomainResource.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "mapping": [ { "identity": "rim", "map": "N/A" } ] }, { "id": "Media.modifierExtension", "path": "Media.modifierExtension", "short": "Extensions that cannot be ignored", "definition": "May be used to represent additional information that is not part of the basic definition of the resource, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "alias": [ "extensions", "user content" ], "min": 0, "max": "*", "base": { "path": "DomainResource.modifierExtension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": true, "mapping": [ { "identity": "rim", "map": "N/A" } ] }, { "id": "Media.identifier", "path": "Media.identifier", "short": "Identifier(s) for the image", "definition": "Identifiers associated with the image - these may include identifiers for the image itself, identifiers for the context of its collection (e.g. series ids) and context ids such as accession numbers or other workflow identifiers.", "comment": "The identifier label and use can be used to determine what kind of identifier it is.", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ], "isSummary": true, "mapping": [ { "identity": "workflow", "map": "Event.identifier" }, { "identity": "w5", "map": "FiveWs.identifier" }, { "identity": "rim", "map": ".id" }, { "identity": "dicom", "map": "0008,0018 | ~0008,0050 | 0020,000D | 0020,000E" }, { "identity": "w5", "map": "id" } ] }, { "id": "Media.basedOn", "path": "Media.basedOn", "short": "Procedure that caused this media to be created", "definition": "A procedure that is fulfilled in whole or in part by the creation of this media.", "requirements": "Allows tracing of authorization for the event and tracking whether proposals/recommendations were acted upon.", "alias": [ "fulfills" ], "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/ServiceRequest" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/CarePlan" } ], "isSummary": true, "mapping": [ { "identity": "workflow", "map": "Event.basedOn" }, { "identity": "rim", "map": ".outboundRelationship[typeCode=FLFS].target" } ] }, { "id": "Media.partOf", "path": "Media.partOf", "short": "Part of referenced event", "definition": "A larger event of which this particular event is a component or step.", "comment": "Not to be used to link an event to an Encounter - use Event.context for that.\r\r[The allowed reference resources may be adjusted as appropriate for the event resource].", "requirements": "E.g. Drug administration as part of a procedure, procedure as part of observation, etc.", "alias": [ "container" ], "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ], "isSummary": true, "mapping": [ { "identity": "workflow", "map": "Event.partOf" }, { "identity": "rim", "map": ".inboundRelationship[typeCode=COMP].source[moodCode=EVN]" } ] }, { "id": "Media.status", "path": "Media.status", "short": "preparation | in-progress | not-done | suspended | aborted | completed | entered-in-error | unknown", "definition": "The current state of the {{title}}.", "comment": "A nominal state-transition diagram can be found in the [[event.html#statemachine | Event pattern]] documentation\r\rUnknown does not represent \"other\" - one of the defined statuses must apply. Unknown is used when the authoring system is not sure what the current status is.", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "MediaStatus" } ], "strength": "required", "description": "Codes identifying the stage lifecycle stage of a event", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/media-status" } }, "mapping": [ { "identity": "workflow", "map": "Event.status" }, { "identity": "w5", "map": "FiveWs.status" }, { "identity": "v2", "map": "Varies by domain" }, { "identity": "rim", "map": ".status" }, { "identity": "w5", "map": "status" } ] }, { "id": "Media.category", "path": "Media.category", "short": "Classification of type of media", "definition": "A code that classifies the general type of observation being made. For example, whether the media is an image, video or audio recording.", "comment": "This element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once. The level of granularity is defined by the category concepts in the value set.", "requirements": "Used for filtering what observations are retrieved and displayed.", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "DigitalMediaType" } ], "strength": "example", "description": "Codes for high level media categories.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/media-category" } }, "mapping": [ { "identity": "w5", "map": "FiveWs.class" }, { "identity": "rim", "map": ".code" }, { "identity": "w5", "map": "class" } ] }, { "id": "Media.modality", "path": "Media.modality", "short": "The type of acquisition equipment/process", "definition": "Details of the type of the media - usually, how it was acquired (what type of device). If images sourced from a DICOM system, are wrapped in a Media resource, then this is the modality.", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "DigitalMediaModality" } ], "strength": "example", "description": "Detailed information about the type of the image - its kind, purpose, or the kind of equipment used to generate it", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/digital-media-subtype" } }, "mapping": [ { "identity": "workflow", "map": "Event.code" }, { "identity": "w5", "map": "FiveWs.class" }, { "identity": "rim", "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" }, { "identity": "dicom", "map": "0008,0060 | 0008,1032" }, { "identity": "w5", "map": "class" } ] }, { "id": "Media.view", "path": "Media.view", "short": "Imaging view, e.g. Lateral or Antero-posterior", "definition": "The name of the imaging view e.g. Lateral or Antero-posterior (AP).", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "MediaView" } ], "strength": "example", "description": "Imaging view (projection) used when collecting an image", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/media-view" } }, "mapping": [ { "identity": "w5", "map": "FiveWs.class" }, { "identity": "rim", "map": "DiagnosticImage.subjectOrientationCode" }, { "identity": "w5", "map": "class" } ] }, { "id": "Media.subject", "path": "Media.subject", "short": "Who/What this Media is a record of", "definition": "Who/What this Media is a record of.", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Specimen" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" } ], "isSummary": true, "mapping": [ { "identity": "workflow", "map": "Event.subject" }, { "identity": "w5", "map": "FiveWs.subject[x]" }, { "identity": "rim", "map": ".participation[typeCode=\"SUBJ\"]???" }, { "identity": "dicom", "map": "~0010,0020" }, { "identity": "w5", "map": "who.focus" } ] }, { "id": "Media.context", "path": "Media.context", "short": "Encounter / Episode associated with media", "definition": "The encounter or episode of care that establishes the context for this media.", "comment": "This will typically be the encounter the media occurred within.", "requirements": "Links the media to the Encounter context.", "alias": [ "encounter" ], "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Encounter" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/EpisodeOfCare" } ], "isSummary": true, "mapping": [ { "identity": "workflow", "map": "Event.context" }, { "identity": "w5", "map": "FiveWs.context" }, { "identity": "rim", "map": ".inboundRelationship(typeCode=COMP].source[classCode<=PCPR, moodCode=EVN]" }, { "identity": "w5", "map": "context" } ] }, { "id": "Media.created[x]", "path": "Media.created[x]", "short": "When Media was collected", "definition": "The date and time(s) at which the media was collected.", "alias": [ "timing" ], "min": 0, "max": "1", "type": [ { "code": "dateTime" }, { "code": "Period" } ], "isSummary": true, "mapping": [ { "identity": "workflow", "map": "Event.occurrence[x]" }, { "identity": "w5", "map": "FiveWs.done[x]" }, { "identity": "rim", "map": ".effectiveTime" }, { "identity": "w5", "map": "when.done" } ] }, { "id": "Media.issued", "path": "Media.issued", "short": "Date/Time this version was made available", "definition": "The date and time this version of the media was made available to providers, typically after having been reviewed.", "comment": "It may be the same as the [`lastUpdated` ](resource-definitions.html#Meta.lastUpdated) time of the resource itself. For Observations that do require review and verification for certain updates, it might not be the same as the `lastUpdated` time of the resource itself due to a non-clinically significant update that doesn’t require the new version to be reviewed and verified again.", "min": 0, "max": "1", "type": [ { "code": "instant" } ], "isSummary": true, "mapping": [ { "identity": "w5", "map": "FiveWs.recorded" }, { "identity": "v2", "map": "OBR.22 (or MSH.7), or perhaps OBX-19 (depends on who observation made)" }, { "identity": "rim", "map": "participation[typeCode=AUT].time" }, { "identity": "w5", "map": "when.recorded" } ] }, { "id": "Media.operator", "path": "Media.operator", "short": "The person who generated the image", "definition": "The person who administered the collection of the image.", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/PractitionerRole" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/CareTeam" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" } ], "isSummary": true, "mapping": [ { "identity": "workflow", "map": "Event.performer.actor" }, { "identity": "w5", "map": "FiveWs.actor" }, { "identity": "rim", "map": ".participation[typeCode=\"PERF\"]???" }, { "identity": "dicom", "map": "0008,1060?" }, { "identity": "w5", "map": "who.actor" } ] }, { "id": "Media.reasonCode", "path": "Media.reasonCode", "short": "Why was event performed?", "definition": "Describes why the event occurred in coded or textual form.", "comment": "Textual reasons can be caprued using reasonCode.text.", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "MediaReason" } ], "strength": "example", "description": "The reason for the media", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/procedure-reason" } }, "mapping": [ { "identity": "workflow", "map": "Event.reasonCode" }, { "identity": "w5", "map": "FiveWs.why[x]" }, { "identity": "rim", "map": ".reasonCode" }, { "identity": "w5", "map": "why" } ] }, { "id": "Media.bodySite", "path": "Media.bodySite", "short": "Observed body part", "definition": "Indicates the site on the subject's body where the observation was made (i.e. the target site).", "comment": "Only used if not implicit in code found in Observation.code. In many systems, this may be represented as a related observation instead of an inline component. If the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use the standard extension[ body-structure](extension-body-structure.html).", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "BodySite" } ], "strength": "example", "description": "Codes describing anatomical locations. May include laterality.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/body-site" } }, "mapping": [ { "identity": "sct-concept", "map": "< 123037004 |Body structure|" }, { "identity": "rim", "map": "targetSiteCode" }, { "identity": "sct-attr", "map": "718497002 |Inherent location|" } ] }, { "id": "Media.deviceName", "path": "Media.deviceName", "short": "Name of the device/manufacturer", "definition": "The name of the device / manufacturer of the device that was used to make the recording.", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true, "mapping": [ { "identity": "rim", "map": ".participation[typeCode=\"DEV\"].role.player.Entity[classCode=\"DEV\"].name" }, { "identity": "dicom", "map": "0008,0070" } ] }, { "id": "Media.device", "path": "Media.device", "short": "Observing Device", "definition": "The device used to collect the media.", "comment": "An extension should be used if further typing of the device is needed. Scondary devices used to support collecting a media can be represented using either extension or through the Observation.related element.", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/DeviceMetric" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/DeviceComponent" } ], "isSummary": true, "mapping": [ { "identity": "sct-concept", "map": "< 49062001 |Device|" }, { "identity": "rim", "map": "participation[typeCode=DEV]" }, { "identity": "sct-attr", "map": "424226004 |Using device|" } ] }, { "id": "Media.height", "path": "Media.height", "short": "Height of the image in pixels (photo/video)", "definition": "Height of the image in pixels (photo/video).", "min": 0, "max": "1", "type": [ { "code": "positiveInt" } ], "isSummary": true, "mapping": [ { "identity": "rim", "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"OBS\", moodCode=\"EVN\",code=\"<CODE>\"].value" }, { "identity": "dicom", "map": "0028,0010" } ] }, { "id": "Media.width", "path": "Media.width", "short": "Width of the image in pixels (photo/video)", "definition": "Width of the image in pixels (photo/video).", "min": 0, "max": "1", "type": [ { "code": "positiveInt" } ], "isSummary": true, "mapping": [ { "identity": "rim", "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"OBS\", moodCode=\"EVN\",code=\"<CODE>\"].value" }, { "identity": "dicom", "map": "0028,0011" } ] }, { "id": "Media.frames", "path": "Media.frames", "short": "Number of frames if > 1 (photo)", "definition": "The number of frames in a photo. This is used with a multi-page fax, or an imaging acquisition context that takes multiple slices in a single image, or an animated gif. If there is more than one frame, this SHALL have a value in order to alert interface software that a multi-frame capable rendering widget is required.", "min": 0, "max": "1", "type": [ { "code": "positiveInt" } ], "defaultValuePositiveInt": 1, "isSummary": true, "mapping": [ { "identity": "rim", "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"OBS\", moodCode=\"EVN\",code=\"<CODE>\"].value" } ] }, { "id": "Media.duration", "path": "Media.duration", "short": "Length in seconds (audio / video)", "definition": "The duration of the recording in seconds - for audio and video.", "comment": "The duration might differ from occurrencePeriod if recording was paused.", "min": 0, "max": "1", "type": [ { "code": "decimal" } ], "isSummary": true, "mapping": [ { "identity": "rim", "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"OBS\", moodCode=\"EVN\",code=\"<CODE>\"].value" }, { "identity": "dicom", "map": "~0028,0002" } ] }, { "id": "Media.content", "path": "Media.content", "short": "Actual Media - reference or data", "definition": "The actual content of the media - inline or by direct reference to the media source file.", "comment": "Recommended content types: image/jpeg, image/png, image/tiff, video/mpeg, audio/mp4, application/dicom. Application/dicom can contain the transfer syntax as a parameter. For an media that covers a period of time (video/sound), the content.creationTime is the end time. Creation time is used for tracking, organizing versions and searching.", "min": 1, "max": "1", "type": [ { "code": "Attachment" } ], "isSummary": true, "mapping": [ { "identity": "rim", "map": ".text" } ] }, { "id": "Media.note", "path": "Media.note", "short": "Comments made about the media", "definition": "Comments made about the media by the performer, subject or other participants.", "comment": "Not to be used for observations, conclusions, etc. Instead use an [Observation](observation.html) based on the Media/ImagingStudy resource.", "min": 0, "max": "*", "type": [ { "code": "Annotation" } ], "mapping": [ { "identity": "workflow", "map": "Event.note" }, { "identity": "v2", "map": "NTE" }, { "identity": "rim", "map": ".inboundRelationship(typeCode=SUBJ].source[classCode=ANNGEN, moodCode=EVN].value[xsi:type=ST]" } ] } ] }, "differential": { "element": [ { "id": "Media", "path": "Media", "short": "A photo, video, or audio recording acquired or used in healthcare. The actual content may be inline or provided by direct reference", "definition": "A photo, video, or audio recording acquired or used in healthcare. The actual content may be inline or provided by direct reference.", "min": 0, "max": "*", "mapping": [ { "identity": "workflow", "map": "Event" }, { "identity": "rim", "map": "Act[classCode=\"DGIMG\", moodCode=\"EVN\"]" }, { "identity": "w5", "map": "infrastructure.structure" } ] }, { "id": "Media.identifier", "path": "Media.identifier", "short": "Identifier(s) for the image", "definition": "Identifiers associated with the image - these may include identifiers for the image itself, identifiers for the context of its collection (e.g. series ids) and context ids such as accession numbers or other workflow identifiers.", "comment": "The identifier label and use can be used to determine what kind of identifier it is.", "min": 0, "max": "*", "type": [ { "code": "Identifier" } ], "isSummary": true, "mapping": [ { "identity": "workflow", "map": "Event.identifier" }, { "identity": "w5", "map": "FiveWs.identifier" }, { "identity": "rim", "map": ".id" }, { "identity": "dicom", "map": "0008,0018 | ~0008,0050 | 0020,000D | 0020,000E" }, { "identity": "w5", "map": "id" } ] }, { "id": "Media.basedOn", "path": "Media.basedOn", "short": "Procedure that caused this media to be created", "definition": "A procedure that is fulfilled in whole or in part by the creation of this media.", "requirements": "Allows tracing of authorization for the event and tracking whether proposals/recommendations were acted upon.", "alias": [ "fulfills" ], "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/ServiceRequest" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/CarePlan" } ], "isSummary": true, "mapping": [ { "identity": "workflow", "map": "Event.basedOn" }, { "identity": "rim", "map": ".outboundRelationship[typeCode=FLFS].target" } ] }, { "id": "Media.partOf", "path": "Media.partOf", "short": "Part of referenced event", "definition": "A larger event of which this particular event is a component or step.", "comment": "Not to be used to link an event to an Encounter - use Event.context for that.\r\r[The allowed reference resources may be adjusted as appropriate for the event resource].", "requirements": "E.g. Drug administration as part of a procedure, procedure as part of observation, etc.", "alias": [ "container" ], "min": 0, "max": "*", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" } ], "isSummary": true, "mapping": [ { "identity": "workflow", "map": "Event.partOf" }, { "identity": "rim", "map": ".inboundRelationship[typeCode=COMP].source[moodCode=EVN]" } ] }, { "id": "Media.status", "path": "Media.status", "short": "preparation | in-progress | not-done | suspended | aborted | completed | entered-in-error | unknown", "definition": "The current state of the {{title}}.", "comment": "A nominal state-transition diagram can be found in the [[event.html#statemachine | Event pattern]] documentation\r\rUnknown does not represent \"other\" - one of the defined statuses must apply. Unknown is used when the authoring system is not sure what the current status is.", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isModifier": true, "isSummary": true, "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "MediaStatus" } ], "strength": "required", "description": "Codes identifying the stage lifecycle stage of a event", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/media-status" } }, "mapping": [ { "identity": "workflow", "map": "Event.status" }, { "identity": "w5", "map": "FiveWs.status" }, { "identity": "v2", "map": "Varies by domain" }, { "identity": "rim", "map": ".status" }, { "identity": "w5", "map": "status" } ] }, { "id": "Media.category", "path": "Media.category", "short": "Classification of type of media", "definition": "A code that classifies the general type of observation being made. For example, whether the media is an image, video or audio recording.", "comment": "This element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once. The level of granularity is defined by the category concepts in the value set.", "requirements": "Used for filtering what observations are retrieved and displayed.", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "DigitalMediaType" } ], "strength": "example", "description": "Codes for high level media categories.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/media-category" } }, "mapping": [ { "identity": "w5", "map": "FiveWs.class" }, { "identity": "rim", "map": ".code" }, { "identity": "w5", "map": "class" } ] }, { "id": "Media.modality", "path": "Media.modality", "short": "The type of acquisition equipment/process", "definition": "Details of the type of the media - usually, how it was acquired (what type of device). If images sourced from a DICOM system, are wrapped in a Media resource, then this is the modality.", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "DigitalMediaModality" } ], "strength": "example", "description": "Detailed information about the type of the image - its kind, purpose, or the kind of equipment used to generate it", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/digital-media-subtype" } }, "mapping": [ { "identity": "workflow", "map": "Event.code" }, { "identity": "w5", "map": "FiveWs.class" }, { "identity": "rim", "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" }, { "identity": "dicom", "map": "0008,0060 | 0008,1032" }, { "identity": "w5", "map": "class" } ] }, { "id": "Media.view", "path": "Media.view", "short": "Imaging view, e.g. Lateral or Antero-posterior", "definition": "The name of the imaging view e.g. Lateral or Antero-posterior (AP).", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "MediaView" } ], "strength": "example", "description": "Imaging view (projection) used when collecting an image", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/media-view" } }, "mapping": [ { "identity": "w5", "map": "FiveWs.class" }, { "identity": "rim", "map": "DiagnosticImage.subjectOrientationCode" }, { "identity": "w5", "map": "class" } ] }, { "id": "Media.subject", "path": "Media.subject", "short": "Who/What this Media is a record of", "definition": "Who/What this Media is a record of.", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Specimen" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" } ], "isSummary": true, "mapping": [ { "identity": "workflow", "map": "Event.subject" }, { "identity": "w5", "map": "FiveWs.subject[x]" }, { "identity": "rim", "map": ".participation[typeCode=\"SUBJ\"]???" }, { "identity": "dicom", "map": "~0010,0020" }, { "identity": "w5", "map": "who.focus" } ] }, { "id": "Media.context", "path": "Media.context", "short": "Encounter / Episode associated with media", "definition": "The encounter or episode of care that establishes the context for this media.", "comment": "This will typically be the encounter the media occurred within.", "requirements": "Links the media to the Encounter context.", "alias": [ "encounter" ], "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Encounter" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/EpisodeOfCare" } ], "isSummary": true, "mapping": [ { "identity": "workflow", "map": "Event.context" }, { "identity": "w5", "map": "FiveWs.context" }, { "identity": "rim", "map": ".inboundRelationship(typeCode=COMP].source[classCode<=PCPR, moodCode=EVN]" }, { "identity": "w5", "map": "context" } ] }, { "id": "Media.created[x]", "path": "Media.created[x]", "short": "When Media was collected", "definition": "The date and time(s) at which the media was collected.", "alias": [ "timing" ], "min": 0, "max": "1", "type": [ { "code": "dateTime" }, { "code": "Period" } ], "isSummary": true, "mapping": [ { "identity": "workflow", "map": "Event.occurrence[x]" }, { "identity": "w5", "map": "FiveWs.done[x]" }, { "identity": "rim", "map": ".effectiveTime" }, { "identity": "w5", "map": "when.done" } ] }, { "id": "Media.issued", "path": "Media.issued", "short": "Date/Time this version was made available", "definition": "The date and time this version of the media was made available to providers, typically after having been reviewed.", "comment": "It may be the same as the [`lastUpdated` ](resource-definitions.html#Meta.lastUpdated) time of the resource itself. For Observations that do require review and verification for certain updates, it might not be the same as the `lastUpdated` time of the resource itself due to a non-clinically significant update that doesn’t require the new version to be reviewed and verified again.", "min": 0, "max": "1", "type": [ { "code": "instant" } ], "isSummary": true, "mapping": [ { "identity": "w5", "map": "FiveWs.recorded" }, { "identity": "v2", "map": "OBR.22 (or MSH.7), or perhaps OBX-19 (depends on who observation made)" }, { "identity": "rim", "map": "participation[typeCode=AUT].time" }, { "identity": "w5", "map": "when.recorded" } ] }, { "id": "Media.operator", "path": "Media.operator", "short": "The person who generated the image", "definition": "The person who administered the collection of the image.", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/PractitionerRole" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/CareTeam" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" } ], "isSummary": true, "mapping": [ { "identity": "workflow", "map": "Event.performer.actor" }, { "identity": "w5", "map": "FiveWs.actor" }, { "identity": "rim", "map": ".participation[typeCode=\"PERF\"]???" }, { "identity": "dicom", "map": "0008,1060?" }, { "identity": "w5", "map": "who.actor" } ] }, { "id": "Media.reasonCode", "path": "Media.reasonCode", "short": "Why was event performed?", "definition": "Describes why the event occurred in coded or textual form.", "comment": "Textual reasons can be caprued using reasonCode.text.", "min": 0, "max": "*", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "MediaReason" } ], "strength": "example", "description": "The reason for the media", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/procedure-reason" } }, "mapping": [ { "identity": "workflow", "map": "Event.reasonCode" }, { "identity": "w5", "map": "FiveWs.why[x]" }, { "identity": "rim", "map": ".reasonCode" }, { "identity": "w5", "map": "why" } ] }, { "id": "Media.bodySite", "path": "Media.bodySite", "short": "Observed body part", "definition": "Indicates the site on the subject's body where the observation was made (i.e. the target site).", "comment": "Only used if not implicit in code found in Observation.code. In many systems, this may be represented as a related observation instead of an inline component. If the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use the standard extension[ body-structure](extension-body-structure.html).", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" } ], "isSummary": true, "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "BodySite" } ], "strength": "example", "description": "Codes describing anatomical locations. May include laterality.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/body-site" } }, "mapping": [ { "identity": "sct-concept", "map": "< 123037004 |Body structure|" }, { "identity": "rim", "map": "targetSiteCode" }, { "identity": "sct-attr", "map": "718497002 |Inherent location|" } ] }, { "id": "Media.deviceName", "path": "Media.deviceName", "short": "Name of the device/manufacturer", "definition": "The name of the device / manufacturer of the device that was used to make the recording.", "min": 0, "max": "1", "type": [ { "code": "string" } ], "isSummary": true, "mapping": [ { "identity": "rim", "map": ".participation[typeCode=\"DEV\"].role.player.Entity[classCode=\"DEV\"].name" }, { "identity": "dicom", "map": "0008,0070" } ] }, { "id": "Media.device", "path": "Media.device", "short": "Observing Device", "definition": "The device used to collect the media.", "comment": "An extension should be used if further typing of the device is needed. Scondary devices used to support collecting a media can be represented using either extension or through the Observation.related element.", "min": 0, "max": "1", "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/DeviceMetric" }, { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/DeviceComponent" } ], "isSummary": true, "mapping": [ { "identity": "sct-concept", "map": "< 49062001 |Device|" }, { "identity": "rim", "map": "participation[typeCode=DEV]" }, { "identity": "sct-attr", "map": "424226004 |Using device|" } ] }, { "id": "Media.height", "path": "Media.height", "short": "Height of the image in pixels (photo/video)", "definition": "Height of the image in pixels (photo/video).", "min": 0, "max": "1", "type": [ { "code": "positiveInt" } ], "isSummary": true, "mapping": [ { "identity": "rim", "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"OBS\", moodCode=\"EVN\",code=\"<CODE>\"].value" }, { "identity": "dicom", "map": "0028,0010" } ] }, { "id": "Media.width", "path": "Media.width", "short": "Width of the image in pixels (photo/video)", "definition": "Width of the image in pixels (photo/video).", "min": 0, "max": "1", "type": [ { "code": "positiveInt" } ], "isSummary": true, "mapping": [ { "identity": "rim", "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"OBS\", moodCode=\"EVN\",code=\"<CODE>\"].value" }, { "identity": "dicom", "map": "0028,0011" } ] }, { "id": "Media.frames", "path": "Media.frames", "short": "Number of frames if > 1 (photo)", "definition": "The number of frames in a photo. This is used with a multi-page fax, or an imaging acquisition context that takes multiple slices in a single image, or an animated gif. If there is more than one frame, this SHALL have a value in order to alert interface software that a multi-frame capable rendering widget is required.", "min": 0, "max": "1", "type": [ { "code": "positiveInt" } ], "defaultValuePositiveInt": 1, "isSummary": true, "mapping": [ { "identity": "rim", "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"OBS\", moodCode=\"EVN\",code=\"<CODE>\"].value" } ] }, { "id": "Media.duration", "path": "Media.duration", "short": "Length in seconds (audio / video)", "definition": "The duration of the recording in seconds - for audio and video.", "comment": "The duration might differ from occurrencePeriod if recording was paused.", "min": 0, "max": "1", "type": [ { "code": "decimal" } ], "isSummary": true, "mapping": [ { "identity": "rim", "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"OBS\", moodCode=\"EVN\",code=\"<CODE>\"].value" }, { "identity": "dicom", "map": "~0028,0002" } ] }, { "id": "Media.content", "path": "Media.content", "short": "Actual Media - reference or data", "definition": "The actual content of the media - inline or by direct reference to the media source file.", "comment": "Recommended content types: image/jpeg, image/png, image/tiff, video/mpeg, audio/mp4, application/dicom. Application/dicom can contain the transfer syntax as a parameter. For an media that covers a period of time (video/sound), the content.creationTime is the end time. Creation time is used for tracking, organizing versions and searching.", "min": 1, "max": "1", "type": [ { "code": "Attachment" } ], "isSummary": true, "mapping": [ { "identity": "rim", "map": ".text" } ] }, { "id": "Media.note", "path": "Media.note", "short": "Comments made about the media", "definition": "Comments made about the media by the performer, subject or other participants.", "comment": "Not to be used for observations, conclusions, etc. Instead use an [Observation](observation.html) based on the Media/ImagingStudy resource.", "min": 0, "max": "*", "type": [ { "code": "Annotation" } ], "mapping": [ { "identity": "workflow", "map": "Event.note" }, { "identity": "v2", "map": "NTE" }, { "identity": "rim", "map": ".inboundRelationship(typeCode=SUBJ].source[classCode=ANNGEN, moodCode=EVN].value[xsi:type=ST]" } ] } ] } }
Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.