public static class MedicationStatement.Builder extends org.apache.avro.specific.SpecificRecordBuilderBase<MedicationStatement> implements org.apache.avro.data.RecordBuilder<MedicationStatement>
| Modifier and Type | Method and Description |
|---|---|
MedicationStatement |
build() |
MedicationStatement.Builder |
clearBasedOn()
Clears the value of the 'basedOn' field.
|
MedicationStatement.Builder |
clearCategory()
Clears the value of the 'category' field.
|
MedicationStatement.Builder |
clearContained()
Clears the value of the 'contained' field.
|
MedicationStatement.Builder |
clearContext()
Clears the value of the 'context' field.
|
MedicationStatement.Builder |
clearDateAsserted()
Clears the value of the 'dateAsserted' field.
|
MedicationStatement.Builder |
clearDerivedFrom()
Clears the value of the 'derivedFrom' field.
|
MedicationStatement.Builder |
clearDosage()
Clears the value of the 'dosage' field.
|
MedicationStatement.Builder |
clearEffective()
Clears the value of the 'effective' field.
|
MedicationStatement.Builder |
clearId()
Clears the value of the 'id' field.
|
MedicationStatement.Builder |
clearIdentifier()
Clears the value of the 'identifier' field.
|
MedicationStatement.Builder |
clearImplicitRules()
Clears the value of the 'implicitRules' field.
|
MedicationStatement.Builder |
clearInformationSource()
Clears the value of the 'informationSource' field.
|
MedicationStatement.Builder |
clearLanguage()
Clears the value of the 'language' field.
|
MedicationStatement.Builder |
clearMedication()
Clears the value of the 'medication' field.
|
MedicationStatement.Builder |
clearMeta()
Clears the value of the 'meta' field.
|
MedicationStatement.Builder |
clearNote()
Clears the value of the 'note' field.
|
MedicationStatement.Builder |
clearPartOf()
Clears the value of the 'partOf' field.
|
MedicationStatement.Builder |
clearReasonCode()
Clears the value of the 'reasonCode' field.
|
MedicationStatement.Builder |
clearReasonNotTaken()
Clears the value of the 'reasonNotTaken' field.
|
MedicationStatement.Builder |
clearReasonReference()
Clears the value of the 'reasonReference' field.
|
MedicationStatement.Builder |
clearStatus()
Clears the value of the 'status' field.
|
MedicationStatement.Builder |
clearSubject()
Clears the value of the 'subject' field.
|
MedicationStatement.Builder |
clearTaken()
Clears the value of the 'taken' field.
|
MedicationStatement.Builder |
clearText()
Clears the value of the 'text' field.
|
List<CarePlanMedicationRequestProcedureRequestReferralRequestReference> |
getBasedOn()
Gets the value of the 'basedOn' field.
|
CodeableConcept |
getCategory()
Gets the value of the 'category' field.
|
CodeableConcept.Builder |
getCategoryBuilder()
Gets the Builder instance for the 'category' field and creates one if it doesn't exist yet.
|
List<Resource> |
getContained()
Gets the value of the 'contained' field.
|
EncounterEpisodeOfCareReference |
getContext()
Gets the value of the 'context' field.
|
EncounterEpisodeOfCareReference.Builder |
getContextBuilder()
Gets the Builder instance for the 'context' field and creates one if it doesn't exist yet.
|
String |
getDateAsserted()
Gets the value of the 'dateAsserted' field.
|
List<ResourceReference> |
getDerivedFrom()
Gets the value of the 'derivedFrom' field.
|
List<Dosage> |
getDosage()
Gets the value of the 'dosage' field.
|
ChoicePeriodDateTime |
getEffective()
Gets the value of the 'effective' field.
|
ChoicePeriodDateTime.Builder |
getEffectiveBuilder()
Gets the Builder instance for the 'effective' field and creates one if it doesn't exist yet.
|
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.
|
OrganizationPatientPractitionerRelatedPersonReference |
getInformationSource()
Gets the value of the 'informationSource' field.
|
OrganizationPatientPractitionerRelatedPersonReference.Builder |
getInformationSourceBuilder()
Gets the Builder instance for the 'informationSource' field and creates one if it doesn't exist yet.
|
String |
getLanguage()
Gets the value of the 'language' field.
|
ChoiceCodeableConceptMedicationReference |
getMedication()
Gets the value of the 'medication' field.
|
ChoiceCodeableConceptMedicationReference.Builder |
getMedicationBuilder()
Gets the Builder instance for the 'medication' field and creates one if it doesn't exist yet.
|
Meta |
getMeta()
Gets the value of the 'meta' field.
|
Meta.Builder |
getMetaBuilder()
Gets the Builder instance for the 'meta' field and creates one if it doesn't exist yet.
|
List<Annotation> |
getNote()
Gets the value of the 'note' field.
|
List<MedicationAdministrationMedicationDispenseMedicationStatementObservationProcedureReference> |
getPartOf()
Gets the value of the 'partOf' field.
|
List<CodeableConcept> |
getReasonCode()
Gets the value of the 'reasonCode' field.
|
List<CodeableConcept> |
getReasonNotTaken()
Gets the value of the 'reasonNotTaken' field.
|
List<ConditionObservationReference> |
getReasonReference()
Gets the value of the 'reasonReference' field.
|
String |
getStatus()
Gets the value of the 'status' field.
|
GroupPatientReference |
getSubject()
Gets the value of the 'subject' field.
|
GroupPatientReference.Builder |
getSubjectBuilder()
Gets the Builder instance for the 'subject' field and creates one if it doesn't exist yet.
|
String |
getTaken()
Gets the value of the 'taken' field.
|
Narrative |
getText()
Gets the value of the 'text' field.
|
Narrative.Builder |
getTextBuilder()
Gets the Builder instance for the 'text' field and creates one if it doesn't exist yet.
|
boolean |
hasBasedOn()
Checks whether the 'basedOn' field has been set.
|
boolean |
hasCategory()
Checks whether the 'category' field has been set.
|
boolean |
hasCategoryBuilder()
Checks whether the 'category' field has an active Builder instance
Field for FHIR property category
|
boolean |
hasContained()
Checks whether the 'contained' field has been set.
|
boolean |
hasContext()
Checks whether the 'context' field has been set.
|
boolean |
hasContextBuilder()
Checks whether the 'context' field has an active Builder instance
Field for FHIR property context
|
boolean |
hasDateAsserted()
Checks whether the 'dateAsserted' field has been set.
|
boolean |
hasDerivedFrom()
Checks whether the 'derivedFrom' field has been set.
|
boolean |
hasDosage()
Checks whether the 'dosage' field has been set.
|
boolean |
hasEffective()
Checks whether the 'effective' field has been set.
|
boolean |
hasEffectiveBuilder()
Checks whether the 'effective' field has an active Builder instance
Field for FHIR property effective
|
boolean |
hasId()
Checks whether the 'id' field has been set.
|
boolean |
hasIdentifier()
Checks whether the 'identifier' field has been set.
|
boolean |
hasImplicitRules()
Checks whether the 'implicitRules' field has been set.
|
boolean |
hasInformationSource()
Checks whether the 'informationSource' field has been set.
|
boolean |
hasInformationSourceBuilder()
Checks whether the 'informationSource' field has an active Builder instance
Field for FHIR property informationSource
|
boolean |
hasLanguage()
Checks whether the 'language' field has been set.
|
boolean |
hasMedication()
Checks whether the 'medication' field has been set.
|
boolean |
hasMedicationBuilder()
Checks whether the 'medication' field has an active Builder instance
Field for FHIR property medication
|
boolean |
hasMeta()
Checks whether the 'meta' field has been set.
|
boolean |
hasMetaBuilder()
Checks whether the 'meta' field has an active Builder instance
Field for FHIR property meta
|
boolean |
hasNote()
Checks whether the 'note' field has been set.
|
boolean |
hasPartOf()
Checks whether the 'partOf' field has been set.
|
boolean |
hasReasonCode()
Checks whether the 'reasonCode' field has been set.
|
boolean |
hasReasonNotTaken()
Checks whether the 'reasonNotTaken' field has been set.
|
boolean |
hasReasonReference()
Checks whether the 'reasonReference' field has been set.
|
boolean |
hasStatus()
Checks whether the 'status' field has been set.
|
boolean |
hasSubject()
Checks whether the 'subject' field has been set.
|
boolean |
hasSubjectBuilder()
Checks whether the 'subject' field has an active Builder instance
Field for FHIR property subject
|
boolean |
hasTaken()
Checks whether the 'taken' field has been set.
|
boolean |
hasText()
Checks whether the 'text' field has been set.
|
boolean |
hasTextBuilder()
Checks whether the 'text' field has an active Builder instance
Field for FHIR property text
|
MedicationStatement.Builder |
setBasedOn(List<CarePlanMedicationRequestProcedureRequestReferralRequestReference> value)
Sets the value of the 'basedOn' field.
|
MedicationStatement.Builder |
setCategory(CodeableConcept value)
Sets the value of the 'category' field.
|
MedicationStatement.Builder |
setCategoryBuilder(CodeableConcept.Builder value)
Sets the Builder instance for the 'category' field
Field for FHIR property category
|
MedicationStatement.Builder |
setContained(List<Resource> value)
Sets the value of the 'contained' field.
|
MedicationStatement.Builder |
setContext(EncounterEpisodeOfCareReference value)
Sets the value of the 'context' field.
|
MedicationStatement.Builder |
setContextBuilder(EncounterEpisodeOfCareReference.Builder value)
Sets the Builder instance for the 'context' field
Field for FHIR property context
|
MedicationStatement.Builder |
setDateAsserted(String value)
Sets the value of the 'dateAsserted' field.
|
MedicationStatement.Builder |
setDerivedFrom(List<ResourceReference> value)
Sets the value of the 'derivedFrom' field.
|
MedicationStatement.Builder |
setDosage(List<Dosage> value)
Sets the value of the 'dosage' field.
|
MedicationStatement.Builder |
setEffective(ChoicePeriodDateTime value)
Sets the value of the 'effective' field.
|
MedicationStatement.Builder |
setEffectiveBuilder(ChoicePeriodDateTime.Builder value)
Sets the Builder instance for the 'effective' field
Field for FHIR property effective
|
MedicationStatement.Builder |
setId(String value)
Sets the value of the 'id' field.
|
MedicationStatement.Builder |
setIdentifier(List<Identifier> value)
Sets the value of the 'identifier' field.
|
MedicationStatement.Builder |
setImplicitRules(String value)
Sets the value of the 'implicitRules' field.
|
MedicationStatement.Builder |
setInformationSource(OrganizationPatientPractitionerRelatedPersonReference value)
Sets the value of the 'informationSource' field.
|
MedicationStatement.Builder |
setInformationSourceBuilder(OrganizationPatientPractitionerRelatedPersonReference.Builder value)
Sets the Builder instance for the 'informationSource' field
Field for FHIR property informationSource
|
MedicationStatement.Builder |
setLanguage(String value)
Sets the value of the 'language' field.
|
MedicationStatement.Builder |
setMedication(ChoiceCodeableConceptMedicationReference value)
Sets the value of the 'medication' field.
|
MedicationStatement.Builder |
setMedicationBuilder(ChoiceCodeableConceptMedicationReference.Builder value)
Sets the Builder instance for the 'medication' field
Field for FHIR property medication
|
MedicationStatement.Builder |
setMeta(Meta value)
Sets the value of the 'meta' field.
|
MedicationStatement.Builder |
setMetaBuilder(Meta.Builder value)
Sets the Builder instance for the 'meta' field
Field for FHIR property meta
|
MedicationStatement.Builder |
setNote(List<Annotation> value)
Sets the value of the 'note' field.
|
MedicationStatement.Builder |
setPartOf(List<MedicationAdministrationMedicationDispenseMedicationStatementObservationProcedureReference> value)
Sets the value of the 'partOf' field.
|
MedicationStatement.Builder |
setReasonCode(List<CodeableConcept> value)
Sets the value of the 'reasonCode' field.
|
MedicationStatement.Builder |
setReasonNotTaken(List<CodeableConcept> value)
Sets the value of the 'reasonNotTaken' field.
|
MedicationStatement.Builder |
setReasonReference(List<ConditionObservationReference> value)
Sets the value of the 'reasonReference' field.
|
MedicationStatement.Builder |
setStatus(String value)
Sets the value of the 'status' field.
|
MedicationStatement.Builder |
setSubject(GroupPatientReference value)
Sets the value of the 'subject' field.
|
MedicationStatement.Builder |
setSubjectBuilder(GroupPatientReference.Builder value)
Sets the Builder instance for the 'subject' field
Field for FHIR property subject
|
MedicationStatement.Builder |
setTaken(String value)
Sets the value of the 'taken' field.
|
MedicationStatement.Builder |
setText(Narrative value)
Sets the value of the 'text' field.
|
MedicationStatement.Builder |
setTextBuilder(Narrative.Builder value)
Sets the Builder instance for the 'text' field
Field for FHIR property text
|
public String getId()
public MedicationStatement.Builder setId(String value)
value - The value of 'id'.public boolean hasId()
public MedicationStatement.Builder clearId()
public Meta getMeta()
public MedicationStatement.Builder setMeta(Meta value)
value - The value of 'meta'.public boolean hasMeta()
public Meta.Builder getMetaBuilder()
public MedicationStatement.Builder setMetaBuilder(Meta.Builder value)
value - The builder instance that must be set.public boolean hasMetaBuilder()
public MedicationStatement.Builder clearMeta()
public String getImplicitRules()
public MedicationStatement.Builder setImplicitRules(String value)
value - The value of 'implicitRules'.public boolean hasImplicitRules()
public MedicationStatement.Builder clearImplicitRules()
public String getLanguage()
public MedicationStatement.Builder setLanguage(String value)
value - The value of 'language'.public boolean hasLanguage()
public MedicationStatement.Builder clearLanguage()
public Narrative getText()
public MedicationStatement.Builder setText(Narrative value)
value - The value of 'text'.public boolean hasText()
public Narrative.Builder getTextBuilder()
public MedicationStatement.Builder setTextBuilder(Narrative.Builder value)
value - The builder instance that must be set.public boolean hasTextBuilder()
public MedicationStatement.Builder clearText()
public List<Resource> getContained()
public MedicationStatement.Builder setContained(List<Resource> value)
value - The value of 'contained'.public boolean hasContained()
public MedicationStatement.Builder clearContained()
public List<Identifier> getIdentifier()
public MedicationStatement.Builder setIdentifier(List<Identifier> value)
value - The value of 'identifier'.public boolean hasIdentifier()
public MedicationStatement.Builder clearIdentifier()
public List<CarePlanMedicationRequestProcedureRequestReferralRequestReference> getBasedOn()
public MedicationStatement.Builder setBasedOn(List<CarePlanMedicationRequestProcedureRequestReferralRequestReference> value)
value - The value of 'basedOn'.public boolean hasBasedOn()
public MedicationStatement.Builder clearBasedOn()
public List<MedicationAdministrationMedicationDispenseMedicationStatementObservationProcedureReference> getPartOf()
public MedicationStatement.Builder setPartOf(List<MedicationAdministrationMedicationDispenseMedicationStatementObservationProcedureReference> value)
value - The value of 'partOf'.public boolean hasPartOf()
public MedicationStatement.Builder clearPartOf()
public EncounterEpisodeOfCareReference getContext()
public MedicationStatement.Builder setContext(EncounterEpisodeOfCareReference value)
value - The value of 'context'.public boolean hasContext()
public EncounterEpisodeOfCareReference.Builder getContextBuilder()
public MedicationStatement.Builder setContextBuilder(EncounterEpisodeOfCareReference.Builder value)
value - The builder instance that must be set.public boolean hasContextBuilder()
public MedicationStatement.Builder clearContext()
public String getStatus()
public MedicationStatement.Builder setStatus(String value)
value - The value of 'status'.public boolean hasStatus()
public MedicationStatement.Builder clearStatus()
public CodeableConcept getCategory()
public MedicationStatement.Builder setCategory(CodeableConcept value)
value - The value of 'category'.public boolean hasCategory()
public CodeableConcept.Builder getCategoryBuilder()
public MedicationStatement.Builder setCategoryBuilder(CodeableConcept.Builder value)
value - The builder instance that must be set.public boolean hasCategoryBuilder()
public MedicationStatement.Builder clearCategory()
public ChoiceCodeableConceptMedicationReference getMedication()
public MedicationStatement.Builder setMedication(ChoiceCodeableConceptMedicationReference value)
value - The value of 'medication'.public boolean hasMedication()
public ChoiceCodeableConceptMedicationReference.Builder getMedicationBuilder()
public MedicationStatement.Builder setMedicationBuilder(ChoiceCodeableConceptMedicationReference.Builder value)
value - The builder instance that must be set.public boolean hasMedicationBuilder()
public MedicationStatement.Builder clearMedication()
public ChoicePeriodDateTime getEffective()
public MedicationStatement.Builder setEffective(ChoicePeriodDateTime value)
value - The value of 'effective'.public boolean hasEffective()
public ChoicePeriodDateTime.Builder getEffectiveBuilder()
public MedicationStatement.Builder setEffectiveBuilder(ChoicePeriodDateTime.Builder value)
value - The builder instance that must be set.public boolean hasEffectiveBuilder()
public MedicationStatement.Builder clearEffective()
public String getDateAsserted()
public MedicationStatement.Builder setDateAsserted(String value)
value - The value of 'dateAsserted'.public boolean hasDateAsserted()
public MedicationStatement.Builder clearDateAsserted()
public OrganizationPatientPractitionerRelatedPersonReference getInformationSource()
public MedicationStatement.Builder setInformationSource(OrganizationPatientPractitionerRelatedPersonReference value)
value - The value of 'informationSource'.public boolean hasInformationSource()
public OrganizationPatientPractitionerRelatedPersonReference.Builder getInformationSourceBuilder()
public MedicationStatement.Builder setInformationSourceBuilder(OrganizationPatientPractitionerRelatedPersonReference.Builder value)
value - The builder instance that must be set.public boolean hasInformationSourceBuilder()
public MedicationStatement.Builder clearInformationSource()
public GroupPatientReference getSubject()
public MedicationStatement.Builder setSubject(GroupPatientReference value)
value - The value of 'subject'.public boolean hasSubject()
public GroupPatientReference.Builder getSubjectBuilder()
public MedicationStatement.Builder setSubjectBuilder(GroupPatientReference.Builder value)
value - The builder instance that must be set.public boolean hasSubjectBuilder()
public MedicationStatement.Builder clearSubject()
public List<ResourceReference> getDerivedFrom()
public MedicationStatement.Builder setDerivedFrom(List<ResourceReference> value)
value - The value of 'derivedFrom'.public boolean hasDerivedFrom()
public MedicationStatement.Builder clearDerivedFrom()
public String getTaken()
public MedicationStatement.Builder setTaken(String value)
value - The value of 'taken'.public boolean hasTaken()
public MedicationStatement.Builder clearTaken()
public List<CodeableConcept> getReasonNotTaken()
public MedicationStatement.Builder setReasonNotTaken(List<CodeableConcept> value)
value - The value of 'reasonNotTaken'.public boolean hasReasonNotTaken()
public MedicationStatement.Builder clearReasonNotTaken()
public List<CodeableConcept> getReasonCode()
public MedicationStatement.Builder setReasonCode(List<CodeableConcept> value)
value - The value of 'reasonCode'.public boolean hasReasonCode()
public MedicationStatement.Builder clearReasonCode()
public List<ConditionObservationReference> getReasonReference()
public MedicationStatement.Builder setReasonReference(List<ConditionObservationReference> value)
value - The value of 'reasonReference'.public boolean hasReasonReference()
public MedicationStatement.Builder clearReasonReference()
public List<Annotation> getNote()
public MedicationStatement.Builder setNote(List<Annotation> value)
value - The value of 'note'.public boolean hasNote()
public MedicationStatement.Builder clearNote()
public List<Dosage> getDosage()
public MedicationStatement.Builder setDosage(List<Dosage> value)
value - The value of 'dosage'.public boolean hasDosage()
public MedicationStatement.Builder clearDosage()
public MedicationStatement build()
build in interface org.apache.avro.data.RecordBuilder<MedicationStatement>Copyright © 2020. All rights reserved.