Class Flag
- All Implemented Interfaces:
ca.uhn.fhir.model.api.ICompositeElement
,ca.uhn.fhir.model.api.IElement
,ca.uhn.fhir.model.api.IResource
,ca.uhn.fhir.model.api.ISupportsUndeclaredExtensions
,Serializable
,org.hl7.fhir.instance.model.api.IBase
,org.hl7.fhir.instance.model.api.IBaseResource
Definition: Prospective warnings of potential issues when providing care to the patient.
Requirements:
Profile Definition: http://hl7.org/fhir/profiles/Flag
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for authorstatic final ca.uhn.fhir.rest.gclient.DateClientParam
Fluent Client search parameter constant for datestatic final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for encounterstatic final ca.uhn.fhir.model.api.Include
Constant for fluent queries to be used to add include statements.static final ca.uhn.fhir.model.api.Include
Constant for fluent queries to be used to add include statements.static final ca.uhn.fhir.model.api.Include
Constant for fluent queries to be used to add include statements.static final ca.uhn.fhir.model.api.Include
Constant for fluent queries to be used to add include statements.static final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for patientstatic final String
Search parameter constant for authorstatic final String
Search parameter constant for datestatic final String
Search parameter constant for encounterstatic final String
Search parameter constant for patientstatic final String
Search parameter constant for subjectstatic final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for subjectFields inherited from class ca.uhn.fhir.model.dstu2.resource.BaseResource
RES_ID, SP_RES_ID
Fields inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
INCLUDE_ALL, WILDCARD_ALL_SET
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionAdds and returns a new value for identifier (id)addIdentifier
(IdentifierDt theValue) Adds a given new value for identifier (id)<T extends ca.uhn.fhir.model.api.IElement>
List<T> getAllPopulatedChildElementsOfType
(Class<T> theType) Gets the value(s) for author (who.author).Gets the value(s) for category (class).getCode()
Gets the value(s) for code (what).Gets the value(s) for encounter (context).Gets the value(s) for identifier (id).Gets the first repetition for identifier (id), creating it if it does not already exist.Gets the value(s) for period (context).Gets the value(s) for status (status).ca.uhn.fhir.model.primitive.BoundCodeDt
<FlagStatusEnum> Gets the value(s) for status (status).ca.uhn.fhir.context.FhirVersionEnum
Gets the value(s) for subject (who.focus).boolean
isEmpty()
setAuthor
(ResourceReferenceDt theValue) Sets the value(s) for author (who.author)setCategory
(CodeableConceptDt theValue) Sets the value(s) for category (class)setCode
(CodeableConceptDt theValue) Sets the value(s) for code (what)setEncounter
(ResourceReferenceDt theValue) Sets the value(s) for encounter (context)setIdentifier
(List<IdentifierDt> theValue) Sets the value(s) for identifier (id)Sets the value(s) for period (context)setStatus
(FlagStatusEnum theValue) Sets the value(s) for status (status)setStatus
(ca.uhn.fhir.model.primitive.BoundCodeDt<FlagStatusEnum> theValue) Sets the value(s) for status (status)setSubject
(ResourceReferenceDt theValue) Sets the value(s) for subject (who.focus)Methods inherited from class ca.uhn.fhir.model.dstu2.resource.BaseResource
getContained, getId, getIdElement, getLanguage, getMeta, getResourceMetadata, getText, isBaseEmpty, setContained, setId, setId, setId, setLanguage, setResourceMetadata, setText, toString
Methods inherited from class ca.uhn.fhir.model.api.BaseElement
addUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, getUserData, hasFormatComment, setUserData
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.hl7.fhir.instance.model.api.IBase
fhirType, getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserData
Methods inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
getIdElement, isDeleted, setId, setId
Methods inherited from interface ca.uhn.fhir.model.api.IResource
getContained, getId, getLanguage, getMeta, getResourceMetadata, getText, setId, setLanguage, setResourceMetadata
-
Field Details
-
SP_SUBJECT
Search parameter constant for subjectDescription: The identity of a subject to list flags for
Type: reference
Path: Flag.subject
- See Also:
-
SUBJECT
Fluent Client search parameter constant for subjectDescription: The identity of a subject to list flags for
Type: reference
Path: Flag.subject
-
SP_PATIENT
Search parameter constant for patientDescription: The identity of a subject to list flags for
Type: reference
Path: Flag.subject
- See Also:
-
PATIENT
Fluent Client search parameter constant for patientDescription: The identity of a subject to list flags for
Type: reference
Path: Flag.subject
-
SP_AUTHOR
Search parameter constant for authorDescription:
Type: reference
Path: Flag.author
- See Also:
-
AUTHOR
Fluent Client search parameter constant for authorDescription:
Type: reference
Path: Flag.author
-
SP_DATE
Search parameter constant for dateDescription:
Type: date
Path: Flag.period
- See Also:
-
DATE
Fluent Client search parameter constant for dateDescription:
Type: date
Path: Flag.period
-
SP_ENCOUNTER
Search parameter constant for encounterDescription:
Type: reference
Path: Flag.encounter
- See Also:
-
ENCOUNTER
Fluent Client search parameter constant for encounterDescription:
Type: reference
Path: Flag.encounter
-
INCLUDE_AUTHOR
Constant for fluent queries to be used to add include statements. Specifies the path value of "Flag:author". -
INCLUDE_ENCOUNTER
Constant for fluent queries to be used to add include statements. Specifies the path value of "Flag:encounter". -
INCLUDE_PATIENT
Constant for fluent queries to be used to add include statements. Specifies the path value of "Flag:patient". -
INCLUDE_SUBJECT
Constant for fluent queries to be used to add include statements. Specifies the path value of "Flag:subject".
-
-
Constructor Details
-
Flag
public Flag()
-
-
Method Details
-
isEmpty
- Specified by:
isEmpty
in interfaceorg.hl7.fhir.instance.model.api.IBase
-
getAllPopulatedChildElementsOfType
public <T extends ca.uhn.fhir.model.api.IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) - Specified by:
getAllPopulatedChildElementsOfType
in interfaceca.uhn.fhir.model.api.ICompositeElement
-
getIdentifier
Gets the value(s) for identifier (id). creating it if it does not exist. Will not returnnull
.Definition: Identifier assigned to the flag for external use (outside the FHIR environment)
-
setIdentifier
Sets the value(s) for identifier (id)Definition: Identifier assigned to the flag for external use (outside the FHIR environment)
-
addIdentifier
Adds and returns a new value for identifier (id)Definition: Identifier assigned to the flag for external use (outside the FHIR environment)
-
addIdentifier
Adds a given new value for identifier (id)Definition: Identifier assigned to the flag for external use (outside the FHIR environment)
- Parameters:
theValue
- The identifier to add (must not benull
)
-
getIdentifierFirstRep
Gets the first repetition for identifier (id), creating it if it does not already exist.Definition: Identifier assigned to the flag for external use (outside the FHIR environment)
-
getCategory
Gets the value(s) for category (class). creating it if it does not exist. Will not returnnull
.Definition: 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.
-
setCategory
Sets the value(s) for category (class)Definition: 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
Gets the value(s) for status (status). creating it if it does not exist. Will not returnnull
.Definition: Supports basic workflow
-
getStatus
Gets the value(s) for status (status). creating it if it does not exist. This method may returnnull
.Definition: Supports basic workflow
-
setStatus
Sets the value(s) for status (status)Definition: Supports basic workflow
-
setStatus
Sets the value(s) for status (status)Definition: Supports basic workflow
-
getPeriod
Gets the value(s) for period (context). creating it if it does not exist. Will not returnnull
.Definition: 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.
-
setPeriod
Sets the value(s) for period (context)Definition: 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
Gets the value(s) for subject (who.focus). creating it if it does not exist. Will not returnnull
.Definition: The patient, location, group , organization , or practitioner this is about record this flag is associated with
-
setSubject
Sets the value(s) for subject (who.focus)Definition: The patient, location, group , organization , or practitioner this is about record this flag is associated with
-
getEncounter
Gets the value(s) for encounter (context). creating it if it does not exist. Will not returnnull
.Definition: This alert is only relevant during the encounter
-
setEncounter
Sets the value(s) for encounter (context)Definition: This alert is only relevant during the encounter
-
getAuthor
Gets the value(s) for author (who.author). creating it if it does not exist. Will not returnnull
.Definition: The person, organization or device that created the flag
-
setAuthor
Sets the value(s) for author (who.author)Definition: The person, organization or device that created the flag
-
getCode
Gets the value(s) for code (what). creating it if it does not exist. Will not returnnull
.Definition: The coded value or textual component of the flag to display to the user
-
setCode
Sets the value(s) for code (what)Definition: The coded value or textual component of the flag to display to the user
-
getResourceName
- Specified by:
getResourceName
in interfaceca.uhn.fhir.model.api.IResource
-
getStructureFhirVersionEnum
- Specified by:
getStructureFhirVersionEnum
in interfaceorg.hl7.fhir.instance.model.api.IBaseResource
- Specified by:
getStructureFhirVersionEnum
in interfaceca.uhn.fhir.model.api.IResource
-