International Patient Summary Implementation Guide
1.0.0 - STU 1

This page is part of the International Patient Summary Implementation Guide (v1.0.0: STU 1) based on FHIR R4. The current version which supercedes this version is 1.1.0. For a full list of available versions, see the Directory of published versions

StructureDefinition: MediaObservationUvIps

This profile constrains the Media resource (which is a specialized observation).

The official URL for this profile is:

http://hl7.org/fhir/uv/ips/StructureDefinition/Media-observation-uv-ips

Formal Views of Profile Content

Description of Profiles, Differentials, Snapshots and how the different presentations work.

This structure is derived from Media

Summary

Mandatory: 2 elements
Must-Support: 7 elements
Fixed Value: 1 element

Structures

This structure refers to these other structures:

This structure is derived from Media

NameFlagsCard.TypeDescription & Constraintsdoco
.. Media S0..*MediaA photo, video, or audio recording acquired or used in healthcare. The actual content may be inline or provided by direct reference
... status S1..1codepreparation | in-progress | not-done | on-hold | stopped | completed | entered-in-error | unknown
Fixed Value: completed
... type S0..1CodeableConceptIPSConcept - reference to a terminology or just text
... subject S1..1Reference(Patient (IPS))Who/What this Media is a record of
.... reference S1..1stringLiteral reference, Relative, internal or absolute URL
... device S0..1Reference(Device | DeviceMetric | Device)Observing Device
... content S1..1AttachmentActual Media - reference or data

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Media SI0..*MediaA photo, video, or audio recording acquired or used in healthcare. The actual content may be inline or provided by direct reference
... id Σ0..1stringLogical id of this artifact
... meta ΣI0..1MetaMetadata about the resource
... implicitRules ?!ΣI0..1uriA set of rules under which this content was created
... language I0..1codeLanguage of the resource content
Binding: CommonLanguages (preferred)
Max Binding: AllLanguages
... text I0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... extension I0..*ExtensionAdditional content defined by implementations
... modifierExtension ?!I0..*ExtensionExtensions that cannot be ignored
... identifier ΣI0..*IdentifierIdentifier(s) for the image
... basedOn ΣI0..*Reference(ServiceRequest | CarePlan)Procedure that caused this media to be created
... partOf ΣI0..*Reference(Resource)Part of referenced event
... status ?!SΣI1..1codepreparation | in-progress | not-done | on-hold | stopped | completed | entered-in-error | unknown
Binding: EventStatus (required)
Fixed Value: completed
... type SI0..1CodeableConceptIPSConcept - reference to a terminology or just text
Binding: MediaType (extensible)
... modality ΣI0..1CodeableConceptThe type of acquisition equipment/process
Binding: MediaModality (example)
... view ΣI0..1CodeableConceptImaging view, e.g. Lateral or Antero-posterior
Binding: MediaCollectionView/Projection (example)
... subject SΣI1..1Reference(Patient (IPS))Who/What this Media is a record of
.... id 0..1stringUnique id for inter-element referencing
.... extension I0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... reference SΣI1..1stringLiteral reference, Relative, internal or absolute URL
.... type ΣI0..1uriType the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible)
.... identifier ΣI0..1IdentifierLogical reference, when literal reference is not known
.... display ΣI0..1stringText alternative for the resource
... encounter ΣI0..1Reference(Encounter)Encounter associated with media
... created[x] ΣI0..1When Media was collected
.... createdDateTimedateTime
.... createdPeriodPeriod
... issued ΣI0..1instantDate/Time this version was made available
... operator SΣI0..1Reference(Practitioner | PractitionerRole | Organization | CareTeam | Patient | Device | RelatedPerson)The person who generated the image
... reasonCode ΣI0..*CodeableConceptWhy was event performed?
Binding: ProcedureReasonCodes (example)
... bodySite ΣI0..1CodeableConceptObserved body part
Binding: SNOMEDCTBodyStructures (example)
... deviceName ΣI0..1stringName of the device/manufacturer
... device SΣI0..1Reference(Device | DeviceMetric | Device)Observing Device
... 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..1decimalLength in seconds (audio / video)
... content SΣI1..1AttachmentActual Media - reference or data
... note I0..*AnnotationComments made about the media

doco Documentation for this format

This structure is derived from Media

Summary

Mandatory: 2 elements
Must-Support: 7 elements
Fixed Value: 1 element

Structures

This structure refers to these other structures:

Differential View

This structure is derived from Media

