public class ListResource extends BaseResource implements ca.uhn.fhir.model.api.IResource
Definition: A set of information summarized from a list of other resources.
Requirements:
Profile Definition: http://hl7.org/fhir/profiles/List
| Modifier and Type | Class and Description |
|---|---|
static class |
ListResource.Entry
Block class for child element: List.entry ()
|
| Modifier and Type | Field and Description |
|---|---|
static ca.uhn.fhir.rest.gclient.TokenClientParam |
CODE
Fluent Client search parameter constant for code
|
static ca.uhn.fhir.rest.gclient.DateClientParam |
DATE
Fluent Client search parameter constant for date
|
static ca.uhn.fhir.rest.gclient.TokenClientParam |
EMPTY_REASON
Fluent Client search parameter constant for empty-reason
|
static ca.uhn.fhir.rest.gclient.ReferenceClientParam |
ENCOUNTER
Fluent Client search parameter constant for encounter
|
static ca.uhn.fhir.model.api.Include |
INCLUDE_ENCOUNTER
Constant for fluent queries to be used to add include statements.
|
static ca.uhn.fhir.model.api.Include |
INCLUDE_ITEM
Constant for fluent queries to be used to add include statements.
|
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_SOURCE
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.ReferenceClientParam |
ITEM
Fluent Client search parameter constant for item
|
static ca.uhn.fhir.rest.gclient.StringClientParam |
NOTES
Fluent Client search parameter constant for notes
|
static ca.uhn.fhir.rest.gclient.ReferenceClientParam |
PATIENT
Fluent Client search parameter constant for patient
|
static ca.uhn.fhir.rest.gclient.ReferenceClientParam |
SOURCE
Fluent Client search parameter constant for source
|
static String |
SP_CODE
Search parameter constant for code
|
static String |
SP_DATE
Search parameter constant for date
|
static String |
SP_EMPTY_REASON
Search parameter constant for empty-reason
|
static String |
SP_ENCOUNTER
Search parameter constant for encounter
|
static String |
SP_ITEM
Search parameter constant for item
|
static String |
SP_NOTES
Search parameter constant for notes
|
static String |
SP_PATIENT
Search parameter constant for patient
|
static String |
SP_SOURCE
Search parameter constant for source
|
static String |
SP_STATUS
Search parameter constant for status
|
static String |
SP_SUBJECT
Search parameter constant for subject
|
static String |
SP_TITLE
Search parameter constant for title
|
static ca.uhn.fhir.rest.gclient.TokenClientParam |
STATUS
Fluent Client search parameter constant for status
|
static ca.uhn.fhir.rest.gclient.ReferenceClientParam |
SUBJECT
Fluent Client search parameter constant for subject
|
static ca.uhn.fhir.rest.gclient.StringClientParam |
TITLE
Fluent Client search parameter constant for title
|
RES_ID, SP_RES_ID, SP_RES_LANGUAGE| Constructor and Description |
|---|
ListResource() |
| Modifier and Type | Method and Description |
|---|---|
ListResource.Entry |
addEntry()
Adds and returns a new value for entry ()
|
ListResource |
addEntry(ListResource.Entry theValue)
Adds a given new value for entry ()
|
IdentifierDt |
addIdentifier()
Adds and returns a new value for identifier (id)
|
ListResource |
addIdentifier(IdentifierDt theValue)
Adds a given new value for identifier (id)
|
<T extends ca.uhn.fhir.model.api.IElement> |
getAllPopulatedChildElementsOfType(Class<T> theType) |
CodeableConceptDt |
getCode()
Gets the value(s) for code (what).
|
Date |
getDate()
Gets the value(s) for date (when.recorded).
|
ca.uhn.fhir.model.primitive.DateTimeDt |
getDateElement()
Gets the value(s) for date (when.recorded).
|
CodeableConceptDt |
getEmptyReason()
Gets the value(s) for emptyReason ().
|
ResourceReferenceDt |
getEncounter()
Gets the value(s) for encounter (context).
|
List<ListResource.Entry> |
getEntry()
Gets the value(s) for entry ().
|
ListResource.Entry |
getEntryFirstRep()
Gets the first repetition for entry (),
creating it if it does not already exist.
|
List<IdentifierDt> |
getIdentifier()
Gets the value(s) for identifier (id).
|
IdentifierDt |
getIdentifierFirstRep()
Gets the first repetition for identifier (id),
creating it if it does not already exist.
|
String |
getMode()
Gets the value(s) for mode (class).
|
ca.uhn.fhir.model.primitive.BoundCodeDt<ListModeEnum> |
getModeElement()
Gets the value(s) for mode (class).
|
String |
getNote()
Gets the value(s) for note ().
|
ca.uhn.fhir.model.primitive.StringDt |
getNoteElement()
Gets the value(s) for note ().
|
BoundCodeableConceptDt<ListOrderCodesEnum> |
getOrderedBy()
Gets the value(s) for orderedBy ().
|
String |
getResourceName() |
ResourceReferenceDt |
getSource()
Gets the value(s) for source (who.author).
|
String |
getStatus()
Gets the value(s) for status (status).
|
ca.uhn.fhir.model.primitive.BoundCodeDt<ListStatusEnum> |
getStatusElement()
Gets the value(s) for status (status).
|
ca.uhn.fhir.context.FhirVersionEnum |
getStructureFhirVersionEnum() |
ResourceReferenceDt |
getSubject()
Gets the value(s) for subject (who.focus).
|
String |
getTitle()
Gets the value(s) for title ().
|
ca.uhn.fhir.model.primitive.StringDt |
getTitleElement()
Gets the value(s) for title ().
|
boolean |
isEmpty() |
ListResource |
setCode(CodeableConceptDt theValue)
Sets the value(s) for code (what)
|
ListResource |
setDate(Date theDate,
ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision)
Sets the value for date (when.recorded)
|
ListResource |
setDate(ca.uhn.fhir.model.primitive.DateTimeDt theValue)
Sets the value(s) for date (when.recorded)
|
ListResource |
setDateWithSecondsPrecision(Date theDate)
Sets the value for date (when.recorded)
|
ListResource |
setEmptyReason(CodeableConceptDt theValue)
Sets the value(s) for emptyReason ()
|
ListResource |
setEncounter(ResourceReferenceDt theValue)
Sets the value(s) for encounter (context)
|
ListResource |
setEntry(List<ListResource.Entry> theValue)
Sets the value(s) for entry ()
|
ListResource |
setIdentifier(List<IdentifierDt> theValue)
Sets the value(s) for identifier (id)
|
ListResource |
setMode(ca.uhn.fhir.model.primitive.BoundCodeDt<ListModeEnum> theValue)
Sets the value(s) for mode (class)
|
ListResource |
setMode(ListModeEnum theValue)
Sets the value(s) for mode (class)
|
ListResource |
setNote(String theString)
Sets the value for note ()
|
ListResource |
setNote(ca.uhn.fhir.model.primitive.StringDt theValue)
Sets the value(s) for note ()
|
ListResource |
setOrderedBy(BoundCodeableConceptDt<ListOrderCodesEnum> theValue)
Sets the value(s) for orderedBy ()
|
ListResource |
setOrderedBy(ListOrderCodesEnum theValue)
Sets the value(s) for orderedBy ()
|
ListResource |
setSource(ResourceReferenceDt theValue)
Sets the value(s) for source (who.author)
|
ListResource |
setStatus(ca.uhn.fhir.model.primitive.BoundCodeDt<ListStatusEnum> theValue)
Sets the value(s) for status (status)
|
ListResource |
setStatus(ListStatusEnum theValue)
Sets the value(s) for status (status)
|
ListResource |
setSubject(ResourceReferenceDt theValue)
Sets the value(s) for subject (who.focus)
|
ListResource |
setTitle(String theString)
Sets the value for title ()
|
ListResource |
setTitle(ca.uhn.fhir.model.primitive.StringDt theValue)
Sets the value(s) for title ()
|
getContained, getId, getIdElement, getLanguage, getMeta, getResourceMetadata, getText, isBaseEmpty, setContained, setId, setId, setId, setLanguage, setResourceMetadata, setText, toStringaddUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, hasFormatCommentclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final String SP_SOURCE
Description:
Type: reference
Path: List.source
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SOURCE
Description:
Type: reference
Path: List.source
public static final String SP_ITEM
Description:
Type: reference
Path: List.entry.item
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ITEM
Description:
Type: reference
Path: List.entry.item
public static final String SP_EMPTY_REASON
Description:
Type: token
Path: List.emptyReason
public static final ca.uhn.fhir.rest.gclient.TokenClientParam EMPTY_REASON
Description:
Type: token
Path: List.emptyReason
public static final String SP_DATE
Description:
Type: date
Path: List.date
public static final ca.uhn.fhir.rest.gclient.DateClientParam DATE
Description:
Type: date
Path: List.date
public static final String SP_CODE
Description:
Type: token
Path: List.code
public static final ca.uhn.fhir.rest.gclient.TokenClientParam CODE
Description:
Type: token
Path: List.code
public static final String SP_SUBJECT
Description:
Type: reference
Path: List.subject
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SUBJECT
Description:
Type: reference
Path: List.subject
public static final String SP_PATIENT
Description:
Type: reference
Path: List.subject
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT
Description:
Type: reference
Path: List.subject
public static final String SP_STATUS
Description:
Type: token
Path: List.status
public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS
Description:
Type: token
Path: List.status
public static final String SP_TITLE
Description:
Type: string
Path: List.title
public static final ca.uhn.fhir.rest.gclient.StringClientParam TITLE
Description:
Type: string
Path: List.title
public static final String SP_NOTES
Description:
Type: string
Path: List.note
public static final ca.uhn.fhir.rest.gclient.StringClientParam NOTES
Description:
Type: string
Path: List.note
public static final String SP_ENCOUNTER
Description:
Type: reference
Path: List.encounter
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ENCOUNTER
Description:
Type: reference
Path: List.encounter
public static final ca.uhn.fhir.model.api.Include INCLUDE_ENCOUNTER
public static final ca.uhn.fhir.model.api.Include INCLUDE_ITEM
public static final ca.uhn.fhir.model.api.Include INCLUDE_PATIENT
public static final ca.uhn.fhir.model.api.Include INCLUDE_SOURCE
public static final ca.uhn.fhir.model.api.Include INCLUDE_SUBJECT
public ListResource()
public boolean isEmpty()
isEmpty in interface org.hl7.fhir.instance.model.api.IBasepublic <T extends ca.uhn.fhir.model.api.IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
getAllPopulatedChildElementsOfType in interface ca.uhn.fhir.model.api.ICompositeElementpublic List<IdentifierDt> getIdentifier()
null.
Definition: Identifier for the List assigned for business purposes outside the context of FHIR.
public ListResource setIdentifier(List<IdentifierDt> theValue)
Definition: Identifier for the List assigned for business purposes outside the context of FHIR.
public IdentifierDt addIdentifier()
Definition: Identifier for the List assigned for business purposes outside the context of FHIR.
public ListResource addIdentifier(IdentifierDt theValue)
Definition: Identifier for the List assigned for business purposes outside the context of FHIR.
theValue - The identifier to add (must not be null)public IdentifierDt getIdentifierFirstRep()
Definition: Identifier for the List assigned for business purposes outside the context of FHIR.
public ca.uhn.fhir.model.primitive.StringDt getTitleElement()
null.
Definition: A label for the list assigned by the author
public String getTitle()
null.
Definition: A label for the list assigned by the author
public ListResource setTitle(ca.uhn.fhir.model.primitive.StringDt theValue)
Definition: A label for the list assigned by the author
public ListResource setTitle(String theString)
Definition: A label for the list assigned by the author
public CodeableConceptDt getCode()
null.
Definition: This code defines the purpose of the list - why it was created
public ListResource setCode(CodeableConceptDt theValue)
Definition: This code defines the purpose of the list - why it was created
public ResourceReferenceDt getSubject()
null.
Definition: The common subject (or patient) of the resources that are in the list, if there is one
public ListResource setSubject(ResourceReferenceDt theValue)
Definition: The common subject (or patient) of the resources that are in the list, if there is one
public ResourceReferenceDt getSource()
null.
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
public ListResource setSource(ResourceReferenceDt theValue)
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
public ResourceReferenceDt getEncounter()
null.
Definition: The encounter that is the context in which this list was created
public ListResource setEncounter(ResourceReferenceDt theValue)
Definition: The encounter that is the context in which this list was created
public ca.uhn.fhir.model.primitive.BoundCodeDt<ListStatusEnum> getStatusElement()
null.
Definition: Indicates the current state of this list
public String getStatus()
null.
Definition: Indicates the current state of this list
public ListResource setStatus(ca.uhn.fhir.model.primitive.BoundCodeDt<ListStatusEnum> theValue)
Definition: Indicates the current state of this list
public ListResource setStatus(ListStatusEnum theValue)
Definition: Indicates the current state of this list
public ca.uhn.fhir.model.primitive.DateTimeDt getDateElement()
null.
Definition: The date that the list was prepared
public Date getDate()
null.
Definition: The date that the list was prepared
public ListResource setDate(ca.uhn.fhir.model.primitive.DateTimeDt theValue)
Definition: The date that the list was prepared
public ListResource setDateWithSecondsPrecision(Date theDate)
Definition: The date that the list was prepared
public ListResource setDate(Date theDate, ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision)
Definition: The date that the list was prepared
public BoundCodeableConceptDt<ListOrderCodesEnum> getOrderedBy()
null.
Definition: What order applies to the items in the list
public ListResource setOrderedBy(BoundCodeableConceptDt<ListOrderCodesEnum> theValue)
Definition: What order applies to the items in the list
public ListResource setOrderedBy(ListOrderCodesEnum theValue)
Definition: What order applies to the items in the list
public ca.uhn.fhir.model.primitive.BoundCodeDt<ListModeEnum> getModeElement()
null.
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
public String getMode()
null.
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
public ListResource setMode(ca.uhn.fhir.model.primitive.BoundCodeDt<ListModeEnum> theValue)
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
public ListResource setMode(ListModeEnum theValue)
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
public ca.uhn.fhir.model.primitive.StringDt getNoteElement()
null.
Definition: Comments that apply to the overall list
public String getNote()
null.
Definition: Comments that apply to the overall list
public ListResource setNote(ca.uhn.fhir.model.primitive.StringDt theValue)
Definition: Comments that apply to the overall list
public ListResource setNote(String theString)
Definition: Comments that apply to the overall list
public List<ListResource.Entry> getEntry()
null.
Definition: Entries in this list
public ListResource setEntry(List<ListResource.Entry> theValue)
Definition: Entries in this list
public ListResource.Entry addEntry()
Definition: Entries in this list
public ListResource addEntry(ListResource.Entry theValue)
Definition: Entries in this list
theValue - The entry to add (must not be null)public ListResource.Entry getEntryFirstRep()
Definition: Entries in this list
public CodeableConceptDt getEmptyReason()
null.
Definition: If the list is empty, why the list is empty
public ListResource setEmptyReason(CodeableConceptDt theValue)
Definition: If the list is empty, why the list is empty
public String getResourceName()
getResourceName in interface ca.uhn.fhir.model.api.IResourcepublic ca.uhn.fhir.context.FhirVersionEnum getStructureFhirVersionEnum()
getStructureFhirVersionEnum in interface ca.uhn.fhir.model.api.IResourcegetStructureFhirVersionEnum in interface org.hl7.fhir.instance.model.api.IBaseResourceCopyright © 2014–2018 University Health Network. All rights reserved.