
Class ListResource
- 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: A set of information summarized from a list of other resources.
Requirements:
Profile Definition: http://hl7.org/fhir/profiles/List
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBlock class for child element: List.entry () -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ca.uhn.fhir.rest.gclient.TokenClientParamFluent Client search parameter constant for codestatic final ca.uhn.fhir.rest.gclient.DateClientParamFluent Client search parameter constant for datestatic final ca.uhn.fhir.rest.gclient.TokenClientParamFluent Client search parameter constant for empty-reasonstatic final ca.uhn.fhir.rest.gclient.ReferenceClientParamFluent Client search parameter constant for encounterstatic final ca.uhn.fhir.model.api.IncludeConstant for fluent queries to be used to add include statements.static final ca.uhn.fhir.model.api.IncludeConstant for fluent queries to be used to add include statements.static final ca.uhn.fhir.model.api.IncludeConstant for fluent queries to be used to add include statements.static final ca.uhn.fhir.model.api.IncludeConstant for fluent queries to be used to add include statements.static final ca.uhn.fhir.model.api.IncludeConstant for fluent queries to be used to add include statements.static final ca.uhn.fhir.rest.gclient.ReferenceClientParamFluent Client search parameter constant for itemstatic final ca.uhn.fhir.rest.gclient.StringClientParamFluent Client search parameter constant for notesstatic final ca.uhn.fhir.rest.gclient.ReferenceClientParamFluent Client search parameter constant for patientstatic final ca.uhn.fhir.rest.gclient.ReferenceClientParamFluent Client search parameter constant for sourcestatic final StringSearch parameter constant for codestatic final StringSearch parameter constant for datestatic final StringSearch parameter constant for empty-reasonstatic final StringSearch parameter constant for encounterstatic final StringSearch parameter constant for itemstatic final StringSearch parameter constant for notesstatic final StringSearch parameter constant for patientstatic final StringSearch parameter constant for sourcestatic final StringSearch parameter constant for statusstatic final StringSearch parameter constant for subjectstatic final StringSearch parameter constant for titlestatic final ca.uhn.fhir.rest.gclient.TokenClientParamFluent Client search parameter constant for statusstatic final ca.uhn.fhir.rest.gclient.ReferenceClientParamFluent Client search parameter constant for subjectstatic final ca.uhn.fhir.rest.gclient.StringClientParamFluent Client search parameter constant for titleFields inherited from class ca.uhn.fhir.model.dstu2.resource.BaseResource
RES_ID, SP_RES_IDFields inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
INCLUDE_ALL, WILDCARD_ALL_SET -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddEntry()Adds and returns a new value for entry ()addEntry(ListResource.Entry theValue) Adds a given new value for entry ()Adds 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) getCode()Gets the value(s) for code (what).getDate()Gets the value(s) for date (when.recorded).ca.uhn.fhir.model.primitive.DateTimeDtGets the value(s) for date (when.recorded).Gets the value(s) for emptyReason ().Gets the value(s) for encounter (context).getEntry()Gets the value(s) for entry ().Gets the first repetition for entry (), creating it if it does not already exist.Gets the value(s) for identifier (id).Gets the first repetition for identifier (id), creating it if it does not already exist.getMode()Gets the value(s) for mode (class).ca.uhn.fhir.model.primitive.BoundCodeDt<ListModeEnum> Gets the value(s) for mode (class).getNote()Gets the value(s) for note ().ca.uhn.fhir.model.primitive.StringDtGets the value(s) for note ().Gets the value(s) for orderedBy ().Gets the value(s) for source (who.author).Gets the value(s) for status (status).ca.uhn.fhir.model.primitive.BoundCodeDt<ListStatusEnum> Gets the value(s) for status (status).ca.uhn.fhir.context.FhirVersionEnumGets the value(s) for subject (who.focus).getTitle()Gets the value(s) for title ().ca.uhn.fhir.model.primitive.StringDtGets the value(s) for title ().booleanisEmpty()setCode(CodeableConceptDt theValue) Sets the value(s) for code (what)setDate(ca.uhn.fhir.model.primitive.DateTimeDt theValue) Sets the value(s) for date (when.recorded)Sets the value for date (when.recorded)setDateWithSecondsPrecision(Date theDate) Sets the value for date (when.recorded)setEmptyReason(CodeableConceptDt theValue) Sets the value(s) for emptyReason ()setEncounter(ResourceReferenceDt theValue) Sets the value(s) for encounter (context)setEntry(List<ListResource.Entry> theValue) Sets the value(s) for entry ()setIdentifier(List<IdentifierDt> theValue) Sets the value(s) for identifier (id)setMode(ListModeEnum theValue) Sets the value(s) for mode (class)setMode(ca.uhn.fhir.model.primitive.BoundCodeDt<ListModeEnum> theValue) Sets the value(s) for mode (class)setNote(ca.uhn.fhir.model.primitive.StringDt theValue) Sets the value(s) for note ()Sets the value for note ()setOrderedBy(BoundCodeableConceptDt<ListOrderCodesEnum> theValue) Sets the value(s) for orderedBy ()setOrderedBy(ListOrderCodesEnum theValue) Sets the value(s) for orderedBy ()setSource(ResourceReferenceDt theValue) Sets the value(s) for source (who.author)setStatus(ListStatusEnum theValue) Sets the value(s) for status (status)setStatus(ca.uhn.fhir.model.primitive.BoundCodeDt<ListStatusEnum> theValue) Sets the value(s) for status (status)setSubject(ResourceReferenceDt theValue) Sets the value(s) for subject (who.focus)setTitle(ca.uhn.fhir.model.primitive.StringDt theValue) Sets the value(s) for title ()Sets the value for title ()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, toStringMethods inherited from class ca.uhn.fhir.model.api.BaseElement
addUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, getUserData, hasFormatComment, setUserDataMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.hl7.fhir.instance.model.api.IBase
fhirType, getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserDataMethods inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
getIdElement, isDeleted, setId, setIdMethods inherited from interface ca.uhn.fhir.model.api.IResource
getContained, getId, getLanguage, getMeta, getResourceMetadata, getText, setId, setLanguage, setResourceMetadata
-
Field Details
-
SP_SOURCE
Search parameter constant for sourceDescription:
Type: reference
Path: List.source
- See Also:
-
SOURCE
Fluent Client search parameter constant for sourceDescription:
Type: reference
Path: List.source
-
SP_ITEM
Search parameter constant for itemDescription:
Type: reference
Path: List.entry.item
- See Also:
-
ITEM
Fluent Client search parameter constant for itemDescription:
Type: reference
Path: List.entry.item
-
SP_EMPTY_REASON
Search parameter constant for empty-reasonDescription:
Type: token
Path: List.emptyReason
- See Also:
-
EMPTY_REASON
Fluent Client search parameter constant for empty-reasonDescription:
Type: token
Path: List.emptyReason
-
SP_DATE
Search parameter constant for dateDescription:
Type: date
Path: List.date
- See Also:
-
DATE
Fluent Client search parameter constant for dateDescription:
Type: date
Path: List.date
-
SP_CODE
Search parameter constant for codeDescription:
Type: token
Path: List.code
- See Also:
-
CODE
Fluent Client search parameter constant for codeDescription:
Type: token
Path: List.code
-
SP_SUBJECT
Search parameter constant for subjectDescription:
Type: reference
Path: List.subject
- See Also:
-
SUBJECT
Fluent Client search parameter constant for subjectDescription:
Type: reference
Path: List.subject
-
SP_PATIENT
Search parameter constant for patientDescription:
Type: reference
Path: List.subject
- See Also:
-
PATIENT
Fluent Client search parameter constant for patientDescription:
Type: reference
Path: List.subject
-
SP_STATUS
Search parameter constant for statusDescription:
Type: token
Path: List.status
- See Also:
-
STATUS
Fluent Client search parameter constant for statusDescription:
Type: token
Path: List.status
-
SP_TITLE
Search parameter constant for titleDescription:
Type: string
Path: List.title
- See Also:
-
TITLE
Fluent Client search parameter constant for titleDescription:
Type: string
Path: List.title
-
SP_NOTES
Search parameter constant for notesDescription:
Type: string
Path: List.note
- See Also:
-
NOTES
Fluent Client search parameter constant for notesDescription:
Type: string
Path: List.note
-
SP_ENCOUNTER
Search parameter constant for encounterDescription:
Type: reference
Path: List.encounter
- See Also:
-
ENCOUNTER
Fluent Client search parameter constant for encounterDescription:
Type: reference
Path: List.encounter
-
INCLUDE_ENCOUNTER
Constant for fluent queries to be used to add include statements. Specifies the path value of "List:encounter". -
INCLUDE_ITEM
Constant for fluent queries to be used to add include statements. Specifies the path value of "List:item". -
INCLUDE_PATIENT
Constant for fluent queries to be used to add include statements. Specifies the path value of "List:patient". -
INCLUDE_SOURCE
Constant for fluent queries to be used to add include statements. Specifies the path value of "List:source". -
INCLUDE_SUBJECT
Constant for fluent queries to be used to add include statements. Specifies the path value of "List:subject".
-
-
Constructor Details
-
ListResource
public ListResource()
-
-
Method Details
-
isEmpty
- Specified by:
isEmptyin 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:
getAllPopulatedChildElementsOfTypein 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 for the List assigned for business purposes outside the context of FHIR.
-
setIdentifier
Sets the value(s) for identifier (id)Definition: Identifier for the List assigned for business purposes outside the context of FHIR.
-
addIdentifier
Adds and returns a new value for identifier (id)Definition: Identifier for the List assigned for business purposes outside the context of FHIR.
-
addIdentifier
Adds a given new value for identifier (id)Definition: Identifier for the List assigned for business purposes outside the context of FHIR.
- 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 for the List assigned for business purposes outside the context of FHIR.
-
getTitleElement
Gets the value(s) for title (). creating it if it does not exist. Will not returnnull.Definition: A label for the list assigned by the author
-
getTitle
Gets the value(s) for title (). creating it if it does not exist. This method may returnnull.Definition: A label for the list assigned by the author
-
setTitle
Sets the value(s) for title ()Definition: A label for the list assigned by the author
-
setTitle
Sets the value for title ()Definition: A label for the list assigned by the author
-
getCode
Gets the value(s) for code (what). creating it if it does not exist. Will not returnnull.Definition: This code defines the purpose of the list - why it was created
-
setCode
Sets the value(s) for code (what)Definition: This code defines the purpose of the list - why it was created
-
getSubject
Gets the value(s) for subject (who.focus). creating it if it does not exist. Will not returnnull.Definition: The common subject (or patient) of the resources that are in the list, if there is one
-
setSubject
Sets the value(s) for subject (who.focus)Definition: The common subject (or patient) of the resources that are in the list, if there is one
-
getSource
Gets the value(s) for source (who.author). creating it if it does not exist. Will not returnnull.Definition: The entity responsible for deciding what the contents of the list were. Where the list was created by a human, this is the same as the author of the list
-
setSource
Sets the value(s) for source (who.author)Definition: The entity responsible for deciding what the contents of the list were. Where the list was created by a human, this is the same as the author of the list
-
getEncounter
Gets the value(s) for encounter (context). creating it if it does not exist. Will not returnnull.Definition: The encounter that is the context in which this list was created
-
setEncounter
Sets the value(s) for encounter (context)Definition: The encounter that is the context in which this list was created
-
getStatusElement
Gets the value(s) for status (status). creating it if it does not exist. Will not returnnull.Definition: Indicates the current state of this list
-
getStatus
Gets the value(s) for status (status). creating it if it does not exist. This method may returnnull.Definition: Indicates the current state of this list
-
setStatus
Sets the value(s) for status (status)Definition: Indicates the current state of this list
-
setStatus
Sets the value(s) for status (status)Definition: Indicates the current state of this list
-
getDateElement
Gets the value(s) for date (when.recorded). creating it if it does not exist. Will not returnnull.Definition: The date that the list was prepared
-
getDate
Gets the value(s) for date (when.recorded). creating it if it does not exist. This method may returnnull.Definition: The date that the list was prepared
-
setDate
Sets the value(s) for date (when.recorded)Definition: The date that the list was prepared
-
setDateWithSecondsPrecision
Sets the value for date (when.recorded)Definition: The date that the list was prepared
-
setDate
Sets the value for date (when.recorded)Definition: The date that the list was prepared
-
getOrderedBy
Gets the value(s) for orderedBy (). creating it if it does not exist. Will not returnnull.Definition: What order applies to the items in the list
-
setOrderedBy
Sets the value(s) for orderedBy ()Definition: What order applies to the items in the list
-
setOrderedBy
Sets the value(s) for orderedBy ()Definition: What order applies to the items in the list
-
getModeElement
Gets the value(s) for mode (class). creating it if it does not exist. Will not returnnull.Definition: How this list was prepared - whether it is a working list that is suitable for being maintained on an ongoing basis, or if it represents a snapshot of a list of items from another source, or whether it is a prepared list where items may be marked as added, modified or deleted
-
getMode
Gets the value(s) for mode (class). creating it if it does not exist. This method may returnnull.Definition: How this list was prepared - whether it is a working list that is suitable for being maintained on an ongoing basis, or if it represents a snapshot of a list of items from another source, or whether it is a prepared list where items may be marked as added, modified or deleted
-
setMode
Sets the value(s) for mode (class)Definition: How this list was prepared - whether it is a working list that is suitable for being maintained on an ongoing basis, or if it represents a snapshot of a list of items from another source, or whether it is a prepared list where items may be marked as added, modified or deleted
-
setMode
Sets the value(s) for mode (class)Definition: How this list was prepared - whether it is a working list that is suitable for being maintained on an ongoing basis, or if it represents a snapshot of a list of items from another source, or whether it is a prepared list where items may be marked as added, modified or deleted
-
getNoteElement
Gets the value(s) for note (). creating it if it does not exist. Will not returnnull.Definition: Comments that apply to the overall list
-
getNote
Gets the value(s) for note (). creating it if it does not exist. This method may returnnull.Definition: Comments that apply to the overall list
-
setNote
Sets the value(s) for note ()Definition: Comments that apply to the overall list
-
setNote
Sets the value for note ()Definition: Comments that apply to the overall list
-
getEntry
Gets the value(s) for entry (). creating it if it does not exist. Will not returnnull.Definition: Entries in this list
-
setEntry
Sets the value(s) for entry ()Definition: Entries in this list
-
addEntry
Adds and returns a new value for entry ()Definition: Entries in this list
-
addEntry
Adds a given new value for entry ()Definition: Entries in this list
- Parameters:
theValue- The entry to add (must not benull)
-
getEntryFirstRep
Gets the first repetition for entry (), creating it if it does not already exist.Definition: Entries in this list
-
getEmptyReason
Gets the value(s) for emptyReason (). creating it if it does not exist. Will not returnnull.Definition: If the list is empty, why the list is empty
-
setEmptyReason
Sets the value(s) for emptyReason ()Definition: If the list is empty, why the list is empty
-
getResourceName
- Specified by:
getResourceNamein interfaceca.uhn.fhir.model.api.IResource
-
getStructureFhirVersionEnum
- Specified by:
getStructureFhirVersionEnumin interfaceorg.hl7.fhir.instance.model.api.IBaseResource- Specified by:
getStructureFhirVersionEnumin interfaceca.uhn.fhir.model.api.IResource
-