Package org.hl7.fhir.dstu2.model
Class Flag
- 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
Prospective warnings of potential issues when providing care to the patient.
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
static class
-
Field Summary
Modifier and TypeFieldDescriptionprotected Reference
The person, organization or device that created the flag.protected Resource
The actual object that is the target of the reference (The person, organization or device that created the flag.)protected CodeableConcept
Allows an flag to be divided into different categories like clinical, administrative etc.protected CodeableConcept
The coded value or textual component of the flag to display to the user.protected Reference
This alert is only relevant during the encounter.protected Encounter
The actual object that is the target of the reference (This alert is only relevant during the encounter.)protected List
<Identifier> Identifier assigned to the flag for external use (outside the FHIR environment).protected Period
The period of time from the activation of the flag to inactivation of the flag.static final String
static final String
static final String
static final String
static final String
protected Enumeration
<Flag.FlagStatus> Supports basic workflow.protected Reference
The patient, location, group , organization , or practitioner this is about record this flag is associated with.protected Resource
The actual object that is the target of the reference (The patient, location, group , organization , or practitioner this is about record this flag is associated with.)Fields inherited from class org.hl7.fhir.dstu2.model.DomainResource
contained, extension, modifierExtension, text
Fields inherited from class org.hl7.fhir.dstu2.model.Resource
id, implicitRules, language, meta
Fields inherited from interface org.hl7.fhir.instance.model.api.IAnyResource
RES_ID, RES_LAST_UPDATED, RES_PROFILE, RES_SECURITY, RES_TAG, SP_RES_ID, SP_RES_LAST_UPDATED, SP_RES_PROFILE, SP_RES_SECURITY, SP_RES_TAG
Fields inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
INCLUDE_ALL, WILDCARD_ALL_SET
-
Constructor Summary
ConstructorDescriptionFlag()
Flag
(Enumeration<Flag.FlagStatus> status, Reference subject, CodeableConcept code) -
Method Summary
Modifier and TypeMethodDescriptioncopy()
boolean
equalsDeep
(Base other) boolean
equalsShallow
(Base other) fhirType()
getCode()
boolean
boolean
boolean
hasCode()
boolean
boolean
boolean
boolean
boolean
boolean
boolean
isEmpty()
protected void
listChildren
(List<Property> childrenList) setAuthorTarget
(Resource value) setCategory
(CodeableConcept value) setCode
(CodeableConcept value) setEncounter
(Reference value) setEncounterTarget
(Encounter value) void
setProperty
(String name, Base value) setStatus
(Flag.FlagStatus value) setSubject
(Reference value) setSubjectTarget
(Resource value) protected Flag
Methods inherited from class org.hl7.fhir.dstu2.model.DomainResource
addContained, addExtension, addExtension, addModifierExtension, addModifierExtension, copyValues, getContained, getExtension, getExtensionByUrl, getModifierExtension, getText, hasContained, hasExtension, hasExtension, hasModifierExtension, hasText, setText
Methods inherited from class org.hl7.fhir.dstu2.model.Resource
copyValues, getId, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMeta
Methods inherited from class org.hl7.fhir.dstu2.model.BaseResource
getStructureFhirVersionEnum, setId
Methods inherited from class org.hl7.fhir.dstu2.model.Base
castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactPoint, castToDate, castToDateTime, castToDecimal, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToMoney, castToNarrative, castToOid, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToUnsignedInt, castToUri, children, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasType, hasUserData, isMetadataBased, isPrimitive, listChildrenByName, primitiveValue, setUserData, setUserDataINN
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.hl7.fhir.instance.model.api.IAnyResource
getId, getIdElement, getLanguageElement, getUserData, setId, setUserData
Methods inherited from interface org.hl7.fhir.instance.model.api.IBase
getFormatCommentsPost, getFormatCommentsPre, hasFormatComment
Methods inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
getMeta, getStructureFhirVersionEnum, isDeleted, setId
-
Field Details
-
identifier
Identifier assigned to the flag for external use (outside the FHIR environment). -
category
Allows an flag to be divided into different categories like clinical, administrative etc. Intended to be used as a means of filtering which flags are displayed to particular user or in a given context. -
status
Supports basic workflow. -
period
The period of time from the activation of the flag to inactivation of the flag. If the flag is active, the end of the period should be unspecified. -
subject
The patient, location, group , organization , or practitioner this is about record this flag is associated with. -
subjectTarget
The actual object that is the target of the reference (The patient, location, group , organization , or practitioner this is about record this flag is associated with.) -
encounter
This alert is only relevant during the encounter. -
encounterTarget
The actual object that is the target of the reference (This alert is only relevant during the encounter.) -
author
The person, organization or device that created the flag. -
authorTarget
The actual object that is the target of the reference (The person, organization or device that created the flag.) -
code
The coded value or textual component of the flag to display to the user. -
SP_DATE
- See Also:
-
SP_SUBJECT
- See Also:
-
SP_PATIENT
- See Also:
-
SP_AUTHOR
- See Also:
-
SP_ENCOUNTER
- See Also:
-
-
Constructor Details
-
Flag
public Flag() -
Flag
-
-
Method Details
-
getIdentifier
- Returns:
identifier
(Identifier assigned to the flag for external use (outside the FHIR environment).)
-
hasIdentifier
-
addIdentifier
- Returns:
identifier
(Identifier assigned to the flag for external use (outside the FHIR environment).)
-
addIdentifier
-
getCategory
- Returns:
category
(Allows an flag to be divided into different categories like clinical, administrative etc. Intended to be used as a means of filtering which flags are displayed to particular user or in a given context.)
-
hasCategory
-
setCategory
- Parameters:
value
-category
(Allows an flag to be divided into different categories like clinical, administrative etc. Intended to be used as a means of filtering which flags are displayed to particular user or in a given context.)
-
getStatusElement
- Returns:
status
(Supports basic workflow.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value
-
hasStatusElement
-
hasStatus
-
setStatusElement
- Parameters:
value
-status
(Supports basic workflow.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value
-
getStatus
- Returns:
- Supports basic workflow.
-
setStatus
- Parameters:
value
- Supports basic workflow.
-
getPeriod
- Returns:
period
(The period of time from the activation of the flag to inactivation of the flag. If the flag is active, the end of the period should be unspecified.)
-
hasPeriod
-
setPeriod
- Parameters:
value
-period
(The period of time from the activation of the flag to inactivation of the flag. If the flag is active, the end of the period should be unspecified.)
-
getSubject
- Returns:
subject
(The patient, location, group , organization , or practitioner this is about record this flag is associated with.)
-
hasSubject
-
setSubject
- Parameters:
value
-subject
(The patient, location, group , organization , or practitioner this is about record this flag is associated with.)
-
getSubjectTarget
- Returns:
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. (The patient, location, group , organization , or practitioner this is about record this flag is associated with.)
-
setSubjectTarget
- Parameters:
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. (The patient, location, group , organization , or practitioner this is about record this flag is associated with.)
-
getEncounter
- Returns:
encounter
(This alert is only relevant during the encounter.)
-
hasEncounter
-
setEncounter
- Parameters:
value
-encounter
(This alert is only relevant during the encounter.)
-
getEncounterTarget
- Returns:
encounter
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. (This alert is only relevant during the encounter.)
-
setEncounterTarget
- Parameters:
value
-encounter
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. (This alert is only relevant during the encounter.)
-
getAuthor
- Returns:
author
(The person, organization or device that created the flag.)
-
hasAuthor
-
setAuthor
- Parameters:
value
-author
(The person, organization or device that created the flag.)
-
getAuthorTarget
- Returns:
author
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 person, organization or device that created the flag.)
-
setAuthorTarget
- Parameters:
value
-author
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 person, organization or device that created the flag.)
-
getCode
- Returns:
code
(The coded value or textual component of the flag to display to the user.)
-
hasCode
-
setCode
- Parameters:
value
-code
(The coded value or textual component of the flag to display to the user.)
-
listChildren
- Overrides:
listChildren
in classDomainResource
-
setProperty
- Overrides:
setProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
- Overrides:
addChild
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
fhirType
- Specified by:
fhirType
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
fhirType
in classDomainResource
-
copy
- Specified by:
copy
in classDomainResource
-
typedCopy
-
equalsDeep
- Overrides:
equalsDeep
in classDomainResource
-
equalsShallow
- Overrides:
equalsShallow
in classDomainResource
-
isEmpty
- Specified by:
isEmpty
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
isEmpty
in classDomainResource
-
getResourceType
- Specified by:
getResourceType
in classResource
-