Class Consent

All Implemented Interfaces:
ca.uhn.fhir.model.api.IElement, Serializable, org.hl7.fhir.instance.model.api.IAnyResource, org.hl7.fhir.instance.model.api.IBase, org.hl7.fhir.instance.model.api.IBaseHasExtensions, org.hl7.fhir.instance.model.api.IBaseHasModifierExtensions, org.hl7.fhir.instance.model.api.IBaseResource, org.hl7.fhir.instance.model.api.IDomainResource

public class Consent extends DomainResource
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.
See Also:
  • Field Details

    • identifier

      Unique identifier for this copy of the Consent Statement.
    • status

      Indicates the current state of this consent.
    • scope

      A selector of the type of consent being presented: ADR, Privacy, Treatment, Research. This list is now extensible.
    • category

      A classification of the type of consents found in the statement. This element supports indexing and retrieval of consent statements.
    • patient

      protected Reference patient
      The patient/healthcare consumer to whom this consent applies.
    • patientTarget

      The actual object that is the target of the reference (The patient/healthcare consumer to whom this consent applies.)
    • dateTime

      When this Consent was issued / created / indexed.
    • performer

      protected List<Reference> performer
      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.
    • performerTarget

      The actual objects that are the target of the reference (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.)
    • organization

      The organization that manages the consent, and the framework within which it is executed.
    • organizationTarget

      The actual objects that are the target of the reference (The organization that manages the consent, and the framework within which it is executed.)
    • source

      protected Type source
      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 reference to the specific base computable regulation or policy.
    • verification

      Whether a treatment instruction (e.g. artificial respiration yes or no) was verified with the patient, his/her family or another authorized person.
    • provision

      An exception to the base policy of this consent. An exception can be an addition or removal of access permissions.
    • SP_DATE

      public static final String SP_DATE
      Search parameter: date

      Description: When this Consent was created or indexed
      Type: date
      Path: Consent.dateTime

      See Also:
    • DATE

      public static final ca.uhn.fhir.rest.gclient.DateClientParam DATE
      Fluent Client search parameter constant for date

      Description: When this Consent was created or indexed
      Type: date
      Path: Consent.dateTime

    • SP_IDENTIFIER

      public static final String SP_IDENTIFIER
      Search parameter: identifier

      Description: Identifier for this record (external references)
      Type: token
      Path: Consent.identifier

      See Also:
    • IDENTIFIER

      public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER
      Fluent Client search parameter constant for identifier

      Description: Identifier for this record (external references)
      Type: token
      Path: Consent.identifier

    • SP_PERIOD

      public static final String SP_PERIOD
      Search parameter: period

      Description: Timeframe for this rule
      Type: date
      Path: Consent.provision.period

      See Also:
    • PERIOD

      public static final ca.uhn.fhir.rest.gclient.DateClientParam PERIOD
      Fluent Client search parameter constant for period

      Description: Timeframe for this rule
      Type: date
      Path: Consent.provision.period

    • SP_DATA

      public static final String SP_DATA
      Search parameter: data

      Description: The actual data reference
      Type: reference
      Path: Consent.provision.data.reference

      See Also:
    • DATA

      public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam DATA
      Fluent Client search parameter constant for data

      Description: The actual data reference
      Type: reference
      Path: Consent.provision.data.reference

    • INCLUDE_DATA

      public static final ca.uhn.fhir.model.api.Include INCLUDE_DATA
      Constant for fluent queries to be used to add include statements. Specifies the path value of "Consent:data".
    • SP_PURPOSE

      public static final String SP_PURPOSE
      Search parameter: purpose

      Description: Context of activities covered by this rule
      Type: token
      Path: Consent.provision.purpose

      See Also:
    • PURPOSE

      public static final ca.uhn.fhir.rest.gclient.TokenClientParam PURPOSE
      Fluent Client search parameter constant for purpose

      Description: Context of activities covered by this rule
      Type: token
      Path: Consent.provision.purpose

    • SP_SOURCE_REFERENCE

      public static final String SP_SOURCE_REFERENCE
      Search parameter: source-reference

      Description: Search by reference to a Consent, DocumentReference, Contract or QuestionnaireResponse
      Type: reference
      Path: Consent.source[x]

      See Also:
    • SOURCE_REFERENCE

      public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SOURCE_REFERENCE
      Fluent Client search parameter constant for source-reference

      Description: Search by reference to a Consent, DocumentReference, Contract or QuestionnaireResponse
      Type: reference
      Path: Consent.source[x]

    • INCLUDE_SOURCE_REFERENCE

      public static final ca.uhn.fhir.model.api.Include INCLUDE_SOURCE_REFERENCE
      Constant for fluent queries to be used to add include statements. Specifies the path value of "Consent:source-reference".
    • SP_ACTOR

      public static final String SP_ACTOR
      Search parameter: actor

      Description: Resource for the actor (or group, by role)
      Type: reference
      Path: Consent.provision.actor.reference

      See Also:
    • ACTOR

      public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ACTOR
      Fluent Client search parameter constant for actor

      Description: Resource for the actor (or group, by role)
      Type: reference
      Path: Consent.provision.actor.reference

    • INCLUDE_ACTOR

      public static final ca.uhn.fhir.model.api.Include INCLUDE_ACTOR
      Constant for fluent queries to be used to add include statements. Specifies the path value of "Consent:actor".
    • SP_SECURITY_LABEL

      public static final String SP_SECURITY_LABEL
      Search parameter: security-label

      Description: Security Labels that define affected resources
      Type: token
      Path: Consent.provision.securityLabel

      See Also:
    • SECURITY_LABEL

      public static final ca.uhn.fhir.rest.gclient.TokenClientParam SECURITY_LABEL
      Fluent Client search parameter constant for security-label

      Description: Security Labels that define affected resources
      Type: token
      Path: Consent.provision.securityLabel

    • SP_PATIENT

      public static final String SP_PATIENT
      Search parameter: patient

      Description: Who the consent applies to
      Type: reference
      Path: Consent.patient

      See Also:
    • PATIENT

      public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT
      Fluent Client search parameter constant for patient

      Description: Who the consent applies to
      Type: reference
      Path: Consent.patient

    • INCLUDE_PATIENT

      public static final ca.uhn.fhir.model.api.Include INCLUDE_PATIENT
      Constant for fluent queries to be used to add include statements. Specifies the path value of "Consent:patient".
    • SP_ORGANIZATION

      public static final String SP_ORGANIZATION
      Search parameter: organization

      Description: Custodian of the consent
      Type: reference
      Path: Consent.organization

      See Also:
    • ORGANIZATION

      public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ORGANIZATION
      Fluent Client search parameter constant for organization

      Description: Custodian of the consent
      Type: reference
      Path: Consent.organization

    • INCLUDE_ORGANIZATION

      public static final ca.uhn.fhir.model.api.Include INCLUDE_ORGANIZATION
      Constant for fluent queries to be used to add include statements. Specifies the path value of "Consent:organization".
    • SP_SCOPE

      public static final String SP_SCOPE
      Search parameter: scope

      Description: Which of the four areas this resource covers (extensible)
      Type: token
      Path: Consent.scope

      See Also:
    • SCOPE

      public static final ca.uhn.fhir.rest.gclient.TokenClientParam SCOPE
      Fluent Client search parameter constant for scope

      Description: Which of the four areas this resource covers (extensible)
      Type: token
      Path: Consent.scope

    • SP_ACTION

      public static final String SP_ACTION
      Search parameter: action

      Description: Actions controlled by this rule
      Type: token
      Path: Consent.provision.action

      See Also:
    • ACTION

      public static final ca.uhn.fhir.rest.gclient.TokenClientParam ACTION
      Fluent Client search parameter constant for action

      Description: Actions controlled by this rule
      Type: token
      Path: Consent.provision.action

    • SP_CONSENTOR

      public static final String SP_CONSENTOR
      Search parameter: consentor

      Description: Who is agreeing to the policy and rules
      Type: reference
      Path: Consent.performer

      See Also:
    • CONSENTOR

      public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam CONSENTOR
      Fluent Client search parameter constant for consentor

      Description: Who is agreeing to the policy and rules
      Type: reference
      Path: Consent.performer

    • INCLUDE_CONSENTOR

      public static final ca.uhn.fhir.model.api.Include INCLUDE_CONSENTOR
      Constant for fluent queries to be used to add include statements. Specifies the path value of "Consent:consentor".
    • SP_CATEGORY

      public static final String SP_CATEGORY
      Search parameter: category

      Description: Classification of the consent statement - for indexing/retrieval
      Type: token
      Path: Consent.category

      See Also:
    • CATEGORY

      public static final ca.uhn.fhir.rest.gclient.TokenClientParam CATEGORY
      Fluent Client search parameter constant for category

      Description: Classification of the consent statement - for indexing/retrieval
      Type: token
      Path: Consent.category

    • SP_STATUS

      public static final String SP_STATUS
      Search parameter: status

      Description: draft | proposed | active | rejected | inactive | entered-in-error
      Type: token
      Path: Consent.status

      See Also:
    • STATUS

      public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS
      Fluent Client search parameter constant for status

      Description: draft | proposed | active | rejected | inactive | entered-in-error
      Type: token
      Path: Consent.status

  • Constructor Details

  • Method Details