public class Consent extends DomainResource
| Modifier and Type | Class and Description |
|---|---|
static class |
Consent.ConsentActorComponent |
static class |
Consent.ConsentDataComponent |
static class |
Consent.ConsentDataMeaning |
static class |
Consent.ConsentDataMeaningEnumFactory |
static class |
Consent.ConsentExceptType |
static class |
Consent.ConsentExceptTypeEnumFactory |
static class |
Consent.ConsentPolicyComponent |
static class |
Consent.ConsentState |
static class |
Consent.ConsentStateEnumFactory |
static class |
Consent.ExceptActorComponent |
static class |
Consent.ExceptComponent |
static class |
Consent.ExceptDataComponent |
| Modifier and Type | Field and Description |
|---|---|
protected List<CodeableConcept> |
action
Actions controlled by this consent.
|
static TokenClientParam |
ACTION
Fluent Client search parameter constant for action
|
protected List<Consent.ConsentActorComponent> |
actor
Who or what is controlled by this consent.
|
static 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 TokenClientParam |
CATEGORY
Fluent Client search parameter constant for category
|
protected List<Reference> |
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.
|
protected List<Resource> |
consentingPartyTarget
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 ReferenceClientParam |
CONSENTOR
Fluent Client search parameter constant for consentor
|
protected List<Consent.ConsentDataComponent> |
data
The resources controlled by this consent, if specific resources are referenced.
|
static ReferenceClientParam |
DATA
Fluent Client search parameter constant for data
|
protected Period |
dataPeriod
Clinical or Operational Relevant period of time that bounds the data controlled by this consent.
|
static DateClientParam |
DATE
Fluent Client search parameter constant for date
|
protected DateTimeType |
dateTime
When this Consent was issued / created / indexed.
|
protected List<Consent.ExceptComponent> |
except
An exception to the base policy of this consent.
|
protected Identifier |
identifier
Unique identifier for this copy of the Consent Statement.
|
static TokenClientParam |
IDENTIFIER
Fluent Client search parameter constant for identifier
|
static Include |
INCLUDE_ACTOR
Constant for fluent queries to be used to add include statements.
|
static Include |
INCLUDE_CONSENTOR
Constant for fluent queries to be used to add include statements.
|
static Include |
INCLUDE_DATA
Constant for fluent queries to be used to add include statements.
|
static Include |
INCLUDE_ORGANIZATION
Constant for fluent queries to be used to add include statements.
|
static Include |
INCLUDE_PATIENT
Constant for fluent queries to be used to add include statements.
|
static Include |
INCLUDE_SOURCE
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 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 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 Period |
period
Relevant time or time-period when this Consent is applicable.
|
static 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 UriType |
policyRule
A referece to the specific computable policy.
|
protected List<Coding> |
purpose
The context of the activities a user is taking - why the user is accessing the data - that are controlled by this consent.
|
static TokenClientParam |
PURPOSE
Fluent Client search parameter constant for purpose
|
protected List<Coding> |
securityLabel
A set of security labels that define which resources are controlled by this consent.
|
static TokenClientParam |
SECURITYLABEL
Fluent Client search parameter constant for securitylabel
|
protected Type |
source
The source on which this consent statement is based.
|
static ReferenceClientParam |
SOURCE
Fluent Client search parameter constant for source
|
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_SECURITYLABEL
Search parameter: securitylabel
|
static String |
SP_SOURCE
Search parameter: source
|
static String |
SP_STATUS
Search parameter: status
|
protected Enumeration<Consent.ConsentState> |
status
Indicates the current state of this consent.
|
static TokenClientParam |
STATUS
Fluent Client search parameter constant for status
|
contained, extension, modifierExtension, textid, implicitRules, language, metaRES_ID, SP_RES_ID, SP_RES_LANGUAGEINCLUDE_ALL, WILDCARD_ALL_SET| Constructor and Description |
|---|
Consent()
Constructor
|
Consent(Enumeration<Consent.ConsentState> status,
Reference patient)
Constructor
|
addContained, addExtension, addExtension, addModifierExtension, addModifierExtension, copyValues, getContained, getExtension, getExtensionsByUrl, getModifierExtension, getModifierExtensionsByUrl, getText, hasContained, hasExtension, hasModifierExtension, hasText, setContained, setExtension, setModifierExtension, setTextcopyValues, getId, getIdBase, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdBase, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMetagetStructureFhirVersionEnum, isResource, setIdcastToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactDetail, castToContactPoint, castToContributor, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDosage, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToRelatedArtifact, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToTriggerDefinition, castToType, castToUnsignedInt, castToUri, castToUsageContext, castToXhtml, castToXhtmlString, children, clearUserData, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isMetadataBased, isPrimitive, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINNclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetId, getIdElement, getLanguageElement, getUserData, setId, setUserDatagetMeta, getStructureFhirVersionEnum, setIdgetFormatCommentsPost, getFormatCommentsPre, hasFormatCommentprotected Identifier identifier
protected Enumeration<Consent.ConsentState> status
protected List<CodeableConcept> category
protected Patient patientTarget
protected DateTimeType dateTime
protected List<Reference> consentingParty
protected List<Resource> consentingPartyTarget
protected List<Consent.ConsentActorComponent> actor
protected List<CodeableConcept> action
protected List<Reference> organization
protected List<Organization> organizationTarget
protected Type source
protected List<Consent.ConsentPolicyComponent> policy
protected UriType policyRule
protected List<Coding> securityLabel
protected List<Coding> purpose
protected Period dataPeriod
protected List<Consent.ConsentDataComponent> data
protected List<Consent.ExceptComponent> except
public static final String SP_DATE
Description: When this Consent was created or indexed
Type: date
Path: Consent.dateTime
public static final 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 TokenClientParam IDENTIFIER
Description: Identifier for this record (external references)
Type: token
Path: Consent.identifier
public static final String SP_SECURITYLABEL
Description: Security Labels that define affected resources
Type: token
Path: Consent.securityLabel, Consent.except.securityLabel
public static final TokenClientParam SECURITYLABEL
Description: Security Labels that define affected resources
Type: token
Path: Consent.securityLabel, Consent.except.securityLabel
public static final String SP_PERIOD
Description: Period that this consent applies
Type: date
Path: Consent.period
public static final DateClientParam PERIOD
Description: Period that this consent applies
Type: date
Path: Consent.period
public static final String SP_DATA
Description: The actual data reference
Type: reference
Path: Consent.data.reference, Consent.except.data.reference
public static final ReferenceClientParam DATA
Description: The actual data reference
Type: reference
Path: Consent.data.reference, Consent.except.data.reference
public static final Include INCLUDE_DATA
public static final String SP_PURPOSE
Description: Context of activities for which the agreement is made
Type: token
Path: Consent.purpose, Consent.except.purpose
public static final TokenClientParam PURPOSE
Description: Context of activities for which the agreement is made
Type: token
Path: Consent.purpose, Consent.except.purpose
public static final String SP_SOURCE
Description: Source from which this consent is taken
Type: reference
Path: Consent.source[x]
public static final ReferenceClientParam SOURCE
Description: Source from which this consent is taken
Type: reference
Path: Consent.source[x]
public static final Include INCLUDE_SOURCE
public static final String SP_ACTOR
Description: Resource for the actor (or group, by role)
Type: reference
Path: Consent.actor.reference, Consent.except.actor.reference
public static final ReferenceClientParam ACTOR
Description: Resource for the actor (or group, by role)
Type: reference
Path: Consent.actor.reference, Consent.except.actor.reference
public static final Include INCLUDE_ACTOR
public static final String SP_PATIENT
Description: Who the consent applies to
Type: reference
Path: Consent.patient
public static final ReferenceClientParam PATIENT
Description: Who the consent applies to
Type: reference
Path: Consent.patient
public static final Include INCLUDE_PATIENT
public static final String SP_ORGANIZATION
Description: Custodian of the consent
Type: reference
Path: Consent.organization
public static final ReferenceClientParam ORGANIZATION
Description: Custodian of the consent
Type: reference
Path: Consent.organization
public static final Include INCLUDE_ORGANIZATION
public static final String SP_ACTION
Description: Actions controlled by this consent
Type: token
Path: Consent.action, Consent.except.action
public static final TokenClientParam ACTION
Description: Actions controlled by this consent
Type: token
Path: Consent.action, Consent.except.action
public static final String SP_CONSENTOR
Description: Who is agreeing to the policy and exceptions
Type: reference
Path: Consent.consentingParty
public static final ReferenceClientParam CONSENTOR
Description: Who is agreeing to the policy and exceptions
Type: reference
Path: Consent.consentingParty
public static final 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 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 TokenClientParam STATUS
Description: draft | proposed | active | rejected | inactive | entered-in-error
Type: token
Path: Consent.status
public Consent()
public Consent(Enumeration<Consent.ConsentState> status, Reference patient)
public Identifier getIdentifier()
identifier (Unique identifier for this copy of the Consent Statement.)public boolean hasIdentifier()
public Consent setIdentifier(Identifier value)
value - identifier (Unique identifier for this copy of the Consent Statement.)public 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 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 Period getPeriod()
period (Relevant time or time-period when this Consent is applicable.)public boolean hasPeriod()
public Consent setPeriod(Period value)
value - period (Relevant time or time-period when this Consent is applicable.)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> getConsentingParty()
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.)public Consent setConsentingParty(List<Reference> theConsentingParty)
this for easy method chainingpublic boolean hasConsentingParty()
public Reference addConsentingParty()
public Consent addConsentingParty(Reference t)
public Reference getConsentingPartyFirstRep()
consentingParty, creating it if it does not already exist@Deprecated public List<Resource> getConsentingPartyTarget()
public List<Consent.ConsentActorComponent> getActor()
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').)public Consent setActor(List<Consent.ConsentActorComponent> theActor)
this for easy method chainingpublic boolean hasActor()
public Consent.ConsentActorComponent addActor()
public Consent addActor(Consent.ConsentActorComponent t)
public Consent.ConsentActorComponent getActorFirstRep()
actor, creating it if it does not already existpublic List<CodeableConcept> getAction()
action (Actions controlled by this consent.)public Consent setAction(List<CodeableConcept> theAction)
this for easy method chainingpublic boolean hasAction()
public CodeableConcept addAction()
public Consent addAction(CodeableConcept t)
public CodeableConcept getActionFirstRep()
action, creating it if it does not already existpublic 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 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.)FHIRExceptionpublic boolean hasSourceAttachment()
public Identifier getSourceIdentifier() throws 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.)FHIRExceptionpublic boolean hasSourceIdentifier()
public Reference getSourceReference() throws 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.)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 UriType getPolicyRuleElement()
policyRule (A referece to the specific computable policy.). This is the underlying object with id, value and extensions. The accessor "getPolicyRule" gives direct access to the valuepublic boolean hasPolicyRuleElement()
public boolean hasPolicyRule()
public Consent setPolicyRuleElement(UriType value)
value - policyRule (A referece to the specific computable policy.). This is the underlying object with id, value and extensions. The accessor "getPolicyRule" gives direct access to the valuepublic String getPolicyRule()
public Consent setPolicyRule(String value)
value - A referece to the specific computable policy.public List<Coding> getSecurityLabel()
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.)public Consent setSecurityLabel(List<Coding> theSecurityLabel)
this for easy method chainingpublic boolean hasSecurityLabel()
public Coding addSecurityLabel()
public Consent addSecurityLabel(Coding t)
public Coding getSecurityLabelFirstRep()
securityLabel, creating it if it does not already existpublic List<Coding> getPurpose()
purpose (The context of the activities a user is taking - why the user is accessing the data - that are controlled by this consent.)public Consent setPurpose(List<Coding> thePurpose)
this for easy method chainingpublic boolean hasPurpose()
public Coding addPurpose()
public Consent addPurpose(Coding t)
public Coding getPurposeFirstRep()
purpose, creating it if it does not already existpublic Period getDataPeriod()
dataPeriod (Clinical or Operational Relevant period of time that bounds the data controlled by this consent.)public boolean hasDataPeriod()
public Consent setDataPeriod(Period value)
value - dataPeriod (Clinical or Operational Relevant period of time that bounds the data controlled by this consent.)public List<Consent.ConsentDataComponent> getData()
data (The resources controlled by this consent, if specific resources are referenced.)public Consent setData(List<Consent.ConsentDataComponent> theData)
this for easy method chainingpublic boolean hasData()
public Consent.ConsentDataComponent addData()
public Consent addData(Consent.ConsentDataComponent t)
public Consent.ConsentDataComponent getDataFirstRep()
data, creating it if it does not already existpublic List<Consent.ExceptComponent> getExcept()
except (An exception to the base policy of this consent. An exception can be an addition or removal of access permissions.)public Consent setExcept(List<Consent.ExceptComponent> theExcept)
this for easy method chainingpublic boolean hasExcept()
public Consent.ExceptComponent addExcept()
public Consent addExcept(Consent.ExceptComponent t)
public Consent.ExceptComponent getExceptFirstRep()
except, creating it if it does not already existprotected void listChildren(List<Property> childrenList)
listChildren in class DomainResourcepublic Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException
getProperty in class DomainResourceFHIRExceptionpublic Base setProperty(int hash, String name, Base value) throws FHIRException
setProperty in class DomainResourceFHIRExceptionpublic Base setProperty(String name, Base value) throws FHIRException
setProperty in class DomainResourceFHIRExceptionpublic Base makeProperty(int hash, String name) throws FHIRException
makeProperty in class DomainResourceFHIRExceptionpublic String[] getTypesForProperty(int hash, String name) throws FHIRException
getTypesForProperty in class DomainResourceFHIRExceptionpublic Base addChild(String name) throws FHIRException
addChild in class DomainResourceFHIRExceptionpublic String fhirType()
fhirType in class DomainResourcepublic Consent copy()
copy in class DomainResourcepublic boolean equalsDeep(Base other)
equalsDeep in class DomainResourcepublic boolean equalsShallow(Base other)
equalsShallow in class DomainResourcepublic boolean isEmpty()
isEmpty in interface IBaseisEmpty in class DomainResourcepublic ResourceType getResourceType()
getResourceType in class ResourceCopyright © 2014–2017 University Health Network. All rights reserved.