Class Observation
- java.lang.Object
-
- org.hl7.fhir.r4.model.Base
-
- org.hl7.fhir.r4.model.BaseResource
-
- org.hl7.fhir.r4.model.Resource
-
- org.hl7.fhir.r4.model.DomainResource
-
- org.hl7.fhir.r4.model.Observation
-
- All Implemented Interfaces:
ca.uhn.fhir.model.api.IElement,Serializable,org.hl7.fhir.instance.model.api.IAnyResource,org.hl7.fhir.instance.model.api.IBase,org.hl7.fhir.instance.model.api.IBaseHasExtensions,org.hl7.fhir.instance.model.api.IBaseHasModifierExtensions,org.hl7.fhir.instance.model.api.IBaseResource,org.hl7.fhir.instance.model.api.IDomainResource
public class Observation extends DomainResource
Measurements and simple assertions made about a patient, device or other subject.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classObservation.ObservationComponentComponentstatic classObservation.ObservationReferenceRangeComponentstatic classObservation.ObservationStatusstatic classObservation.ObservationStatusEnumFactory
-
Field Summary
Fields Modifier and Type Field Description static ca.uhn.fhir.rest.gclient.ReferenceClientParamBASED_ONFluent Client search parameter constant for based-onprotected List<Reference>basedOnA plan, proposal or order that is fulfilled in whole or in part by this event.protected List<Resource>basedOnTargetThe actual objects that are the target of the reference (A plan, proposal or order that is fulfilled in whole or in part by this event.protected CodeableConceptbodySiteIndicates the site on the subject's body where the observation was made (i.e.protected List<CodeableConcept>categoryA code that classifies the general type of observation being made.static ca.uhn.fhir.rest.gclient.TokenClientParamCATEGORYFluent Client search parameter constant for categoryprotected CodeableConceptcodeDescribes what was observed.static ca.uhn.fhir.rest.gclient.TokenClientParamCODEFluent Client search parameter constant for codestatic ca.uhn.fhir.rest.gclient.CompositeClientParam<ca.uhn.fhir.rest.gclient.TokenClientParam,ca.uhn.fhir.rest.gclient.TokenClientParam>CODE_VALUE_CONCEPTFluent Client search parameter constant for code-value-conceptstatic ca.uhn.fhir.rest.gclient.CompositeClientParam<ca.uhn.fhir.rest.gclient.TokenClientParam,ca.uhn.fhir.rest.gclient.DateClientParam>CODE_VALUE_DATEFluent Client search parameter constant for code-value-datestatic ca.uhn.fhir.rest.gclient.CompositeClientParam<ca.uhn.fhir.rest.gclient.TokenClientParam,ca.uhn.fhir.rest.gclient.QuantityClientParam>CODE_VALUE_QUANTITYFluent Client search parameter constant for code-value-quantitystatic ca.uhn.fhir.rest.gclient.CompositeClientParam<ca.uhn.fhir.rest.gclient.TokenClientParam,ca.uhn.fhir.rest.gclient.StringClientParam>CODE_VALUE_STRINGFluent Client search parameter constant for code-value-stringstatic ca.uhn.fhir.rest.gclient.TokenClientParamCOMBO_CODEFluent Client search parameter constant for combo-codestatic ca.uhn.fhir.rest.gclient.CompositeClientParam<ca.uhn.fhir.rest.gclient.TokenClientParam,ca.uhn.fhir.rest.gclient.TokenClientParam>COMBO_CODE_VALUE_CONCEPTFluent Client search parameter constant for combo-code-value-conceptstatic ca.uhn.fhir.rest.gclient.CompositeClientParam<ca.uhn.fhir.rest.gclient.TokenClientParam,ca.uhn.fhir.rest.gclient.QuantityClientParam>COMBO_CODE_VALUE_QUANTITYFluent Client search parameter constant for combo-code-value-quantitystatic ca.uhn.fhir.rest.gclient.TokenClientParamCOMBO_DATA_ABSENT_REASONFluent Client search parameter constant for combo-data-absent-reasonstatic ca.uhn.fhir.rest.gclient.TokenClientParamCOMBO_VALUE_CONCEPTFluent Client search parameter constant for combo-value-conceptstatic ca.uhn.fhir.rest.gclient.QuantityClientParamCOMBO_VALUE_QUANTITYFluent Client search parameter constant for combo-value-quantityprotected List<Observation.ObservationComponentComponent>componentSome observations have multiple component observations.static ca.uhn.fhir.rest.gclient.TokenClientParamCOMPONENT_CODEFluent Client search parameter constant for component-codestatic ca.uhn.fhir.rest.gclient.CompositeClientParam<ca.uhn.fhir.rest.gclient.TokenClientParam,ca.uhn.fhir.rest.gclient.TokenClientParam>COMPONENT_CODE_VALUE_CONCEPTFluent Client search parameter constant for component-code-value-conceptstatic ca.uhn.fhir.rest.gclient.CompositeClientParam<ca.uhn.fhir.rest.gclient.TokenClientParam,ca.uhn.fhir.rest.gclient.QuantityClientParam>COMPONENT_CODE_VALUE_QUANTITYFluent Client search parameter constant for component-code-value-quantitystatic ca.uhn.fhir.rest.gclient.TokenClientParamCOMPONENT_DATA_ABSENT_REASONFluent Client search parameter constant for component-data-absent-reasonstatic ca.uhn.fhir.rest.gclient.TokenClientParamCOMPONENT_VALUE_CONCEPTFluent Client search parameter constant for component-value-conceptstatic ca.uhn.fhir.rest.gclient.QuantityClientParamCOMPONENT_VALUE_QUANTITYFluent Client search parameter constant for component-value-quantitystatic ca.uhn.fhir.rest.gclient.TokenClientParamDATA_ABSENT_REASONFluent Client search parameter constant for data-absent-reasonprotected CodeableConceptdataAbsentReasonProvides a reason why the expected value in the element Observation.value[x] is missing.static ca.uhn.fhir.rest.gclient.DateClientParamDATEFluent Client search parameter constant for datestatic ca.uhn.fhir.rest.gclient.ReferenceClientParamDERIVED_FROMFluent Client search parameter constant for derived-fromprotected List<Reference>derivedFromThe target resource that represents a measurement from which this observation value is derived.protected List<Resource>derivedFromTargetThe actual objects that are the target of the reference (The target resource that represents a measurement from which this observation value is derived.protected ReferencedeviceThe device used to generate the observation data.static ca.uhn.fhir.rest.gclient.ReferenceClientParamDEVICEFluent Client search parameter constant for deviceprotected ResourcedeviceTargetThe actual object that is the target of the reference (The device used to generate the observation data.)protected TypeeffectiveThe time or time-period the observed value is asserted as being true.protected ReferenceencounterThe healthcare event (e.g.static ca.uhn.fhir.rest.gclient.ReferenceClientParamENCOUNTERFluent Client search parameter constant for encounterprotected EncounterencounterTargetThe actual object that is the target of the reference (The healthcare event (e.g.protected List<Reference>focusThe actual focus of an observation when it is not the patient of record representing something or someone associated with the patient such as a spouse, parent, fetus, or donor.static ca.uhn.fhir.rest.gclient.ReferenceClientParamFOCUSFluent Client search parameter constant for focusprotected List<Resource>focusTargetThe actual objects that are the target of the reference (The actual focus of an observation when it is not the patient of record representing something or someone associated with the patient such as a spouse, parent, fetus, or donor.static ca.uhn.fhir.rest.gclient.ReferenceClientParamHAS_MEMBERFluent Client search parameter constant for has-memberprotected List<Reference>hasMemberThis observation is a group observation (e.g.protected List<Resource>hasMemberTargetThe actual objects that are the target of the reference (This observation is a group observation (e.g.protected List<Identifier>identifierA unique identifier assigned to this observation.static ca.uhn.fhir.rest.gclient.TokenClientParamIDENTIFIERFluent Client search parameter constant for identifierstatic ca.uhn.fhir.model.api.IncludeINCLUDE_BASED_ONConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.IncludeINCLUDE_DERIVED_FROMConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.IncludeINCLUDE_DEVICEConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.IncludeINCLUDE_ENCOUNTERConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.IncludeINCLUDE_FOCUSConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.IncludeINCLUDE_HAS_MEMBERConstant 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_PATIENTConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.IncludeINCLUDE_PERFORMERConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.IncludeINCLUDE_SPECIMENConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.IncludeINCLUDE_SUBJECTConstant for fluent queries to be used to add include statements.protected List<CodeableConcept>interpretationA categorical assessment of an observation value.protected InstantTypeissuedThe date and time this version of the observation was made available to providers, typically after the results have been reviewed and verified.protected CodeableConceptmethodIndicates the mechanism used to perform the observation.static ca.uhn.fhir.rest.gclient.TokenClientParamMETHODFluent Client search parameter constant for methodprotected List<Annotation>noteComments about the observation or the results.static ca.uhn.fhir.rest.gclient.ReferenceClientParamPART_OFFluent Client search parameter constant for part-ofprotected List<Reference>partOfA larger event of which this particular Observation is a component or step.protected List<Resource>partOfTargetThe actual objects that are the target of the reference (A larger event of which this particular Observation is a component or step.static ca.uhn.fhir.rest.gclient.ReferenceClientParamPATIENTFluent Client search parameter constant for patientprotected List<Reference>performerWho was responsible for asserting the observed value as "true".static ca.uhn.fhir.rest.gclient.ReferenceClientParamPERFORMERFluent Client search parameter constant for performerprotected List<Resource>performerTargetThe actual objects that are the target of the reference (Who was responsible for asserting the observed value as "true".)protected List<Observation.ObservationReferenceRangeComponent>referenceRangeGuidance on how to interpret the value by comparison to a normal or recommended range.static StringSP_BASED_ONSearch parameter: based-onstatic StringSP_CATEGORYSearch parameter: categorystatic StringSP_CODESearch parameter: codestatic StringSP_CODE_VALUE_CONCEPTSearch parameter: code-value-conceptstatic StringSP_CODE_VALUE_DATESearch parameter: code-value-datestatic StringSP_CODE_VALUE_QUANTITYSearch parameter: code-value-quantitystatic StringSP_CODE_VALUE_STRINGSearch parameter: code-value-stringstatic StringSP_COMBO_CODESearch parameter: combo-codestatic StringSP_COMBO_CODE_VALUE_CONCEPTSearch parameter: combo-code-value-conceptstatic StringSP_COMBO_CODE_VALUE_QUANTITYSearch parameter: combo-code-value-quantitystatic StringSP_COMBO_DATA_ABSENT_REASONSearch parameter: combo-data-absent-reasonstatic StringSP_COMBO_VALUE_CONCEPTSearch parameter: combo-value-conceptstatic StringSP_COMBO_VALUE_QUANTITYSearch parameter: combo-value-quantitystatic StringSP_COMPONENT_CODESearch parameter: component-codestatic StringSP_COMPONENT_CODE_VALUE_CONCEPTSearch parameter: component-code-value-conceptstatic StringSP_COMPONENT_CODE_VALUE_QUANTITYSearch parameter: component-code-value-quantitystatic StringSP_COMPONENT_DATA_ABSENT_REASONSearch parameter: component-data-absent-reasonstatic StringSP_COMPONENT_VALUE_CONCEPTSearch parameter: component-value-conceptstatic StringSP_COMPONENT_VALUE_QUANTITYSearch parameter: component-value-quantitystatic StringSP_DATA_ABSENT_REASONSearch parameter: data-absent-reasonstatic StringSP_DATESearch parameter: datestatic StringSP_DERIVED_FROMSearch parameter: derived-fromstatic StringSP_DEVICESearch parameter: devicestatic StringSP_ENCOUNTERSearch parameter: encounterstatic StringSP_FOCUSSearch parameter: focusstatic StringSP_HAS_MEMBERSearch parameter: has-memberstatic StringSP_IDENTIFIERSearch parameter: identifierstatic StringSP_METHODSearch parameter: methodstatic StringSP_PART_OFSearch parameter: part-ofstatic StringSP_PATIENTSearch parameter: patientstatic StringSP_PERFORMERSearch parameter: performerstatic StringSP_SPECIMENSearch parameter: specimenstatic StringSP_STATUSSearch parameter: statusstatic StringSP_SUBJECTSearch parameter: subjectstatic StringSP_VALUE_CONCEPTSearch parameter: value-conceptstatic StringSP_VALUE_DATESearch parameter: value-datestatic StringSP_VALUE_QUANTITYSearch parameter: value-quantitystatic StringSP_VALUE_STRINGSearch parameter: value-stringprotected ReferencespecimenThe specimen that was used when this observation was made.static ca.uhn.fhir.rest.gclient.ReferenceClientParamSPECIMENFluent Client search parameter constant for specimenprotected SpecimenspecimenTargetThe actual object that is the target of the reference (The specimen that was used when this observation was made.)protected Enumeration<Observation.ObservationStatus>statusThe status of the result value.static ca.uhn.fhir.rest.gclient.TokenClientParamSTATUSFluent Client search parameter constant for statusprotected ReferencesubjectThe patient, or group of patients, location, or device this observation is about and into whose record the observation is placed.static ca.uhn.fhir.rest.gclient.ReferenceClientParamSUBJECTFluent Client search parameter constant for subjectprotected ResourcesubjectTargetThe actual object that is the target of the reference (The patient, or group of patients, location, or device this observation is about and into whose record the observation is placed.protected TypevalueThe information determined as a result of making the observation, if the information has a simple value.static ca.uhn.fhir.rest.gclient.TokenClientParamVALUE_CONCEPTFluent Client search parameter constant for value-conceptstatic ca.uhn.fhir.rest.gclient.DateClientParamVALUE_DATEFluent Client search parameter constant for value-datestatic ca.uhn.fhir.rest.gclient.QuantityClientParamVALUE_QUANTITYFluent Client search parameter constant for value-quantitystatic ca.uhn.fhir.rest.gclient.StringClientParamVALUE_STRINGFluent Client search parameter constant for value-string-
Fields inherited from class org.hl7.fhir.r4.model.DomainResource
contained, extension, modifierExtension, text
-
Fields inherited from class org.hl7.fhir.r4.model.Resource
id, implicitRules, language, meta
-
-
Constructor Summary
Constructors Constructor Description Observation()ConstructorObservation(Enumeration<Observation.ObservationStatus> status, CodeableConcept code)Constructor
-
Method Summary
-
Methods inherited from class org.hl7.fhir.r4.model.DomainResource
addContained, addExtension, addExtension, addExtension, addModifierExtension, addModifierExtension, checkNoModifiers, copyValues, getContained, getExtension, getExtensionByUrl, getExtensionsByUrl, getModifierExtension, getModifierExtensionsByUrl, getText, hasContained, hasExtension, hasExtension, hasModifierExtension, hasText, setContained, setExtension, setModifierExtension, setText
-
Methods inherited from class org.hl7.fhir.r4.model.Resource
copyValues, getId, getIdBase, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdBase, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMeta
-
Methods inherited from class org.hl7.fhir.r4.model.BaseResource
getStructureFhirVersionEnum, isResource, setId
-
Methods inherited from class org.hl7.fhir.r4.model.Base
castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCanonical, castToCode, castToCodeableConcept, castToCoding, castToContactDetail, castToContactPoint, castToContributor, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDosage, castToDuration, castToElementDefinition, castToExpression, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMarketingStatus, castToMeta, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPopulation, castToPositiveInt, castToProdCharacteristic, castToProductShelfLife, castToQuantity, castToRange, castToRatio, castToReference, castToRelatedArtifact, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToSubstanceAmount, castToTime, castToTiming, castToTriggerDefinition, castToType, castToUnsignedInt, castToUri, castToUrl, castToUsageContext, castToXhtml, castToXhtmlString, children, clearUserData, compareDeep, compareDeep, compareDeep, compareDeep, compareValues, compareValues, dateTimeValue, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isBooleanPrimitive, isDateTime, isMetadataBased, isPrimitive, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINN
-
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.IAnyResource
getId, getIdElement, getLanguageElement, getUserData, setId, setUserData
-
-
-
-
Field Detail
-
identifier
protected List<Identifier> identifier
A unique identifier assigned to this observation.
-
basedOn
protected List<Reference> basedOn
A plan, proposal or order that is fulfilled in whole or in part by this event. For example, a MedicationRequest may require a patient to have laboratory test performed before it is dispensed.
-
basedOnTarget
protected List<Resource> basedOnTarget
The actual objects that are the target of the reference (A plan, proposal or order that is fulfilled in whole or in part by this event. For example, a MedicationRequest may require a patient to have laboratory test performed before it is dispensed.)
-
partOf
protected List<Reference> partOf
A larger event of which this particular Observation is a component or step. For example, an observation as part of a procedure.
-
partOfTarget
protected List<Resource> partOfTarget
The actual objects that are the target of the reference (A larger event of which this particular Observation is a component or step. For example, an observation as part of a procedure.)
-
status
protected Enumeration<Observation.ObservationStatus> status
The status of the result value.
-
category
protected List<CodeableConcept> category
A code that classifies the general type of observation being made.
-
code
protected CodeableConcept code
Describes what was observed. Sometimes this is called the observation "name".
-
subject
protected Reference subject
The patient, or group of patients, location, or device this observation is about and into whose record the observation is placed. If the actual focus of the observation is different from the subject (or a sample of, part, or region of the subject), the `focus` element or the `code` itself specifies the actual focus of the observation.
-
subjectTarget
protected Resource subjectTarget
The actual object that is the target of the reference (The patient, or group of patients, location, or device this observation is about and into whose record the observation is placed. If the actual focus of the observation is different from the subject (or a sample of, part, or region of the subject), the `focus` element or the `code` itself specifies the actual focus of the observation.)
-
focus
protected List<Reference> focus
The actual focus of an observation when it is not the patient of record representing something or someone associated with the patient such as a spouse, parent, fetus, or donor. For example, fetus observations in a mother's record. The focus of an observation could also be an existing condition, an intervention, the subject's diet, another observation of the subject, or a body structure such as tumor or implanted device. An example use case would be using the Observation resource to capture whether the mother is trained to change her child's tracheostomy tube. In this example, the child is the patient of record and the mother is the focus.
-
focusTarget
protected List<Resource> focusTarget
The actual objects that are the target of the reference (The actual focus of an observation when it is not the patient of record representing something or someone associated with the patient such as a spouse, parent, fetus, or donor. For example, fetus observations in a mother's record. The focus of an observation could also be an existing condition, an intervention, the subject's diet, another observation of the subject, or a body structure such as tumor or implanted device. An example use case would be using the Observation resource to capture whether the mother is trained to change her child's tracheostomy tube. In this example, the child is the patient of record and the mother is the focus.)
-
encounter
protected Reference encounter
The healthcare event (e.g. a patient and healthcare provider interaction) during which this observation is made.
-
encounterTarget
protected Encounter encounterTarget
The actual object that is the target of the reference (The healthcare event (e.g. a patient and healthcare provider interaction) during which this observation is made.)
-
effective
protected Type effective
The time or time-period the observed value is asserted as being true. For biological subjects - e.g. human patients - this is usually called the "physiologically relevant time". This is usually either the time of the procedure or of specimen collection, but very often the source of the date/time is not known, only the date/time itself.
-
issued
protected InstantType issued
The date and time this version of the observation was made available to providers, typically after the results have been reviewed and verified.
-
performer
protected List<Reference> performer
Who was responsible for asserting the observed value as "true".
-
performerTarget
protected List<Resource> performerTarget
The actual objects that are the target of the reference (Who was responsible for asserting the observed value as "true".)
-
value
protected Type value
The information determined as a result of making the observation, if the information has a simple value.
-
dataAbsentReason
protected CodeableConcept dataAbsentReason
Provides a reason why the expected value in the element Observation.value[x] is missing.
-
interpretation
protected List<CodeableConcept> interpretation
A categorical assessment of an observation value. For example, high, low, normal.
-
note
protected List<Annotation> note
Comments about the observation or the results.
-
bodySite
protected CodeableConcept bodySite
Indicates the site on the subject's body where the observation was made (i.e. the target site).
-
method
protected CodeableConcept method
Indicates the mechanism used to perform the observation.
-
specimenTarget
protected Specimen specimenTarget
The actual object that is the target of the reference (The specimen that was used when this observation was made.)
-
deviceTarget
protected Resource deviceTarget
The actual object that is the target of the reference (The device used to generate the observation data.)
-
referenceRange
protected List<Observation.ObservationReferenceRangeComponent> referenceRange
Guidance on how to interpret the value by comparison to a normal or recommended range. Multiple reference ranges are interpreted as an "OR". In other words, to represent two distinct target populations, two `referenceRange` elements would be used.
-
hasMember
protected List<Reference> hasMember
This observation is a group observation (e.g. a battery, a panel of tests, a set of vital sign measurements) that includes the target as a member of the group.
-
hasMemberTarget
protected List<Resource> hasMemberTarget
The actual objects that are the target of the reference (This observation is a group observation (e.g. a battery, a panel of tests, a set of vital sign measurements) that includes the target as a member of the group.)
-
derivedFrom
protected List<Reference> derivedFrom
The target resource that represents a measurement from which this observation value is derived. For example, a calculated anion gap or a fetal measurement based on an ultrasound image.
-
derivedFromTarget
protected List<Resource> derivedFromTarget
The actual objects that are the target of the reference (The target resource that represents a measurement from which this observation value is derived. For example, a calculated anion gap or a fetal measurement based on an ultrasound image.)
-
component
protected List<Observation.ObservationComponentComponent> component
Some observations have multiple component observations. These component observations are expressed as separate code value pairs that share the same attributes. Examples include systolic and diastolic component observations for blood pressure measurement and multiple component observations for genetics observations.
-
SP_DATE
public static final String SP_DATE
Search parameter: dateDescription: Obtained date/time. If the obtained element is a period, a date that falls in the period
Type: date
Path: Observation.effective[x]
- See Also:
- Constant Field Values
-
DATE
public static final ca.uhn.fhir.rest.gclient.DateClientParam DATE
Fluent Client search parameter constant for dateDescription: Obtained date/time. If the obtained element is a period, a date that falls in the period
Type: date
Path: Observation.effective[x]
-
SP_COMBO_DATA_ABSENT_REASON
public static final String SP_COMBO_DATA_ABSENT_REASON
Search parameter: combo-data-absent-reasonDescription: The reason why the expected value in the element Observation.value[x] or Observation.component.value[x] is missing.
Type: token
Path: Observation.dataAbsentReason, Observation.component.dataAbsentReason
- See Also:
- Constant Field Values
-
COMBO_DATA_ABSENT_REASON
public static final ca.uhn.fhir.rest.gclient.TokenClientParam COMBO_DATA_ABSENT_REASON
Fluent Client search parameter constant for combo-data-absent-reasonDescription: The reason why the expected value in the element Observation.value[x] or Observation.component.value[x] is missing.
Type: token
Path: Observation.dataAbsentReason, Observation.component.dataAbsentReason
-
SP_CODE
public static final String SP_CODE
Search parameter: codeDescription: The code of the observation type
Type: token
Path: Observation.code
- See Also:
- Constant Field Values
-
CODE
public static final ca.uhn.fhir.rest.gclient.TokenClientParam CODE
Fluent Client search parameter constant for codeDescription: The code of the observation type
Type: token
Path: Observation.code
-
SP_COMBO_CODE_VALUE_QUANTITY
public static final String SP_COMBO_CODE_VALUE_QUANTITY
Search parameter: combo-code-value-quantityDescription: Code and quantity value parameter pair, including in components
Type: composite
Path:
- See Also:
- Constant Field Values
-
COMBO_CODE_VALUE_QUANTITY
public static final ca.uhn.fhir.rest.gclient.CompositeClientParam<ca.uhn.fhir.rest.gclient.TokenClientParam,ca.uhn.fhir.rest.gclient.QuantityClientParam> COMBO_CODE_VALUE_QUANTITY
Fluent Client search parameter constant for combo-code-value-quantityDescription: Code and quantity value parameter pair, including in components
Type: composite
Path:
-
SP_SUBJECT
public static final String SP_SUBJECT
Search parameter: subjectDescription: The subject that the observation is about
Type: reference
Path: Observation.subject
- See Also:
- Constant Field Values
-
SUBJECT
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SUBJECT
Fluent Client search parameter constant for subjectDescription: The subject that the observation is about
Type: reference
Path: Observation.subject
-
INCLUDE_SUBJECT
public static final ca.uhn.fhir.model.api.Include INCLUDE_SUBJECT
Constant for fluent queries to be used to add include statements. Specifies the path value of "Observation:subject".
-
SP_COMPONENT_DATA_ABSENT_REASON
public static final String SP_COMPONENT_DATA_ABSENT_REASON
Search parameter: component-data-absent-reasonDescription: The reason why the expected value in the element Observation.component.value[x] is missing.
Type: token
Path: Observation.component.dataAbsentReason
- See Also:
- Constant Field Values
-
COMPONENT_DATA_ABSENT_REASON
public static final ca.uhn.fhir.rest.gclient.TokenClientParam COMPONENT_DATA_ABSENT_REASON
Fluent Client search parameter constant for component-data-absent-reasonDescription: The reason why the expected value in the element Observation.component.value[x] is missing.
Type: token
Path: Observation.component.dataAbsentReason
-
SP_VALUE_CONCEPT
public static final String SP_VALUE_CONCEPT
Search parameter: value-conceptDescription: The value of the observation, if the value is a CodeableConcept
Type: token
Path: Observation.valueCodeableConcept
- See Also:
- Constant Field Values
-
VALUE_CONCEPT
public static final ca.uhn.fhir.rest.gclient.TokenClientParam VALUE_CONCEPT
Fluent Client search parameter constant for value-conceptDescription: The value of the observation, if the value is a CodeableConcept
Type: token
Path: Observation.valueCodeableConcept
-
SP_VALUE_DATE
public static final String SP_VALUE_DATE
Search parameter: value-dateDescription: The value of the observation, if the value is a date or period of time
Type: date
Path: Observation.valueDateTime, Observation.valuePeriod
- See Also:
- Constant Field Values
-
VALUE_DATE
public static final ca.uhn.fhir.rest.gclient.DateClientParam VALUE_DATE
Fluent Client search parameter constant for value-dateDescription: The value of the observation, if the value is a date or period of time
Type: date
Path: Observation.valueDateTime, Observation.valuePeriod
-
SP_FOCUS
public static final String SP_FOCUS
Search parameter: focusDescription: The focus of an observation when the focus is not the patient of record.
Type: reference
Path: Observation.focus
- See Also:
- Constant Field Values
-
FOCUS
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam FOCUS
Fluent Client search parameter constant for focusDescription: The focus of an observation when the focus is not the patient of record.
Type: reference
Path: Observation.focus
-
INCLUDE_FOCUS
public static final ca.uhn.fhir.model.api.Include INCLUDE_FOCUS
Constant for fluent queries to be used to add include statements. Specifies the path value of "Observation:focus".
-
SP_DERIVED_FROM
public static final String SP_DERIVED_FROM
Search parameter: derived-fromDescription: Related measurements the observation is made from
Type: reference
Path: Observation.derivedFrom
- See Also:
- Constant Field Values
-
DERIVED_FROM
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam DERIVED_FROM
Fluent Client search parameter constant for derived-fromDescription: Related measurements the observation is made from
Type: reference
Path: Observation.derivedFrom
-
INCLUDE_DERIVED_FROM
public static final ca.uhn.fhir.model.api.Include INCLUDE_DERIVED_FROM
Constant for fluent queries to be used to add include statements. Specifies the path value of "Observation:derived-from".
-
SP_PART_OF
public static final String SP_PART_OF
Search parameter: part-ofDescription: Part of referenced event
Type: reference
Path: Observation.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: Part of referenced event
Type: reference
Path: Observation.partOf
-
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 "Observation:part-of".
-
SP_HAS_MEMBER
public static final String SP_HAS_MEMBER
Search parameter: has-memberDescription: Related resource that belongs to the Observation group
Type: reference
Path: Observation.hasMember
- See Also:
- Constant Field Values
-
HAS_MEMBER
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam HAS_MEMBER
Fluent Client search parameter constant for has-memberDescription: Related resource that belongs to the Observation group
Type: reference
Path: Observation.hasMember
-
INCLUDE_HAS_MEMBER
public static final ca.uhn.fhir.model.api.Include INCLUDE_HAS_MEMBER
Constant for fluent queries to be used to add include statements. Specifies the path value of "Observation:has-member".
-
SP_CODE_VALUE_STRING
public static final String SP_CODE_VALUE_STRING
Search parameter: code-value-stringDescription: Code and string value parameter pair
Type: composite
Path:
- See Also:
- Constant Field Values
-
CODE_VALUE_STRING
public static final ca.uhn.fhir.rest.gclient.CompositeClientParam<ca.uhn.fhir.rest.gclient.TokenClientParam,ca.uhn.fhir.rest.gclient.StringClientParam> CODE_VALUE_STRING
Fluent Client search parameter constant for code-value-stringDescription: Code and string value parameter pair
Type: composite
Path:
-
SP_COMPONENT_CODE_VALUE_QUANTITY
public static final String SP_COMPONENT_CODE_VALUE_QUANTITY
Search parameter: component-code-value-quantityDescription: Component code and component quantity value parameter pair
Type: composite
Path:
- See Also:
- Constant Field Values
-
COMPONENT_CODE_VALUE_QUANTITY
public static final ca.uhn.fhir.rest.gclient.CompositeClientParam<ca.uhn.fhir.rest.gclient.TokenClientParam,ca.uhn.fhir.rest.gclient.QuantityClientParam> COMPONENT_CODE_VALUE_QUANTITY
Fluent Client search parameter constant for component-code-value-quantityDescription: Component code and component quantity value parameter pair
Type: composite
Path:
-
SP_BASED_ON
public static final String SP_BASED_ON
Search parameter: based-onDescription: Reference to the service request.
Type: reference
Path: Observation.basedOn
- See Also:
- Constant Field Values
-
BASED_ON
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam BASED_ON
Fluent Client search parameter constant for based-onDescription: Reference to the service request.
Type: reference
Path: Observation.basedOn
-
INCLUDE_BASED_ON
public static final ca.uhn.fhir.model.api.Include INCLUDE_BASED_ON
Constant for fluent queries to be used to add include statements. Specifies the path value of "Observation:based-on".
-
SP_CODE_VALUE_DATE
public static final String SP_CODE_VALUE_DATE
Search parameter: code-value-dateDescription: Code and date/time value parameter pair
Type: composite
Path:
- See Also:
- Constant Field Values
-
CODE_VALUE_DATE
public static final ca.uhn.fhir.rest.gclient.CompositeClientParam<ca.uhn.fhir.rest.gclient.TokenClientParam,ca.uhn.fhir.rest.gclient.DateClientParam> CODE_VALUE_DATE
Fluent Client search parameter constant for code-value-dateDescription: Code and date/time value parameter pair
Type: composite
Path:
-
SP_PATIENT
public static final String SP_PATIENT
Search parameter: patientDescription: The subject that the observation is about (if patient)
Type: reference
Path: Observation.subject
- See Also:
- Constant Field Values
-
PATIENT
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT
Fluent Client search parameter constant for patientDescription: The subject that the observation is about (if patient)
Type: reference
Path: Observation.subject
-
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 "Observation:patient".
-
SP_SPECIMEN
public static final String SP_SPECIMEN
Search parameter: specimenDescription: Specimen used for this observation
Type: reference
Path: Observation.specimen
- See Also:
- Constant Field Values
-
SPECIMEN
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SPECIMEN
Fluent Client search parameter constant for specimenDescription: Specimen used for this observation
Type: reference
Path: Observation.specimen
-
INCLUDE_SPECIMEN
public static final ca.uhn.fhir.model.api.Include INCLUDE_SPECIMEN
Constant for fluent queries to be used to add include statements. Specifies the path value of "Observation:specimen".
-
SP_COMPONENT_CODE
public static final String SP_COMPONENT_CODE
Search parameter: component-codeDescription: The component code of the observation type
Type: token
Path: Observation.component.code
- See Also:
- Constant Field Values
-
COMPONENT_CODE
public static final ca.uhn.fhir.rest.gclient.TokenClientParam COMPONENT_CODE
Fluent Client search parameter constant for component-codeDescription: The component code of the observation type
Type: token
Path: Observation.component.code
-
SP_CODE_VALUE_QUANTITY
public static final String SP_CODE_VALUE_QUANTITY
Search parameter: code-value-quantityDescription: Code and quantity value parameter pair
Type: composite
Path:
- See Also:
- Constant Field Values
-
CODE_VALUE_QUANTITY
public static final ca.uhn.fhir.rest.gclient.CompositeClientParam<ca.uhn.fhir.rest.gclient.TokenClientParam,ca.uhn.fhir.rest.gclient.QuantityClientParam> CODE_VALUE_QUANTITY
Fluent Client search parameter constant for code-value-quantityDescription: Code and quantity value parameter pair
Type: composite
Path:
-
SP_COMBO_CODE_VALUE_CONCEPT
public static final String SP_COMBO_CODE_VALUE_CONCEPT
Search parameter: combo-code-value-conceptDescription: Code and coded value parameter pair, including in components
Type: composite
Path:
- See Also:
- Constant Field Values
-
COMBO_CODE_VALUE_CONCEPT
public static final ca.uhn.fhir.rest.gclient.CompositeClientParam<ca.uhn.fhir.rest.gclient.TokenClientParam,ca.uhn.fhir.rest.gclient.TokenClientParam> COMBO_CODE_VALUE_CONCEPT
Fluent Client search parameter constant for combo-code-value-conceptDescription: Code and coded value parameter pair, including in components
Type: composite
Path:
-
SP_VALUE_STRING
public static final String SP_VALUE_STRING
Search parameter: value-stringDescription: The value of the observation, if the value is a string, and also searches in CodeableConcept.text
Type: string
Path: Observation.value[x]
- See Also:
- Constant Field Values
-
VALUE_STRING
public static final ca.uhn.fhir.rest.gclient.StringClientParam VALUE_STRING
Fluent Client search parameter constant for value-stringDescription: The value of the observation, if the value is a string, and also searches in CodeableConcept.text
Type: string
Path: Observation.value[x]
-
SP_IDENTIFIER
public static final String SP_IDENTIFIER
Search parameter: identifierDescription: The unique id for a particular observation
Type: token
Path: Observation.identifier
- See Also:
- Constant Field Values
-
IDENTIFIER
public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER
Fluent Client search parameter constant for identifierDescription: The unique id for a particular observation
Type: token
Path: Observation.identifier
-
SP_PERFORMER
public static final String SP_PERFORMER
Search parameter: performerDescription: Who performed the observation
Type: reference
Path: Observation.performer
- See Also:
- Constant Field Values
-
PERFORMER
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PERFORMER
Fluent Client search parameter constant for performerDescription: Who performed the observation
Type: reference
Path: Observation.performer
-
INCLUDE_PERFORMER
public static final ca.uhn.fhir.model.api.Include INCLUDE_PERFORMER
Constant for fluent queries to be used to add include statements. Specifies the path value of "Observation:performer".
-
SP_COMBO_CODE
public static final String SP_COMBO_CODE
Search parameter: combo-codeDescription: The code of the observation type or component type
Type: token
Path: Observation.code, Observation.component.code
- See Also:
- Constant Field Values
-
COMBO_CODE
public static final ca.uhn.fhir.rest.gclient.TokenClientParam COMBO_CODE
Fluent Client search parameter constant for combo-codeDescription: The code of the observation type or component type
Type: token
Path: Observation.code, Observation.component.code
-
SP_METHOD
public static final String SP_METHOD
Search parameter: methodDescription: The method used for the observation
Type: token
Path: Observation.method
- See Also:
- Constant Field Values
-
METHOD
public static final ca.uhn.fhir.rest.gclient.TokenClientParam METHOD
Fluent Client search parameter constant for methodDescription: The method used for the observation
Type: token
Path: Observation.method
-
SP_VALUE_QUANTITY
public static final String SP_VALUE_QUANTITY
Search parameter: value-quantityDescription: The value of the observation, if the value is a Quantity, or a SampledData (just search on the bounds of the values in sampled data)
Type: quantity
Path: Observation.value[x]
- See Also:
- Constant Field Values
-
VALUE_QUANTITY
public static final ca.uhn.fhir.rest.gclient.QuantityClientParam VALUE_QUANTITY
Fluent Client search parameter constant for value-quantityDescription: The value of the observation, if the value is a Quantity, or a SampledData (just search on the bounds of the values in sampled data)
Type: quantity
Path: Observation.value[x]
-
SP_COMPONENT_VALUE_QUANTITY
public static final String SP_COMPONENT_VALUE_QUANTITY
Search parameter: component-value-quantityDescription: The value of the component observation, if the value is a Quantity, or a SampledData (just search on the bounds of the values in sampled data)
Type: quantity
Path: Observation.component.value[x]
- See Also:
- Constant Field Values
-
COMPONENT_VALUE_QUANTITY
public static final ca.uhn.fhir.rest.gclient.QuantityClientParam COMPONENT_VALUE_QUANTITY
Fluent Client search parameter constant for component-value-quantityDescription: The value of the component observation, if the value is a Quantity, or a SampledData (just search on the bounds of the values in sampled data)
Type: quantity
Path: Observation.component.value[x]
-
SP_DATA_ABSENT_REASON
public static final String SP_DATA_ABSENT_REASON
Search parameter: data-absent-reasonDescription: The reason why the expected value in the element Observation.value[x] is missing.
Type: token
Path: Observation.dataAbsentReason
- See Also:
- Constant Field Values
-
DATA_ABSENT_REASON
public static final ca.uhn.fhir.rest.gclient.TokenClientParam DATA_ABSENT_REASON
Fluent Client search parameter constant for data-absent-reasonDescription: The reason why the expected value in the element Observation.value[x] is missing.
Type: token
Path: Observation.dataAbsentReason
-
SP_COMBO_VALUE_QUANTITY
public static final String SP_COMBO_VALUE_QUANTITY
Search parameter: combo-value-quantityDescription: The value or component value of the observation, if the value is a Quantity, or a SampledData (just search on the bounds of the values in sampled data)
Type: quantity
Path: Observation.value[x]
- See Also:
- Constant Field Values
-
COMBO_VALUE_QUANTITY
public static final ca.uhn.fhir.rest.gclient.QuantityClientParam COMBO_VALUE_QUANTITY
Fluent Client search parameter constant for combo-value-quantityDescription: The value or component value of the observation, if the value is a Quantity, or a SampledData (just search on the bounds of the values in sampled data)
Type: quantity
Path: Observation.value[x]
-
SP_ENCOUNTER
public static final String SP_ENCOUNTER
Search parameter: encounterDescription: Encounter related to the observation
Type: reference
Path: Observation.encounter
- See Also:
- Constant Field Values
-
ENCOUNTER
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ENCOUNTER
Fluent Client search parameter constant for encounterDescription: Encounter related to the observation
Type: reference
Path: Observation.encounter
-
INCLUDE_ENCOUNTER
public static final ca.uhn.fhir.model.api.Include INCLUDE_ENCOUNTER
Constant for fluent queries to be used to add include statements. Specifies the path value of "Observation:encounter".
-
SP_CODE_VALUE_CONCEPT
public static final String SP_CODE_VALUE_CONCEPT
Search parameter: code-value-conceptDescription: Code and coded value parameter pair
Type: composite
Path:
- See Also:
- Constant Field Values
-
CODE_VALUE_CONCEPT
public static final ca.uhn.fhir.rest.gclient.CompositeClientParam<ca.uhn.fhir.rest.gclient.TokenClientParam,ca.uhn.fhir.rest.gclient.TokenClientParam> CODE_VALUE_CONCEPT
Fluent Client search parameter constant for code-value-conceptDescription: Code and coded value parameter pair
Type: composite
Path:
-
SP_COMPONENT_CODE_VALUE_CONCEPT
public static final String SP_COMPONENT_CODE_VALUE_CONCEPT
Search parameter: component-code-value-conceptDescription: Component code and component coded value parameter pair
Type: composite
Path:
- See Also:
- Constant Field Values
-
COMPONENT_CODE_VALUE_CONCEPT
public static final ca.uhn.fhir.rest.gclient.CompositeClientParam<ca.uhn.fhir.rest.gclient.TokenClientParam,ca.uhn.fhir.rest.gclient.TokenClientParam> COMPONENT_CODE_VALUE_CONCEPT
Fluent Client search parameter constant for component-code-value-conceptDescription: Component code and component coded value parameter pair
Type: composite
Path:
-
SP_COMPONENT_VALUE_CONCEPT
public static final String SP_COMPONENT_VALUE_CONCEPT
Search parameter: component-value-conceptDescription: The value of the component observation, if the value is a CodeableConcept
Type: token
Path: Observation.component.valueCodeableConcept
- See Also:
- Constant Field Values
-
COMPONENT_VALUE_CONCEPT
public static final ca.uhn.fhir.rest.gclient.TokenClientParam COMPONENT_VALUE_CONCEPT
Fluent Client search parameter constant for component-value-conceptDescription: The value of the component observation, if the value is a CodeableConcept
Type: token
Path: Observation.component.valueCodeableConcept
-
SP_CATEGORY
public static final String SP_CATEGORY
Search parameter: categoryDescription: The classification of the type of observation
Type: token
Path: Observation.category
- See Also:
- Constant Field Values
-
CATEGORY
public static final ca.uhn.fhir.rest.gclient.TokenClientParam CATEGORY
Fluent Client search parameter constant for categoryDescription: The classification of the type of observation
Type: token
Path: Observation.category
-
SP_DEVICE
public static final String SP_DEVICE
Search parameter: deviceDescription: The Device that generated the observation data.
Type: reference
Path: Observation.device
- See Also:
- Constant Field Values
-
DEVICE
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam DEVICE
Fluent Client search parameter constant for deviceDescription: The Device that generated the observation data.
Type: reference
Path: Observation.device
-
INCLUDE_DEVICE
public static final ca.uhn.fhir.model.api.Include INCLUDE_DEVICE
Constant for fluent queries to be used to add include statements. Specifies the path value of "Observation:device".
-
SP_COMBO_VALUE_CONCEPT
public static final String SP_COMBO_VALUE_CONCEPT
Search parameter: combo-value-conceptDescription: The value or component value of the observation, if the value is a CodeableConcept
Type: token
Path: Observation.valueCodeableConcept, Observation.component.valueCodeableConcept
- See Also:
- Constant Field Values
-
COMBO_VALUE_CONCEPT
public static final ca.uhn.fhir.rest.gclient.TokenClientParam COMBO_VALUE_CONCEPT
Fluent Client search parameter constant for combo-value-conceptDescription: The value or component value of the observation, if the value is a CodeableConcept
Type: token
Path: Observation.valueCodeableConcept, Observation.component.valueCodeableConcept
-
SP_STATUS
public static final String SP_STATUS
Search parameter: statusDescription: The status of the observation
Type: token
Path: Observation.status
- See Also:
- Constant Field Values
-
STATUS
public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS
Fluent Client search parameter constant for statusDescription: The status of the observation
Type: token
Path: Observation.status
-
-
Constructor Detail
-
Observation
public Observation()
Constructor
-
Observation
public Observation(Enumeration<Observation.ObservationStatus> status, CodeableConcept code)
Constructor
-
-
Method Detail
-
getIdentifier
public List<Identifier> getIdentifier()
- Returns:
identifier(A unique identifier assigned to this observation.)
-
setIdentifier
public Observation setIdentifier(List<Identifier> theIdentifier)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasIdentifier
public boolean hasIdentifier()
-
addIdentifier
public Identifier addIdentifier()
-
addIdentifier
public Observation addIdentifier(Identifier t)
-
getIdentifierFirstRep
public Identifier getIdentifierFirstRep()
- Returns:
- The first repetition of repeating field
identifier, creating it if it does not already exist
-
getBasedOn
public List<Reference> getBasedOn()
- Returns:
basedOn(A plan, proposal or order that is fulfilled in whole or in part by this event. For example, a MedicationRequest may require a patient to have laboratory test performed before it is dispensed.)
-
setBasedOn
public Observation setBasedOn(List<Reference> theBasedOn)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasBasedOn
public boolean hasBasedOn()
-
addBasedOn
public Reference addBasedOn()
-
addBasedOn
public Observation addBasedOn(Reference t)
-
getBasedOnFirstRep
public Reference getBasedOnFirstRep()
- Returns:
- The first repetition of repeating field
basedOn, creating it if it does not already exist
-
getBasedOnTarget
@Deprecated public List<Resource> getBasedOnTarget()
Deprecated.Use Reference#setResource(IBaseResource) instead
-
getPartOf
public List<Reference> getPartOf()
- Returns:
partOf(A larger event of which this particular Observation is a component or step. For example, an observation as part of a procedure.)
-
setPartOf
public Observation setPartOf(List<Reference> thePartOf)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasPartOf
public boolean hasPartOf()
-
addPartOf
public Observation addPartOf(Reference t)
-
getPartOfFirstRep
public Reference getPartOfFirstRep()
- Returns:
- The first repetition of repeating field
partOf, creating it if it does not already exist
-
getPartOfTarget
@Deprecated public List<Resource> getPartOfTarget()
Deprecated.Use Reference#setResource(IBaseResource) instead
-
getStatusElement
public Enumeration<Observation.ObservationStatus> getStatusElement()
- Returns:
status(The status of the result value.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value
-
hasStatusElement
public boolean hasStatusElement()
-
hasStatus
public boolean hasStatus()
-
setStatusElement
public Observation setStatusElement(Enumeration<Observation.ObservationStatus> value)
- Parameters:
value-status(The status of the result value.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value
-
getStatus
public Observation.ObservationStatus getStatus()
- Returns:
- The status of the result value.
-
setStatus
public Observation setStatus(Observation.ObservationStatus value)
- Parameters:
value- The status of the result value.
-
getCategory
public List<CodeableConcept> getCategory()
- Returns:
category(A code that classifies the general type of observation being made.)
-
setCategory
public Observation setCategory(List<CodeableConcept> theCategory)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasCategory
public boolean hasCategory()
-
addCategory
public CodeableConcept addCategory()
-
addCategory
public Observation addCategory(CodeableConcept t)
-
getCategoryFirstRep
public CodeableConcept getCategoryFirstRep()
- Returns:
- The first repetition of repeating field
category, creating it if it does not already exist
-
getCode
public CodeableConcept getCode()
- Returns:
code(Describes what was observed. Sometimes this is called the observation "name".)
-
hasCode
public boolean hasCode()
-
setCode
public Observation setCode(CodeableConcept value)
- Parameters:
value-code(Describes what was observed. Sometimes this is called the observation "name".)
-
getSubject
public Reference getSubject()
- Returns:
subject(The patient, or group of patients, location, or device this observation is about and into whose record the observation is placed. If the actual focus of the observation is different from the subject (or a sample of, part, or region of the subject), the `focus` element or the `code` itself specifies the actual focus of the observation.)
-
hasSubject
public boolean hasSubject()
-
setSubject
public Observation setSubject(Reference value)
- Parameters:
value-subject(The patient, or group of patients, location, or device this observation is about and into whose record the observation is placed. If the actual focus of the observation is different from the subject (or a sample of, part, or region of the subject), the `focus` element or the `code` itself specifies the actual focus of the observation.)
-
getSubjectTarget
public Resource getSubjectTarget()
- Returns:
subjectThe actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (The patient, or group of patients, location, or device this observation is about and into whose record the observation is placed. If the actual focus of the observation is different from the subject (or a sample of, part, or region of the subject), the `focus` element or the `code` itself specifies the actual focus of the observation.)
-
setSubjectTarget
public Observation setSubjectTarget(Resource value)
- Parameters:
value-subjectThe actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (The patient, or group of patients, location, or device this observation is about and into whose record the observation is placed. If the actual focus of the observation is different from the subject (or a sample of, part, or region of the subject), the `focus` element or the `code` itself specifies the actual focus of the observation.)
-
getFocus
public List<Reference> getFocus()
- Returns:
focus(The actual focus of an observation when it is not the patient of record representing something or someone associated with the patient such as a spouse, parent, fetus, or donor. For example, fetus observations in a mother's record. The focus of an observation could also be an existing condition, an intervention, the subject's diet, another observation of the subject, or a body structure such as tumor or implanted device. An example use case would be using the Observation resource to capture whether the mother is trained to change her child's tracheostomy tube. In this example, the child is the patient of record and the mother is the focus.)
-
setFocus
public Observation setFocus(List<Reference> theFocus)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasFocus
public boolean hasFocus()
-
addFocus
public Observation addFocus(Reference t)
-
getFocusFirstRep
public Reference getFocusFirstRep()
- Returns:
- The first repetition of repeating field
focus, creating it if it does not already exist
-
getFocusTarget
@Deprecated public List<Resource> getFocusTarget()
Deprecated.Use Reference#setResource(IBaseResource) instead
-
getEncounter
public Reference getEncounter()
- Returns:
encounter(The healthcare event (e.g. a patient and healthcare provider interaction) during which this observation is made.)
-
hasEncounter
public boolean hasEncounter()
-
setEncounter
public Observation setEncounter(Reference value)
- Parameters:
value-encounter(The healthcare event (e.g. a patient and healthcare provider interaction) during which this observation is made.)
-
getEncounterTarget
public Encounter getEncounterTarget()
- Returns:
encounterThe actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (The healthcare event (e.g. a patient and healthcare provider interaction) during which this observation is made.)
-
setEncounterTarget
public Observation setEncounterTarget(Encounter value)
- Parameters:
value-encounterThe actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (The healthcare event (e.g. a patient and healthcare provider interaction) during which this observation is made.)
-
getEffective
public Type getEffective()
- Returns:
effective(The time or time-period the observed value is asserted as being true. For biological subjects - e.g. human patients - this is usually called the "physiologically relevant time". This is usually either the time of the procedure or of specimen collection, but very often the source of the date/time is not known, only the date/time itself.)
-
getEffectiveDateTimeType
public DateTimeType getEffectiveDateTimeType() throws org.hl7.fhir.exceptions.FHIRException
- Returns:
effective(The time or time-period the observed value is asserted as being true. For biological subjects - e.g. human patients - this is usually called the "physiologically relevant time". This is usually either the time of the procedure or of specimen collection, but very often the source of the date/time is not known, only the date/time itself.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasEffectiveDateTimeType
public boolean hasEffectiveDateTimeType()
-
getEffectivePeriod
public Period getEffectivePeriod() throws org.hl7.fhir.exceptions.FHIRException
- Returns:
effective(The time or time-period the observed value is asserted as being true. For biological subjects - e.g. human patients - this is usually called the "physiologically relevant time". This is usually either the time of the procedure or of specimen collection, but very often the source of the date/time is not known, only the date/time itself.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasEffectivePeriod
public boolean hasEffectivePeriod()
-
getEffectiveTiming
public Timing getEffectiveTiming() throws org.hl7.fhir.exceptions.FHIRException
- Returns:
effective(The time or time-period the observed value is asserted as being true. For biological subjects - e.g. human patients - this is usually called the "physiologically relevant time". This is usually either the time of the procedure or of specimen collection, but very often the source of the date/time is not known, only the date/time itself.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasEffectiveTiming
public boolean hasEffectiveTiming()
-
getEffectiveInstantType
public InstantType getEffectiveInstantType() throws org.hl7.fhir.exceptions.FHIRException
- Returns:
effective(The time or time-period the observed value is asserted as being true. For biological subjects - e.g. human patients - this is usually called the "physiologically relevant time". This is usually either the time of the procedure or of specimen collection, but very often the source of the date/time is not known, only the date/time itself.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasEffectiveInstantType
public boolean hasEffectiveInstantType()
-
hasEffective
public boolean hasEffective()
-
setEffective
public Observation setEffective(Type value)
- Parameters:
value-effective(The time or time-period the observed value is asserted as being true. For biological subjects - e.g. human patients - this is usually called the "physiologically relevant time". This is usually either the time of the procedure or of specimen collection, but very often the source of the date/time is not known, only the date/time itself.)
-
getIssuedElement
public InstantType getIssuedElement()
- Returns:
issued(The date and time this version of the observation was made available to providers, typically after the results have been reviewed and verified.). This is the underlying object with id, value and extensions. The accessor "getIssued" gives direct access to the value
-
hasIssuedElement
public boolean hasIssuedElement()
-
hasIssued
public boolean hasIssued()
-
setIssuedElement
public Observation setIssuedElement(InstantType value)
- Parameters:
value-issued(The date and time this version of the observation was made available to providers, typically after the results have been reviewed and verified.). This is the underlying object with id, value and extensions. The accessor "getIssued" gives direct access to the value
-
getIssued
public Date getIssued()
- Returns:
- The date and time this version of the observation was made available to providers, typically after the results have been reviewed and verified.
-
setIssued
public Observation setIssued(Date value)
- Parameters:
value- The date and time this version of the observation was made available to providers, typically after the results have been reviewed and verified.
-
getPerformer
public List<Reference> getPerformer()
- Returns:
performer(Who was responsible for asserting the observed value as "true".)
-
setPerformer
public Observation setPerformer(List<Reference> thePerformer)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasPerformer
public boolean hasPerformer()
-
addPerformer
public Reference addPerformer()
-
addPerformer
public Observation addPerformer(Reference t)
-
getPerformerFirstRep
public Reference getPerformerFirstRep()
- Returns:
- The first repetition of repeating field
performer, creating it if it does not already exist
-
getPerformerTarget
@Deprecated public List<Resource> getPerformerTarget()
Deprecated.Use Reference#setResource(IBaseResource) instead
-
getValue
public Type getValue()
- Returns:
value(The information determined as a result of making the observation, if the information has a simple value.)
-
getValueQuantity
public Quantity getValueQuantity() throws org.hl7.fhir.exceptions.FHIRException
- Returns:
value(The information determined as a result of making the observation, if the information has a simple value.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasValueQuantity
public boolean hasValueQuantity()
-
getValueCodeableConcept
public CodeableConcept getValueCodeableConcept() throws org.hl7.fhir.exceptions.FHIRException
- Returns:
value(The information determined as a result of making the observation, if the information has a simple value.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasValueCodeableConcept
public boolean hasValueCodeableConcept()
-
getValueStringType
public StringType getValueStringType() throws org.hl7.fhir.exceptions.FHIRException
- Returns:
value(The information determined as a result of making the observation, if the information has a simple value.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasValueStringType
public boolean hasValueStringType()
-
getValueBooleanType
public BooleanType getValueBooleanType() throws org.hl7.fhir.exceptions.FHIRException
- Returns:
value(The information determined as a result of making the observation, if the information has a simple value.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasValueBooleanType
public boolean hasValueBooleanType()
-
getValueIntegerType
public IntegerType getValueIntegerType() throws org.hl7.fhir.exceptions.FHIRException
- Returns:
value(The information determined as a result of making the observation, if the information has a simple value.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasValueIntegerType
public boolean hasValueIntegerType()
-
getValueRange
public Range getValueRange() throws org.hl7.fhir.exceptions.FHIRException
- Returns:
value(The information determined as a result of making the observation, if the information has a simple value.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasValueRange
public boolean hasValueRange()
-
getValueRatio
public Ratio getValueRatio() throws org.hl7.fhir.exceptions.FHIRException
- Returns:
value(The information determined as a result of making the observation, if the information has a simple value.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasValueRatio
public boolean hasValueRatio()
-
getValueSampledData
public SampledData getValueSampledData() throws org.hl7.fhir.exceptions.FHIRException
- Returns:
value(The information determined as a result of making the observation, if the information has a simple value.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasValueSampledData
public boolean hasValueSampledData()
-
getValueTimeType
public TimeType getValueTimeType() throws org.hl7.fhir.exceptions.FHIRException
- Returns:
value(The information determined as a result of making the observation, if the information has a simple value.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasValueTimeType
public boolean hasValueTimeType()
-
getValueDateTimeType
public DateTimeType getValueDateTimeType() throws org.hl7.fhir.exceptions.FHIRException
- Returns:
value(The information determined as a result of making the observation, if the information has a simple value.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasValueDateTimeType
public boolean hasValueDateTimeType()
-
getValuePeriod
public Period getValuePeriod() throws org.hl7.fhir.exceptions.FHIRException
- Returns:
value(The information determined as a result of making the observation, if the information has a simple value.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasValuePeriod
public boolean hasValuePeriod()
-
hasValue
public boolean hasValue()
-
setValue
public Observation setValue(Type value)
- Parameters:
value-value(The information determined as a result of making the observation, if the information has a simple value.)
-
getDataAbsentReason
public CodeableConcept getDataAbsentReason()
- Returns:
dataAbsentReason(Provides a reason why the expected value in the element Observation.value[x] is missing.)
-
hasDataAbsentReason
public boolean hasDataAbsentReason()
-
setDataAbsentReason
public Observation setDataAbsentReason(CodeableConcept value)
- Parameters:
value-dataAbsentReason(Provides a reason why the expected value in the element Observation.value[x] is missing.)
-
getInterpretation
public List<CodeableConcept> getInterpretation()
- Returns:
interpretation(A categorical assessment of an observation value. For example, high, low, normal.)
-
setInterpretation
public Observation setInterpretation(List<CodeableConcept> theInterpretation)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasInterpretation
public boolean hasInterpretation()
-
addInterpretation
public CodeableConcept addInterpretation()
-
addInterpretation
public Observation addInterpretation(CodeableConcept t)
-
getInterpretationFirstRep
public CodeableConcept getInterpretationFirstRep()
- Returns:
- The first repetition of repeating field
interpretation, creating it if it does not already exist
-
getNote
public List<Annotation> getNote()
- Returns:
note(Comments about the observation or the results.)
-
setNote
public Observation setNote(List<Annotation> theNote)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasNote
public boolean hasNote()
-
addNote
public Annotation addNote()
-
addNote
public Observation addNote(Annotation t)
-
getNoteFirstRep
public Annotation getNoteFirstRep()
- Returns:
- The first repetition of repeating field
note, creating it if it does not already exist
-
getBodySite
public CodeableConcept getBodySite()
- Returns:
bodySite(Indicates the site on the subject's body where the observation was made (i.e. the target site).)
-
hasBodySite
public boolean hasBodySite()
-
setBodySite
public Observation setBodySite(CodeableConcept value)
- Parameters:
value-bodySite(Indicates the site on the subject's body where the observation was made (i.e. the target site).)
-
getMethod
public CodeableConcept getMethod()
- Returns:
method(Indicates the mechanism used to perform the observation.)
-
hasMethod
public boolean hasMethod()
-
setMethod
public Observation setMethod(CodeableConcept value)
- Parameters:
value-method(Indicates the mechanism used to perform the observation.)
-
getSpecimen
public Reference getSpecimen()
- Returns:
specimen(The specimen that was used when this observation was made.)
-
hasSpecimen
public boolean hasSpecimen()
-
setSpecimen
public Observation setSpecimen(Reference value)
- Parameters:
value-specimen(The specimen that was used when this observation was made.)
-
getSpecimenTarget
public Specimen getSpecimenTarget()
- Returns:
specimenThe actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (The specimen that was used when this observation was made.)
-
setSpecimenTarget
public Observation setSpecimenTarget(Specimen value)
- Parameters:
value-specimenThe actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (The specimen that was used when this observation was made.)
-
getDevice
public Reference getDevice()
- Returns:
device(The device used to generate the observation data.)
-
hasDevice
public boolean hasDevice()
-
setDevice
public Observation setDevice(Reference value)
- Parameters:
value-device(The device used to generate the observation data.)
-
getDeviceTarget
public Resource getDeviceTarget()
- Returns:
deviceThe actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (The device used to generate the observation data.)
-
setDeviceTarget
public Observation setDeviceTarget(Resource value)
- Parameters:
value-deviceThe actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (The device used to generate the observation data.)
-
getReferenceRange
public List<Observation.ObservationReferenceRangeComponent> getReferenceRange()
- Returns:
referenceRange(Guidance on how to interpret the value by comparison to a normal or recommended range. Multiple reference ranges are interpreted as an "OR". In other words, to represent two distinct target populations, two `referenceRange` elements would be used.)
-
setReferenceRange
public Observation setReferenceRange(List<Observation.ObservationReferenceRangeComponent> theReferenceRange)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasReferenceRange
public boolean hasReferenceRange()
-
addReferenceRange
public Observation.ObservationReferenceRangeComponent addReferenceRange()
-
addReferenceRange
public Observation addReferenceRange(Observation.ObservationReferenceRangeComponent t)
-
getReferenceRangeFirstRep
public Observation.ObservationReferenceRangeComponent getReferenceRangeFirstRep()
- Returns:
- The first repetition of repeating field
referenceRange, creating it if it does not already exist
-
getHasMember
public List<Reference> getHasMember()
- Returns:
hasMember(This observation is a group observation (e.g. a battery, a panel of tests, a set of vital sign measurements) that includes the target as a member of the group.)
-
setHasMember
public Observation setHasMember(List<Reference> theHasMember)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasHasMember
public boolean hasHasMember()
-
addHasMember
public Reference addHasMember()
-
addHasMember
public Observation addHasMember(Reference t)
-
getHasMemberFirstRep
public Reference getHasMemberFirstRep()
- Returns:
- The first repetition of repeating field
hasMember, creating it if it does not already exist
-
getHasMemberTarget
@Deprecated public List<Resource> getHasMemberTarget()
Deprecated.Use Reference#setResource(IBaseResource) instead
-
getDerivedFrom
public List<Reference> getDerivedFrom()
- Returns:
derivedFrom(The target resource that represents a measurement from which this observation value is derived. For example, a calculated anion gap or a fetal measurement based on an ultrasound image.)
-
setDerivedFrom
public Observation setDerivedFrom(List<Reference> theDerivedFrom)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasDerivedFrom
public boolean hasDerivedFrom()
-
addDerivedFrom
public Reference addDerivedFrom()
-
addDerivedFrom
public Observation addDerivedFrom(Reference t)
-
getDerivedFromFirstRep
public Reference getDerivedFromFirstRep()
- Returns:
- The first repetition of repeating field
derivedFrom, creating it if it does not already exist
-
getDerivedFromTarget
@Deprecated public List<Resource> getDerivedFromTarget()
Deprecated.Use Reference#setResource(IBaseResource) instead
-
getComponent
public List<Observation.ObservationComponentComponent> getComponent()
- Returns:
component(Some observations have multiple component observations. These component observations are expressed as separate code value pairs that share the same attributes. Examples include systolic and diastolic component observations for blood pressure measurement and multiple component observations for genetics observations.)
-
setComponent
public Observation setComponent(List<Observation.ObservationComponentComponent> theComponent)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasComponent
public boolean hasComponent()
-
addComponent
public Observation.ObservationComponentComponent addComponent()
-
addComponent
public Observation addComponent(Observation.ObservationComponentComponent t)
-
getComponentFirstRep
public Observation.ObservationComponentComponent getComponentFirstRep()
- Returns:
- The first repetition of repeating field
component, creating it if it does not already exist
-
listChildren
protected void listChildren(List<Property> children)
- Overrides:
listChildrenin classDomainResource
-
getNamedProperty
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getNamedPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getProperty
public Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
public Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
makePropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getTypesForProperty
public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getTypesForPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
public Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
addChildin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
fhirType
public String fhirType()
- Specified by:
fhirTypein interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
fhirTypein classDomainResource
-
copy
public Observation copy()
- Specified by:
copyin classDomainResource
-
copyValues
public void copyValues(Observation dst)
-
typedCopy
protected Observation typedCopy()
-
equalsDeep
public boolean equalsDeep(Base other_)
- Overrides:
equalsDeepin classDomainResource
-
equalsShallow
public boolean equalsShallow(Base other_)
- Overrides:
equalsShallowin classDomainResource
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
isEmptyin classDomainResource
-
getResourceType
public ResourceType getResourceType()
- Specified by:
getResourceTypein classResource
-
-