public class ListResource extends BaseResource implements 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 (Entries in the list)
|
| Modifier and Type | Field and Description |
|---|---|
static TokenClientParam |
CODE
Fluent Client search parameter constant for code
|
static DateClientParam |
DATE
Fluent Client search parameter constant for date
|
static TokenClientParam |
EMPTY_REASON
Fluent Client search parameter constant for empty-reason
|
static Include |
INCLUDE_ENTRY_ITEM
Constant for fluent queries to be used to add include statements.
|
static Include |
INCLUDE_SOURCE
Constant for fluent queries to be used to add include statements.
|
static Include |
INCLUDE_SUBJECT
Constant for fluent queries to be used to add include statements.
|
static ReferenceClientParam |
ITEM
Fluent Client search parameter constant for item
|
static 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_ITEM
Search parameter constant for item
|
static String |
SP_SOURCE
Search parameter constant for source
|
static String |
SP_SUBJECT
Search parameter constant for subject
|
static ReferenceClientParam |
SUBJECT
Fluent Client search parameter constant for subject
|
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 (Entries in the list)
|
IdentifierDt |
addIdentifier()
Adds and returns a new value for identifier (Business identifier)
|
ListResource |
addIdentifier(IdentifierUseEnum theUse,
String theSystem,
String theValue,
String theLabel)
Adds a new value for identifier (Business identifier)
|
ListResource |
addIdentifier(String theSystem,
String theValue)
Adds a new value for identifier (Business identifier)
|
<T extends IElement> |
getAllPopulatedChildElementsOfType(Class<T> theType)
Returns a list containing all child elements matching a given type
|
CodeableConceptDt |
getCode()
Gets the value(s) for code (What the purpose of this list is).
|
DateTimeDt |
getDate()
Gets the value(s) for date (When the list was prepared).
|
CodeableConceptDt |
getEmptyReason()
Gets the value(s) for emptyReason (Why list is empty).
|
List<ListResource.Entry> |
getEntry()
Gets the value(s) for entry (Entries in the list).
|
ListResource.Entry |
getEntryFirstRep()
Gets the first repetition for entry (Entries in the list),
creating it if it does not already exist.
|
List<IdentifierDt> |
getIdentifier()
Gets the value(s) for identifier (Business identifier).
|
IdentifierDt |
getIdentifierFirstRep()
Gets the first repetition for identifier (Business identifier),
creating it if it does not already exist.
|
BoundCodeDt<ListModeEnum> |
getMode()
Gets the value(s) for mode (working | snapshot | changes).
|
BooleanDt |
getOrdered()
Gets the value(s) for ordered (Whether items in the list have a meaningful order).
|
ResourceReferenceDt |
getSource()
Gets the value(s) for source (Who and/or what defined the list contents).
|
ResourceReferenceDt |
getSubject()
Gets the value(s) for subject (If all resources have the same subject).
|
boolean |
isEmpty() |
ListResource |
setCode(CodeableConceptDt theValue)
Sets the value(s) for code (What the purpose of this list is)
|
ListResource |
setDate(Date theDate,
TemporalPrecisionEnum thePrecision)
Sets the value for date (When the list was prepared)
|
ListResource |
setDate(DateTimeDt theValue)
Sets the value(s) for date (When the list was prepared)
|
ListResource |
setDateWithSecondsPrecision(Date theDate)
Sets the value for date (When the list was prepared)
|
ListResource |
setEmptyReason(CodeableConceptDt theValue)
Sets the value(s) for emptyReason (Why list is empty)
|
ListResource |
setEntry(List<ListResource.Entry> theValue)
Sets the value(s) for entry (Entries in the list)
|
ListResource |
setIdentifier(List<IdentifierDt> theValue)
Sets the value(s) for identifier (Business identifier)
|
ListResource |
setMode(BoundCodeDt<ListModeEnum> theValue)
Sets the value(s) for mode (working | snapshot | changes)
|
ListResource |
setMode(ListModeEnum theValue)
Sets the value(s) for mode (working | snapshot | changes)
|
ListResource |
setOrdered(boolean theBoolean)
Sets the value for ordered (Whether items in the list have a meaningful order)
|
ListResource |
setOrdered(BooleanDt theValue)
Sets the value(s) for ordered (Whether items in the list have a meaningful order)
|
ListResource |
setSource(ResourceReferenceDt theValue)
Sets the value(s) for source (Who and/or what defined the list contents)
|
ListResource |
setSubject(ResourceReferenceDt theValue)
Sets the value(s) for subject (If all resources have the same subject)
|
getContained, getId, getLanguage, getResourceMetadata, getText, isBaseEmpty, setContained, setId, setId, setLanguage, setResourceMetadata, setText, toStringaddUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensionsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetContained, getId, getLanguage, getResourceMetadata, getText, setId, setLanguage, setResourceMetadatapublic static final String SP_SOURCE
Description:
Type: reference
Path: List.source
public static final ReferenceClientParam SOURCE
Description:
Type: reference
Path: List.source
public static final Include INCLUDE_SOURCE
public static final String SP_ITEM
Description:
Type: reference
Path: List.entry.item
public static final ReferenceClientParam ITEM
Description:
Type: reference
Path: List.entry.item
public static final Include INCLUDE_ENTRY_ITEM
public static final String SP_EMPTY_REASON
Description:
Type: token
Path: List.emptyReason
public static final TokenClientParam EMPTY_REASON
Description:
Type: token
Path: List.emptyReason
public static final String SP_DATE
Description:
Type: date
Path: List.date
public static final DateClientParam DATE
Description:
Type: date
Path: List.date
public static final String SP_CODE
Description:
Type: token
Path: List.code
public static final TokenClientParam CODE
Description:
Type: token
Path: List.code
public static final String SP_SUBJECT
Description:
Type: reference
Path: List.subject
public static final ReferenceClientParam SUBJECT
Description:
Type: reference
Path: List.subject
public static final Include INCLUDE_SUBJECT
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
ICompositeElementgetAllPopulatedChildElementsOfType in interface ICompositeElementtheType - The type to match. If set to null, all child elements will be returnedpublic 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 IdentifierDt getIdentifierFirstRep()
Definition: Identifier for the List assigned for business purposes outside the context of FHIR.
public ListResource addIdentifier(IdentifierUseEnum theUse, String theSystem, String theValue, String theLabel)
Definition: Identifier for the List assigned for business purposes outside the context of FHIR.
public ListResource addIdentifier(String theSystem, String theValue)
Definition: Identifier for the List assigned for business purposes outside the context of FHIR.
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
public ListResource setSource(ResourceReferenceDt theValue)
Definition: The entity responsible for deciding what the contents of the list were
public DateTimeDt getDate()
null.
Definition: The date that the list was prepared
public ListResource setDate(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, TemporalPrecisionEnum thePrecision)
Definition: The date that the list was prepared
public BooleanDt getOrdered()
null.
Definition: Whether items in the list have a meaningful order
public ListResource setOrdered(BooleanDt theValue)
Definition: Whether items in the list have a meaningful order
public ListResource setOrdered(boolean theBoolean)
Definition: Whether items in the list have a meaningful order
public BoundCodeDt<ListModeEnum> 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(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 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.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
Copyright © 2014 University Health Network. All rights reserved.