public class Observation
extends org.apache.avro.specific.SpecificRecordBase
implements org.apache.avro.specific.SpecificRecord
| Modifier and Type | Class and Description |
|---|---|
static class |
Observation.Builder
RecordBuilder for Observation instances.
|
| Modifier and Type | Field and Description |
|---|---|
static org.apache.avro.Schema |
SCHEMA$ |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.avro.message.BinaryMessageDecoder<Observation> |
createDecoder(org.apache.avro.message.SchemaStore resolver)
Create a new BinaryMessageDecoder instance for this class that uses the specified
SchemaStore. |
static Observation |
fromByteBuffer(ByteBuffer b)
Deserializes a Observation from a ByteBuffer.
|
Object |
get(int field$) |
List<CarePlanDeviceRequestImmunizationRecommendationMedicationRequestNutritionOrderProcedureRequestReferralRequestReference> |
getBasedOn()
Gets the value of the 'basedOn' field.
|
CodeableConcept |
getBodySite()
Gets the value of the 'bodySite' field.
|
List<CodeableConcept> |
getCategory()
Gets the value of the 'category' field.
|
static org.apache.avro.Schema |
getClassSchema() |
CodeableConcept |
getCode()
Gets the value of the 'code' field.
|
String |
getComment()
Gets the value of the 'comment' field.
|
List<ObservationComponent> |
getComponent()
Gets the value of the 'component' field.
|
List<Resource> |
getContained()
Gets the value of the 'contained' field.
|
EncounterEpisodeOfCareReference |
getContext()
Gets the value of the 'context' field.
|
CodeableConcept |
getDataAbsentReason()
Gets the value of the 'dataAbsentReason' field.
|
static org.apache.avro.message.BinaryMessageDecoder<Observation> |
getDecoder()
Return the BinaryMessageDecoder instance used by this class.
|
DeviceDeviceMetricReference |
getDevice()
Gets the value of the 'device' field.
|
ChoicePeriodDateTime |
getEffective()
Gets the value of the 'effective' field.
|
String |
getId()
Gets the value of the 'id' field.
|
List<Identifier> |
getIdentifier()
Gets the value of the 'identifier' field.
|
String |
getImplicitRules()
Gets the value of the 'implicitRules' field.
|
CodeableConcept |
getInterpretation()
Gets the value of the 'interpretation' field.
|
String |
getIssued()
Gets the value of the 'issued' field.
|
String |
getLanguage()
Gets the value of the 'language' field.
|
Meta |
getMeta()
Gets the value of the 'meta' field.
|
CodeableConcept |
getMethod()
Gets the value of the 'method' field.
|
List<OrganizationPatientPractitionerRelatedPersonReference> |
getPerformer()
Gets the value of the 'performer' field.
|
List<ObservationReferenceRange> |
getReferenceRange()
Gets the value of the 'referenceRange' field.
|
List<ObservationRelated> |
getRelated()
Gets the value of the 'related' field.
|
org.apache.avro.Schema |
getSchema() |
SpecimenReference |
getSpecimen()
Gets the value of the 'specimen' field.
|
String |
getStatus()
Gets the value of the 'status' field.
|
DeviceGroupLocationPatientReference |
getSubject()
Gets the value of the 'subject' field.
|
Narrative |
getText()
Gets the value of the 'text' field.
|
ChoiceAttachmentCodeableConceptPeriodQuantityRangeRatioSampledDataBooleanDateTimeStringTime |
getValue()
Gets the value of the 'value' field.
|
static Observation.Builder |
newBuilder()
Creates a new Observation RecordBuilder.
|
static Observation.Builder |
newBuilder(Observation.Builder other)
Creates a new Observation RecordBuilder by copying an existing Builder.
|
static Observation.Builder |
newBuilder(Observation other)
Creates a new Observation RecordBuilder by copying an existing Observation instance.
|
void |
put(int field$,
Object value$) |
void |
readExternal(ObjectInput in) |
void |
setBasedOn(List<CarePlanDeviceRequestImmunizationRecommendationMedicationRequestNutritionOrderProcedureRequestReferralRequestReference> value)
Sets the value of the 'basedOn' field.
|
void |
setBodySite(CodeableConcept value)
Sets the value of the 'bodySite' field.
|
void |
setCategory(List<CodeableConcept> value)
Sets the value of the 'category' field.
|
void |
setCode(CodeableConcept value)
Sets the value of the 'code' field.
|
void |
setComment(String value)
Sets the value of the 'comment' field.
|
void |
setComponent(List<ObservationComponent> value)
Sets the value of the 'component' field.
|
void |
setContained(List<Resource> value)
Sets the value of the 'contained' field.
|
void |
setContext(EncounterEpisodeOfCareReference value)
Sets the value of the 'context' field.
|
void |
setDataAbsentReason(CodeableConcept value)
Sets the value of the 'dataAbsentReason' field.
|
void |
setDevice(DeviceDeviceMetricReference value)
Sets the value of the 'device' field.
|
void |
setEffective(ChoicePeriodDateTime value)
Sets the value of the 'effective' field.
|
void |
setId(String value)
Sets the value of the 'id' field.
|
void |
setIdentifier(List<Identifier> value)
Sets the value of the 'identifier' field.
|
void |
setImplicitRules(String value)
Sets the value of the 'implicitRules' field.
|
void |
setInterpretation(CodeableConcept value)
Sets the value of the 'interpretation' field.
|
void |
setIssued(String value)
Sets the value of the 'issued' field.
|
void |
setLanguage(String value)
Sets the value of the 'language' field.
|
void |
setMeta(Meta value)
Sets the value of the 'meta' field.
|
void |
setMethod(CodeableConcept value)
Sets the value of the 'method' field.
|
void |
setPerformer(List<OrganizationPatientPractitionerRelatedPersonReference> value)
Sets the value of the 'performer' field.
|
void |
setReferenceRange(List<ObservationReferenceRange> value)
Sets the value of the 'referenceRange' field.
|
void |
setRelated(List<ObservationRelated> value)
Sets the value of the 'related' field.
|
void |
setSpecimen(SpecimenReference value)
Sets the value of the 'specimen' field.
|
void |
setStatus(String value)
Sets the value of the 'status' field.
|
void |
setSubject(DeviceGroupLocationPatientReference value)
Sets the value of the 'subject' field.
|
void |
setText(Narrative value)
Sets the value of the 'text' field.
|
void |
setValue(ChoiceAttachmentCodeableConceptPeriodQuantityRangeRatioSampledDataBooleanDateTimeStringTime value)
Sets the value of the 'value' field.
|
ByteBuffer |
toByteBuffer()
Serializes this Observation to a ByteBuffer.
|
void |
writeExternal(ObjectOutput out) |
public Observation()
newBuilder().public Observation(String id, Meta meta, String implicitRules, String language, Narrative text, List<Resource> contained, List<Identifier> identifier, List<CarePlanDeviceRequestImmunizationRecommendationMedicationRequestNutritionOrderProcedureRequestReferralRequestReference> basedOn, String status, List<CodeableConcept> category, CodeableConcept code, DeviceGroupLocationPatientReference subject, EncounterEpisodeOfCareReference context, ChoicePeriodDateTime effective, String issued, List<OrganizationPatientPractitionerRelatedPersonReference> performer, ChoiceAttachmentCodeableConceptPeriodQuantityRangeRatioSampledDataBooleanDateTimeStringTime value, CodeableConcept dataAbsentReason, CodeableConcept interpretation, String comment, CodeableConcept bodySite, CodeableConcept method, SpecimenReference specimen, DeviceDeviceMetricReference device, List<ObservationReferenceRange> referenceRange, List<ObservationRelated> related, List<ObservationComponent> component)
id - Field for FHIR property idmeta - Field for FHIR property metaimplicitRules - Field for FHIR property implicitRuleslanguage - Field for FHIR property languagetext - Field for FHIR property textcontained - Field for FHIR property containedidentifier - Field for FHIR property identifierbasedOn - Field for FHIR property basedOnstatus - Field for FHIR property statuscategory - Field for FHIR property categorycode - Field for FHIR property codesubject - Field for FHIR property subjectcontext - Field for FHIR property contexteffective - Field for FHIR property effectiveissued - Field for FHIR property issuedperformer - Field for FHIR property performervalue - Field for FHIR property valuedataAbsentReason - Field for FHIR property dataAbsentReasoninterpretation - Field for FHIR property interpretationcomment - Field for FHIR property commentbodySite - Field for FHIR property bodySitemethod - Field for FHIR property methodspecimen - Field for FHIR property specimendevice - Field for FHIR property devicereferenceRange - Field for FHIR property referenceRangerelated - Field for FHIR property relatedcomponent - Field for FHIR property componentpublic static org.apache.avro.Schema getClassSchema()
public static org.apache.avro.message.BinaryMessageDecoder<Observation> getDecoder()
public static org.apache.avro.message.BinaryMessageDecoder<Observation> createDecoder(org.apache.avro.message.SchemaStore resolver)
SchemaStore.resolver - a SchemaStore used to find schemas by fingerprintpublic ByteBuffer toByteBuffer() throws IOException
IOExceptionpublic static Observation fromByteBuffer(ByteBuffer b) throws IOException
IOExceptionpublic org.apache.avro.Schema getSchema()
getSchema in interface org.apache.avro.generic.GenericContainergetSchema in class org.apache.avro.specific.SpecificRecordBasepublic Object get(int field$)
get in interface org.apache.avro.generic.IndexedRecordget in class org.apache.avro.specific.SpecificRecordBasepublic void put(int field$,
Object value$)
put in interface org.apache.avro.generic.IndexedRecordput in class org.apache.avro.specific.SpecificRecordBasepublic String getId()
public void setId(String value)
value - the value to set.public Meta getMeta()
public void setMeta(Meta value)
value - the value to set.public String getImplicitRules()
public void setImplicitRules(String value)
value - the value to set.public String getLanguage()
public void setLanguage(String value)
value - the value to set.public Narrative getText()
public void setText(Narrative value)
value - the value to set.public List<Resource> getContained()
public void setContained(List<Resource> value)
value - the value to set.public List<Identifier> getIdentifier()
public void setIdentifier(List<Identifier> value)
value - the value to set.public List<CarePlanDeviceRequestImmunizationRecommendationMedicationRequestNutritionOrderProcedureRequestReferralRequestReference> getBasedOn()
public void setBasedOn(List<CarePlanDeviceRequestImmunizationRecommendationMedicationRequestNutritionOrderProcedureRequestReferralRequestReference> value)
value - the value to set.public String getStatus()
public void setStatus(String value)
value - the value to set.public List<CodeableConcept> getCategory()
public void setCategory(List<CodeableConcept> value)
value - the value to set.public CodeableConcept getCode()
public void setCode(CodeableConcept value)
value - the value to set.public DeviceGroupLocationPatientReference getSubject()
public void setSubject(DeviceGroupLocationPatientReference value)
value - the value to set.public EncounterEpisodeOfCareReference getContext()
public void setContext(EncounterEpisodeOfCareReference value)
value - the value to set.public ChoicePeriodDateTime getEffective()
public void setEffective(ChoicePeriodDateTime value)
value - the value to set.public String getIssued()
public void setIssued(String value)
value - the value to set.public List<OrganizationPatientPractitionerRelatedPersonReference> getPerformer()
public void setPerformer(List<OrganizationPatientPractitionerRelatedPersonReference> value)
value - the value to set.public ChoiceAttachmentCodeableConceptPeriodQuantityRangeRatioSampledDataBooleanDateTimeStringTime getValue()
public void setValue(ChoiceAttachmentCodeableConceptPeriodQuantityRangeRatioSampledDataBooleanDateTimeStringTime value)
value - the value to set.public CodeableConcept getDataAbsentReason()
public void setDataAbsentReason(CodeableConcept value)
value - the value to set.public CodeableConcept getInterpretation()
public void setInterpretation(CodeableConcept value)
value - the value to set.public String getComment()
public void setComment(String value)
value - the value to set.public CodeableConcept getBodySite()
public void setBodySite(CodeableConcept value)
value - the value to set.public CodeableConcept getMethod()
public void setMethod(CodeableConcept value)
value - the value to set.public SpecimenReference getSpecimen()
public void setSpecimen(SpecimenReference value)
value - the value to set.public DeviceDeviceMetricReference getDevice()
public void setDevice(DeviceDeviceMetricReference value)
value - the value to set.public List<ObservationReferenceRange> getReferenceRange()
public void setReferenceRange(List<ObservationReferenceRange> value)
value - the value to set.public List<ObservationRelated> getRelated()
public void setRelated(List<ObservationRelated> value)
value - the value to set.public List<ObservationComponent> getComponent()
public void setComponent(List<ObservationComponent> value)
value - the value to set.public static Observation.Builder newBuilder()
public static Observation.Builder newBuilder(Observation.Builder other)
other - The existing builder to copy.public static Observation.Builder newBuilder(Observation other)
other - The existing instance to copy.public void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizablewriteExternal in class org.apache.avro.specific.SpecificRecordBaseIOExceptionpublic void readExternal(ObjectInput in) throws IOException
readExternal in interface ExternalizablereadExternal in class org.apache.avro.specific.SpecificRecordBaseIOExceptionCopyright © 2020. All rights reserved.