Class Composition.Event
- All Implemented Interfaces:
ca.uhn.fhir.model.api.ICompositeElement
,ca.uhn.fhir.model.api.IElement
,ca.uhn.fhir.model.api.IIdentifiableElement
,ca.uhn.fhir.model.api.IResourceBlock
,ca.uhn.fhir.model.api.ISupportsUndeclaredExtensions
,Serializable
,org.hl7.fhir.instance.model.api.IBase
- Enclosing class:
Composition
Definition: The clinical service, such as a colonoscopy or an appendectomy, being documented
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddCode()
Adds and returns a new value for code ()addCode
(CodeableConceptDt theValue) Adds a given new value for code ()Adds and returns a new value for detail ()<T extends ca.uhn.fhir.model.api.IElement>
List<T> getAllPopulatedChildElementsOfType
(Class<T> theType) getCode()
Gets the value(s) for code ().Gets the first repetition for code (), creating it if it does not already exist.Gets the value(s) for detail ().Gets the value(s) for period ().boolean
isEmpty()
setCode
(List<CodeableConceptDt> theValue) Sets the value(s) for code ()setDetail
(List<ResourceReferenceDt> theValue) Sets the value(s) for detail ()Sets the value(s) for period ()Methods inherited from class ca.uhn.fhir.model.api.BaseIdentifiableElement
getElementSpecificId, getId, setElementSpecificId, setId, setId
Methods inherited from class ca.uhn.fhir.model.api.BaseElement
addUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, getUserData, hasFormatComment, isBaseEmpty, setUserData
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.IBase
fhirType, getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserData
Methods inherited from interface ca.uhn.fhir.model.api.IIdentifiableElement
getElementSpecificId, getId, setElementSpecificId, setId, setId
-
Constructor Details
-
Event
public Event()
-
-
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
-
getCode
Gets the value(s) for code (). creating it if it does not exist. Will not returnnull
.Definition: This list of codes represents the main clinical acts, such as a colonoscopy or an appendectomy, being documented. In some cases, the event is inherent in the typeCode, such as a \"History and Physical Report\" in which the procedure being documented is necessarily a \"History and Physical\" act.
-
setCode
Sets the value(s) for code ()Definition: This list of codes represents the main clinical acts, such as a colonoscopy or an appendectomy, being documented. In some cases, the event is inherent in the typeCode, such as a \"History and Physical Report\" in which the procedure being documented is necessarily a \"History and Physical\" act.
-
addCode
Adds and returns a new value for code ()Definition: This list of codes represents the main clinical acts, such as a colonoscopy or an appendectomy, being documented. In some cases, the event is inherent in the typeCode, such as a \"History and Physical Report\" in which the procedure being documented is necessarily a \"History and Physical\" act.
-
addCode
Adds a given new value for code ()Definition: This list of codes represents the main clinical acts, such as a colonoscopy or an appendectomy, being documented. In some cases, the event is inherent in the typeCode, such as a \"History and Physical Report\" in which the procedure being documented is necessarily a \"History and Physical\" act.
- Parameters:
theValue
- The code to add (must not benull
)
-
getCodeFirstRep
Gets the first repetition for code (), creating it if it does not already exist.Definition: This list of codes represents the main clinical acts, such as a colonoscopy or an appendectomy, being documented. In some cases, the event is inherent in the typeCode, such as a \"History and Physical Report\" in which the procedure being documented is necessarily a \"History and Physical\" act.
-
getPeriod
Gets the value(s) for period (). creating it if it does not exist. Will not returnnull
.Definition: The period of time covered by the documentation. There is no assertion that the documentation is a complete representation for this period, only that it documents events during this time
-
setPeriod
Sets the value(s) for period ()Definition: The period of time covered by the documentation. There is no assertion that the documentation is a complete representation for this period, only that it documents events during this time
-
getDetail
Gets the value(s) for detail (). creating it if it does not exist. Will not returnnull
.Definition: The description and/or reference of the event(s) being documented. For example, this could be used to document such a colonoscopy or an appendectomy
-
setDetail
Sets the value(s) for detail ()Definition: The description and/or reference of the event(s) being documented. For example, this could be used to document such a colonoscopy or an appendectomy
-
addDetail
Adds and returns a new value for detail ()Definition: The description and/or reference of the event(s) being documented. For example, this could be used to document such a colonoscopy or an appendectomy
-