Nationella informationsmängder
0.1 - draft
Nationella informationsmängder - Local Development build (v0.1). See the Directory of published versions
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
Description of Profiles, Differentials, Snapshots and how the different presentations work.
Other representations of profile: Schematron
Path | Conformance | ValueSet / Code |
Media.language | preferred | CommonLanguages Max Binding: AllLanguages |
Media.status | required | EventStatus |
Media.type | extensible | Pattern: image |
Media.modality | example | MediaModality |
Media.view | example | MediaCollectionView/Projection |
Media.reasonCode | example | ProcedureReasonCodes |
Media.bodySite | example | SNOMEDCTBodyStructures |
Id | Path | Details | Requirements |
dom-2 | Media | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | Media | 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 : 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-4 | Media | If 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-5 | Media | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | Media | A resource should have narrative for robust management : text.`div`.exists() | |
ele-1 | Media.meta | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Media.implicitRules | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Media.language | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Media.text | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Media.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | Media.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | Media.modifierExtension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | Media.modifierExtension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | Media.identifier | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Media.basedOn | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Media.partOf | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Media.status | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Media.type | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Media.modality | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Media.view | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Media.subject | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Media.encounter | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Media.created[x] | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Media.issued | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Media.operator | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Media.reasonCode | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Media.bodySite | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Media.deviceName | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Media.device | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Media.height | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Media.width | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Media.frames | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Media.duration | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Media.content | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Media.note | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |