HL7 FHIR Implementation Guide: minimal Common Oncology Data Elements (mCODE), v0.9.0

- Local Development build (v0.9.0). See the Directory of published versions

Media

 

The official URL for this profile is:

http://hl7.org/fhir/us/shr/StructureDefinition/shr-core-Media

A photo, video, or audio recording acquired or used in healthcare. The actual content may be inline or provided by direct reference.

This profile builds on Media.

This profile was published on Wed Apr 17 00:00:00 EDT 2019 as a draft by The MITRE Corporation.

Summary

Structures

This structure refers to these other structures:

Extensions

This structure refers to these extensions:

Mapping Source

This structure represents the following mapping definition:

shr.core.Media maps to Media:
  _Entry.EntryId maps to id
  Language maps to language
  Narrative maps to text
  ImplicitRules maps to implicitRules
  Metadata.VersionId maps to meta.versionId
  Metadata.Profile maps to meta.profile
  Metadata.LastUpdated maps to meta.lastUpdated
  Metadata.SecurityLabel maps to meta.security
  Metadata.Tag maps to meta.tag
  Type maps to type
  Subtype maps to subtype
  Identifier maps to identifier
  MediaSubjectOfRecord maps to subject
  Practitioner maps to operator
  View maps to view
  Device.ManufacturerName maps to deviceName
  PixelHeight maps to height
  PixelWidth maps to width
  Frames maps to frames
  NumberOfSecondsDuration maps to duration
  Attachment maps to content
  RelatedRequest maps to extension
  CareContext maps to extension
  RelevantTime maps to extension
  ReasonCode maps to extension
  Annotation maps to extension
  BodyLocation maps to extension

NameFlagsCard.TypeDescription & Constraintsdoco
.. Media shr-core-Media
... extension Slice: Unordered, Open by value:url
... shr-core-RelatedRequest-extension 0..*Reference(shr-core-MedicationRequest | shr-core-ProcedureRequest | shr-core-ReferralRequest)RelatedRequest
URL: http://hl7.org/fhir/us/shr/StructureDefinition/shr-core-RelatedRequest-extension
.... valueReference Reference(shr-core-ProcedureRequest)ProcedureRequest
... shr-core-CareContext-extension 0..1Reference(shr-core-Encounter | shr-core-EpisodeOfCare)CareContext
URL: http://hl7.org/fhir/us/shr/StructureDefinition/shr-core-CareContext-extension
... shr-core-RelevantTime-extension 0..1dateTime, PeriodRelevantTime
URL: http://hl7.org/fhir/us/shr/StructureDefinition/shr-core-RelevantTime-extension
... shr-core-ReasonCode-extension 0..*CodeableConceptReasonCode
URL: http://hl7.org/fhir/us/shr/StructureDefinition/shr-core-ReasonCode-extension
.... valueCodeableConcept Binding: Procedure Reason Codes (example)
... shr-core-Annotation-extension 0..*AnnotationAnnotation
URL: http://hl7.org/fhir/us/shr/StructureDefinition/shr-core-Annotation-extension
... shr-core-BodyLocation-extension 0..1(Complex)BodyLocation
URL: http://hl7.org/fhir/us/shr/StructureDefinition/shr-core-BodyLocation-extension
... shr-core-Status-extension 0..1CodeableConceptStatus
URL: http://hl7.org/fhir/us/shr/StructureDefinition/shr-core-Status-extension
... shr-core-PartOf-extension 0..1Reference(shr-core-DomainResource)PartOf
URL: http://hl7.org/fhir/us/shr/StructureDefinition/shr-core-PartOf-extension
... subject Reference(shr-core-Patient | shr-core-Practitioner | shr-core-Group | shr-core-Device | shr-core-Specimen)
... operator Reference(shr-core-Practitioner)

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Media I0..*shr-core-Media
mda-1: Height can only be used for a photo or video
mda-2: Width can only be used for a photo or video
mda-4: Duration can only be used for an audio or a video
mda-3: Frames can only be used for a photo
... id Σ0..1idLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... language 0..1codeLanguage of the resource content
Binding: http://tools.ietf.org/html/bcp47 (required)
... text I0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... extension 0..*ExtensionAdditional Content defined by implementations
Slice: Unordered, Open by value:url
... shr-core-RelatedRequest-extension 0..*Reference(shr-core-MedicationRequest | shr-core-ProcedureRequest | shr-core-ReferralRequest)RelatedRequest
URL: http://hl7.org/fhir/us/shr/StructureDefinition/shr-core-RelatedRequest-extension
.... id 0..1stringxml:id (or equivalent in JSON)
.... url 1..1uri"http://hl7.org/fhir/us/shr/StructureDefinition/shr-core-RelatedRequest-extension"
.... valueReference 1..1Reference(shr-core-ProcedureRequest)ProcedureRequest
... shr-core-CareContext-extension 0..1Reference(shr-core-Encounter | shr-core-EpisodeOfCare)CareContext
URL: http://hl7.org/fhir/us/shr/StructureDefinition/shr-core-CareContext-extension
... shr-core-RelevantTime-extension 0..1dateTime, PeriodRelevantTime
URL: http://hl7.org/fhir/us/shr/StructureDefinition/shr-core-RelevantTime-extension
... shr-core-ReasonCode-extension 0..*CodeableConceptReasonCode
URL: http://hl7.org/fhir/us/shr/StructureDefinition/shr-core-ReasonCode-extension
.... id 0..1stringxml:id (or equivalent in JSON)
.... url 1..1uri"http://hl7.org/fhir/us/shr/StructureDefinition/shr-core-ReasonCode-extension"
.... valueCodeableConcept 1..1CodeableConceptValue of extension
Binding: Procedure Reason Codes (example)
... shr-core-Annotation-extension 0..*AnnotationAnnotation
URL: http://hl7.org/fhir/us/shr/StructureDefinition/shr-core-Annotation-extension
... shr-core-BodyLocation-extension 0..1(Complex)BodyLocation
URL: http://hl7.org/fhir/us/shr/StructureDefinition/shr-core-BodyLocation-extension
... shr-core-Status-extension 0..1CodeableConceptStatus
URL: http://hl7.org/fhir/us/shr/StructureDefinition/shr-core-Status-extension
... shr-core-PartOf-extension 0..1Reference(shr-core-DomainResource)PartOf
URL: http://hl7.org/fhir/us/shr/StructureDefinition/shr-core-PartOf-extension
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... type Σ1..1codephoto | video | audio
Binding: DigitalMediaType (required)
... subtype Σ0..1CodeableConceptThe type of acquisition equipment/process
Binding: Media SubType (example)
... identifier Σ0..*IdentifierIdentifier(s) for the image
... subject Σ0..1Reference(shr-core-Patient | shr-core-Practitioner | shr-core-Group | shr-core-Device | shr-core-Specimen)Who/What this Media is a record of
... operator Σ0..1Reference(shr-core-Practitioner)The person who generated the image
... view Σ0..1CodeableConceptImaging view, e.g. Lateral or Antero-posterior
Binding: Media Collection View/Projection (example)
... deviceName Σ0..1stringName of the device/manufacturer
... height ΣI0..1positiveIntHeight of the image in pixels (photo/video)
... width ΣI0..1positiveIntWidth of the image in pixels (photo/video)
... frames ΣI0..1positiveIntNumber of frames if > 1 (photo)
... duration ΣI0..1unsignedIntLength in seconds (audio / video)
... content 1..1AttachmentActual Media - reference or data

