Package org.hl7.fhir.dstu2.model
Class List_
- 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
A set of information summarized from a list of other resources.
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static enum
static class
static enum
static class
-
Field Summary
Modifier and TypeFieldDescriptionprotected CodeableConcept
This code defines the purpose of the list - why it was created.protected DateTimeType
The date that the list was prepared.protected CodeableConcept
If the list is empty, why the list is empty.protected Reference
The encounter that is the context in which this list was created.protected Encounter
The actual object that is the target of the reference (The encounter that is the context in which this list was created.)protected List
<List_.ListEntryComponent> Entries in this list.protected List
<Identifier> Identifier for the List assigned for business purposes outside the context of FHIR.protected Enumeration
<List_.ListMode> 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.protected StringType
Comments that apply to the overall list.protected CodeableConcept
What order applies to the items in the list.protected Reference
The entity responsible for deciding what the contents of the list were.protected Resource
The actual object that is the target of the reference (The entity responsible for deciding what the contents of the list were.static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
protected Enumeration
<List_.ListStatus> Indicates the current state of this list.protected Reference
The common subject (or patient) of the resources that are in the list, if there is one.protected Resource
The actual object that is the target of the reference (The common subject (or patient) of the resources that are in the list, if there is one.)protected StringType
A label for the list assigned by the author.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
ConstructorDescriptionList_()
List_
(Enumeration<List_.ListStatus> status, Enumeration<List_.ListMode> mode) -
Method Summary
Modifier and TypeMethodDescriptionaddEntry()
copy()
boolean
equalsDeep
(Base other) boolean
equalsShallow
(Base other) fhirType()
getCode()
getDate()
getEntry()
getMode()
getNote()
getTitle()
boolean
hasCode()
boolean
hasDate()
boolean
boolean
boolean
boolean
hasEntry()
boolean
boolean
hasMode()
boolean
boolean
hasNote()
boolean
boolean
boolean
boolean
boolean
boolean
boolean
hasTitle()
boolean
boolean
isEmpty()
protected void
listChildren
(List<Property> childrenList) setCode
(CodeableConcept value) setDateElement
(DateTimeType value) setEmptyReason
(CodeableConcept value) setEncounter
(Reference value) setEncounterTarget
(Encounter value) setMode
(List_.ListMode value) setModeElement
(Enumeration<List_.ListMode> value) setNoteElement
(StringType value) setOrderedBy
(CodeableConcept value) void
setProperty
(String name, Base value) setSourceTarget
(Resource value) setStatus
(List_.ListStatus value) setSubject
(Reference value) setSubjectTarget
(Resource value) setTitleElement
(StringType value) protected List_
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 for the List assigned for business purposes outside the context of FHIR. -
title
A label for the list assigned by the author. -
code
This code defines the purpose of the list - why it was created. -
subject
The common subject (or patient) of the resources that are in the list, if there is one. -
subjectTarget
The actual object that is the target of the reference (The common subject (or patient) of the resources that are in the list, if there is one.) -
source
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. -
sourceTarget
The actual object that is the target of the reference (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.) -
encounter
The encounter that is the context in which this list was created. -
encounterTarget
The actual object that is the target of the reference (The encounter that is the context in which this list was created.) -
status
Indicates the current state of this list. -
date
The date that the list was prepared. -
orderedBy
What order applies to the items in the list. -
mode
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. -
note
Comments that apply to the overall list. -
entry
Entries in this list. -
emptyReason
If the list is empty, why the list is empty. -
SP_DATE
- See Also:
-
SP_ITEM
- See Also:
-
SP_EMPTYREASON
- See Also:
-
SP_CODE
- See Also:
-
SP_NOTES
- See Also:
-
SP_SUBJECT
- See Also:
-
SP_PATIENT
- See Also:
-
SP_SOURCE
- See Also:
-
SP_ENCOUNTER
- See Also:
-
SP_TITLE
- See Also:
-
SP_STATUS
- See Also:
-
-
Constructor Details
-
List_
public List_() -
List_
-
-
Method Details
-
getIdentifier
- Returns:
identifier
(Identifier for the List assigned for business purposes outside the context of FHIR.)
-
hasIdentifier
-
addIdentifier
- Returns:
identifier
(Identifier for the List assigned for business purposes outside the context of FHIR.)
-
addIdentifier
-
getTitleElement
- Returns:
title
(A label for the list assigned by the author.). This is the underlying object with id, value and extensions. The accessor "getTitle" gives direct access to the value
-
hasTitleElement
-
hasTitle
-
setTitleElement
- Parameters:
value
-title
(A label for the list assigned by the author.). This is the underlying object with id, value and extensions. The accessor "getTitle" gives direct access to the value
-
getTitle
- Returns:
- A label for the list assigned by the author.
-
setTitle
- Parameters:
value
- A label for the list assigned by the author.
-
getCode
- Returns:
code
(This code defines the purpose of the list - why it was created.)
-
hasCode
-
setCode
- Parameters:
value
-code
(This code defines the purpose of the list - why it was created.)
-
getSubject
- Returns:
subject
(The common subject (or patient) of the resources that are in the list, if there is one.)
-
hasSubject
-
setSubject
- Parameters:
value
-subject
(The common subject (or patient) of the resources that are in the list, if there is one.)
-
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 common subject (or patient) of the resources that are in the list, if there is one.)
-
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 common subject (or patient) of the resources that are in the list, if there is one.)
-
getSource
- Returns:
source
(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.)
-
hasSource
-
setSource
- Parameters:
value
-source
(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.)
-
getSourceTarget
- Returns:
source
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 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.)
-
setSourceTarget
- Parameters:
value
-source
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 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
- Returns:
encounter
(The encounter that is the context in which this list was created.)
-
hasEncounter
-
setEncounter
- Parameters:
value
-encounter
(The encounter that is the context in which this list was created.)
-
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. (The encounter that is the context in which this list was created.)
-
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. (The encounter that is the context in which this list was created.)
-
getStatusElement
- Returns:
status
(Indicates the current state of this list.). 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
(Indicates the current state of this list.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value
-
getStatus
- Returns:
- Indicates the current state of this list.
-
setStatus
- Parameters:
value
- Indicates the current state of this list.
-
getDateElement
- Returns:
date
(The date that the list was prepared.). This is the underlying object with id, value and extensions. The accessor "getDate" gives direct access to the value
-
hasDateElement
-
hasDate
-
setDateElement
- Parameters:
value
-date
(The date that the list was prepared.). This is the underlying object with id, value and extensions. The accessor "getDate" gives direct access to the value
-
getDate
- Returns:
- The date that the list was prepared.
-
setDate
- Parameters:
value
- The date that the list was prepared.
-
getOrderedBy
- Returns:
orderedBy
(What order applies to the items in the list.)
-
hasOrderedBy
-
setOrderedBy
- Parameters:
value
-orderedBy
(What order applies to the items in the list.)
-
getModeElement
- Returns:
mode
(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.). This is the underlying object with id, value and extensions. The accessor "getMode" gives direct access to the value
-
hasModeElement
-
hasMode
-
setModeElement
- Parameters:
value
-mode
(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.). This is the underlying object with id, value and extensions. The accessor "getMode" gives direct access to the value
-
getMode
- Returns:
- 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
- Parameters:
value
- 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
- Returns:
note
(Comments that apply to the overall list.). This is the underlying object with id, value and extensions. The accessor "getNote" gives direct access to the value
-
hasNoteElement
-
hasNote
-
setNoteElement
- Parameters:
value
-note
(Comments that apply to the overall list.). This is the underlying object with id, value and extensions. The accessor "getNote" gives direct access to the value
-
getNote
- Returns:
- Comments that apply to the overall list.
-
setNote
- Parameters:
value
- Comments that apply to the overall list.
-
getEntry
- Returns:
entry
(Entries in this list.)
-
hasEntry
-
addEntry
- Returns:
entry
(Entries in this list.)
-
addEntry
-
getEmptyReason
- Returns:
emptyReason
(If the list is empty, why the list is empty.)
-
hasEmptyReason
-
setEmptyReason
- Parameters:
value
-emptyReason
(If the list is empty, why the list is empty.)
-
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
-