NameFlagsCard.TypeDescription & Constraintsdoco
.. Media S0..*MediaA photo, video, or audio recording acquired or used in healthcare. The actual content may be inline or provided by direct reference
... status S1..1codepreparation | in-progress | not-done | on-hold | stopped | completed | entered-in-error | unknown
Fixed Value: completed
... type S0..1CodeableConceptIPSConcept - reference to a terminology or just text
... subject S1..1Reference(Patient (IPS))Who/What this Media is a record of
.... reference S1..1stringLiteral reference, Relative, internal or absolute URL
... device S0..1Reference(Device | DeviceMetric | Device)Observing Device
... content S1..1AttachmentActual Media - reference or data

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Media SI0..*MediaA photo, video, or audio recording acquired or used in healthcare. The actual content may be inline or provided by direct reference
... id Σ0..1stringLogical id of this artifact
... meta ΣI0..1MetaMetadata about the resource
... implicitRules ?!ΣI0..1uriA set of rules under which this content was created
... language I0..1codeLanguage of the resource content
Binding: CommonLanguages (preferred)
Max Binding: AllLanguages
... text I0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... extension I0..*ExtensionAdditional content defined by implementations
... modifierExtension ?!I0..*ExtensionExtensions that cannot be ignored
... identifier ΣI0..*IdentifierIdentifier(s) for the image
... basedOn ΣI0..*Reference(ServiceRequest | CarePlan)Procedure that caused this media to be created
... partOf ΣI0..*Reference(Resource)Part of referenced event
... status ?!SΣI1..1codepreparation | in-progress | not-done | on-hold | stopped | completed | entered-in-error | unknown
Binding: EventStatus (required)
Fixed Value: completed
... type SI0..1CodeableConceptIPSConcept - reference to a terminology or just text
Binding: MediaType (extensible)
... modality ΣI0..1CodeableConceptThe type of acquisition equipment/process
Binding: MediaModality (example)
... view ΣI0..1CodeableConceptImaging view, e.g. Lateral or Antero-posterior
Binding: MediaCollectionView/Projection (example)
... subject SΣI1..1Reference(Patient (IPS))Who/What this Media is a record of
.... id 0..1stringUnique id for inter-element referencing
.... extension I0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... reference SΣI1..1stringLiteral reference, Relative, internal or absolute URL
.... type ΣI0..1uriType the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible)
.... identifier ΣI0..1IdentifierLogical reference, when literal reference is not known
.... display ΣI0..1stringText alternative for the resource
... encounter ΣI0..1Reference(Encounter)Encounter associated with media
... created[x] ΣI0..1When Media was collected
.... createdDateTimedateTime
.... createdPeriodPeriod
... issued ΣI0..1instantDate/Time this version was made available
... operator SΣI0..1Reference(Practitioner | PractitionerRole | Organization | CareTeam | Patient | Device | RelatedPerson)The person who generated the image
... reasonCode ΣI0..*CodeableConceptWhy was event performed?
Binding: ProcedureReasonCodes (example)
... bodySite ΣI0..1CodeableConceptObserved body part
Binding: SNOMEDCTBodyStructures (example)
... deviceName ΣI0..1stringName of the device/manufacturer
... device SΣI0..1Reference(Device | DeviceMetric | Device)Observing Device
... 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..1decimalLength in seconds (audio / video)
... content SΣI1..1AttachmentActual Media - reference or data
... note I0..*AnnotationComments made about the media

doco Documentation for this format

 

Other representations of profile: Schematron

Terminology Bindings

Terminology Bindings

PathConformanceValueSet / Code
Media.languagepreferredCommonLanguages
Max Binding: AllLanguages
Media.statusrequiredFixed Value: completed
Media.typeextensibleMediaType
Media.modalityexampleMediaModality
Media.viewexampleMediaCollectionView/Projection
Media.subject.typeextensibleResourceType
Media.reasonCodeexampleProcedureReasonCodes
Media.bodySiteexampleSNOMEDCTBodyStructures

Constraints

Constraints

IdPathDetailsRequirements
dom-2MediaIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3MediaIf the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource
: contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4MediaIf a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
: contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5MediaIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6MediaA resource should have narrative for robust management
: text.`div`.exists()
ele-1Media.metaAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Media.implicitRulesAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Media.languageAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Media.textAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Media.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1Media.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1Media.modifierExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1Media.modifierExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1Media.identifierAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Media.basedOnAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Media.partOfAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Media.statusAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Media.typeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Media.modalityAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Media.viewAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Media.subjectAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Media.subject.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1Media.subject.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1Media.subject.referenceAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Media.subject.typeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Media.subject.identifierAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Media.subject.displayAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Media.encounterAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Media.created[x]All FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Media.issuedAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Media.operatorAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Media.reasonCodeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Media.bodySiteAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Media.deviceNameAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Media.deviceAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Media.heightAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Media.widthAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Media.framesAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Media.durationAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Media.contentAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Media.noteAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())