public class MedicationDispense
extends org.apache.avro.specific.SpecificRecordBase
implements org.apache.avro.specific.SpecificRecord
| Modifier and Type | Class and Description |
|---|---|
static class |
MedicationDispense.Builder
RecordBuilder for MedicationDispense 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<MedicationDispense> |
createDecoder(org.apache.avro.message.SchemaStore resolver)
Create a new BinaryMessageDecoder instance for this class that uses the specified
SchemaStore. |
static MedicationDispense |
fromByteBuffer(ByteBuffer b)
Deserializes a MedicationDispense from a ByteBuffer.
|
Object |
get(int field$) |
List<MedicationRequestReference> |
getAuthorizingPrescription()
Gets the value of the 'authorizingPrescription' field.
|
CodeableConcept |
getCategory()
Gets the value of the 'category' field.
|
static org.apache.avro.Schema |
getClassSchema() |
List<Resource> |
getContained()
Gets the value of the 'contained' field.
|
EncounterEpisodeOfCareReference |
getContext()
Gets the value of the 'context' field.
|
Quantity |
getDaysSupply()
Gets the value of the 'daysSupply' field.
|
static org.apache.avro.message.BinaryMessageDecoder<MedicationDispense> |
getDecoder()
Return the BinaryMessageDecoder instance used by this class.
|
LocationReference |
getDestination()
Gets the value of the 'destination' field.
|
List<DetectedIssueReference> |
getDetectedIssue()
Gets the value of the 'detectedIssue' field.
|
List<Dosage> |
getDosageInstruction()
Gets the value of the 'dosageInstruction' field.
|
List<ProvenanceReference> |
getEventHistory()
Gets the value of the 'eventHistory' 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.
|
ChoiceCodeableConceptMedicationReference |
getMedication()
Gets the value of the 'medication' field.
|
Meta |
getMeta()
Gets the value of the 'meta' field.
|
Boolean |
getNotDone()
Gets the value of the 'notDone' field.
|
ChoiceCodeableConceptDetectedIssueReference |
getNotDoneReason()
Gets the value of the 'notDoneReason' field.
|
List<Annotation> |
getNote()
Gets the value of the 'note' field.
|
List<ProcedureReference> |
getPartOf()
Gets the value of the 'partOf' field.
|
List<MedicationDispensePerformer> |
getPerformer()
Gets the value of the 'performer' field.
|
Quantity |
getQuantity()
Gets the value of the 'quantity' field.
|
List<PatientPractitionerReference> |
getReceiver()
Gets the value of the 'receiver' field.
|
org.apache.avro.Schema |
getSchema() |
String |
getStatus()
Gets the value of the 'status' field.
|
GroupPatientReference |
getSubject()
Gets the value of the 'subject' field.
|
MedicationDispenseSubstitution |
getSubstitution()
Gets the value of the 'substitution' field.
|
List<ResourceReference> |
getSupportingInformation()
Gets the value of the 'supportingInformation' field.
|
Narrative |
getText()
Gets the value of the 'text' field.
|
CodeableConcept |
getType()
Gets the value of the 'type' field.
|
String |
getWhenHandedOver()
Gets the value of the 'whenHandedOver' field.
|
String |
getWhenPrepared()
Gets the value of the 'whenPrepared' field.
|
static MedicationDispense.Builder |
newBuilder()
Creates a new MedicationDispense RecordBuilder.
|
static MedicationDispense.Builder |
newBuilder(MedicationDispense.Builder other)
Creates a new MedicationDispense RecordBuilder by copying an existing Builder.
|
static MedicationDispense.Builder |
newBuilder(MedicationDispense other)
Creates a new MedicationDispense RecordBuilder by copying an existing MedicationDispense instance.
|
void |
put(int field$,
Object value$) |
void |
readExternal(ObjectInput in) |
void |
setAuthorizingPrescription(List<MedicationRequestReference> value)
Sets the value of the 'authorizingPrescription' field.
|
void |
setCategory(CodeableConcept value)
Sets the value of the 'category' 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 |
setDaysSupply(Quantity value)
Sets the value of the 'daysSupply' field.
|
void |
setDestination(LocationReference value)
Sets the value of the 'destination' field.
|
void |
setDetectedIssue(List<DetectedIssueReference> value)
Sets the value of the 'detectedIssue' field.
|
void |
setDosageInstruction(List<Dosage> value)
Sets the value of the 'dosageInstruction' field.
|
void |
setEventHistory(List<ProvenanceReference> value)
Sets the value of the 'eventHistory' 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 |
setMedication(ChoiceCodeableConceptMedicationReference value)
Sets the value of the 'medication' 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(ChoiceCodeableConceptDetectedIssueReference value)
Sets the value of the 'notDoneReason' field.
|
void |
setNote(List<Annotation> value)
Sets the value of the 'note' field.
|
void |
setPartOf(List<ProcedureReference> value)
Sets the value of the 'partOf' field.
|
void |
setPerformer(List<MedicationDispensePerformer> value)
Sets the value of the 'performer' field.
|
void |
setQuantity(Quantity value)
Sets the value of the 'quantity' field.
|
void |
setReceiver(List<PatientPractitionerReference> value)
Sets the value of the 'receiver' field.
|
void |
setStatus(String value)
Sets the value of the 'status' field.
|
void |
setSubject(GroupPatientReference value)
Sets the value of the 'subject' field.
|
void |
setSubstitution(MedicationDispenseSubstitution value)
Sets the value of the 'substitution' field.
|
void |
setSupportingInformation(List<ResourceReference> value)
Sets the value of the 'supportingInformation' field.
|
void |
setText(Narrative value)
Sets the value of the 'text' field.
|
void |
setType(CodeableConcept value)
Sets the value of the 'type' field.
|
void |
setWhenHandedOver(String value)
Sets the value of the 'whenHandedOver' field.
|
void |
setWhenPrepared(String value)
Sets the value of the 'whenPrepared' field.
|
ByteBuffer |
toByteBuffer()
Serializes this MedicationDispense to a ByteBuffer.
|
void |
writeExternal(ObjectOutput out) |
public MedicationDispense()
newBuilder().public MedicationDispense(String id, Meta meta, String implicitRules, String language, Narrative text, List<Resource> contained, List<Identifier> identifier, List<ProcedureReference> partOf, String status, CodeableConcept category, ChoiceCodeableConceptMedicationReference medication, GroupPatientReference subject, EncounterEpisodeOfCareReference context, List<ResourceReference> supportingInformation, List<MedicationDispensePerformer> performer, List<MedicationRequestReference> authorizingPrescription, CodeableConcept type, Quantity quantity, Quantity daysSupply, String whenPrepared, String whenHandedOver, LocationReference destination, List<PatientPractitionerReference> receiver, List<Annotation> note, List<Dosage> dosageInstruction, MedicationDispenseSubstitution substitution, List<DetectedIssueReference> detectedIssue, Boolean notDone, ChoiceCodeableConceptDetectedIssueReference notDoneReason, List<ProvenanceReference> eventHistory)
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 identifierpartOf - Field for FHIR property partOfstatus - Field for FHIR property statuscategory - Field for FHIR property categorymedication - Field for FHIR property medicationsubject - Field for FHIR property subjectcontext - Field for FHIR property contextsupportingInformation - Field for FHIR property supportingInformationperformer - Field for FHIR property performerauthorizingPrescription - Field for FHIR property authorizingPrescriptiontype - Field for FHIR property typequantity - Field for FHIR property quantitydaysSupply - Field for FHIR property daysSupplywhenPrepared - Field for FHIR property whenPreparedwhenHandedOver - Field for FHIR property whenHandedOverdestination - Field for FHIR property destinationreceiver - Field for FHIR property receivernote - Field for FHIR property notedosageInstruction - Field for FHIR property dosageInstructionsubstitution - Field for FHIR property substitutiondetectedIssue - Field for FHIR property detectedIssuenotDone - Field for FHIR property notDonenotDoneReason - Field for FHIR property notDoneReasoneventHistory - Field for FHIR property eventHistorypublic static org.apache.avro.Schema getClassSchema()
public static org.apache.avro.message.BinaryMessageDecoder<MedicationDispense> getDecoder()
public static org.apache.avro.message.BinaryMessageDecoder<MedicationDispense> createDecoder(org.apache.avro.message.SchemaStore resolver)
SchemaStore.resolver - a SchemaStore used to find schemas by fingerprintpublic ByteBuffer toByteBuffer() throws IOException
IOExceptionpublic static MedicationDispense 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<ProcedureReference> getPartOf()
public void setPartOf(List<ProcedureReference> value)
value - the value to set.public String getStatus()
public void setStatus(String value)
value - the value to set.public CodeableConcept getCategory()
public void setCategory(CodeableConcept value)
value - the value to set.public ChoiceCodeableConceptMedicationReference getMedication()
public void setMedication(ChoiceCodeableConceptMedicationReference 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 List<ResourceReference> getSupportingInformation()
public void setSupportingInformation(List<ResourceReference> value)
value - the value to set.public List<MedicationDispensePerformer> getPerformer()
public void setPerformer(List<MedicationDispensePerformer> value)
value - the value to set.public List<MedicationRequestReference> getAuthorizingPrescription()
public void setAuthorizingPrescription(List<MedicationRequestReference> value)
value - the value to set.public CodeableConcept getType()
public void setType(CodeableConcept value)
value - the value to set.public Quantity getQuantity()
public void setQuantity(Quantity value)
value - the value to set.public Quantity getDaysSupply()
public void setDaysSupply(Quantity value)
value - the value to set.public String getWhenPrepared()
public void setWhenPrepared(String value)
value - the value to set.public String getWhenHandedOver()
public void setWhenHandedOver(String value)
value - the value to set.public LocationReference getDestination()
public void setDestination(LocationReference value)
value - the value to set.public List<PatientPractitionerReference> getReceiver()
public void setReceiver(List<PatientPractitionerReference> value)
value - the value to set.public List<Annotation> getNote()
public void setNote(List<Annotation> value)
value - the value to set.public List<Dosage> getDosageInstruction()
public void setDosageInstruction(List<Dosage> value)
value - the value to set.public MedicationDispenseSubstitution getSubstitution()
public void setSubstitution(MedicationDispenseSubstitution value)
value - the value to set.public List<DetectedIssueReference> getDetectedIssue()
public void setDetectedIssue(List<DetectedIssueReference> value)
value - the value to set.public Boolean getNotDone()
public void setNotDone(Boolean value)
value - the value to set.public ChoiceCodeableConceptDetectedIssueReference getNotDoneReason()
public void setNotDoneReason(ChoiceCodeableConceptDetectedIssueReference value)
value - the value to set.public List<ProvenanceReference> getEventHistory()
public void setEventHistory(List<ProvenanceReference> value)
value - the value to set.public static MedicationDispense.Builder newBuilder()
public static MedicationDispense.Builder newBuilder(MedicationDispense.Builder other)
other - The existing builder to copy.public static MedicationDispense.Builder newBuilder(MedicationDispense 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.