Skip to main content

Consent

ResourceFoundation · SecurityTrial useMaturity 2

A record of a healthcare consumer’s choices, which permits or denies identified recipient(s) or recipient role(s) to perform one or more actions within a given policy context, for specific purposes and periods of time.

Tested supportFull test results →
Backends
PostgreSQLElasticsearch
Interactions
CreateReadUpdatePatchDelete
Search
15 of 15 parameters tested

Structure​

ElementCard.TypeDescription
identifierΣ
0..*IdentifierIdentifier for this record (external references)
statusRequired?!Σ
1..1codedraft | proposed | active | rejected | inactive | entered-in-errorBinding (required): consent-state-codes
scopeRequired?!Σ
1..1CodeableConceptWhich of the four areas this resource covers (extensible)Binding (extensible): consent-scope
categoryRequiredΣ
1..*CodeableConceptClassification of the consent statement - for indexing/retrievalBinding (extensible): consent-category
patientΣ
0..1Reference(Patient)Who the consent applies to
dateTimeΣ
0..1dateTimeWhen this Consent was created or indexed
performerΣ
0..*Reference(Organization | Patient | Practitioner | RelatedPerson | PractitionerRole)Who is agreeing to the policy and rules
organizationΣ
0..*Reference(Organization)Custodian of the consent
source[x]Σ
0..1Attachment | Reference(Consent | DocumentReference | Contract | QuestionnaireResponse)Source from which this consent is taken
policy
0..*BackboneElementPolicies covered by this consent
authority
0..1uriEnforcement source for policy
uri
0..1uriSpecific policy covered by this consent
policyRuleΣ
0..1CodeableConceptRegulation that this consents toBinding (extensible): consent-policy
verificationΣ
0..*BackboneElementConsent Verified by patient or family
verifiedRequiredΣ
1..1booleanHas been verified
verifiedWith
0..1Reference(Patient | RelatedPerson)Person who verified
verificationDate
0..1dateTimeWhen consent verified
provisionΣ
0..1BackboneElementConstraints to the base Consent.policyRule
typeΣ
0..1codedeny | permitBinding (required): consent-provision-type
periodΣ
0..1PeriodTimeframe for this rule
actor
0..*BackboneElementWho|what controlled by this rule (or group, by role)
roleRequired
1..1CodeableConceptHow the actor is involvedBinding (extensible): security-role-type
referenceRequired
1..1Reference(Device | Group | CareTeam | Organization | Patient | Practitioner | RelatedPerson | PractitionerRole)Resource for the actor (or group, by role)
actionΣ
0..*CodeableConceptActions controlled by this ruleBinding (example): consent-action
securityLabelΣ
0..*CodingSecurity Labels that define affected resourcesBinding (extensible): security-labels
purposeΣ
0..*CodingContext of activities covered by this ruleBinding (extensible): v3-PurposeOfUse
classΣ
0..*Codinge.g. Resource Type, Profile, CDA, etc.Binding (extensible): consent-content-class
codeΣ
0..*CodeableConcepte.g. LOINC or SNOMED CT code, etc. in the contentBinding (example): consent-content-code
dataPeriodΣ
0..1PeriodTimeframe for data controlled by this rule
dataΣ
0..*BackboneElementData controlled by this rule
meaningRequiredΣ
1..1codeinstance | related | dependents | authoredbyBinding (required): consent-data-meaning
referenceRequiredΣ
1..1Reference(Resource)The actual data reference
provision
0..*Same as Consent.provisionNested Exception Rules

Σ in _summary results · ?! modifier element · 1.. required · inherited elements in grey

Search parameters​

Query with GET [base]/Consent?[parameter]=[value]. Type decides which modifiers and prefixes apply, see search features.

ParameterTypeDescriptionPGES
actiontoken

Actions controlled by this rule

Consent.provision.action
actorreference

Resource for the actor (or group, by role)

Consent.provision.actor.reference
categorytoken

Classification of the consent statement - for indexing/retrieval

Consent.category
consentorreference

Who is agreeing to the policy and rules

Consent.performer
datareference

The actual data reference

Consent.provision.data.reference
datedate

When this Consent was created or indexed

Consent.dateTime
identifiertoken

Identifier for this record (external references)

Consent.identifier
organizationreference

Custodian of the consent

Consent.organization
patientreference

Who the consent applies to

Consent.patient
perioddate

Timeframe for this rule

Consent.provision.period
purposetoken

Context of activities covered by this rule

Consent.provision.purpose
scopetoken

Which of the four areas this resource covers (extensible)

Consent.scope
security-labeltoken

Security Labels that define affected resources

Consent.provision.securityLabel
source-referencereference

Search by reference to a Consent, DocumentReference, Contract or QuestionnaireResponse

Consent.source.ofType(Reference)
statustoken

draft | proposed | active | rejected | inactive | entered-in-error

Consent.status

PG: PostgreSQL, ES: Elasticsearch. passes its TestScript checks, fails, not tested yet.

Common parameters on every resource (8)
_haste-health-authorreference

The author of the resource

_idtoken

Logical id of this artifact

_lastUpdateddate

When the resource version last changed

_profileuri

Profiles this resource claims to conform to

_securitytoken

Security Labels applied to this resource

_sourceuri

Identifies where the resource comes from

_tagtoken

Tags applied to this resource

_typetoken

Derived from the R4B Definition