public class Observation extends DomainResource
| Modifier and Type | Class and Description |
|---|---|
static class |
Observation.ObservationComponentComponent |
static class |
Observation.ObservationReferenceRangeComponent |
static class |
Observation.ObservationRelatedComponent |
static class |
Observation.ObservationRelationshipType |
static class |
Observation.ObservationRelationshipTypeEnumFactory |
static class |
Observation.ObservationStatus |
static class |
Observation.ObservationStatusEnumFactory |
| Modifier and Type | Field and Description |
|---|---|
protected CodeableConcept |
bodySite
Indicates the site on the subject's body where the observation was made (i.e.
|
protected CodeableConcept |
category
A code that classifies the general type of observation being made.
|
protected CodeableConcept |
code
Describes what was observed.
|
protected StringType |
comments
May include statements about significant, unexpected or unreliable values, or information about the source of the value where this may be relevant to the interpretation of the result.
|
protected List<Observation.ObservationComponentComponent> |
component
Some observations have multiple component observations.
|
protected CodeableConcept |
dataAbsentReason
Provides a reason why the expected value in the element Observation.value[x] is missing.
|
protected Reference |
device
The device used to generate the observation data.
|
protected Resource |
deviceTarget
The actual object that is the target of the reference (The device used to generate the observation data.)
|
protected Type |
effective
The time or time-period the observed value is asserted as being true.
|
protected Reference |
encounter
The healthcare event (e.g.
|
protected Encounter |
encounterTarget
The actual object that is the target of the reference (The healthcare event (e.g.
|
protected List<Identifier> |
identifier
A unique identifier for the simple observation instance.
|
protected CodeableConcept |
interpretation
The assessment made based on the result of the observation.
|
protected InstantType |
issued
The date and time this observation was made available to providers, typically after the results have been reviewed and verified.
|
protected CodeableConcept |
method
Indicates the mechanism used to perform the observation.
|
protected List<Reference> |
performer
Who was responsible for asserting the observed value as "true".
|
protected List<Resource> |
performerTarget
The actual objects that are the target of the reference (Who was responsible for asserting the observed value as "true".)
|
protected List<Observation.ObservationReferenceRangeComponent> |
referenceRange
Guidance on how to interpret the value by comparison to a normal or recommended range.
|
protected List<Observation.ObservationRelatedComponent> |
related
A reference to another resource (usually another Observation but could also be a QuestionnaireAnswer) whose relationship is defined by the relationship type code.
|
static String |
SP_CATEGORY |
static String |
SP_CODE |
static String |
SP_CODEVALUEX |
static String |
SP_COMPONENTCODE |
static String |
SP_COMPONENTCODEVALUEX |
static String |
SP_COMPONENTDATAABSENTREASON |
static String |
SP_COMPONENTVALUECONCEPT |
static String |
SP_COMPONENTVALUEQUANTITY |
static String |
SP_COMPONENTVALUESTRING |
static String |
SP_DATAABSENTREASON |
static String |
SP_DATE |
static String |
SP_DEVICE |
static String |
SP_ENCOUNTER |
static String |
SP_IDENTIFIER |
static String |
SP_PATIENT |
static String |
SP_PERFORMER |
static String |
SP_RELATED |
static String |
SP_RELATEDTARGET |
static String |
SP_RELATEDTYPE |
static String |
SP_SPECIMEN |
static String |
SP_STATUS |
static String |
SP_SUBJECT |
static String |
SP_VALUECONCEPT |
static String |
SP_VALUEDATE |
static String |
SP_VALUEQUANTITY |
static String |
SP_VALUESTRING |
protected Reference |
specimen
The specimen that was used when this observation was made.
|
protected Specimen |
specimenTarget
The actual object that is the target of the reference (The specimen that was used when this observation was made.)
|
protected Enumeration<Observation.ObservationStatus> |
status
The status of the result value.
|
protected Reference |
subject
The patient, or group of patients, location, or device whose characteristics (direct or indirect) are described by the observation and into whose record the observation is placed.
|
protected Resource |
subjectTarget
The actual object that is the target of the reference (The patient, or group of patients, location, or device whose characteristics (direct or indirect) are described by the observation and into whose record the observation is placed.
|
protected Type |
value
The information determined as a result of making the observation, if the information has a simple value.
|
contained, extension, modifierExtension, textid, implicitRules, language, meta| Constructor and Description |
|---|
Observation() |
Observation(Enumeration<Observation.ObservationStatus> status,
CodeableConcept code) |
addContained, addExtension, addExtension, addModifierExtension, addModifierExtension, copyValues, getContained, getExtension, getModifierExtension, getText, hasContained, hasExtension, hasModifierExtension, hasText, setTextcopyValues, getId, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguageElement, getMeta, getStructureFhirVersionEnum, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMetasetIdcastToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactPoint, castToDate, castToDateTime, castToDecimal, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToMoney, castToNarrative, castToOid, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToUnsignedInt, castToUri, children, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasType, hasUserData, isMetadataBased, isPrimitive, listChildrenByName, primitiveValue, setUserData, setUserDataINNclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetId, getIdElement, getLanguageElement, getUserData, setId, setUserDataprotected List<Identifier> identifier
protected Enumeration<Observation.ObservationStatus> status
protected CodeableConcept category
protected CodeableConcept code
protected Reference subject
protected Resource subjectTarget
protected Reference encounter
protected Encounter encounterTarget
protected Type effective
protected InstantType issued
protected List<Reference> performer
protected List<Resource> performerTarget
protected Type value
protected CodeableConcept dataAbsentReason
protected CodeableConcept interpretation
protected StringType comments
protected CodeableConcept bodySite
protected CodeableConcept method
protected Specimen specimenTarget
protected Resource deviceTarget
protected List<Observation.ObservationReferenceRangeComponent> referenceRange
protected List<Observation.ObservationRelatedComponent> related
protected List<Observation.ObservationComponentComponent> component
public static final String SP_DATE
public static final String SP_CODE
public static final String SP_SUBJECT
public static final String SP_COMPONENTDATAABSENTREASON
public static final String SP_VALUECONCEPT
public static final String SP_VALUEDATE
public static final String SP_RELATED
public static final String SP_PATIENT
public static final String SP_SPECIMEN
public static final String SP_COMPONENTCODE
public static final String SP_VALUESTRING
public static final String SP_IDENTIFIER
public static final String SP_COMPONENTCODEVALUEX
public static final String SP_CODEVALUEX
public static final String SP_PERFORMER
public static final String SP_VALUEQUANTITY
public static final String SP_COMPONENTVALUEQUANTITY
public static final String SP_DATAABSENTREASON
public static final String SP_ENCOUNTER
public static final String SP_RELATEDTYPE
public static final String SP_RELATEDTARGET
public static final String SP_COMPONENTVALUESTRING
public static final String SP_COMPONENTVALUECONCEPT
public static final String SP_CATEGORY
public static final String SP_DEVICE
public static final String SP_STATUS
public Observation()
public Observation(Enumeration<Observation.ObservationStatus> status, CodeableConcept code)
public List<Identifier> getIdentifier()
identifier (A unique identifier for the simple observation instance.)public boolean hasIdentifier()
public Identifier addIdentifier()
identifier (A unique identifier for the simple observation instance.)public Observation addIdentifier(Identifier t)
public Enumeration<Observation.ObservationStatus> getStatusElement()
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 valuepublic boolean hasStatusElement()
public boolean hasStatus()
public Observation setStatusElement(Enumeration<Observation.ObservationStatus> value)
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 valuepublic Observation.ObservationStatus getStatus()
public Observation setStatus(Observation.ObservationStatus value)
value - The status of the result value.public CodeableConcept getCategory()
category (A code that classifies the general type of observation being made. This is used for searching, sorting and display purposes.)public boolean hasCategory()
public Observation setCategory(CodeableConcept value)
value - category (A code that classifies the general type of observation being made. This is used for searching, sorting and display purposes.)public CodeableConcept getCode()
code (Describes what was observed. Sometimes this is called the observation "name".)public boolean hasCode()
public Observation setCode(CodeableConcept value)
value - code (Describes what was observed. Sometimes this is called the observation "name".)public Reference getSubject()
subject (The patient, or group of patients, location, or device whose characteristics (direct or indirect) are described by the observation and into whose record the observation is placed. Comments: Indirect characteristics may be those of a specimen, fetus, donor, other observer (for example a relative or EMT), or any observation made about the subject.)public boolean hasSubject()
public Observation setSubject(Reference value)
value - subject (The patient, or group of patients, location, or device whose characteristics (direct or indirect) are described by the observation and into whose record the observation is placed. Comments: Indirect characteristics may be those of a specimen, fetus, donor, other observer (for example a relative or EMT), or any observation made about the subject.)public Resource getSubjectTarget()
subject The 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 whose characteristics (direct or indirect) are described by the observation and into whose record the observation is placed. Comments: Indirect characteristics may be those of a specimen, fetus, donor, other observer (for example a relative or EMT), or any observation made about the subject.)public Observation setSubjectTarget(Resource value)
value - subject The 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 whose characteristics (direct or indirect) are described by the observation and into whose record the observation is placed. Comments: Indirect characteristics may be those of a specimen, fetus, donor, other observer (for example a relative or EMT), or any observation made about the subject.)public Reference getEncounter()
encounter (The healthcare event (e.g. a patient and healthcare provider interaction) during which this observation is made.)public boolean hasEncounter()
public Observation setEncounter(Reference value)
value - encounter (The healthcare event (e.g. a patient and healthcare provider interaction) during which this observation is made.)public Encounter getEncounterTarget()
encounter The 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.)public Observation setEncounterTarget(Encounter value)
value - encounter The 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.)public Type getEffective()
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.)public DateTimeType getEffectiveDateTimeType() throws org.hl7.fhir.exceptions.FHIRException
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.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasEffectiveDateTimeType()
public Period getEffectivePeriod() throws org.hl7.fhir.exceptions.FHIRException
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.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasEffectivePeriod()
public boolean hasEffective()
public Observation setEffective(Type value)
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.)public InstantType getIssuedElement()
issued (The date and time this 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 valuepublic boolean hasIssuedElement()
public boolean hasIssued()
public Observation setIssuedElement(InstantType value)
value - issued (The date and time this 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 valuepublic Date getIssued()
public Observation setIssued(Date value)
value - The date and time this observation was made available to providers, typically after the results have been reviewed and verified.public List<Reference> getPerformer()
performer (Who was responsible for asserting the observed value as "true".)public boolean hasPerformer()
public Reference addPerformer()
performer (Who was responsible for asserting the observed value as "true".)public Observation addPerformer(Reference t)
public List<Resource> getPerformerTarget()
performer (The actual objects that are the target of the reference. The reference library doesn't populate this, but you can use this to hold the resources if you resolvethemt. Who was responsible for asserting the observed value as "true".)public Type getValue()
value (The information determined as a result of making the observation, if the information has a simple value.)public Quantity getValueQuantity() throws org.hl7.fhir.exceptions.FHIRException
value (The information determined as a result of making the observation, if the information has a simple value.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasValueQuantity()
public CodeableConcept getValueCodeableConcept() throws org.hl7.fhir.exceptions.FHIRException
value (The information determined as a result of making the observation, if the information has a simple value.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasValueCodeableConcept()
public StringType getValueStringType() throws org.hl7.fhir.exceptions.FHIRException
value (The information determined as a result of making the observation, if the information has a simple value.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasValueStringType()
public Range getValueRange() throws org.hl7.fhir.exceptions.FHIRException
value (The information determined as a result of making the observation, if the information has a simple value.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasValueRange()
public Ratio getValueRatio() throws org.hl7.fhir.exceptions.FHIRException
value (The information determined as a result of making the observation, if the information has a simple value.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasValueRatio()
public SampledData getValueSampledData() throws org.hl7.fhir.exceptions.FHIRException
value (The information determined as a result of making the observation, if the information has a simple value.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasValueSampledData()
public Attachment getValueAttachment() throws org.hl7.fhir.exceptions.FHIRException
value (The information determined as a result of making the observation, if the information has a simple value.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasValueAttachment()
public TimeType getValueTimeType() throws org.hl7.fhir.exceptions.FHIRException
value (The information determined as a result of making the observation, if the information has a simple value.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasValueTimeType()
public DateTimeType getValueDateTimeType() throws org.hl7.fhir.exceptions.FHIRException
value (The information determined as a result of making the observation, if the information has a simple value.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasValueDateTimeType()
public Period getValuePeriod() throws org.hl7.fhir.exceptions.FHIRException
value (The information determined as a result of making the observation, if the information has a simple value.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasValuePeriod()
public boolean hasValue()
public Observation setValue(Type value)
value - value (The information determined as a result of making the observation, if the information has a simple value.)public CodeableConcept getDataAbsentReason()
dataAbsentReason (Provides a reason why the expected value in the element Observation.value[x] is missing.)public boolean hasDataAbsentReason()
public Observation setDataAbsentReason(CodeableConcept value)
value - dataAbsentReason (Provides a reason why the expected value in the element Observation.value[x] is missing.)public CodeableConcept getInterpretation()
interpretation (The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.)public boolean hasInterpretation()
public Observation setInterpretation(CodeableConcept value)
value - interpretation (The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.)public StringType getCommentsElement()
comments (May include statements about significant, unexpected or unreliable values, or information about the source of the value where this may be relevant to the interpretation of the result.). This is the underlying object with id, value and extensions. The accessor "getComments" gives direct access to the valuepublic boolean hasCommentsElement()
public boolean hasComments()
public Observation setCommentsElement(StringType value)
value - comments (May include statements about significant, unexpected or unreliable values, or information about the source of the value where this may be relevant to the interpretation of the result.). This is the underlying object with id, value and extensions. The accessor "getComments" gives direct access to the valuepublic String getComments()
public Observation setComments(String value)
value - May include statements about significant, unexpected or unreliable values, or information about the source of the value where this may be relevant to the interpretation of the result.public CodeableConcept getBodySite()
bodySite (Indicates the site on the subject's body where the observation was made (i.e. the target site).)public boolean hasBodySite()
public Observation setBodySite(CodeableConcept value)
value - bodySite (Indicates the site on the subject's body where the observation was made (i.e. the target site).)public CodeableConcept getMethod()
method (Indicates the mechanism used to perform the observation.)public boolean hasMethod()
public Observation setMethod(CodeableConcept value)
value - method (Indicates the mechanism used to perform the observation.)public Reference getSpecimen()
specimen (The specimen that was used when this observation was made.)public boolean hasSpecimen()
public Observation setSpecimen(Reference value)
value - specimen (The specimen that was used when this observation was made.)public Specimen getSpecimenTarget()
specimen The 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.)public Observation setSpecimenTarget(Specimen value)
value - specimen The 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.)public Reference getDevice()
device (The device used to generate the observation data.)public boolean hasDevice()
public Observation setDevice(Reference value)
value - device (The device used to generate the observation data.)public Resource getDeviceTarget()
device The 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.)public Observation setDeviceTarget(Resource value)
value - device The 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.)public List<Observation.ObservationReferenceRangeComponent> getReferenceRange()
referenceRange (Guidance on how to interpret the value by comparison to a normal or recommended range.)public boolean hasReferenceRange()
public Observation.ObservationReferenceRangeComponent addReferenceRange()
referenceRange (Guidance on how to interpret the value by comparison to a normal or recommended range.)public Observation addReferenceRange(Observation.ObservationReferenceRangeComponent t)
public List<Observation.ObservationRelatedComponent> getRelated()
related (A reference to another resource (usually another Observation but could also be a QuestionnaireAnswer) whose relationship is defined by the relationship type code.)public boolean hasRelated()
public Observation.ObservationRelatedComponent addRelated()
related (A reference to another resource (usually another Observation but could also be a QuestionnaireAnswer) whose relationship is defined by the relationship type code.)public Observation addRelated(Observation.ObservationRelatedComponent t)
public List<Observation.ObservationComponentComponent> getComponent()
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.)public boolean hasComponent()
public Observation.ObservationComponentComponent addComponent()
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.)public Observation addComponent(Observation.ObservationComponentComponent t)
protected void listChildren(List<Property> childrenList)
listChildren in class DomainResourcepublic void setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
addChild in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic String fhirType()
fhirType in class DomainResourcepublic Observation copy()
copy in class DomainResourceprotected Observation typedCopy()
public boolean equalsDeep(Base other)
equalsDeep in class DomainResourcepublic boolean equalsShallow(Base other)
equalsShallow in class DomainResourcepublic boolean isEmpty()
isEmpty in interface org.hl7.fhir.instance.model.api.IBaseisEmpty in class DomainResourcepublic ResourceType getResourceType()
getResourceType in class ResourceCopyright © 2014–2018 University Health Network. All rights reserved.