CH EPR mHealth (R4)
1.1.0 - DSTU 2 Informative Ballot Switzerland flag

This page is part of the CH EPR mHealth (R4) (v1.1.0: DSTU 2) based on FHIR R4. . For a full list of available versions, see the Directory of published versions

Resource Profile: CH MHD SubmissionSet Comprehensive

Official URL: http://fhir.ch/ig/ch-epr-mhealth/StructureDefinition/ch-mhd-submissionset-comprehensive Version: 1.1.0
Draft as of 2021-04-15 Computable Name: CHMhdSubmissionSetComprehensive

Copyright/Legal: CC-BY-SA-4.0

CH MHD SubmissionSet Comprehensive

Usage:

Formal Views of Profile Content

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

This structure is derived from SubmissionSetComprehensiveUnContained

 

Other representations of profile: CSV, Excel, Schematron

Terminology Bindings

PathConformanceValueSet / Code
List.meta.securityextensibleAll Security Labels
List.meta.tagexampleCommonTags
List.languagepreferredCommonLanguages
Max Binding: AllLanguages
List.identifier:uniqueId.userequiredPattern: usual
List.identifier:uniqueId.typeextensibleIdentifier Type Codes
List.identifier:entryUUID.userequiredPattern: official
List.identifier:entryUUID.typeextensibleIdentifier Type Codes
List.statusrequiredListStatus
List.moderequiredPattern: working
List.coderequiredPattern: submissionset
List.source.typeextensibleResourceType

Constraints

IdGradePathDetailsRequirements
dom-2errorListIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorListIf 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-4errorListIf 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-5errorListIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6Best PracticeListA resource should have narrative for robust management
: text.`div`.exists()
lst-1errorListA list can only have an emptyReason if it is empty
: emptyReason.empty() or entry.empty()
lst-2errorListThe deleted flag can only be used if the mode of the list is "changes"
: mode = 'changes' or entry.deleted.empty()
lst-3errorListAn entry date can only be used if the mode of the list is "working"
: mode = 'working' or entry.date.empty()
ele-1errorList.metaAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorList.meta.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorList.meta.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorList.meta.versionIdAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorList.meta.lastUpdatedAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorList.meta.sourceAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorList.meta.profileAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorList.meta.securityAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorList.meta.tagAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorList.implicitRulesAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorList.languageAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorList.textAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorList.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorList.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorList.extension:designationTypeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorList.extension:designationTypeMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorList.extension:sourceIdAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorList.extension:sourceIdMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorList.extension:intendedRecipientAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorList.extension:intendedRecipientMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorList.extension:authorAuthorRoleAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorList.extension:authorAuthorRoleMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorList.identifierAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorList.identifier:uniqueIdAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorList.identifier:uniqueId.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorList.identifier:uniqueId.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorList.identifier:uniqueId.useAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorList.identifier:uniqueId.typeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorList.identifier:uniqueId.systemAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorList.identifier:uniqueId.valueAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorList.identifier:uniqueId.periodAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorList.identifier:uniqueId.assignerAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorList.identifier:entryUUIDAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorList.identifier:entryUUID.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorList.identifier:entryUUID.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorList.identifier:entryUUID.useAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorList.identifier:entryUUID.typeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorList.identifier:entryUUID.systemAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorList.identifier:entryUUID.valueAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorList.identifier:entryUUID.periodAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorList.identifier:entryUUID.assignerAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorList.statusAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorList.modeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorList.titleAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorList.codeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorList.subjectAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorList.dateAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorList.sourceAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorList.source.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorList.source.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorList.source.referenceAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorList.source.typeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorList.source.identifierAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorList.source.displayAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorList.noteAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorList.entryAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorList.entry.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorList.entry.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorList.entry.modifierExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorList.entry.modifierExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorList.entry.itemAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())