Package ca.uhn.fhir.model.dstu2.resource
Class Encounter.Participant
- java.lang.Object
-
- ca.uhn.fhir.model.api.BaseElement
-
- ca.uhn.fhir.model.api.BaseIdentifiableElement
-
- ca.uhn.fhir.model.dstu2.resource.Encounter.Participant
-
- 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:
- Encounter
public static class Encounter.Participant extends ca.uhn.fhir.model.api.BaseIdentifiableElement implements ca.uhn.fhir.model.api.IResourceBlock
Block class for child element: Encounter.participant ()Definition: The list of people responsible for providing the service
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Participant()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BoundCodeableConceptDt<ParticipantTypeEnum>addType()Add a value for type ()BoundCodeableConceptDt<ParticipantTypeEnum>addType(ParticipantTypeEnum theValue)Add a value for type () using an enumerated type.<T extends ca.uhn.fhir.model.api.IElement>
List<T>getAllPopulatedChildElementsOfType(Class<T> theType)ResourceReferenceDtgetIndividual()Gets the value(s) for individual (who).PeriodDtgetPeriod()Gets the value(s) for period ().List<BoundCodeableConceptDt<ParticipantTypeEnum>>getType()Gets the value(s) for type ().BoundCodeableConceptDt<ParticipantTypeEnum>getTypeFirstRep()Gets the first repetition for type (), creating it if it does not already exist.booleanisEmpty()Encounter.ParticipantsetIndividual(ResourceReferenceDt theValue)Sets the value(s) for individual (who)Encounter.ParticipantsetPeriod(PeriodDt theValue)Sets the value(s) for period ()Encounter.ParticipantsetType(ParticipantTypeEnum theValue)Sets the value(s), and clears any existing value(s) for type ()Encounter.ParticipantsetType(List<BoundCodeableConceptDt<ParticipantTypeEnum>> theValue)Sets the value(s) for type ()-
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
-
Participant
public Participant()
-
-
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
-
getType
public List<BoundCodeableConceptDt<ParticipantTypeEnum>> getType()
Gets the value(s) for type (). creating it if it does not exist. Will not returnnull.Definition: Role of participant in encounter
-
setType
public Encounter.Participant setType(List<BoundCodeableConceptDt<ParticipantTypeEnum>> theValue)
Sets the value(s) for type ()Definition: Role of participant in encounter
-
addType
public BoundCodeableConceptDt<ParticipantTypeEnum> addType(ParticipantTypeEnum theValue)
Add a value for type () using an enumerated type. This is intended as a convenience method for situations where the FHIR defined ValueSets are mandatory or contain the desirable codes. If you wish to use codes other than those which are built-in, you may also use theaddType()method.Definition: Role of participant in encounter
-
getTypeFirstRep
public BoundCodeableConceptDt<ParticipantTypeEnum> getTypeFirstRep()
Gets the first repetition for type (), creating it if it does not already exist.Definition: Role of participant in encounter
-
addType
public BoundCodeableConceptDt<ParticipantTypeEnum> addType()
Add a value for type ()Definition: Role of participant in encounter
-
setType
public Encounter.Participant setType(ParticipantTypeEnum theValue)
Sets the value(s), and clears any existing value(s) for type ()Definition: Role of participant in encounter
-
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 that the specified participant was present during the encounter. These can overlap or be sub-sets of the overall encounters period
-
setPeriod
public Encounter.Participant setPeriod(PeriodDt theValue)
Sets the value(s) for period ()Definition: The period of time that the specified participant was present during the encounter. These can overlap or be sub-sets of the overall encounters period
-
getIndividual
public ResourceReferenceDt getIndividual()
Gets the value(s) for individual (who). creating it if it does not exist. Will not returnnull.Definition:
-
setIndividual
public Encounter.Participant setIndividual(ResourceReferenceDt theValue)
Sets the value(s) for individual (who)Definition:
-
-