doco Documentation for this format

Summary

Structures

This structure refers to these other structures:

Extensions

This structure refers to these extensions:

Mapping Source

This structure represents the following mapping definition:

shr.core.Media maps to Media:
  _Entry.EntryId maps to id
  Language maps to language
  Narrative maps to text
  ImplicitRules maps to implicitRules
  Metadata.VersionId maps to meta.versionId
  Metadata.Profile maps to meta.profile
  Metadata.LastUpdated maps to meta.lastUpdated
  Metadata.SecurityLabel maps to meta.security
  Metadata.Tag maps to meta.tag
  Type maps to type
  Subtype maps to subtype
  Identifier maps to identifier
  MediaSubjectOfRecord maps to subject
  Practitioner maps to operator
  View maps to view
  Device.ManufacturerName maps to deviceName
  PixelHeight maps to height
  PixelWidth maps to width
  Frames maps to frames
  NumberOfSecondsDuration maps to duration
  Attachment maps to content
  RelatedRequest maps to extension
  CareContext maps to extension
  RelevantTime maps to extension
  ReasonCode maps to extension
  Annotation maps to extension
  BodyLocation maps to extension

Differential View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Media shr-core-Media
... extension Slice: Unordered, Open by value:url
... shr-core-RelatedRequest-extension 0..*Reference(shr-core-MedicationRequest | shr-core-ProcedureRequest | shr-core-ReferralRequest)RelatedRequest
URL: http://hl7.org/fhir/us/shr/StructureDefinition/shr-core-RelatedRequest-extension
.... valueReference Reference(shr-core-ProcedureRequest)ProcedureRequest
... shr-core-CareContext-extension 0..1Reference(shr-core-Encounter | shr-core-EpisodeOfCare)CareContext
URL: http://hl7.org/fhir/us/shr/StructureDefinition/shr-core-CareContext-extension
... shr-core-RelevantTime-extension 0..1dateTime, PeriodRelevantTime
URL: http://hl7.org/fhir/us/shr/StructureDefinition/shr-core-RelevantTime-extension
... shr-core-ReasonCode-extension 0..*CodeableConceptReasonCode
URL: http://hl7.org/fhir/us/shr/StructureDefinition/shr-core-ReasonCode-extension
.... valueCodeableConcept Binding: Procedure Reason Codes (example)
... shr-core-Annotation-extension 0..*AnnotationAnnotation
URL: http://hl7.org/fhir/us/shr/StructureDefinition/shr-core-Annotation-extension
... shr-core-BodyLocation-extension 0..1(Complex)BodyLocation
URL: http://hl7.org/fhir/us/shr/StructureDefinition/shr-core-BodyLocation-extension
... shr-core-Status-extension 0..1CodeableConceptStatus
URL: http://hl7.org/fhir/us/shr/StructureDefinition/shr-core-Status-extension
... shr-core-PartOf-extension 0..1Reference(shr-core-DomainResource)PartOf
URL: http://hl7.org/fhir/us/shr/StructureDefinition/shr-core-PartOf-extension
... subject Reference(shr-core-Patient | shr-core-Practitioner | shr-core-Group | shr-core-Device | shr-core-Specimen)
... operator Reference(shr-core-Practitioner)

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Media I0..*shr-core-Media
mda-1: Height can only be used for a photo or video
mda-2: Width can only be used for a photo or video
mda-4: Duration can only be used for an audio or a video
mda-3: Frames can only be used for a photo
... id Σ0..1idLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... language 0..1codeLanguage of the resource content
Binding: http://tools.ietf.org/html/bcp47 (required)
... text I0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... extension 0..*ExtensionAdditional Content defined by implementations
Slice: Unordered, Open by value:url
... shr-core-RelatedRequest-extension 0..*Reference(shr-core-MedicationRequest | shr-core-ProcedureRequest | shr-core-ReferralRequest)RelatedRequest
URL: http://hl7.org/fhir/us/shr/StructureDefinition/shr-core-RelatedRequest-extension
.... id 0..1stringxml:id (or equivalent in JSON)
.... url 1..1uri"http://hl7.org/fhir/us/shr/StructureDefinition/shr-core-RelatedRequest-extension"
.... valueReference 1..1Reference(shr-core-ProcedureRequest)ProcedureRequest
... shr-core-CareContext-extension 0..1Reference(shr-core-Encounter | shr-core-EpisodeOfCare)CareContext
URL: http://hl7.org/fhir/us/shr/StructureDefinition/shr-core-CareContext-extension
... shr-core-RelevantTime-extension 0..1dateTime, PeriodRelevantTime
URL: http://hl7.org/fhir/us/shr/StructureDefinition/shr-core-RelevantTime-extension
... shr-core-ReasonCode-extension 0..*CodeableConceptReasonCode
URL: http://hl7.org/fhir/us/shr/StructureDefinition/shr-core-ReasonCode-extension
.... id 0..1stringxml:id (or equivalent in JSON)
.... url 1..1uri"http://hl7.org/fhir/us/shr/StructureDefinition/shr-core-ReasonCode-extension"
.... valueCodeableConcept 1..1CodeableConceptValue of extension
Binding: Procedure Reason Codes (example)
... shr-core-Annotation-extension 0..*AnnotationAnnotation
URL: http://hl7.org/fhir/us/shr/StructureDefinition/shr-core-Annotation-extension
... shr-core-BodyLocation-extension 0..1(Complex)BodyLocation
URL: http://hl7.org/fhir/us/shr/StructureDefinition/shr-core-BodyLocation-extension
... shr-core-Status-extension 0..1CodeableConceptStatus
URL: http://hl7.org/fhir/us/shr/StructureDefinition/shr-core-Status-extension
... shr-core-PartOf-extension 0..1Reference(shr-core-DomainResource)PartOf
URL: http://hl7.org/fhir/us/shr/StructureDefinition/shr-core-PartOf-extension
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... type Σ1..1codephoto | video | audio
Binding: DigitalMediaType (required)
... subtype Σ0..1CodeableConceptThe type of acquisition equipment/process
Binding: Media SubType (example)
... identifier Σ0..*IdentifierIdentifier(s) for the image
... subject Σ0..1Reference(shr-core-Patient | shr-core-Practitioner | shr-core-Group | shr-core-Device | shr-core-Specimen)Who/What this Media is a record of
... operator Σ0..1Reference(shr-core-Practitioner)The person who generated the image
... view Σ0..1CodeableConceptImaging view, e.g. Lateral or Antero-posterior
Binding: Media Collection View/Projection (example)
... deviceName Σ0..1stringName of the device/manufacturer
... height ΣI0..1positiveIntHeight of the image in pixels (photo/video)
... width ΣI0..1positiveIntWidth of the image in pixels (photo/video)
... frames ΣI0..1positiveIntNumber of frames if > 1 (photo)
... duration ΣI0..1unsignedIntLength in seconds (audio / video)
... content 1..1AttachmentActual Media - reference or data

doco Documentation for this format

Downloads: StructureDefinition: (XML, JSON, TTL), Schema: XML Schematron

 

 

Constraints

IdPathDetailsRequirements
mda-1MediaHeight can only be used for a photo or video
:
mda-2MediaWidth can only be used for a photo or video
:
mda-4MediaDuration can only be used for an audio or a video
:
mda-3MediaFrames can only be used for a photo
: