eHealth Infrastructure (v2019.5.1)

StructureDefinition: ehealth-consent

Remarks on operations

Update

The update operation on Consent only accepts changes to the patient, category, data.reference, actor, status, and period contents.

Formal Views of Profile Content

The official URL for this profile is:

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

This profile builds on Consent.

This profile was published on Thu May 16 12:32:10 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
Consent.languageCommon LanguagesextensibleCommon Languages
Consent.statusConsentStaterequiredConsentState
Consent.categoryConsentCategoryrequiredConsentCategory
Consent.category.codingConsentCategoryrequiredConsentCategory
Consent.actor.roleSecurityRoleTypeextensibleSecurityRoleType (missing link)
Consent.actionConsent Action CodesexampleConsent Action Codes
Consent.securityLabelAll Security LabelsextensibleAll Security Labels
Consent.purposePurposeOfUseextensiblePurposeOfUse
Consent.data.meaningConsentDataMeaningrequiredConsentDataMeaning
Consent.except.typeConsentExceptTyperequiredConsentExceptType
Consent.except.actor.roleSecurityRoleTypeextensibleSecurityRoleType (missing link)
Consent.except.actionConsent Action CodesexampleConsent Action Codes
Consent.except.securityLabelAll Security LabelsextensibleAll Security Labels
Consent.except.purposePurposeOfUseextensiblePurposeOfUse
Consent.except.classConsent Content ClassextensibleConsent Content Class
Consent.except.codeConsent Content CodesexampleConsent Content Codes
Consent.except.data.meaningConsentDataMeaningrequiredConsentDataMeaning

Constraints

IdPathDetailsRequirements
dom-2ConsentIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-1ConsentIf the resource is contained in another resource, it SHALL NOT contain any narrative
: contained.text.empty()
dom-4ConsentIf 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-3ConsentIf 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()
ppc-1ConsentEither a Policy or PolicyRule
: policy.exists() or policyRule.exists()
ele-1Consent.actorAll FHIR elements must have a @value or children
: hasValue() | (children().count() > id.count())
ele-1Consent.policyAll FHIR elements must have a @value or children
: hasValue() | (children().count() > id.count())
ele-1Consent.dataAll FHIR elements must have a @value or children
: hasValue() | (children().count() > id.count())
ele-1Consent.exceptAll FHIR elements must have a @value or children
: hasValue() | (children().count() > id.count())
ele-1Consent.except.actorAll FHIR elements must have a @value or children
: hasValue() | (children().count() > id.count())
ele-1Consent.except.dataAll FHIR elements must have a @value or children
: hasValue() | (children().count() > id.count())
.