Class Encounter.Hospitalization
- java.lang.Object
-
- ca.uhn.fhir.model.api.BaseElement
-
- ca.uhn.fhir.model.api.BaseIdentifiableElement
-
- ca.uhn.fhir.model.dstu2.resource.Encounter.Hospitalization
-
- 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.Hospitalization extends ca.uhn.fhir.model.api.BaseIdentifiableElement implements ca.uhn.fhir.model.api.IResourceBlock
Block class for child element: Encounter.hospitalization ()Definition:
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Hospitalization()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourceReferenceDtaddAdmittingDiagnosis()Adds and returns a new value for admittingDiagnosis ()CodeableConceptDtaddDietPreference()Adds and returns a new value for dietPreference ()Encounter.HospitalizationaddDietPreference(CodeableConceptDt theValue)Adds a given new value for dietPreference ()ResourceReferenceDtaddDischargeDiagnosis()Adds and returns a new value for dischargeDiagnosis ()CodeableConceptDtaddSpecialArrangement()Adds and returns a new value for specialArrangement ()Encounter.HospitalizationaddSpecialArrangement(CodeableConceptDt theValue)Adds a given new value for specialArrangement ()CodeableConceptDtaddSpecialCourtesy()Adds and returns a new value for specialCourtesy ()Encounter.HospitalizationaddSpecialCourtesy(CodeableConceptDt theValue)Adds a given new value for specialCourtesy ()BoundCodeableConceptDt<AdmitSourceEnum>getAdmitSource()Gets the value(s) for admitSource ().List<ResourceReferenceDt>getAdmittingDiagnosis()Gets the value(s) for admittingDiagnosis ().<T extends ca.uhn.fhir.model.api.IElement>
List<T>getAllPopulatedChildElementsOfType(Class<T> theType)ResourceReferenceDtgetDestination()Gets the value(s) for destination ().List<CodeableConceptDt>getDietPreference()Gets the value(s) for dietPreference ().CodeableConceptDtgetDietPreferenceFirstRep()Gets the first repetition for dietPreference (), creating it if it does not already exist.List<ResourceReferenceDt>getDischargeDiagnosis()Gets the value(s) for dischargeDiagnosis ().CodeableConceptDtgetDischargeDisposition()Gets the value(s) for dischargeDisposition ().ResourceReferenceDtgetOrigin()Gets the value(s) for origin ().IdentifierDtgetPreAdmissionIdentifier()Gets the value(s) for preAdmissionIdentifier ().CodeableConceptDtgetReAdmission()Gets the value(s) for reAdmission ().List<CodeableConceptDt>getSpecialArrangement()Gets the value(s) for specialArrangement ().CodeableConceptDtgetSpecialArrangementFirstRep()Gets the first repetition for specialArrangement (), creating it if it does not already exist.List<CodeableConceptDt>getSpecialCourtesy()Gets the value(s) for specialCourtesy ().CodeableConceptDtgetSpecialCourtesyFirstRep()Gets the first repetition for specialCourtesy (), creating it if it does not already exist.booleanisEmpty()Encounter.HospitalizationsetAdmitSource(BoundCodeableConceptDt<AdmitSourceEnum> theValue)Sets the value(s) for admitSource ()Encounter.HospitalizationsetAdmitSource(AdmitSourceEnum theValue)Sets the value(s) for admitSource ()Encounter.HospitalizationsetAdmittingDiagnosis(List<ResourceReferenceDt> theValue)Sets the value(s) for admittingDiagnosis ()Encounter.HospitalizationsetDestination(ResourceReferenceDt theValue)Sets the value(s) for destination ()Encounter.HospitalizationsetDietPreference(List<CodeableConceptDt> theValue)Sets the value(s) for dietPreference ()Encounter.HospitalizationsetDischargeDiagnosis(List<ResourceReferenceDt> theValue)Sets the value(s) for dischargeDiagnosis ()Encounter.HospitalizationsetDischargeDisposition(CodeableConceptDt theValue)Sets the value(s) for dischargeDisposition ()Encounter.HospitalizationsetOrigin(ResourceReferenceDt theValue)Sets the value(s) for origin ()Encounter.HospitalizationsetPreAdmissionIdentifier(IdentifierDt theValue)Sets the value(s) for preAdmissionIdentifier ()Encounter.HospitalizationsetReAdmission(CodeableConceptDt theValue)Sets the value(s) for reAdmission ()Encounter.HospitalizationsetSpecialArrangement(List<CodeableConceptDt> theValue)Sets the value(s) for specialArrangement ()Encounter.HospitalizationsetSpecialCourtesy(List<CodeableConceptDt> theValue)Sets the value(s) for specialCourtesy ()-
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
-
Hospitalization
public Hospitalization()
-
-
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
-
getPreAdmissionIdentifier
public IdentifierDt getPreAdmissionIdentifier()
Gets the value(s) for preAdmissionIdentifier (). creating it if it does not exist. Will not returnnull.Definition:
-
setPreAdmissionIdentifier
public Encounter.Hospitalization setPreAdmissionIdentifier(IdentifierDt theValue)
Sets the value(s) for preAdmissionIdentifier ()Definition:
-
getOrigin
public ResourceReferenceDt getOrigin()
Gets the value(s) for origin (). creating it if it does not exist. Will not returnnull.Definition:
-
setOrigin
public Encounter.Hospitalization setOrigin(ResourceReferenceDt theValue)
Sets the value(s) for origin ()Definition:
-
getAdmitSource
public BoundCodeableConceptDt<AdmitSourceEnum> getAdmitSource()
Gets the value(s) for admitSource (). creating it if it does not exist. Will not returnnull.Definition:
-
setAdmitSource
public Encounter.Hospitalization setAdmitSource(BoundCodeableConceptDt<AdmitSourceEnum> theValue)
Sets the value(s) for admitSource ()Definition:
-
setAdmitSource
public Encounter.Hospitalization setAdmitSource(AdmitSourceEnum theValue)
Sets the value(s) for admitSource ()Definition:
-
getAdmittingDiagnosis
public List<ResourceReferenceDt> getAdmittingDiagnosis()
Gets the value(s) for admittingDiagnosis (). creating it if it does not exist. Will not returnnull.Definition: The admitting diagnosis field is used to record the diagnosis codes as reported by admitting practitioner. This could be different or in addition to the conditions reported as reason-condition(s) for the encounter
-
setAdmittingDiagnosis
public Encounter.Hospitalization setAdmittingDiagnosis(List<ResourceReferenceDt> theValue)
Sets the value(s) for admittingDiagnosis ()Definition: The admitting diagnosis field is used to record the diagnosis codes as reported by admitting practitioner. This could be different or in addition to the conditions reported as reason-condition(s) for the encounter
-
addAdmittingDiagnosis
public ResourceReferenceDt addAdmittingDiagnosis()
Adds and returns a new value for admittingDiagnosis ()Definition: The admitting diagnosis field is used to record the diagnosis codes as reported by admitting practitioner. This could be different or in addition to the conditions reported as reason-condition(s) for the encounter
-
getReAdmission
public CodeableConceptDt getReAdmission()
Gets the value(s) for reAdmission (). creating it if it does not exist. Will not returnnull.Definition: Whether this hospitalization is a readmission and why if known
-
setReAdmission
public Encounter.Hospitalization setReAdmission(CodeableConceptDt theValue)
Sets the value(s) for reAdmission ()Definition: Whether this hospitalization is a readmission and why if known
-
getDietPreference
public List<CodeableConceptDt> getDietPreference()
Gets the value(s) for dietPreference (). creating it if it does not exist. Will not returnnull.Definition:
-
setDietPreference
public Encounter.Hospitalization setDietPreference(List<CodeableConceptDt> theValue)
Sets the value(s) for dietPreference ()Definition:
-
addDietPreference
public CodeableConceptDt addDietPreference()
Adds and returns a new value for dietPreference ()Definition:
-
addDietPreference
public Encounter.Hospitalization addDietPreference(CodeableConceptDt theValue)
Adds a given new value for dietPreference ()Definition:
- Parameters:
theValue- The dietPreference to add (must not benull)
-
getDietPreferenceFirstRep
public CodeableConceptDt getDietPreferenceFirstRep()
Gets the first repetition for dietPreference (), creating it if it does not already exist.Definition:
-
getSpecialCourtesy
public List<CodeableConceptDt> getSpecialCourtesy()
Gets the value(s) for specialCourtesy (). creating it if it does not exist. Will not returnnull.Definition:
-
setSpecialCourtesy
public Encounter.Hospitalization setSpecialCourtesy(List<CodeableConceptDt> theValue)
Sets the value(s) for specialCourtesy ()Definition:
-
addSpecialCourtesy
public CodeableConceptDt addSpecialCourtesy()
Adds and returns a new value for specialCourtesy ()Definition:
-
addSpecialCourtesy
public Encounter.Hospitalization addSpecialCourtesy(CodeableConceptDt theValue)
Adds a given new value for specialCourtesy ()Definition:
- Parameters:
theValue- The specialCourtesy to add (must not benull)
-
getSpecialCourtesyFirstRep
public CodeableConceptDt getSpecialCourtesyFirstRep()
Gets the first repetition for specialCourtesy (), creating it if it does not already exist.Definition:
-
getSpecialArrangement
public List<CodeableConceptDt> getSpecialArrangement()
Gets the value(s) for specialArrangement (). creating it if it does not exist. Will not returnnull.Definition:
-
setSpecialArrangement
public Encounter.Hospitalization setSpecialArrangement(List<CodeableConceptDt> theValue)
Sets the value(s) for specialArrangement ()Definition:
-
addSpecialArrangement
public CodeableConceptDt addSpecialArrangement()
Adds and returns a new value for specialArrangement ()Definition:
-
addSpecialArrangement
public Encounter.Hospitalization addSpecialArrangement(CodeableConceptDt theValue)
Adds a given new value for specialArrangement ()Definition:
- Parameters:
theValue- The specialArrangement to add (must not benull)
-
getSpecialArrangementFirstRep
public CodeableConceptDt getSpecialArrangementFirstRep()
Gets the first repetition for specialArrangement (), creating it if it does not already exist.Definition:
-
getDestination
public ResourceReferenceDt getDestination()
Gets the value(s) for destination (). creating it if it does not exist. Will not returnnull.Definition:
-
setDestination
public Encounter.Hospitalization setDestination(ResourceReferenceDt theValue)
Sets the value(s) for destination ()Definition:
-
getDischargeDisposition
public CodeableConceptDt getDischargeDisposition()
Gets the value(s) for dischargeDisposition (). creating it if it does not exist. Will not returnnull.Definition:
-
setDischargeDisposition
public Encounter.Hospitalization setDischargeDisposition(CodeableConceptDt theValue)
Sets the value(s) for dischargeDisposition ()Definition:
-
getDischargeDiagnosis
public List<ResourceReferenceDt> getDischargeDiagnosis()
Gets the value(s) for dischargeDiagnosis (). creating it if it does not exist. Will not returnnull.Definition:
-
setDischargeDiagnosis
public Encounter.Hospitalization setDischargeDiagnosis(List<ResourceReferenceDt> theValue)
Sets the value(s) for dischargeDiagnosis ()Definition:
-
addDischargeDiagnosis
public ResourceReferenceDt addDischargeDiagnosis()
Adds and returns a new value for dischargeDiagnosis ()Definition:
-
-