public class Goal extends DomainResource
| Modifier and Type | Class and Description |
|---|---|
static class |
Goal.GoalLifecycleStatus |
static class |
Goal.GoalLifecycleStatusEnumFactory |
static class |
Goal.GoalTargetComponent |
| Modifier and Type | Field and Description |
|---|---|
static ca.uhn.fhir.rest.gclient.TokenClientParam |
ACHIEVEMENT_STATUS
Fluent Client search parameter constant for achievement-status
|
protected CodeableConcept |
achievementStatus
Describes the progression, or lack thereof, towards the goal against the target.
|
protected List<Reference> |
addresses
The identified conditions and other health record elements that are intended to be addressed by the goal.
|
protected List<Resource> |
addressesTarget
The actual objects that are the target of the reference (The identified conditions and other health record elements that are intended to be addressed by the goal.)
|
protected List<CodeableConcept> |
category
Indicates a category the goal falls within.
|
static ca.uhn.fhir.rest.gclient.TokenClientParam |
CATEGORY
Fluent Client search parameter constant for category
|
protected CodeableConcept |
description
Human-readable and/or coded description of a specific desired objective of care, such as "control blood pressure" or "negotiate an obstacle course" or "dance with child at wedding".
|
protected Reference |
expressedBy
Indicates whose goal this is - patient goal, practitioner goal, etc.
|
protected Resource |
expressedByTarget
The actual object that is the target of the reference (Indicates whose goal this is - patient goal, practitioner goal, etc.)
|
protected List<Identifier> |
identifier
Business identifiers assigned to this goal by the performer or other systems which remain constant as the resource is updated and propagates from server to server.
|
static ca.uhn.fhir.rest.gclient.TokenClientParam |
IDENTIFIER
Fluent Client search parameter constant for identifier
|
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_SUBJECT
Constant for fluent queries to be used to add include statements.
|
static ca.uhn.fhir.rest.gclient.TokenClientParam |
LIFECYCLE_STATUS
Fluent Client search parameter constant for lifecycle-status
|
protected Enumeration<Goal.GoalLifecycleStatus> |
lifecycleStatus
The state of the goal throughout its lifecycle.
|
protected List<Annotation> |
note
Any comments related to the goal.
|
protected List<CodeableConcept> |
outcomeCode
Identifies the change (or lack of change) at the point when the status of the goal is assessed.
|
protected List<Reference> |
outcomeReference
Details of what's changed (or not changed).
|
protected List<Observation> |
outcomeReferenceTarget
The actual objects that are the target of the reference (Details of what's changed (or not changed).)
|
static ca.uhn.fhir.rest.gclient.ReferenceClientParam |
PATIENT
Fluent Client search parameter constant for patient
|
protected CodeableConcept |
priority
Identifies the mutually agreed level of importance associated with reaching/sustaining the goal.
|
static String |
SP_ACHIEVEMENT_STATUS
Search parameter: achievement-status
|
static String |
SP_CATEGORY
Search parameter: category
|
static String |
SP_IDENTIFIER
Search parameter: identifier
|
static String |
SP_LIFECYCLE_STATUS
Search parameter: lifecycle-status
|
static String |
SP_PATIENT
Search parameter: patient
|
static String |
SP_START_DATE
Search parameter: start-date
|
static String |
SP_SUBJECT
Search parameter: subject
|
static String |
SP_TARGET_DATE
Search parameter: target-date
|
protected Type |
start
The date or event after which the goal should begin being pursued.
|
static ca.uhn.fhir.rest.gclient.DateClientParam |
START_DATE
Fluent Client search parameter constant for start-date
|
protected DateType |
statusDate
Identifies when the current status.
|
protected StringType |
statusReason
Captures the reason for the current status.
|
protected Reference |
subject
Identifies the patient, group or organization for whom the goal is being established.
|
static ca.uhn.fhir.rest.gclient.ReferenceClientParam |
SUBJECT
Fluent Client search parameter constant for subject
|
protected Resource |
subjectTarget
The actual object that is the target of the reference (Identifies the patient, group or organization for whom the goal is being established.)
|
protected List<Goal.GoalTargetComponent> |
target
Indicates what should be done by when.
|
static ca.uhn.fhir.rest.gclient.DateClientParam |
TARGET_DATE
Fluent Client search parameter constant for target-date
|
contained, extension, modifierExtension, textid, implicitRules, language, meta| Constructor and Description |
|---|
Goal()
Constructor
|
Goal(Enumeration<Goal.GoalLifecycleStatus> lifecycleStatus,
CodeableConcept description,
Reference subject)
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<Goal.GoalLifecycleStatus> lifecycleStatus
protected CodeableConcept achievementStatus
protected List<CodeableConcept> category
protected CodeableConcept priority
protected CodeableConcept description
protected Reference subject
protected Resource subjectTarget
protected List<Goal.GoalTargetComponent> target
protected DateType statusDate
protected StringType statusReason
protected Reference expressedBy
protected Resource expressedByTarget
protected List<Reference> addresses
protected List<Resource> addressesTarget
protected List<Annotation> note
protected List<CodeableConcept> outcomeCode
protected List<Reference> outcomeReference
protected List<Observation> outcomeReferenceTarget
public static final String SP_IDENTIFIER
Description: External Ids for this goal
Type: token
Path: Goal.identifier
public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER
Description: External Ids for this goal
Type: token
Path: Goal.identifier
public static final String SP_LIFECYCLE_STATUS
Description: proposed | planned | accepted | active | on-hold | completed | cancelled | entered-in-error | rejected
Type: token
Path: Goal.lifecycleStatus
public static final ca.uhn.fhir.rest.gclient.TokenClientParam LIFECYCLE_STATUS
Description: proposed | planned | accepted | active | on-hold | completed | cancelled | entered-in-error | rejected
Type: token
Path: Goal.lifecycleStatus
public static final String SP_ACHIEVEMENT_STATUS
Description: in-progress | improving | worsening | no-change | achieved | sustaining | not-achieved | no-progress | not-attainable
Type: token
Path: Goal.achievementStatus
public static final ca.uhn.fhir.rest.gclient.TokenClientParam ACHIEVEMENT_STATUS
Description: in-progress | improving | worsening | no-change | achieved | sustaining | not-achieved | no-progress | not-attainable
Type: token
Path: Goal.achievementStatus
public static final String SP_PATIENT
Description: Who this goal is intended for
Type: reference
Path: Goal.subject
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT
Description: Who this goal is intended for
Type: reference
Path: Goal.subject
public static final ca.uhn.fhir.model.api.Include INCLUDE_PATIENT
public static final String SP_SUBJECT
Description: Who this goal is intended for
Type: reference
Path: Goal.subject
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SUBJECT
Description: Who this goal is intended for
Type: reference
Path: Goal.subject
public static final ca.uhn.fhir.model.api.Include INCLUDE_SUBJECT
public static final String SP_START_DATE
Description: When goal pursuit begins
Type: date
Path: Goal.startDate
public static final ca.uhn.fhir.rest.gclient.DateClientParam START_DATE
Description: When goal pursuit begins
Type: date
Path: Goal.startDate
public static final String SP_CATEGORY
Description: E.g. Treatment, dietary, behavioral, etc.
Type: token
Path: Goal.category
public static final ca.uhn.fhir.rest.gclient.TokenClientParam CATEGORY
Description: E.g. Treatment, dietary, behavioral, etc.
Type: token
Path: Goal.category
public static final String SP_TARGET_DATE
Description: Reach goal on or before
Type: date
Path: Goal.target.dueDate
public static final ca.uhn.fhir.rest.gclient.DateClientParam TARGET_DATE
Description: Reach goal on or before
Type: date
Path: Goal.target.dueDate
public Goal()
public Goal(Enumeration<Goal.GoalLifecycleStatus> lifecycleStatus, CodeableConcept description, Reference subject)
public List<Identifier> getIdentifier()
identifier (Business identifiers assigned to this goal by the performer or other systems which remain constant as the resource is updated and propagates from server to server.)public Goal setIdentifier(List<Identifier> theIdentifier)
this for easy method chainingpublic boolean hasIdentifier()
public Identifier addIdentifier()
public Goal addIdentifier(Identifier t)
public Identifier getIdentifierFirstRep()
identifier, creating it if it does not already existpublic Enumeration<Goal.GoalLifecycleStatus> getLifecycleStatusElement()
lifecycleStatus (The state of the goal throughout its lifecycle.). This is the underlying object with id, value and extensions. The accessor "getLifecycleStatus" gives direct access to the valuepublic boolean hasLifecycleStatusElement()
public boolean hasLifecycleStatus()
public Goal setLifecycleStatusElement(Enumeration<Goal.GoalLifecycleStatus> value)
value - lifecycleStatus (The state of the goal throughout its lifecycle.). This is the underlying object with id, value and extensions. The accessor "getLifecycleStatus" gives direct access to the valuepublic Goal.GoalLifecycleStatus getLifecycleStatus()
public Goal setLifecycleStatus(Goal.GoalLifecycleStatus value)
value - The state of the goal throughout its lifecycle.public CodeableConcept getAchievementStatus()
achievementStatus (Describes the progression, or lack thereof, towards the goal against the target.)public boolean hasAchievementStatus()
public Goal setAchievementStatus(CodeableConcept value)
value - achievementStatus (Describes the progression, or lack thereof, towards the goal against the target.)public List<CodeableConcept> getCategory()
category (Indicates a category the goal falls within.)public Goal setCategory(List<CodeableConcept> theCategory)
this for easy method chainingpublic boolean hasCategory()
public CodeableConcept addCategory()
public Goal addCategory(CodeableConcept t)
public CodeableConcept getCategoryFirstRep()
category, creating it if it does not already existpublic CodeableConcept getPriority()
priority (Identifies the mutually agreed level of importance associated with reaching/sustaining the goal.)public boolean hasPriority()
public Goal setPriority(CodeableConcept value)
value - priority (Identifies the mutually agreed level of importance associated with reaching/sustaining the goal.)public CodeableConcept getDescription()
description (Human-readable and/or coded description of a specific desired objective of care, such as "control blood pressure" or "negotiate an obstacle course" or "dance with child at wedding".)public boolean hasDescription()
public Goal setDescription(CodeableConcept value)
value - description (Human-readable and/or coded description of a specific desired objective of care, such as "control blood pressure" or "negotiate an obstacle course" or "dance with child at wedding".)public Reference getSubject()
subject (Identifies the patient, group or organization for whom the goal is being established.)public boolean hasSubject()
public Goal setSubject(Reference value)
value - subject (Identifies the patient, group or organization for whom the goal is being established.)public Resource getSubjectTarget()
subject 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. (Identifies the patient, group or organization for whom the goal is being established.)public Goal setSubjectTarget(Resource value)
value - subject 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. (Identifies the patient, group or organization for whom the goal is being established.)public Type getStart()
start (The date or event after which the goal should begin being pursued.)public DateType getStartDateType() throws org.hl7.fhir.exceptions.FHIRException
start (The date or event after which the goal should begin being pursued.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasStartDateType()
public CodeableConcept getStartCodeableConcept() throws org.hl7.fhir.exceptions.FHIRException
start (The date or event after which the goal should begin being pursued.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasStartCodeableConcept()
public boolean hasStart()
public Goal setStart(Type value)
value - start (The date or event after which the goal should begin being pursued.)public List<Goal.GoalTargetComponent> getTarget()
target (Indicates what should be done by when.)public Goal setTarget(List<Goal.GoalTargetComponent> theTarget)
this for easy method chainingpublic boolean hasTarget()
public Goal.GoalTargetComponent addTarget()
public Goal addTarget(Goal.GoalTargetComponent t)
public Goal.GoalTargetComponent getTargetFirstRep()
target, creating it if it does not already existpublic DateType getStatusDateElement()
statusDate (Identifies when the current status. I.e. When initially created, when achieved, when cancelled, etc.). This is the underlying object with id, value and extensions. The accessor "getStatusDate" gives direct access to the valuepublic boolean hasStatusDateElement()
public boolean hasStatusDate()
public Goal setStatusDateElement(DateType value)
value - statusDate (Identifies when the current status. I.e. When initially created, when achieved, when cancelled, etc.). This is the underlying object with id, value and extensions. The accessor "getStatusDate" gives direct access to the valuepublic Date getStatusDate()
public Goal setStatusDate(Date value)
value - Identifies when the current status. I.e. When initially created, when achieved, when cancelled, etc.public StringType getStatusReasonElement()
statusReason (Captures the reason for the current status.). This is the underlying object with id, value and extensions. The accessor "getStatusReason" gives direct access to the valuepublic boolean hasStatusReasonElement()
public boolean hasStatusReason()
public Goal setStatusReasonElement(StringType value)
value - statusReason (Captures the reason for the current status.). This is the underlying object with id, value and extensions. The accessor "getStatusReason" gives direct access to the valuepublic String getStatusReason()
public Goal setStatusReason(String value)
value - Captures the reason for the current status.public Reference getExpressedBy()
expressedBy (Indicates whose goal this is - patient goal, practitioner goal, etc.)public boolean hasExpressedBy()
public Goal setExpressedBy(Reference value)
value - expressedBy (Indicates whose goal this is - patient goal, practitioner goal, etc.)public Resource getExpressedByTarget()
expressedBy 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. (Indicates whose goal this is - patient goal, practitioner goal, etc.)public Goal setExpressedByTarget(Resource value)
value - expressedBy 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. (Indicates whose goal this is - patient goal, practitioner goal, etc.)public List<Reference> getAddresses()
addresses (The identified conditions and other health record elements that are intended to be addressed by the goal.)public Goal setAddresses(List<Reference> theAddresses)
this for easy method chainingpublic boolean hasAddresses()
public Reference addAddresses()
public Goal addAddresses(Reference t)
public Reference getAddressesFirstRep()
addresses, creating it if it does not already exist@Deprecated public List<Resource> getAddressesTarget()
public List<Annotation> getNote()
note (Any comments related to the goal.)public Goal setNote(List<Annotation> theNote)
this for easy method chainingpublic boolean hasNote()
public Annotation addNote()
public Goal addNote(Annotation t)
public Annotation getNoteFirstRep()
note, creating it if it does not already existpublic List<CodeableConcept> getOutcomeCode()
outcomeCode (Identifies the change (or lack of change) at the point when the status of the goal is assessed.)public Goal setOutcomeCode(List<CodeableConcept> theOutcomeCode)
this for easy method chainingpublic boolean hasOutcomeCode()
public CodeableConcept addOutcomeCode()
public Goal addOutcomeCode(CodeableConcept t)
public CodeableConcept getOutcomeCodeFirstRep()
outcomeCode, creating it if it does not already existpublic List<Reference> getOutcomeReference()
outcomeReference (Details of what's changed (or not changed).)public Goal setOutcomeReference(List<Reference> theOutcomeReference)
this for easy method chainingpublic boolean hasOutcomeReference()
public Reference addOutcomeReference()
public Goal addOutcomeReference(Reference t)
public Reference getOutcomeReferenceFirstRep()
outcomeReference, creating it if it does not already exist@Deprecated public List<Observation> getOutcomeReferenceTarget()
@Deprecated public Observation addOutcomeReferenceTarget()
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 Goal copy()
copy in class DomainResourcepublic void copyValues(Goal 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.