eHealth Infrastructure (v2019.5.2)

StructureDefinition: ehealth-episodeofcare

Formal Views of Profile Content

The official URL for this profile is:

http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare

This profile builds on EpisodeOfCare.

This profile was published on Wed May 29 18:05:58 UTC 2019 as a draft by ehealth.sundhed.dk.

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

 

Terminology Bindings

PathNameConformanceValueSet
EpisodeOfCare.languageCommon LanguagesextensibleCommon Languages
EpisodeOfCare.statusEpisodeOfCareStatusrequiredEpisodeOfCareStatus
EpisodeOfCare.statusHistory.statusEpisodeOfCareStatusrequiredEpisodeOfCareStatus
EpisodeOfCare.typeEpisodeOfCareTypeexampleEpisodeOfCareType
EpisodeOfCare.diagnosis.roleDiagnosisRolepreferredDiagnosisRole

Constraints

IdPathDetailsRequirements
dom-2EpisodeOfCareIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-1EpisodeOfCareIf the resource is contained in another resource, it SHALL NOT contain any narrative
: contained.text.empty()
dom-4EpisodeOfCareIf 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-3EpisodeOfCareIf the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource
: contained.where(('#'+id in %resource.descendants().reference).not()).empty()
ele-1EpisodeOfCare.statusHistoryAll FHIR elements must have a @value or children
: hasValue() | (children().count() > id.count())
ele-1EpisodeOfCare.diagnosisAll FHIR elements must have a @value or children
: hasValue() | (children().count() > id.count())
.