Class Encounter
- java.lang.Object
-
- ca.uhn.fhir.model.api.BaseElement
-
- ca.uhn.fhir.model.dstu2.resource.BaseResource
-
- ca.uhn.fhir.model.dstu2.resource.Encounter
-
- All Implemented Interfaces:
ca.uhn.fhir.model.api.ICompositeElement,ca.uhn.fhir.model.api.IElement,ca.uhn.fhir.model.api.IResource,ca.uhn.fhir.model.api.ISupportsUndeclaredExtensions,Serializable,org.hl7.fhir.instance.model.api.IBase,org.hl7.fhir.instance.model.api.IBaseResource
public class Encounter extends BaseResource implements ca.uhn.fhir.model.api.IResource
HAPI/FHIR Encounter Resource (workflow.encounter)Definition: An interaction between a patient and healthcare provider(s) for the purpose of providing healthcare service(s) or assessing the health status of a patient.
Requirements:
Profile Definition: http://hl7.org/fhir/profiles/Encounter
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEncounter.HospitalizationBlock class for child element: Encounter.hospitalization ()static classEncounter.LocationBlock class for child element: Encounter.location ()static classEncounter.ParticipantBlock class for child element: Encounter.participant ()static classEncounter.StatusHistoryBlock class for child element: Encounter.statusHistory ()
-
Field Summary
Fields Modifier and Type Field Description static ca.uhn.fhir.rest.gclient.ReferenceClientParamAPPOINTMENTFluent Client search parameter constant for appointmentstatic ca.uhn.fhir.rest.gclient.ReferenceClientParamCONDITIONFluent Client search parameter constant for conditionstatic ca.uhn.fhir.rest.gclient.DateClientParamDATEFluent Client search parameter constant for datestatic ca.uhn.fhir.rest.gclient.ReferenceClientParamEPISODEOFCAREFluent Client search parameter constant for episodeofcarestatic ca.uhn.fhir.rest.gclient.TokenClientParamIDENTIFIERFluent Client search parameter constant for identifierstatic ca.uhn.fhir.model.api.IncludeINCLUDE_APPOINTMENTConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.IncludeINCLUDE_CONDITIONConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.IncludeINCLUDE_EPISODEOFCAREConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.IncludeINCLUDE_INCOMINGREFERRALConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.IncludeINCLUDE_INDICATIONConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.IncludeINCLUDE_LOCATIONConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.IncludeINCLUDE_PART_OFConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.IncludeINCLUDE_PARTICIPANTConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.IncludeINCLUDE_PATIENTConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.IncludeINCLUDE_PRACTITIONERConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.IncludeINCLUDE_PROCEDUREConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.rest.gclient.ReferenceClientParamINCOMINGREFERRALFluent Client search parameter constant for incomingreferralstatic ca.uhn.fhir.rest.gclient.ReferenceClientParamINDICATIONFluent Client search parameter constant for indicationstatic ca.uhn.fhir.rest.gclient.NumberClientParamLENGTHFluent Client search parameter constant for lengthstatic ca.uhn.fhir.rest.gclient.ReferenceClientParamLOCATIONFluent Client search parameter constant for locationstatic ca.uhn.fhir.rest.gclient.DateClientParamLOCATION_PERIODFluent Client search parameter constant for location-periodstatic ca.uhn.fhir.rest.gclient.ReferenceClientParamPART_OFFluent Client search parameter constant for part-ofstatic ca.uhn.fhir.rest.gclient.ReferenceClientParamPARTICIPANTFluent Client search parameter constant for participantstatic ca.uhn.fhir.rest.gclient.TokenClientParamPARTICIPANT_TYPEFluent Client search parameter constant for participant-typestatic ca.uhn.fhir.rest.gclient.ReferenceClientParamPATIENTFluent Client search parameter constant for patientstatic ca.uhn.fhir.rest.gclient.ReferenceClientParamPRACTITIONERFluent Client search parameter constant for practitionerstatic ca.uhn.fhir.rest.gclient.ReferenceClientParamPROCEDUREFluent Client search parameter constant for procedurestatic ca.uhn.fhir.rest.gclient.TokenClientParamREASONFluent Client search parameter constant for reasonstatic StringSP_APPOINTMENTSearch parameter constant for appointmentstatic StringSP_CONDITIONSearch parameter constant for conditionstatic StringSP_DATESearch parameter constant for datestatic StringSP_EPISODEOFCARESearch parameter constant for episodeofcarestatic StringSP_IDENTIFIERSearch parameter constant for identifierstatic StringSP_INCOMINGREFERRALSearch parameter constant for incomingreferralstatic StringSP_INDICATIONSearch parameter constant for indicationstatic StringSP_LENGTHSearch parameter constant for lengthstatic StringSP_LOCATIONSearch parameter constant for locationstatic StringSP_LOCATION_PERIODSearch parameter constant for location-periodstatic StringSP_PART_OFSearch parameter constant for part-ofstatic StringSP_PARTICIPANTSearch parameter constant for participantstatic StringSP_PARTICIPANT_TYPESearch parameter constant for participant-typestatic StringSP_PATIENTSearch parameter constant for patientstatic StringSP_PRACTITIONERSearch parameter constant for practitionerstatic StringSP_PROCEDURESearch parameter constant for procedurestatic StringSP_REASONSearch parameter constant for reasonstatic StringSP_SPECIAL_ARRANGEMENTSearch parameter constant for special-arrangementstatic StringSP_STATUSSearch parameter constant for statusstatic StringSP_TYPESearch parameter constant for typestatic ca.uhn.fhir.rest.gclient.TokenClientParamSPECIAL_ARRANGEMENTFluent Client search parameter constant for special-arrangementstatic ca.uhn.fhir.rest.gclient.TokenClientParamSTATUSFluent Client search parameter constant for statusstatic ca.uhn.fhir.rest.gclient.TokenClientParamTYPEFluent Client search parameter constant for type-
Fields inherited from class ca.uhn.fhir.model.dstu2.resource.BaseResource
RES_ID, SP_RES_ID, SP_RES_LANGUAGE
-
-
Constructor Summary
Constructors Constructor Description Encounter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourceReferenceDtaddEpisodeOfCare()Adds and returns a new value for episodeOfCare (context)IdentifierDtaddIdentifier()Adds and returns a new value for identifier (id)EncounteraddIdentifier(IdentifierDt theValue)Adds a given new value for identifier (id)ResourceReferenceDtaddIncomingReferral()Adds and returns a new value for incomingReferral ()ResourceReferenceDtaddIndication()Adds and returns a new value for indication (why)Encounter.LocationaddLocation()Adds and returns a new value for location ()EncounteraddLocation(Encounter.Location theValue)Adds a given new value for location ()Encounter.ParticipantaddParticipant()Adds and returns a new value for participant ()EncounteraddParticipant(Encounter.Participant theValue)Adds a given new value for participant ()CodeableConceptDtaddReason()Adds and returns a new value for reason (why)EncounteraddReason(CodeableConceptDt theValue)Adds a given new value for reason (why)Encounter.StatusHistoryaddStatusHistory()Adds and returns a new value for statusHistory ()EncounteraddStatusHistory(Encounter.StatusHistory theValue)Adds a given new value for statusHistory ()CodeableConceptDtaddType()Adds and returns a new value for type (class)EncounteraddType(CodeableConceptDt theValue)Adds a given new value for type (class)<T extends ca.uhn.fhir.model.api.IElement>
List<T>getAllPopulatedChildElementsOfType(Class<T> theType)ResourceReferenceDtgetAppointment()Gets the value(s) for appointment ().StringgetClassElement()Gets the value(s) for class (class).ca.uhn.fhir.model.primitive.BoundCodeDt<EncounterClassEnum>getClassElementElement()Gets the value(s) for class (class).List<ResourceReferenceDt>getEpisodeOfCare()Gets the value(s) for episodeOfCare (context).Encounter.HospitalizationgetHospitalization()Gets the value(s) for hospitalization ().List<IdentifierDt>getIdentifier()Gets the value(s) for identifier (id).IdentifierDtgetIdentifierFirstRep()Gets the first repetition for identifier (id), creating it if it does not already exist.List<ResourceReferenceDt>getIncomingReferral()Gets the value(s) for incomingReferral ().List<ResourceReferenceDt>getIndication()Gets the value(s) for indication (why).DurationDtgetLength()Gets the value(s) for length ().List<Encounter.Location>getLocation()Gets the value(s) for location ().Encounter.LocationgetLocationFirstRep()Gets the first repetition for location (), creating it if it does not already exist.List<Encounter.Participant>getParticipant()Gets the value(s) for participant ().Encounter.ParticipantgetParticipantFirstRep()Gets the first repetition for participant (), creating it if it does not already exist.ResourceReferenceDtgetPartOf()Gets the value(s) for partOf ().ResourceReferenceDtgetPatient()Gets the value(s) for patient (who.focus).PeriodDtgetPeriod()Gets the value(s) for period (when.done).CodeableConceptDtgetPriority()Gets the value(s) for priority (grade).List<CodeableConceptDt>getReason()Gets the value(s) for reason (why).CodeableConceptDtgetReasonFirstRep()Gets the first repetition for reason (why), creating it if it does not already exist.StringgetResourceName()ResourceReferenceDtgetServiceProvider()Gets the value(s) for serviceProvider ().StringgetStatus()Gets the value(s) for status (status).ca.uhn.fhir.model.primitive.BoundCodeDt<EncounterStateEnum>getStatusElement()Gets the value(s) for status (status).List<Encounter.StatusHistory>getStatusHistory()Gets the value(s) for statusHistory ().Encounter.StatusHistorygetStatusHistoryFirstRep()Gets the first repetition for statusHistory (), creating it if it does not already exist.ca.uhn.fhir.context.FhirVersionEnumgetStructureFhirVersionEnum()List<CodeableConceptDt>getType()Gets the value(s) for type (class).CodeableConceptDtgetTypeFirstRep()Gets the first repetition for type (class), creating it if it does not already exist.booleanisEmpty()EncountersetAppointment(ResourceReferenceDt theValue)Sets the value(s) for appointment ()EncountersetClassElement(EncounterClassEnum theValue)Sets the value(s) for class (class)EncountersetClassElement(ca.uhn.fhir.model.primitive.BoundCodeDt<EncounterClassEnum> theValue)Sets the value(s) for class (class)EncountersetEpisodeOfCare(List<ResourceReferenceDt> theValue)Sets the value(s) for episodeOfCare (context)EncountersetHospitalization(Encounter.Hospitalization theValue)Sets the value(s) for hospitalization ()EncountersetIdentifier(List<IdentifierDt> theValue)Sets the value(s) for identifier (id)EncountersetIncomingReferral(List<ResourceReferenceDt> theValue)Sets the value(s) for incomingReferral ()EncountersetIndication(List<ResourceReferenceDt> theValue)Sets the value(s) for indication (why)EncountersetLength(DurationDt theValue)Sets the value(s) for length ()EncountersetLocation(List<Encounter.Location> theValue)Sets the value(s) for location ()EncountersetParticipant(List<Encounter.Participant> theValue)Sets the value(s) for participant ()EncountersetPartOf(ResourceReferenceDt theValue)Sets the value(s) for partOf ()EncountersetPatient(ResourceReferenceDt theValue)Sets the value(s) for patient (who.focus)EncountersetPeriod(PeriodDt theValue)Sets the value(s) for period (when.done)EncountersetPriority(CodeableConceptDt theValue)Sets the value(s) for priority (grade)EncountersetReason(List<CodeableConceptDt> theValue)Sets the value(s) for reason (why)EncountersetServiceProvider(ResourceReferenceDt theValue)Sets the value(s) for serviceProvider ()EncountersetStatus(EncounterStateEnum theValue)Sets the value(s) for status (status)EncountersetStatus(ca.uhn.fhir.model.primitive.BoundCodeDt<EncounterStateEnum> theValue)Sets the value(s) for status (status)EncountersetStatusHistory(List<Encounter.StatusHistory> theValue)Sets the value(s) for statusHistory ()EncountersetType(List<CodeableConceptDt> theValue)Sets the value(s) for type (class)-
Methods inherited from class ca.uhn.fhir.model.dstu2.resource.BaseResource
getContained, getId, getIdElement, getLanguage, getMeta, getResourceMetadata, getText, isBaseEmpty, setContained, setId, setId, setId, setLanguage, setResourceMetadata, setText, toString
-
Methods inherited from class ca.uhn.fhir.model.api.BaseElement
addUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, getUserData, hasFormatComment, setUserData
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.hl7.fhir.instance.model.api.IBase
fhirType, getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserData
-
-
-
-
Field Detail
-
SP_IDENTIFIER
public static final String SP_IDENTIFIER
Search parameter constant for identifierDescription:
Type: token
Path: Encounter.identifier
- See Also:
- Constant Field Values
-
IDENTIFIER
public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER
Fluent Client search parameter constant for identifierDescription:
Type: token
Path: Encounter.identifier
-
SP_STATUS
public static final String SP_STATUS
Search parameter constant for statusDescription:
Type: token
Path: Encounter.status
- See Also:
- Constant Field Values
-
STATUS
public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS
Fluent Client search parameter constant for statusDescription:
Type: token
Path: Encounter.status
-
SP_DATE
public static final String SP_DATE
Search parameter constant for dateDescription: A date within the period the Encounter lasted
Type: date
Path: Encounter.period
- See Also:
- Constant Field Values
-
DATE
public static final ca.uhn.fhir.rest.gclient.DateClientParam DATE
Fluent Client search parameter constant for dateDescription: A date within the period the Encounter lasted
Type: date
Path: Encounter.period
-
SP_PATIENT
public static final String SP_PATIENT
Search parameter constant for patientDescription:
Type: reference
Path: Encounter.patient
- See Also:
- Constant Field Values
-
PATIENT
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT
Fluent Client search parameter constant for patientDescription:
Type: reference
Path: Encounter.patient
-
SP_APPOINTMENT
public static final String SP_APPOINTMENT
Search parameter constant for appointmentDescription:
Type: reference
Path: Encounter.appointment
- See Also:
- Constant Field Values
-
APPOINTMENT
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam APPOINTMENT
Fluent Client search parameter constant for appointmentDescription:
Type: reference
Path: Encounter.appointment
-
SP_LENGTH
public static final String SP_LENGTH
Search parameter constant for lengthDescription: Length of encounter in days
Type: number
Path: Encounter.length
- See Also:
- Constant Field Values
-
LENGTH
public static final ca.uhn.fhir.rest.gclient.NumberClientParam LENGTH
Fluent Client search parameter constant for lengthDescription: Length of encounter in days
Type: number
Path: Encounter.length
-
SP_REASON
public static final String SP_REASON
Search parameter constant for reasonDescription:
Type: token
Path: Encounter.reason
- See Also:
- Constant Field Values
-
REASON
public static final ca.uhn.fhir.rest.gclient.TokenClientParam REASON
Fluent Client search parameter constant for reasonDescription:
Type: token
Path: Encounter.reason
-
SP_INDICATION
public static final String SP_INDICATION
Search parameter constant for indicationDescription:
Type: reference
Path: Encounter.indication
- See Also:
- Constant Field Values
-
INDICATION
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam INDICATION
Fluent Client search parameter constant for indicationDescription:
Type: reference
Path: Encounter.indication
-
SP_CONDITION
public static final String SP_CONDITION
Search parameter constant for conditionDescription:
Type: reference
Path: Encounter.indication
- See Also:
- Constant Field Values
-
CONDITION
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam CONDITION
Fluent Client search parameter constant for conditionDescription:
Type: reference
Path: Encounter.indication
-
SP_PROCEDURE
public static final String SP_PROCEDURE
Search parameter constant for procedureDescription:
Type: reference
Path: Encounter.indication
- See Also:
- Constant Field Values
-
PROCEDURE
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PROCEDURE
Fluent Client search parameter constant for procedureDescription:
Type: reference
Path: Encounter.indication
-
SP_LOCATION
public static final String SP_LOCATION
Search parameter constant for locationDescription:
Type: reference
Path: Encounter.location.location
- See Also:
- Constant Field Values
-
LOCATION
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam LOCATION
Fluent Client search parameter constant for locationDescription:
Type: reference
Path: Encounter.location.location
-
SP_LOCATION_PERIOD
public static final String SP_LOCATION_PERIOD
Search parameter constant for location-periodDescription:
Type: date
Path: Encounter.location.period
- See Also:
- Constant Field Values
-
LOCATION_PERIOD
public static final ca.uhn.fhir.rest.gclient.DateClientParam LOCATION_PERIOD
Fluent Client search parameter constant for location-periodDescription:
Type: date
Path: Encounter.location.period
-
SP_TYPE
public static final String SP_TYPE
Search parameter constant for typeDescription:
Type: token
Path: Encounter.type
- See Also:
- Constant Field Values
-
TYPE
public static final ca.uhn.fhir.rest.gclient.TokenClientParam TYPE
Fluent Client search parameter constant for typeDescription:
Type: token
Path: Encounter.type
-
SP_SPECIAL_ARRANGEMENT
public static final String SP_SPECIAL_ARRANGEMENT
Search parameter constant for special-arrangementDescription:
Type: token
Path: Encounter.hospitalization.specialArrangement
- See Also:
- Constant Field Values
-
SPECIAL_ARRANGEMENT
public static final ca.uhn.fhir.rest.gclient.TokenClientParam SPECIAL_ARRANGEMENT
Fluent Client search parameter constant for special-arrangementDescription:
Type: token
Path: Encounter.hospitalization.specialArrangement
-
SP_PART_OF
public static final String SP_PART_OF
Search parameter constant for part-ofDescription:
Type: reference
Path: Encounter.partOf
- See Also:
- Constant Field Values
-
PART_OF
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PART_OF
Fluent Client search parameter constant for part-ofDescription:
Type: reference
Path: Encounter.partOf
-
SP_PARTICIPANT
public static final String SP_PARTICIPANT
Search parameter constant for participantDescription:
Type: reference
Path: Encounter.participant.individual
- See Also:
- Constant Field Values
-
PARTICIPANT
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PARTICIPANT
Fluent Client search parameter constant for participantDescription:
Type: reference
Path: Encounter.participant.individual
-
SP_PARTICIPANT_TYPE
public static final String SP_PARTICIPANT_TYPE
Search parameter constant for participant-typeDescription:
Type: token
Path: Encounter.participant.type
- See Also:
- Constant Field Values
-
PARTICIPANT_TYPE
public static final ca.uhn.fhir.rest.gclient.TokenClientParam PARTICIPANT_TYPE
Fluent Client search parameter constant for participant-typeDescription:
Type: token
Path: Encounter.participant.type
-
SP_EPISODEOFCARE
public static final String SP_EPISODEOFCARE
Search parameter constant for episodeofcareDescription:
Type: reference
Path: Encounter.episodeOfCare
- See Also:
- Constant Field Values
-
EPISODEOFCARE
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam EPISODEOFCARE
Fluent Client search parameter constant for episodeofcareDescription:
Type: reference
Path: Encounter.episodeOfCare
-
SP_INCOMINGREFERRAL
public static final String SP_INCOMINGREFERRAL
Search parameter constant for incomingreferralDescription:
Type: reference
Path: Encounter.incomingReferral
- See Also:
- Constant Field Values
-
INCOMINGREFERRAL
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam INCOMINGREFERRAL
Fluent Client search parameter constant for incomingreferralDescription:
Type: reference
Path: Encounter.incomingReferral
-
SP_PRACTITIONER
public static final String SP_PRACTITIONER
Search parameter constant for practitionerDescription:
Type: reference
Path: Encounter.participant.individual
- See Also:
- Constant Field Values
-
PRACTITIONER
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PRACTITIONER
Fluent Client search parameter constant for practitionerDescription:
Type: reference
Path: Encounter.participant.individual
-
INCLUDE_APPOINTMENT
public static final ca.uhn.fhir.model.api.Include INCLUDE_APPOINTMENT
Constant for fluent queries to be used to add include statements. Specifies the path value of "Encounter:appointment".
-
INCLUDE_CONDITION
public static final ca.uhn.fhir.model.api.Include INCLUDE_CONDITION
Constant for fluent queries to be used to add include statements. Specifies the path value of "Encounter:condition".
-
INCLUDE_EPISODEOFCARE
public static final ca.uhn.fhir.model.api.Include INCLUDE_EPISODEOFCARE
Constant for fluent queries to be used to add include statements. Specifies the path value of "Encounter:episodeofcare".
-
INCLUDE_INCOMINGREFERRAL
public static final ca.uhn.fhir.model.api.Include INCLUDE_INCOMINGREFERRAL
Constant for fluent queries to be used to add include statements. Specifies the path value of "Encounter:incomingreferral".
-
INCLUDE_INDICATION
public static final ca.uhn.fhir.model.api.Include INCLUDE_INDICATION
Constant for fluent queries to be used to add include statements. Specifies the path value of "Encounter:indication".
-
INCLUDE_LOCATION
public static final ca.uhn.fhir.model.api.Include INCLUDE_LOCATION
Constant for fluent queries to be used to add include statements. Specifies the path value of "Encounter:location".
-
INCLUDE_PART_OF
public static final ca.uhn.fhir.model.api.Include INCLUDE_PART_OF
Constant for fluent queries to be used to add include statements. Specifies the path value of "Encounter:part-of".
-
INCLUDE_PARTICIPANT
public static final ca.uhn.fhir.model.api.Include INCLUDE_PARTICIPANT
Constant for fluent queries to be used to add include statements. Specifies the path value of "Encounter:participant".
-
INCLUDE_PATIENT
public static final ca.uhn.fhir.model.api.Include INCLUDE_PATIENT
Constant for fluent queries to be used to add include statements. Specifies the path value of "Encounter:patient".
-
INCLUDE_PRACTITIONER
public static final ca.uhn.fhir.model.api.Include INCLUDE_PRACTITIONER
Constant for fluent queries to be used to add include statements. Specifies the path value of "Encounter:practitioner".
-
INCLUDE_PROCEDURE
public static final ca.uhn.fhir.model.api.Include INCLUDE_PROCEDURE
Constant for fluent queries to be used to add include statements. Specifies the path value of "Encounter:procedure".
-
-
Constructor Detail
-
Encounter
public Encounter()
-
-
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
-
getIdentifier
public List<IdentifierDt> getIdentifier()
Gets the value(s) for identifier (id). creating it if it does not exist. Will not returnnull.Definition:
-
setIdentifier
public Encounter setIdentifier(List<IdentifierDt> theValue)
Sets the value(s) for identifier (id)Definition:
-
addIdentifier
public IdentifierDt addIdentifier()
Adds and returns a new value for identifier (id)Definition:
-
addIdentifier
public Encounter addIdentifier(IdentifierDt theValue)
Adds a given new value for identifier (id)Definition:
- Parameters:
theValue- The identifier to add (must not benull)
-
getIdentifierFirstRep
public IdentifierDt getIdentifierFirstRep()
Gets the first repetition for identifier (id), creating it if it does not already exist.Definition:
-
getStatusElement
public ca.uhn.fhir.model.primitive.BoundCodeDt<EncounterStateEnum> getStatusElement()
Gets the value(s) for status (status). creating it if it does not exist. Will not returnnull.Definition:
-
getStatus
public String getStatus()
Gets the value(s) for status (status). creating it if it does not exist. This method may returnnull.Definition:
-
setStatus
public Encounter setStatus(ca.uhn.fhir.model.primitive.BoundCodeDt<EncounterStateEnum> theValue)
Sets the value(s) for status (status)Definition:
-
setStatus
public Encounter setStatus(EncounterStateEnum theValue)
Sets the value(s) for status (status)Definition:
-
getStatusHistory
public List<Encounter.StatusHistory> getStatusHistory()
Gets the value(s) for statusHistory (). creating it if it does not exist. Will not returnnull.Definition: The status history permits the encounter resource to contain the status history without needing to read through the historical versions of the resource, or even have the server store them
-
setStatusHistory
public Encounter setStatusHistory(List<Encounter.StatusHistory> theValue)
Sets the value(s) for statusHistory ()Definition: The status history permits the encounter resource to contain the status history without needing to read through the historical versions of the resource, or even have the server store them
-
addStatusHistory
public Encounter.StatusHistory addStatusHistory()
Adds and returns a new value for statusHistory ()Definition: The status history permits the encounter resource to contain the status history without needing to read through the historical versions of the resource, or even have the server store them
-
addStatusHistory
public Encounter addStatusHistory(Encounter.StatusHistory theValue)
Adds a given new value for statusHistory ()Definition: The status history permits the encounter resource to contain the status history without needing to read through the historical versions of the resource, or even have the server store them
- Parameters:
theValue- The statusHistory to add (must not benull)
-
getStatusHistoryFirstRep
public Encounter.StatusHistory getStatusHistoryFirstRep()
Gets the first repetition for statusHistory (), creating it if it does not already exist.Definition: The status history permits the encounter resource to contain the status history without needing to read through the historical versions of the resource, or even have the server store them
-
getClassElementElement
public ca.uhn.fhir.model.primitive.BoundCodeDt<EncounterClassEnum> getClassElementElement()
Gets the value(s) for class (class). creating it if it does not exist. Will not returnnull.Definition:
-
getClassElement
public String getClassElement()
Gets the value(s) for class (class). creating it if it does not exist. This method may returnnull.Definition:
-
setClassElement
public Encounter setClassElement(ca.uhn.fhir.model.primitive.BoundCodeDt<EncounterClassEnum> theValue)
Sets the value(s) for class (class)Definition:
-
setClassElement
public Encounter setClassElement(EncounterClassEnum theValue)
Sets the value(s) for class (class)Definition:
-
getType
public List<CodeableConceptDt> getType()
Gets the value(s) for type (class). creating it if it does not exist. Will not returnnull.Definition: Specific type of encounter (e.g. e-mail consultation, surgical day-care, skilled nursing, rehabilitation)
-
setType
public Encounter setType(List<CodeableConceptDt> theValue)
Sets the value(s) for type (class)Definition: Specific type of encounter (e.g. e-mail consultation, surgical day-care, skilled nursing, rehabilitation)
-
addType
public CodeableConceptDt addType()
Adds and returns a new value for type (class)Definition: Specific type of encounter (e.g. e-mail consultation, surgical day-care, skilled nursing, rehabilitation)
-
addType
public Encounter addType(CodeableConceptDt theValue)
Adds a given new value for type (class)Definition: Specific type of encounter (e.g. e-mail consultation, surgical day-care, skilled nursing, rehabilitation)
- Parameters:
theValue- The type to add (must not benull)
-
getTypeFirstRep
public CodeableConceptDt getTypeFirstRep()
Gets the first repetition for type (class), creating it if it does not already exist.Definition: Specific type of encounter (e.g. e-mail consultation, surgical day-care, skilled nursing, rehabilitation)
-
getPriority
public CodeableConceptDt getPriority()
Gets the value(s) for priority (grade). creating it if it does not exist. Will not returnnull.Definition:
-
setPriority
public Encounter setPriority(CodeableConceptDt theValue)
Sets the value(s) for priority (grade)Definition:
-
getPatient
public ResourceReferenceDt getPatient()
Gets the value(s) for patient (who.focus). creating it if it does not exist. Will not returnnull.Definition:
-
setPatient
public Encounter setPatient(ResourceReferenceDt theValue)
Sets the value(s) for patient (who.focus)Definition:
-
getEpisodeOfCare
public List<ResourceReferenceDt> getEpisodeOfCare()
Gets the value(s) for episodeOfCare (context). creating it if it does not exist. Will not returnnull.Definition: Where a specific encounter should be classified as a part of a specific episode(s) of care this field should be used. This association can facilitate grouping of related encounters together for a specific purpose, such as government reporting, issue tracking, association via a common problem. The association is recorded on the encounter as these are typically created after the episode of care, and grouped on entry rather than editing the episode of care to append another encounter to it (the episode of care could span years)
-
setEpisodeOfCare
public Encounter setEpisodeOfCare(List<ResourceReferenceDt> theValue)
Sets the value(s) for episodeOfCare (context)Definition: Where a specific encounter should be classified as a part of a specific episode(s) of care this field should be used. This association can facilitate grouping of related encounters together for a specific purpose, such as government reporting, issue tracking, association via a common problem. The association is recorded on the encounter as these are typically created after the episode of care, and grouped on entry rather than editing the episode of care to append another encounter to it (the episode of care could span years)
-
addEpisodeOfCare
public ResourceReferenceDt addEpisodeOfCare()
Adds and returns a new value for episodeOfCare (context)Definition: Where a specific encounter should be classified as a part of a specific episode(s) of care this field should be used. This association can facilitate grouping of related encounters together for a specific purpose, such as government reporting, issue tracking, association via a common problem. The association is recorded on the encounter as these are typically created after the episode of care, and grouped on entry rather than editing the episode of care to append another encounter to it (the episode of care could span years)
-
getIncomingReferral
public List<ResourceReferenceDt> getIncomingReferral()
Gets the value(s) for incomingReferral (). creating it if it does not exist. Will not returnnull.Definition: The referral request this encounter satisfies (incoming referral)
-
setIncomingReferral
public Encounter setIncomingReferral(List<ResourceReferenceDt> theValue)
Sets the value(s) for incomingReferral ()Definition: The referral request this encounter satisfies (incoming referral)
-
addIncomingReferral
public ResourceReferenceDt addIncomingReferral()
Adds and returns a new value for incomingReferral ()Definition: The referral request this encounter satisfies (incoming referral)
-
getParticipant
public List<Encounter.Participant> getParticipant()
Gets the value(s) for participant (). creating it if it does not exist. Will not returnnull.Definition: The list of people responsible for providing the service
-
setParticipant
public Encounter setParticipant(List<Encounter.Participant> theValue)
Sets the value(s) for participant ()Definition: The list of people responsible for providing the service
-
addParticipant
public Encounter.Participant addParticipant()
Adds and returns a new value for participant ()Definition: The list of people responsible for providing the service
-
addParticipant
public Encounter addParticipant(Encounter.Participant theValue)
Adds a given new value for participant ()Definition: The list of people responsible for providing the service
- Parameters:
theValue- The participant to add (must not benull)
-
getParticipantFirstRep
public Encounter.Participant getParticipantFirstRep()
Gets the first repetition for participant (), creating it if it does not already exist.Definition: The list of people responsible for providing the service
-
getAppointment
public ResourceReferenceDt getAppointment()
Gets the value(s) for appointment (). creating it if it does not exist. Will not returnnull.Definition:
-
setAppointment
public Encounter setAppointment(ResourceReferenceDt theValue)
Sets the value(s) for appointment ()Definition:
-
getPeriod
public PeriodDt getPeriod()
Gets the value(s) for period (when.done). creating it if it does not exist. Will not returnnull.Definition: The start and end time of the encounter
-
setPeriod
public Encounter setPeriod(PeriodDt theValue)
Sets the value(s) for period (when.done)Definition: The start and end time of the encounter
-
getLength
public DurationDt getLength()
Gets the value(s) for length (). creating it if it does not exist. Will not returnnull.Definition: Quantity of time the encounter lasted. This excludes the time during leaves of absence.
-
setLength
public Encounter setLength(DurationDt theValue)
Sets the value(s) for length ()Definition: Quantity of time the encounter lasted. This excludes the time during leaves of absence.
-
getReason
public List<CodeableConceptDt> getReason()
Gets the value(s) for reason (why). creating it if it does not exist. Will not returnnull.Definition: Reason the encounter takes place, expressed as a code. For admissions, this can be used for a coded admission diagnosis
-
setReason
public Encounter setReason(List<CodeableConceptDt> theValue)
Sets the value(s) for reason (why)Definition: Reason the encounter takes place, expressed as a code. For admissions, this can be used for a coded admission diagnosis
-
addReason
public CodeableConceptDt addReason()
Adds and returns a new value for reason (why)Definition: Reason the encounter takes place, expressed as a code. For admissions, this can be used for a coded admission diagnosis
-
addReason
public Encounter addReason(CodeableConceptDt theValue)
Adds a given new value for reason (why)Definition: Reason the encounter takes place, expressed as a code. For admissions, this can be used for a coded admission diagnosis
- Parameters:
theValue- The reason to add (must not benull)
-
getReasonFirstRep
public CodeableConceptDt getReasonFirstRep()
Gets the first repetition for reason (why), creating it if it does not already exist.Definition: Reason the encounter takes place, expressed as a code. For admissions, this can be used for a coded admission diagnosis
-
getIndication
public List<ResourceReferenceDt> getIndication()
Gets the value(s) for indication (why). creating it if it does not exist. Will not returnnull.Definition: Reason the encounter takes place, as specified using information from another resource. For admissions, this is the admission diagnosis. The indication will typically be a Condition (with other resources referenced in the evidence.detail), or a Procedure
-
setIndication
public Encounter setIndication(List<ResourceReferenceDt> theValue)
Sets the value(s) for indication (why)Definition: Reason the encounter takes place, as specified using information from another resource. For admissions, this is the admission diagnosis. The indication will typically be a Condition (with other resources referenced in the evidence.detail), or a Procedure
-
addIndication
public ResourceReferenceDt addIndication()
Adds and returns a new value for indication (why)Definition: Reason the encounter takes place, as specified using information from another resource. For admissions, this is the admission diagnosis. The indication will typically be a Condition (with other resources referenced in the evidence.detail), or a Procedure
-
getHospitalization
public Encounter.Hospitalization getHospitalization()
Gets the value(s) for hospitalization (). creating it if it does not exist. Will not returnnull.Definition:
-
setHospitalization
public Encounter setHospitalization(Encounter.Hospitalization theValue)
Sets the value(s) for hospitalization ()Definition:
-
getLocation
public List<Encounter.Location> getLocation()
Gets the value(s) for location (). creating it if it does not exist. Will not returnnull.Definition: List of locations where the patient has been during this encounter
-
setLocation
public Encounter setLocation(List<Encounter.Location> theValue)
Sets the value(s) for location ()Definition: List of locations where the patient has been during this encounter
-
addLocation
public Encounter.Location addLocation()
Adds and returns a new value for location ()Definition: List of locations where the patient has been during this encounter
-
addLocation
public Encounter addLocation(Encounter.Location theValue)
Adds a given new value for location ()Definition: List of locations where the patient has been during this encounter
- Parameters:
theValue- The location to add (must not benull)
-
getLocationFirstRep
public Encounter.Location getLocationFirstRep()
Gets the first repetition for location (), creating it if it does not already exist.Definition: List of locations where the patient has been during this encounter
-
getServiceProvider
public ResourceReferenceDt getServiceProvider()
Gets the value(s) for serviceProvider (). creating it if it does not exist. Will not returnnull.Definition: An organization that is in charge of maintaining the information of this Encounter (e.g. who maintains the report or the master service catalog item, etc.). This MAY be the same as the organization on the Patient record, however it could be different. This MAY not be not the Service Delivery Location's Organization.
-
setServiceProvider
public Encounter setServiceProvider(ResourceReferenceDt theValue)
Sets the value(s) for serviceProvider ()Definition: An organization that is in charge of maintaining the information of this Encounter (e.g. who maintains the report or the master service catalog item, etc.). This MAY be the same as the organization on the Patient record, however it could be different. This MAY not be not the Service Delivery Location's Organization.
-
getPartOf
public ResourceReferenceDt getPartOf()
Gets the value(s) for partOf (). creating it if it does not exist. Will not returnnull.Definition: Another Encounter of which this encounter is a part of (administratively or in time).
-
setPartOf
public Encounter setPartOf(ResourceReferenceDt theValue)
Sets the value(s) for partOf ()Definition: Another Encounter of which this encounter is a part of (administratively or in time).
-
getResourceName
public String getResourceName()
- Specified by:
getResourceNamein interfaceca.uhn.fhir.model.api.IResource
-
getStructureFhirVersionEnum
public ca.uhn.fhir.context.FhirVersionEnum getStructureFhirVersionEnum()
- Specified by:
getStructureFhirVersionEnumin interfaceorg.hl7.fhir.instance.model.api.IBaseResource- Specified by:
getStructureFhirVersionEnumin interfaceca.uhn.fhir.model.api.IResource
-
-