Nationella informationsmängder
0.1 - draft

Nationella informationsmängder - Local Development build (v0.1). See the Directory of published versions

Resource Profile: Bildresurs

Defining URL:https://informationsstruktur.socialstyrelsen.se/nim/hos/fhir/StructureDefinition/NIMImageResource
Version:0.1
Name:NIMImageResource
Title:Bildresurs
Status:Active as of 2021-03-30T19:36:18+02:00
Publisher:Socialstyrelsen
Source Resource:XML / JSON / Turtle

The official URL for this profile is:

https://informationsstruktur.socialstyrelsen.se/nim/hos/fhir/StructureDefinition/NIMImageResource

Formal Views of Profile Content

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

This structure is derived from Media

Summary

Must-Support: 3 elements

 

Other representations of profile: Schematron

Terminology Bindings

PathConformanceValueSet / Code
Media.languagepreferredCommonLanguages
Max Binding: AllLanguages
Media.statusrequiredEventStatus
Media.typeextensiblePattern: image
Media.modalityexampleMediaModality
Media.viewexampleMediaCollectionView/Projection
Media.reasonCodeexampleProcedureReasonCodes
Media.bodySiteexampleSNOMEDCTBodyStructures

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.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())