Class Composition.Event
- java.lang.Object
-
- ca.uhn.fhir.model.api.BaseElement
-
- ca.uhn.fhir.model.api.BaseIdentifiableElement
-
- ca.uhn.fhir.model.dstu2.resource.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
public static class Composition.Event extends ca.uhn.fhir.model.api.BaseIdentifiableElement implements ca.uhn.fhir.model.api.IResourceBlock
Block class for child element: Composition.event ()Definition: The clinical service, such as a colonoscopy or an appendectomy, being documented
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Event()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CodeableConceptDtaddCode()Adds and returns a new value for code ()Composition.EventaddCode(CodeableConceptDt theValue)Adds a given new value for code ()ResourceReferenceDtaddDetail()Adds and returns a new value for detail ()<T extends ca.uhn.fhir.model.api.IElement>
List<T>getAllPopulatedChildElementsOfType(Class<T> theType)List<CodeableConceptDt>getCode()Gets the value(s) for code ().CodeableConceptDtgetCodeFirstRep()Gets the first repetition for code (), creating it if it does not already exist.List<ResourceReferenceDt>getDetail()Gets the value(s) for detail ().PeriodDtgetPeriod()Gets the value(s) for period ().booleanisEmpty()Composition.EventsetCode(List<CodeableConceptDt> theValue)Sets the value(s) for code ()Composition.EventsetDetail(List<ResourceReferenceDt> theValue)Sets the value(s) for detail ()Composition.EventsetPeriod(PeriodDt theValue)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
-
-
-
-
Constructor Detail
-
Event
public Event()
-
-
Method Detail
-
isEmpty
public boolean 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
-
getCode
public List<CodeableConceptDt> 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
public Composition.Event setCode(List<CodeableConceptDt> theValue)
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
public CodeableConceptDt 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
public Composition.Event addCode(CodeableConceptDt theValue)
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
public CodeableConceptDt 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
public PeriodDt 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
public Composition.Event setPeriod(PeriodDt theValue)
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
public List<ResourceReferenceDt> 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
public Composition.Event setDetail(List<ResourceReferenceDt> theValue)
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
public ResourceReferenceDt 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
-
-