Cardea
cardea.fhir.
Consent
A record of a healthcare consumer’s policy 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.
resourceType – This is a Consent resource
identifier – Unique identifier for this copy of the Consent Statement.
status – Indicates the current state of this consent.
category – A classification of the type of consents found in the statement. This element supports indexing and retrieval of consent statements.
patient – The patient/healthcare consumer to whom this consent applies.
period – Relevant time or time-period when this Consent is applicable.
dateTime – When this Consent was issued / created / indexed.
consentingParty – Either the Grantor, which is the entity responsible for granting the rights listed in a Consent Directive or the Grantee, which is the entity responsible for complying with the Consent Directive, including any obligations or limitations on authorizations and enforcement of prohibitions.
actor – Who or what is controlled by this consent. Use group to identify a set of actors by some property they share (e.g. ‘admitting officers’).
action – Actions controlled by this consent.
organization – The organization that manages the consent, and the framework within which it is executed.
sourceAttachment – The source on which this consent statement is based. The source might be a scanned original paper form, or a reference to a consent that links back to such a source, a reference to a document repository (e.g. XDS) that stores the original consent document.
sourceIdentifier – The source on which this consent statement is based. The source might be a scanned original paper form, or a reference to a consent that links back to such a source, a reference to a document repository (e.g. XDS) that stores the original consent document.
sourceReference – The source on which this consent statement is based. The source might be a scanned original paper form, or a reference to a consent that links back to such a source, a reference to a document repository (e.g. XDS) that stores the original consent document.
policy – The references to the policies that are included in this consent scope. Policies may be organizational, but are often defined jurisdictionally, or in law.
policyRule – A referece to the specific computable policy.
securityLabel – A set of security labels that define which resources are controlled by this consent. If more than one label is specified, all resources must have all the specified labels.
purpose – The context of the activities a user is taking - why the user is accessing the data - that are controlled by this consent.
dataPeriod – Clinical or Operational Relevant period of time that bounds the data controlled by this consent.
data – The resources controlled by this consent, if specific resources are referenced.
except – An exception to the base policy of this consent. An exception can be an addition or removal of access permissions.
__init__
Initialize self. See help(type(self)) for accurate signature.
Methods
__init__([dict_values])
Initialize self.
assert_type()
assert_type
Checks class values follow set possible enumerations.
get_dataframe()
get_dataframe
Returns dataframe from class attribute values.
get_eligible_relationships()
get_eligible_relationships
Returns class relationships for attributes that are used.
get_id()
get_id
Returns fhir class identifier.
get_relationships()
get_relationships
Returns class relationships.
set_attributes(dict_values)
set_attributes
Sets values to class attributes.