Union of http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-epr-consent and http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-epr-consent

This is the set of resources that conform to either of the profiles CH Core EPR-Consent (http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-epr-consent) and CH Core EPR-Consent (http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-epr-consent). E.g. what you have to deal with if you get resources conforming to one of them

Structure

NameFlagsCard.TypeDescription & Constraintsdoco
.. Consent C0..*CH Core EPR-Consent
dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources
dom-3: 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
dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
dom-5: If a resource is contained in another resource, it SHALL NOT have a security label
dom-6: A resource should have narrative for robust management
ppc-1: Either a Policy or PolicyRule
ppc-2: IF Scope=privacy, there must be a patient
ppc-3: IF Scope=research, there must be a patient
ppc-4: IF Scope=adr, there must be a patient
ppc-5: IF Scope=treatment, there must be a patient
... meta Σ0..1MetaMetadata about the resource
ele-1: All FHIR elements must have a @value or children
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
ele-1: All FHIR elements must have a @value or children
... language 0..1codeLanguage of the resource content
Binding: ?? (preferred): A human language.


ele-1: All FHIR elements must have a @value or children
... contained 0..*ResourceContained, inline Resources
... extension 0..*ExtensionAdditional content defined by implementations
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
... identifier Σ0..*IdentifierIdentifier for this record (external references)
ele-1: All FHIR elements must have a @value or children

Example General: {"system":"http://acme.org/identifier/local/eCMS","value":"Local eCMS identifier"}
... status ?!Σ1..1codedraft | proposed | active | rejected | inactive | entered-in-error
Binding: ?? (required): Indicates the state of the consent.


ele-1: All FHIR elements must have a @value or children
... scope ?!Σ1..1CodeableConceptWhich of the four areas this resource covers (extensible)
Binding: ?? (extensible): The four anticipated uses for the Consent Resource.


ele-1: All FHIR elements must have a @value or children
... category Σ1..*CodeableConceptClassification of the consent statement - for indexing/retrieval
Binding: ?? (extensible): A classification of the type of consents found in a consent statement.


ele-1: All FHIR elements must have a @value or children
... patient Σ1..1Reference(CH Core Patient | #sd-ch-core-patient-ch-core-patient)The patient to whom this EPR consent applies
ele-1: All FHIR elements must have a @value or children
... dateTime Σ0..1dateTimeWhen this Consent was created or indexed
ele-1: All FHIR elements must have a @value or children
... performer Σ0..*Reference(CH Core Organization | CH Core Patient | CH Core Practitioner | RelatedPerson | CH Core PractitionerRole | #sd-ch-core-organization-ch-core-organization)Who is agreeing to the policy and rules
ele-1: All FHIR elements must have a @value or children
... organization Σ0..*Reference(CH Core Organization | #sd-ch-core-organization-ch-core-organization)Custodian of the consent
ele-1: All FHIR elements must have a @value or children
... source[x] Σ0..1Source from which this consent is taken
ele-1: All FHIR elements must have a @value or children
.... sourceAttachmentAttachment
.... sourceReferenceReference(Consent | DocumentReference | Contract | QuestionnaireResponse)
... policy 0..*BackboneElementPolicies covered by this consent
ele-1: All FHIR elements must have a @value or children
.... extension 0..*ExtensionAdditional content defined by implementations
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... authority 0..1uriEnforcement source for policy
ele-1: All FHIR elements must have a @value or children
.... uri 0..1uriSpecific policy covered by this consent
ele-1: All FHIR elements must have a @value or children
... policyRule Σ0..1CodeableConceptRegulation that this consents to
Binding: ?? (extensible): Regulatory policy examples.


ele-1: All FHIR elements must have a @value or children
... verification Σ0..*BackboneElementConsent Verified by patient or family
ele-1: All FHIR elements must have a @value or children
.... extension 0..*ExtensionAdditional content defined by implementations
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... verified Σ1..1booleanHas been verified
ele-1: All FHIR elements must have a @value or children
.... verifiedWith 0..1Reference(Patient | RelatedPerson)Person who verified
ele-1: All FHIR elements must have a @value or children
.... verificationDate 0..1dateTimeWhen consent verified
ele-1: All FHIR elements must have a @value or children
... provision Σ0..1BackboneElementExceptions to the EPR consent
ele-1: All FHIR elements must have a @value or children
.... extension 0..*ExtensionAdditional content defined by implementations
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... type Σ1..1codedeny
Binding: ?? (required): How a rule statement is applied, such as adding additional consent or removing consent.


ele-1: All FHIR elements must have a @value or children
.... period Σ0..1PeriodTimeframe for this rule
ele-1: All FHIR elements must have a @value or children
.... actor 0..*BackboneElementWho|what controlled by this rule (or group, by role)
ele-1: All FHIR elements must have a @value or children
..... extension 0..*ExtensionAdditional content defined by implementations
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
..... role 1..1CodeableConceptHow the actor is involved
Binding: ?? (extensible): How an actor is involved in the consent considerations.


ele-1: All FHIR elements must have a @value or children
..... reference 1..1Reference(Device | Group | CareTeam | Organization | Patient | Practitioner | RelatedPerson | PractitionerRole)Resource for the actor (or group, by role)
ele-1: All FHIR elements must have a @value or children
.... action Σ0..*CodeableConceptActions controlled by this rule
Binding: ?? (example): Detailed codes for the consent action.


ele-1: All FHIR elements must have a @value or children
.... securityLabel Σ0..*CodingSecurity Labels that define affected resources
Binding: ?? (extensible): Security Labels from the Healthcare Privacy and Security Classification System.


ele-1: All FHIR elements must have a @value or children
.... purpose Σ0..*CodingContext of activities covered by this rule
Binding: ?? (extensible): What purposes of use are controlled by this exception. If more than one label is specified, operations must have all the specified labels.


ele-1: All FHIR elements must have a @value or children
.... class Σ0..*Codinge.g. Resource Type, Profile, CDA, etc.
Binding: ?? (extensible): The class (type) of information a consent rule covers.


ele-1: All FHIR elements must have a @value or children
.... code Σ0..*CodeableConcepte.g. LOINC or SNOMED CT code, etc. in the content
Binding: ?? (example): If this code is found in an instance, then the exception applies.


ele-1: All FHIR elements must have a @value or children
.... dataPeriod Σ0..1PeriodTimeframe for data controlled by this rule
ele-1: All FHIR elements must have a @value or children
.... data Σ0..*BackboneElementData controlled by this rule
ele-1: All FHIR elements must have a @value or children
..... extension 0..*ExtensionAdditional content defined by implementations
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
..... meaning Σ1..1codeinstance | related | dependents | authoredby
Binding: ?? (required): How a resource reference is interpreted when testing consent restrictions.


ele-1: All FHIR elements must have a @value or children
..... reference Σ1..1Reference(CH Core Encounter | #sd-ch-core-encounter-ch-core-encounter)Excluded encounter for EPR
ele-1: All FHIR elements must have a @value or children
.... provision 0..*Nested Exception Rules
ele-1: All FHIR elements must have a @value or children

doco Documentation for this format