public class Procedure
extends org.apache.avro.specific.SpecificRecordBase
implements org.apache.avro.specific.SpecificRecord
Modifier and Type | Class and Description |
---|---|
static class |
Procedure.Builder
RecordBuilder for Procedure 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<Procedure> |
createDecoder(org.apache.avro.message.SchemaStore resolver)
Create a new BinaryMessageDecoder instance for this class that uses the specified
SchemaStore . |
static Procedure |
fromByteBuffer(ByteBuffer b)
Deserializes a Procedure from a ByteBuffer.
|
Object |
get(int field$) |
List<CarePlanProcedureRequestReferralRequestReference> |
getBasedOn()
Gets the value of the 'basedOn' field.
|
List<CodeableConcept> |
getBodySite()
Gets the value of the 'bodySite' field.
|
CodeableConcept |
getCategory()
Gets the value of the 'category' field.
|
static org.apache.avro.Schema |
getClassSchema() |
CodeableConcept |
getCode()
Gets the value of the 'code' field.
|
List<CodeableConcept> |
getComplication()
Gets the value of the 'complication' field.
|
List<ConditionReference> |
getComplicationDetail()
Gets the value of the 'complicationDetail' field.
|
List<Resource> |
getContained()
Gets the value of the 'contained' field.
|
EncounterEpisodeOfCareReference |
getContext()
Gets the value of the 'context' field.
|
static org.apache.avro.message.BinaryMessageDecoder<Procedure> |
getDecoder()
Return the BinaryMessageDecoder instance used by this class.
|
List<ActivityDefinitionHealthcareServicePlanDefinitionReference> |
getDefinition()
Gets the value of the 'definition' field.
|
List<ProcedureFocalDevice> |
getFocalDevice()
Gets the value of the 'focalDevice' field.
|
List<CodeableConcept> |
getFollowUp()
Gets the value of the 'followUp' 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.
|
String |
getLanguage()
Gets the value of the 'language' field.
|
LocationReference |
getLocation()
Gets the value of the 'location' field.
|
Meta |
getMeta()
Gets the value of the 'meta' field.
|
Boolean |
getNotDone()
Gets the value of the 'notDone' field.
|
CodeableConcept |
getNotDoneReason()
Gets the value of the 'notDoneReason' field.
|
List<Annotation> |
getNote()
Gets the value of the 'note' field.
|
CodeableConcept |
getOutcome()
Gets the value of the 'outcome' field.
|
List<MedicationAdministrationObservationProcedureReference> |
getPartOf()
Gets the value of the 'partOf' field.
|
ChoicePeriodDateTime |
getPerformed()
Gets the value of the 'performed' field.
|
List<ProcedurePerformer> |
getPerformer()
Gets the value of the 'performer' field.
|
List<CodeableConcept> |
getReasonCode()
Gets the value of the 'reasonCode' field.
|
List<ConditionObservationReference> |
getReasonReference()
Gets the value of the 'reasonReference' field.
|
List<DiagnosticReportReference> |
getReport()
Gets the value of the 'report' field.
|
org.apache.avro.Schema |
getSchema() |
String |
getStatus()
Gets the value of the 'status' field.
|
GroupPatientReference |
getSubject()
Gets the value of the 'subject' field.
|
Narrative |
getText()
Gets the value of the 'text' field.
|
List<CodeableConcept> |
getUsedCode()
Gets the value of the 'usedCode' field.
|
List<DeviceMedicationSubstanceReference> |
getUsedReference()
Gets the value of the 'usedReference' field.
|
static Procedure.Builder |
newBuilder()
Creates a new Procedure RecordBuilder.
|
static Procedure.Builder |
newBuilder(Procedure.Builder other)
Creates a new Procedure RecordBuilder by copying an existing Builder.
|
static Procedure.Builder |
newBuilder(Procedure other)
Creates a new Procedure RecordBuilder by copying an existing Procedure instance.
|
void |
put(int field$,
Object value$) |
void |
readExternal(ObjectInput in) |
void |
setBasedOn(List<CarePlanProcedureRequestReferralRequestReference> value)
Sets the value of the 'basedOn' field.
|
void |
setBodySite(List<CodeableConcept> value)
Sets the value of the 'bodySite' field.
|
void |
setCategory(CodeableConcept value)
Sets the value of the 'category' field.
|
void |
setCode(CodeableConcept value)
Sets the value of the 'code' field.
|
void |
setComplication(List<CodeableConcept> value)
Sets the value of the 'complication' field.
|
void |
setComplicationDetail(List<ConditionReference> value)
Sets the value of the 'complicationDetail' 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 |
setDefinition(List<ActivityDefinitionHealthcareServicePlanDefinitionReference> value)
Sets the value of the 'definition' field.
|
void |
setFocalDevice(List<ProcedureFocalDevice> value)
Sets the value of the 'focalDevice' field.
|
void |
setFollowUp(List<CodeableConcept> value)
Sets the value of the 'followUp' 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 |
setLanguage(String value)
Sets the value of the 'language' field.
|
void |
setLocation(LocationReference value)
Sets the value of the 'location' field.
|
void |
setMeta(Meta value)
Sets the value of the 'meta' field.
|
void |
setNotDone(Boolean value)
Sets the value of the 'notDone' field.
|
void |
setNotDoneReason(CodeableConcept value)
Sets the value of the 'notDoneReason' field.
|
void |
setNote(List<Annotation> value)
Sets the value of the 'note' field.
|
void |
setOutcome(CodeableConcept value)
Sets the value of the 'outcome' field.
|
void |
setPartOf(List<MedicationAdministrationObservationProcedureReference> value)
Sets the value of the 'partOf' field.
|
void |
setPerformed(ChoicePeriodDateTime value)
Sets the value of the 'performed' field.
|
void |
setPerformer(List<ProcedurePerformer> value)
Sets the value of the 'performer' field.
|
void |
setReasonCode(List<CodeableConcept> value)
Sets the value of the 'reasonCode' field.
|
void |
setReasonReference(List<ConditionObservationReference> value)
Sets the value of the 'reasonReference' field.
|
void |
setReport(List<DiagnosticReportReference> value)
Sets the value of the 'report' field.
|
void |
setStatus(String value)
Sets the value of the 'status' field.
|
void |
setSubject(GroupPatientReference value)
Sets the value of the 'subject' field.
|
void |
setText(Narrative value)
Sets the value of the 'text' field.
|
void |
setUsedCode(List<CodeableConcept> value)
Sets the value of the 'usedCode' field.
|
void |
setUsedReference(List<DeviceMedicationSubstanceReference> value)
Sets the value of the 'usedReference' field.
|
ByteBuffer |
toByteBuffer()
Serializes this Procedure to a ByteBuffer.
|
void |
writeExternal(ObjectOutput out) |
public Procedure()
newBuilder()
.public Procedure(String id, Meta meta, String implicitRules, String language, Narrative text, List<Resource> contained, List<Identifier> identifier, List<ActivityDefinitionHealthcareServicePlanDefinitionReference> definition, List<CarePlanProcedureRequestReferralRequestReference> basedOn, List<MedicationAdministrationObservationProcedureReference> partOf, String status, Boolean notDone, CodeableConcept notDoneReason, CodeableConcept category, CodeableConcept code, GroupPatientReference subject, EncounterEpisodeOfCareReference context, ChoicePeriodDateTime performed, List<ProcedurePerformer> performer, LocationReference location, List<CodeableConcept> reasonCode, List<ConditionObservationReference> reasonReference, List<CodeableConcept> bodySite, CodeableConcept outcome, List<DiagnosticReportReference> report, List<CodeableConcept> complication, List<ConditionReference> complicationDetail, List<CodeableConcept> followUp, List<Annotation> note, List<ProcedureFocalDevice> focalDevice, List<DeviceMedicationSubstanceReference> usedReference, List<CodeableConcept> usedCode)
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 identifierdefinition
- Field for FHIR property definitionbasedOn
- Field for FHIR property basedOnpartOf
- Field for FHIR property partOfstatus
- Field for FHIR property statusnotDone
- Field for FHIR property notDonenotDoneReason
- Field for FHIR property notDoneReasoncategory
- Field for FHIR property categorycode
- Field for FHIR property codesubject
- Field for FHIR property subjectcontext
- Field for FHIR property contextperformed
- Field for FHIR property performedperformer
- Field for FHIR property performerlocation
- Field for FHIR property locationreasonCode
- Field for FHIR property reasonCodereasonReference
- Field for FHIR property reasonReferencebodySite
- Field for FHIR property bodySiteoutcome
- Field for FHIR property outcomereport
- Field for FHIR property reportcomplication
- Field for FHIR property complicationcomplicationDetail
- Field for FHIR property complicationDetailfollowUp
- Field for FHIR property followUpnote
- Field for FHIR property notefocalDevice
- Field for FHIR property focalDeviceusedReference
- Field for FHIR property usedReferenceusedCode
- Field for FHIR property usedCodepublic static org.apache.avro.Schema getClassSchema()
public static org.apache.avro.message.BinaryMessageDecoder<Procedure> getDecoder()
public static org.apache.avro.message.BinaryMessageDecoder<Procedure> createDecoder(org.apache.avro.message.SchemaStore resolver)
SchemaStore
.resolver
- a SchemaStore
used to find schemas by fingerprintpublic ByteBuffer toByteBuffer() throws IOException
IOException
public static Procedure fromByteBuffer(ByteBuffer b) throws IOException
IOException
public org.apache.avro.Schema getSchema()
getSchema
in interface org.apache.avro.generic.GenericContainer
getSchema
in class org.apache.avro.specific.SpecificRecordBase
public Object get(int field$)
get
in interface org.apache.avro.generic.IndexedRecord
get
in class org.apache.avro.specific.SpecificRecordBase
public void put(int field$, Object value$)
put
in interface org.apache.avro.generic.IndexedRecord
put
in class org.apache.avro.specific.SpecificRecordBase
public 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<ActivityDefinitionHealthcareServicePlanDefinitionReference> getDefinition()
public void setDefinition(List<ActivityDefinitionHealthcareServicePlanDefinitionReference> value)
value
- the value to set.public List<CarePlanProcedureRequestReferralRequestReference> getBasedOn()
public void setBasedOn(List<CarePlanProcedureRequestReferralRequestReference> value)
value
- the value to set.public List<MedicationAdministrationObservationProcedureReference> getPartOf()
public void setPartOf(List<MedicationAdministrationObservationProcedureReference> value)
value
- the value to set.public String getStatus()
public void setStatus(String value)
value
- the value to set.public Boolean getNotDone()
public void setNotDone(Boolean value)
value
- the value to set.public CodeableConcept getNotDoneReason()
public void setNotDoneReason(CodeableConcept value)
value
- the value to set.public CodeableConcept getCategory()
public void setCategory(CodeableConcept value)
value
- the value to set.public CodeableConcept getCode()
public void setCode(CodeableConcept value)
value
- the value to set.public GroupPatientReference getSubject()
public void setSubject(GroupPatientReference value)
value
- the value to set.public EncounterEpisodeOfCareReference getContext()
public void setContext(EncounterEpisodeOfCareReference value)
value
- the value to set.public ChoicePeriodDateTime getPerformed()
public void setPerformed(ChoicePeriodDateTime value)
value
- the value to set.public List<ProcedurePerformer> getPerformer()
public void setPerformer(List<ProcedurePerformer> value)
value
- the value to set.public LocationReference getLocation()
public void setLocation(LocationReference value)
value
- the value to set.public List<CodeableConcept> getReasonCode()
public void setReasonCode(List<CodeableConcept> value)
value
- the value to set.public List<ConditionObservationReference> getReasonReference()
public void setReasonReference(List<ConditionObservationReference> value)
value
- the value to set.public List<CodeableConcept> getBodySite()
public void setBodySite(List<CodeableConcept> value)
value
- the value to set.public CodeableConcept getOutcome()
public void setOutcome(CodeableConcept value)
value
- the value to set.public List<DiagnosticReportReference> getReport()
public void setReport(List<DiagnosticReportReference> value)
value
- the value to set.public List<CodeableConcept> getComplication()
public void setComplication(List<CodeableConcept> value)
value
- the value to set.public List<ConditionReference> getComplicationDetail()
public void setComplicationDetail(List<ConditionReference> value)
value
- the value to set.public List<CodeableConcept> getFollowUp()
public void setFollowUp(List<CodeableConcept> value)
value
- the value to set.public List<Annotation> getNote()
public void setNote(List<Annotation> value)
value
- the value to set.public List<ProcedureFocalDevice> getFocalDevice()
public void setFocalDevice(List<ProcedureFocalDevice> value)
value
- the value to set.public List<DeviceMedicationSubstanceReference> getUsedReference()
public void setUsedReference(List<DeviceMedicationSubstanceReference> value)
value
- the value to set.public List<CodeableConcept> getUsedCode()
public void setUsedCode(List<CodeableConcept> value)
value
- the value to set.public static Procedure.Builder newBuilder()
public static Procedure.Builder newBuilder(Procedure.Builder other)
other
- The existing builder to copy.public static Procedure.Builder newBuilder(Procedure other)
other
- The existing instance to copy.public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
writeExternal
in class org.apache.avro.specific.SpecificRecordBase
IOException
public void readExternal(ObjectInput in) throws IOException
readExternal
in interface Externalizable
readExternal
in class org.apache.avro.specific.SpecificRecordBase
IOException
Copyright © 2020. All rights reserved.