public class Consent extends DomainResource
| Modifier and Type | Class and Description |
|---|---|
static class |
Consent.ConsentDataMeaning |
static class |
Consent.ConsentDataMeaningEnumFactory |
static class |
Consent.ConsentPolicyComponent |
static class |
Consent.ConsentProvisionType |
static class |
Consent.ConsentProvisionTypeEnumFactory |
static class |
Consent.ConsentState |
static class |
Consent.ConsentStateEnumFactory |
static class |
Consent.ConsentVerificationComponent |
static class |
Consent.provisionActorComponent |
static class |
Consent.provisionComponent |
static class |
Consent.provisionDataComponent |
| Modifier and Type | Field and Description |
|---|---|
static ca.uhn.fhir.rest.gclient.TokenClientParam |
ACTION
Fluent Client search parameter constant for action
|
static ca.uhn.fhir.rest.gclient.ReferenceClientParam |
ACTOR
Fluent Client search parameter constant for actor
|
protected List<CodeableConcept> |
category
A classification of the type of consents found in the statement.
|
static ca.uhn.fhir.rest.gclient.TokenClientParam |
CATEGORY
Fluent Client search parameter constant for category
|
static ca.uhn.fhir.rest.gclient.ReferenceClientParam |
CONSENTOR
Fluent Client search parameter constant for consentor
|
static ca.uhn.fhir.rest.gclient.ReferenceClientParam |
DATA
Fluent Client search parameter constant for data
|
static ca.uhn.fhir.rest.gclient.DateClientParam |
DATE
Fluent Client search parameter constant for date
|
protected DateTimeType |
dateTime
When this Consent was issued / created / indexed.
|
protected List<Identifier> |
identifier
Unique identifier for this copy of the Consent Statement.
|
static ca.uhn.fhir.rest.gclient.TokenClientParam |
IDENTIFIER
Fluent Client search parameter constant for identifier
|
static ca.uhn.fhir.model.api.Include |
INCLUDE_ACTOR
Constant for fluent queries to be used to add include statements.
|
static ca.uhn.fhir.model.api.Include |
INCLUDE_CONSENTOR
Constant for fluent queries to be used to add include statements.
|
static ca.uhn.fhir.model.api.Include |
INCLUDE_DATA
Constant for fluent queries to be used to add include statements.
|
static ca.uhn.fhir.model.api.Include |
INCLUDE_ORGANIZATION
Constant for fluent queries to be used to add include statements.
|
static ca.uhn.fhir.model.api.Include |
INCLUDE_PATIENT
Constant for fluent queries to be used to add include statements.
|
static ca.uhn.fhir.model.api.Include |
INCLUDE_SOURCE_REFERENCE
Constant for fluent queries to be used to add include statements.
|
protected List<Reference> |
organization
The organization that manages the consent, and the framework within which it is executed.
|
static ca.uhn.fhir.rest.gclient.ReferenceClientParam |
ORGANIZATION
Fluent Client search parameter constant for organization
|
protected List<Organization> |
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.)
|
protected Reference |
patient
The patient/healthcare consumer to whom this consent applies.
|
static ca.uhn.fhir.rest.gclient.ReferenceClientParam |
PATIENT
Fluent Client search parameter constant for patient
|
protected Patient |
patientTarget
The actual object that is the target of the reference (The patient/healthcare consumer to whom this consent applies.)
|
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.
|
protected List<Resource> |
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.)
|
static ca.uhn.fhir.rest.gclient.DateClientParam |
PERIOD
Fluent Client search parameter constant for period
|
protected List<Consent.ConsentPolicyComponent> |
policy
The references to the policies that are included in this consent scope.
|
protected CodeableConcept |
policyRule
A reference to the specific base computable regulation or policy.
|
protected Consent.provisionComponent |
provision
An exception to the base policy of this consent.
|
static ca.uhn.fhir.rest.gclient.TokenClientParam |
PURPOSE
Fluent Client search parameter constant for purpose
|
protected CodeableConcept |
scope
A selector of the type of consent being presented: ADR, Privacy, Treatment, Research.
|
static ca.uhn.fhir.rest.gclient.TokenClientParam |
SCOPE
Fluent Client search parameter constant for scope
|
static ca.uhn.fhir.rest.gclient.TokenClientParam |
SECURITY_LABEL
Fluent Client search parameter constant for security-label
|
protected Type |
source
The source on which this consent statement is based.
|
static ca.uhn.fhir.rest.gclient.ReferenceClientParam |
SOURCE_REFERENCE
Fluent Client search parameter constant for source-reference
|
static String |
SP_ACTION
Search parameter: action
|
static String |
SP_ACTOR
Search parameter: actor
|
static String |
SP_CATEGORY
Search parameter: category
|
static String |
SP_CONSENTOR
Search parameter: consentor
|
static String |
SP_DATA
Search parameter: data
|
static String |
SP_DATE
Search parameter: date
|
static String |
SP_IDENTIFIER
Search parameter: identifier
|
static String |
SP_ORGANIZATION
Search parameter: organization
|
static String |
SP_PATIENT
Search parameter: patient
|
static String |
SP_PERIOD
Search parameter: period
|
static String |
SP_PURPOSE
Search parameter: purpose
|
static String |
SP_SCOPE
Search parameter: scope
|
static String |
SP_SECURITY_LABEL
Search parameter: security-label
|
static String |
SP_SOURCE_REFERENCE
Search parameter: source-reference
|
static String |
SP_STATUS
Search parameter: status
|
protected Enumeration<Consent.ConsentState> |
status
Indicates the current state of this consent.
|
static ca.uhn.fhir.rest.gclient.TokenClientParam |
STATUS
Fluent Client search parameter constant for status
|
protected List<Consent.ConsentVerificationComponent> |
verification
Whether a treatment instruction (e.g.
|
contained, extension, modifierExtension, textid, implicitRules, language, meta| Constructor and Description |
|---|
Consent()
Constructor
|
Consent(Enumeration<Consent.ConsentState> status,
CodeableConcept scope)
Constructor
|
addContained, addExtension, addExtension, addExtension, addModifierExtension, addModifierExtension, checkNoModifiers, copyValues, getContained, getExtension, getExtensionByUrl, getExtensionsByUrl, getModifierExtension, getModifierExtensionsByUrl, getText, hasContained, hasExtension, hasExtension, hasModifierExtension, hasText, setContained, setExtension, setModifierExtension, setTextcopyValues, getId, getIdBase, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdBase, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMetagetStructureFhirVersionEnum, isResource, setIdcastToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCanonical, castToCode, castToCodeableConcept, castToCoding, castToContactDetail, castToContactPoint, castToContributor, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDosage, castToDuration, castToElementDefinition, castToExpression, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMarketingStatus, castToMeta, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPopulation, castToPositiveInt, castToProdCharacteristic, castToProductShelfLife, castToQuantity, castToRange, castToRatio, castToReference, castToRelatedArtifact, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToSubstanceAmount, castToTime, castToTiming, castToTriggerDefinition, castToType, castToUnsignedInt, castToUri, castToUrl, castToUsageContext, castToXhtml, castToXhtmlString, children, clearUserData, compareDeep, compareDeep, compareDeep, compareDeep, compareValues, compareValues, dateTimeValue, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isBooleanPrimitive, isDateTime, isMetadataBased, isPrimitive, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINNclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetId, getIdElement, getLanguageElement, getUserData, setId, setUserDataprotected List<Identifier> identifier
protected Enumeration<Consent.ConsentState> status
protected CodeableConcept scope
protected List<CodeableConcept> category
protected Patient patientTarget
protected DateTimeType dateTime
protected List<Reference> performer
protected List<Resource> performerTarget
protected List<Reference> organization
protected List<Organization> organizationTarget
protected Type source
protected List<Consent.ConsentPolicyComponent> policy
protected CodeableConcept policyRule
protected List<Consent.ConsentVerificationComponent> verification
protected Consent.provisionComponent provision
public static final String SP_DATE
Description: When this Consent was created or indexed
Type: date
Path: Consent.dateTime
public static final ca.uhn.fhir.rest.gclient.DateClientParam DATE
Description: When this Consent was created or indexed
Type: date
Path: Consent.dateTime
public static final String SP_IDENTIFIER
Description: Identifier for this record (external references)
Type: token
Path: Consent.identifier
public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER
Description: Identifier for this record (external references)
Type: token
Path: Consent.identifier
public static final String SP_PERIOD
Description: Timeframe for this rule
Type: date
Path: Consent.provision.period
public static final ca.uhn.fhir.rest.gclient.DateClientParam PERIOD
Description: Timeframe for this rule
Type: date
Path: Consent.provision.period
public static final String SP_DATA
Description: The actual data reference
Type: reference
Path: Consent.provision.data.reference
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam DATA
Description: The actual data reference
Type: reference
Path: Consent.provision.data.reference
public static final ca.uhn.fhir.model.api.Include INCLUDE_DATA
public static final String SP_PURPOSE
Description: Context of activities covered by this rule
Type: token
Path: Consent.provision.purpose
public static final ca.uhn.fhir.rest.gclient.TokenClientParam PURPOSE
Description: Context of activities covered by this rule
Type: token
Path: Consent.provision.purpose
public static final String SP_SOURCE_REFERENCE
Description: Search by reference to a Consent, DocumentReference, Contract or QuestionnaireResponse
Type: reference
Path: Consent.source[x]
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SOURCE_REFERENCE
Description: Search by reference to a Consent, DocumentReference, Contract or QuestionnaireResponse
Type: reference
Path: Consent.source[x]
public static final ca.uhn.fhir.model.api.Include INCLUDE_SOURCE_REFERENCE
public static final String SP_ACTOR
Description: Resource for the actor (or group, by role)
Type: reference
Path: Consent.provision.actor.reference
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ACTOR
Description: Resource for the actor (or group, by role)
Type: reference
Path: Consent.provision.actor.reference
public static final ca.uhn.fhir.model.api.Include INCLUDE_ACTOR
public static final String SP_SECURITY_LABEL
Description: Security Labels that define affected resources
Type: token
Path: Consent.provision.securityLabel
public static final ca.uhn.fhir.rest.gclient.TokenClientParam SECURITY_LABEL
Description: Security Labels that define affected resources
Type: token
Path: Consent.provision.securityLabel
public static final String SP_PATIENT
Description: Who the consent applies to
Type: reference
Path: Consent.patient
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT
Description: Who the consent applies to
Type: reference
Path: Consent.patient
public static final ca.uhn.fhir.model.api.Include INCLUDE_PATIENT
public static final String SP_ORGANIZATION
Description: Custodian of the consent
Type: reference
Path: Consent.organization
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ORGANIZATION
Description: Custodian of the consent
Type: reference
Path: Consent.organization
public static final ca.uhn.fhir.model.api.Include INCLUDE_ORGANIZATION
public static final String SP_SCOPE
Description: Which of the four areas this resource covers (extensible)
Type: token
Path: Consent.scope
public static final ca.uhn.fhir.rest.gclient.TokenClientParam SCOPE
Description: Which of the four areas this resource covers (extensible)
Type: token
Path: Consent.scope
public static final String SP_ACTION
Description: Actions controlled by this rule
Type: token
Path: Consent.provision.action
public static final ca.uhn.fhir.rest.gclient.TokenClientParam ACTION
Description: Actions controlled by this rule
Type: token
Path: Consent.provision.action
public static final String SP_CONSENTOR
Description: Who is agreeing to the policy and rules
Type: reference
Path: Consent.performer
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam CONSENTOR
Description: Who is agreeing to the policy and rules
Type: reference
Path: Consent.performer
public static final ca.uhn.fhir.model.api.Include INCLUDE_CONSENTOR
public static final String SP_CATEGORY
Description: Classification of the consent statement - for indexing/retrieval
Type: token
Path: Consent.category
public static final ca.uhn.fhir.rest.gclient.TokenClientParam CATEGORY
Description: Classification of the consent statement - for indexing/retrieval
Type: token
Path: Consent.category
public static final String SP_STATUS
Description: draft | proposed | active | rejected | inactive | entered-in-error
Type: token
Path: Consent.status
public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS
Description: draft | proposed | active | rejected | inactive | entered-in-error
Type: token
Path: Consent.status
public Consent()
public Consent(Enumeration<Consent.ConsentState> status, CodeableConcept scope)
public List<Identifier> getIdentifier()
identifier (Unique identifier for this copy of the Consent Statement.)public Consent setIdentifier(List<Identifier> theIdentifier)
this for easy method chainingpublic boolean hasIdentifier()
public Identifier addIdentifier()
public Consent addIdentifier(Identifier t)
public Identifier getIdentifierFirstRep()
identifier, creating it if it does not already existpublic Enumeration<Consent.ConsentState> getStatusElement()
status (Indicates the current state of this consent.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the valuepublic boolean hasStatusElement()
public boolean hasStatus()
public Consent setStatusElement(Enumeration<Consent.ConsentState> value)
value - status (Indicates the current state of this consent.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the valuepublic Consent.ConsentState getStatus()
public Consent setStatus(Consent.ConsentState value)
value - Indicates the current state of this consent.public CodeableConcept getScope()
scope (A selector of the type of consent being presented: ADR, Privacy, Treatment, Research. This list is now extensible.)public boolean hasScope()
public Consent setScope(CodeableConcept value)
value - scope (A selector of the type of consent being presented: ADR, Privacy, Treatment, Research. This list is now extensible.)public List<CodeableConcept> getCategory()
category (A classification of the type of consents found in the statement. This element supports indexing and retrieval of consent statements.)public Consent setCategory(List<CodeableConcept> theCategory)
this for easy method chainingpublic boolean hasCategory()
public CodeableConcept addCategory()
public Consent addCategory(CodeableConcept t)
public CodeableConcept getCategoryFirstRep()
category, creating it if it does not already existpublic Reference getPatient()
patient (The patient/healthcare consumer to whom this consent applies.)public boolean hasPatient()
public Consent setPatient(Reference value)
value - patient (The patient/healthcare consumer to whom this consent applies.)public Patient getPatientTarget()
patient The actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (The patient/healthcare consumer to whom this consent applies.)public Consent setPatientTarget(Patient value)
value - patient The actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (The patient/healthcare consumer to whom this consent applies.)public DateTimeType getDateTimeElement()
dateTime (When this Consent was issued / created / indexed.). This is the underlying object with id, value and extensions. The accessor "getDateTime" gives direct access to the valuepublic boolean hasDateTimeElement()
public boolean hasDateTime()
public Consent setDateTimeElement(DateTimeType value)
value - dateTime (When this Consent was issued / created / indexed.). This is the underlying object with id, value and extensions. The accessor "getDateTime" gives direct access to the valuepublic Date getDateTime()
public Consent setDateTime(Date value)
value - When this Consent was issued / created / indexed.public List<Reference> getPerformer()
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.)public Consent setPerformer(List<Reference> thePerformer)
this for easy method chainingpublic boolean hasPerformer()
public Reference addPerformer()
public Consent addPerformer(Reference t)
public Reference getPerformerFirstRep()
performer, creating it if it does not already exist@Deprecated public List<Resource> getPerformerTarget()
public List<Reference> getOrganization()
organization (The organization that manages the consent, and the framework within which it is executed.)public Consent setOrganization(List<Reference> theOrganization)
this for easy method chainingpublic boolean hasOrganization()
public Reference addOrganization()
public Consent addOrganization(Reference t)
public Reference getOrganizationFirstRep()
organization, creating it if it does not already exist@Deprecated public List<Organization> getOrganizationTarget()
@Deprecated public Organization addOrganizationTarget()
public Type getSource()
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.)public Attachment getSourceAttachment() throws org.hl7.fhir.exceptions.FHIRException
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.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasSourceAttachment()
public Reference getSourceReference() throws org.hl7.fhir.exceptions.FHIRException
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.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasSourceReference()
public boolean hasSource()
public Consent setSource(Type value)
value - 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.)public List<Consent.ConsentPolicyComponent> getPolicy()
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.)public Consent setPolicy(List<Consent.ConsentPolicyComponent> thePolicy)
this for easy method chainingpublic boolean hasPolicy()
public Consent.ConsentPolicyComponent addPolicy()
public Consent addPolicy(Consent.ConsentPolicyComponent t)
public Consent.ConsentPolicyComponent getPolicyFirstRep()
policy, creating it if it does not already existpublic CodeableConcept getPolicyRule()
policyRule (A reference to the specific base computable regulation or policy.)public boolean hasPolicyRule()
public Consent setPolicyRule(CodeableConcept value)
value - policyRule (A reference to the specific base computable regulation or policy.)public List<Consent.ConsentVerificationComponent> getVerification()
verification (Whether a treatment instruction (e.g. artificial respiration yes or no) was verified with the patient, his/her family or another authorized person.)public Consent setVerification(List<Consent.ConsentVerificationComponent> theVerification)
this for easy method chainingpublic boolean hasVerification()
public Consent.ConsentVerificationComponent addVerification()
public Consent addVerification(Consent.ConsentVerificationComponent t)
public Consent.ConsentVerificationComponent getVerificationFirstRep()
verification, creating it if it does not already existpublic Consent.provisionComponent getProvision()
provision (An exception to the base policy of this consent. An exception can be an addition or removal of access permissions.)public boolean hasProvision()
public Consent setProvision(Consent.provisionComponent value)
value - provision (An exception to the base policy of this consent. An exception can be an addition or removal of access permissions.)protected void listChildren(List<Property> children)
listChildren in class DomainResourcepublic Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException
getNamedProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
getProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic Base setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
makeProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
getTypesForProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
addChild in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic String fhirType()
fhirType in interface org.hl7.fhir.instance.model.api.IBasefhirType in class DomainResourcepublic Consent copy()
copy in class DomainResourcepublic void copyValues(Consent dst)
public boolean equalsDeep(Base other_)
equalsDeep in class DomainResourcepublic boolean equalsShallow(Base other_)
equalsShallow in class DomainResourcepublic boolean isEmpty()
isEmpty in interface org.hl7.fhir.instance.model.api.IBaseisEmpty in class DomainResourcepublic ResourceType getResourceType()
getResourceType in class ResourceCopyright © 2014–2021 Health Level 7. All rights reserved.