public class MedicationRequest
extends org.apache.avro.specific.SpecificRecordBase
implements org.apache.avro.specific.SpecificRecord
| Modifier and Type | Class and Description |
|---|---|
static class |
MedicationRequest.Builder
RecordBuilder for MedicationRequest 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<MedicationRequest> |
createDecoder(org.apache.avro.message.SchemaStore resolver)
Create a new BinaryMessageDecoder instance for this class that uses the specified
SchemaStore. |
static MedicationRequest |
fromByteBuffer(ByteBuffer b)
Deserializes a MedicationRequest from a ByteBuffer.
|
Object |
get(int field$) |
String |
getAuthoredOn()
Gets the value of the 'authoredOn' field.
|
List<CarePlanMedicationRequestProcedureRequestReferralRequestReference> |
getBasedOn()
Gets the value of the 'basedOn' 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.
|
static org.apache.avro.message.BinaryMessageDecoder<MedicationRequest> |
getDecoder()
Return the BinaryMessageDecoder instance used by this class.
|
List<ActivityDefinitionPlanDefinitionReference> |
getDefinition()
Gets the value of the 'definition' field.
|
List<DetectedIssueReference> |
getDetectedIssue()
Gets the value of the 'detectedIssue' field.
|
MedicationRequestDispenseRequest |
getDispenseRequest()
Gets the value of the 'dispenseRequest' field.
|
List<Dosage> |
getDosageInstruction()
Gets the value of the 'dosageInstruction' field.
|
List<ProvenanceReference> |
getEventHistory()
Gets the value of the 'eventHistory' field.
|
Identifier |
getGroupIdentifier()
Gets the value of the 'groupIdentifier' 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 |
getIntent()
Gets the value of the 'intent' 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.
|
List<Annotation> |
getNote()
Gets the value of the 'note' field.
|
String |
getPriority()
Gets the value of the 'priority' field.
|
MedicationRequestReference |
getPriorPrescription()
Gets the value of the 'priorPrescription' field.
|
List<CodeableConcept> |
getReasonCode()
Gets the value of the 'reasonCode' field.
|
List<ConditionObservationReference> |
getReasonReference()
Gets the value of the 'reasonReference' field.
|
PractitionerReference |
getRecorder()
Gets the value of the 'recorder' field.
|
MedicationRequestRequester |
getRequester()
Gets the value of the 'requester' field.
|
org.apache.avro.Schema |
getSchema() |
String |
getStatus()
Gets the value of the 'status' field.
|
PatientReference |
getSubject()
Gets the value of the 'subject' field.
|
MedicationRequestSubstitution |
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.
|
static MedicationRequest.Builder |
newBuilder()
Creates a new MedicationRequest RecordBuilder.
|
static MedicationRequest.Builder |
newBuilder(MedicationRequest.Builder other)
Creates a new MedicationRequest RecordBuilder by copying an existing Builder.
|
static MedicationRequest.Builder |
newBuilder(MedicationRequest other)
Creates a new MedicationRequest RecordBuilder by copying an existing MedicationRequest instance.
|
void |
put(int field$,
Object value$) |
void |
readExternal(ObjectInput in) |
void |
setAuthoredOn(String value)
Sets the value of the 'authoredOn' field.
|
void |
setBasedOn(List<CarePlanMedicationRequestProcedureRequestReferralRequestReference> value)
Sets the value of the 'basedOn' 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 |
setDefinition(List<ActivityDefinitionPlanDefinitionReference> value)
Sets the value of the 'definition' field.
|
void |
setDetectedIssue(List<DetectedIssueReference> value)
Sets the value of the 'detectedIssue' field.
|
void |
setDispenseRequest(MedicationRequestDispenseRequest value)
Sets the value of the 'dispenseRequest' 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 |
setGroupIdentifier(Identifier value)
Sets the value of the 'groupIdentifier' 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 |
setIntent(String value)
Sets the value of the 'intent' 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 |
setNote(List<Annotation> value)
Sets the value of the 'note' field.
|
void |
setPriority(String value)
Sets the value of the 'priority' field.
|
void |
setPriorPrescription(MedicationRequestReference value)
Sets the value of the 'priorPrescription' 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 |
setRecorder(PractitionerReference value)
Sets the value of the 'recorder' field.
|
void |
setRequester(MedicationRequestRequester value)
Sets the value of the 'requester' field.
|
void |
setStatus(String value)
Sets the value of the 'status' field.
|
void |
setSubject(PatientReference value)
Sets the value of the 'subject' field.
|
void |
setSubstitution(MedicationRequestSubstitution 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.
|
ByteBuffer |
toByteBuffer()
Serializes this MedicationRequest to a ByteBuffer.
|
void |
writeExternal(ObjectOutput out) |
public MedicationRequest()
newBuilder().public MedicationRequest(String id, Meta meta, String implicitRules, String language, Narrative text, List<Resource> contained, List<Identifier> identifier, List<ActivityDefinitionPlanDefinitionReference> definition, List<CarePlanMedicationRequestProcedureRequestReferralRequestReference> basedOn, Identifier groupIdentifier, String status, String intent, CodeableConcept category, String priority, ChoiceCodeableConceptMedicationReference medication, PatientReference subject, EncounterEpisodeOfCareReference context, List<ResourceReference> supportingInformation, String authoredOn, MedicationRequestRequester requester, PractitionerReference recorder, List<CodeableConcept> reasonCode, List<ConditionObservationReference> reasonReference, List<Annotation> note, List<Dosage> dosageInstruction, MedicationRequestDispenseRequest dispenseRequest, MedicationRequestSubstitution substitution, MedicationRequestReference priorPrescription, List<DetectedIssueReference> detectedIssue, 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 identifierdefinition - Field for FHIR property definitionbasedOn - Field for FHIR property basedOngroupIdentifier - Field for FHIR property groupIdentifierstatus - Field for FHIR property statusintent - Field for FHIR property intentcategory - Field for FHIR property categorypriority - Field for FHIR property prioritymedication - Field for FHIR property medicationsubject - Field for FHIR property subjectcontext - Field for FHIR property contextsupportingInformation - Field for FHIR property supportingInformationauthoredOn - Field for FHIR property authoredOnrequester - Field for FHIR property requesterrecorder - Field for FHIR property recorderreasonCode - Field for FHIR property reasonCodereasonReference - Field for FHIR property reasonReferencenote - Field for FHIR property notedosageInstruction - Field for FHIR property dosageInstructiondispenseRequest - Field for FHIR property dispenseRequestsubstitution - Field for FHIR property substitutionpriorPrescription - Field for FHIR property priorPrescriptiondetectedIssue - Field for FHIR property detectedIssueeventHistory - Field for FHIR property eventHistorypublic static org.apache.avro.Schema getClassSchema()
public static org.apache.avro.message.BinaryMessageDecoder<MedicationRequest> getDecoder()
public static org.apache.avro.message.BinaryMessageDecoder<MedicationRequest> createDecoder(org.apache.avro.message.SchemaStore resolver)
SchemaStore.resolver - a SchemaStore used to find schemas by fingerprintpublic ByteBuffer toByteBuffer() throws IOException
IOExceptionpublic static MedicationRequest 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<ActivityDefinitionPlanDefinitionReference> getDefinition()
public void setDefinition(List<ActivityDefinitionPlanDefinitionReference> value)
value - the value to set.public List<CarePlanMedicationRequestProcedureRequestReferralRequestReference> getBasedOn()
public void setBasedOn(List<CarePlanMedicationRequestProcedureRequestReferralRequestReference> value)
value - the value to set.public Identifier getGroupIdentifier()
public void setGroupIdentifier(Identifier value)
value - the value to set.public String getStatus()
public void setStatus(String value)
value - the value to set.public String getIntent()
public void setIntent(String value)
value - the value to set.public CodeableConcept getCategory()
public void setCategory(CodeableConcept value)
value - the value to set.public String getPriority()
public void setPriority(String value)
value - the value to set.public ChoiceCodeableConceptMedicationReference getMedication()
public void setMedication(ChoiceCodeableConceptMedicationReference value)
value - the value to set.public PatientReference getSubject()
public void setSubject(PatientReference 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 String getAuthoredOn()
public void setAuthoredOn(String value)
value - the value to set.public MedicationRequestRequester getRequester()
public void setRequester(MedicationRequestRequester value)
value - the value to set.public PractitionerReference getRecorder()
public void setRecorder(PractitionerReference 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<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 MedicationRequestDispenseRequest getDispenseRequest()
public void setDispenseRequest(MedicationRequestDispenseRequest value)
value - the value to set.public MedicationRequestSubstitution getSubstitution()
public void setSubstitution(MedicationRequestSubstitution value)
value - the value to set.public MedicationRequestReference getPriorPrescription()
public void setPriorPrescription(MedicationRequestReference value)
value - the value to set.public List<DetectedIssueReference> getDetectedIssue()
public void setDetectedIssue(List<DetectedIssueReference> value)
value - the value to set.public List<ProvenanceReference> getEventHistory()
public void setEventHistory(List<ProvenanceReference> value)
value - the value to set.public static MedicationRequest.Builder newBuilder()
public static MedicationRequest.Builder newBuilder(MedicationRequest.Builder other)
other - The existing builder to copy.public static MedicationRequest.Builder newBuilder(MedicationRequest 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.