public class CarePlanActivityDetail
extends org.apache.avro.specific.SpecificRecordBase
implements org.apache.avro.specific.SpecificRecord
| Modifier and Type | Class and Description |
|---|---|
static class |
CarePlanActivityDetail.Builder
RecordBuilder for CarePlanActivityDetail instances.
|
| Modifier and Type | Field and Description |
|---|---|
static org.apache.avro.Schema |
SCHEMA$ |
| Constructor and Description |
|---|
CarePlanActivityDetail()
Default constructor.
|
CarePlanActivityDetail(String id,
CodeableConcept category,
ActivityDefinitionPlanDefinitionQuestionnaireReference definition,
CodeableConcept code,
List<CodeableConcept> reasonCode,
List<ConditionReference> reasonReference,
List<GoalReference> goal,
String status,
String statusReason,
Boolean prohibited,
ChoicePeriodTimingString scheduled,
LocationReference location,
List<CareTeamOrganizationPatientPractitionerRelatedPersonReference> performer,
ChoiceCodeableConceptMedicationSubstanceReference product,
Quantity dailyAmount,
Quantity quantity,
String description)
All-args constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static org.apache.avro.message.BinaryMessageDecoder<CarePlanActivityDetail> |
createDecoder(org.apache.avro.message.SchemaStore resolver)
Create a new BinaryMessageDecoder instance for this class that uses the specified
SchemaStore. |
static CarePlanActivityDetail |
fromByteBuffer(ByteBuffer b)
Deserializes a CarePlanActivityDetail from a ByteBuffer.
|
Object |
get(int 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.
|
Quantity |
getDailyAmount()
Gets the value of the 'dailyAmount' field.
|
static org.apache.avro.message.BinaryMessageDecoder<CarePlanActivityDetail> |
getDecoder()
Return the BinaryMessageDecoder instance used by this class.
|
ActivityDefinitionPlanDefinitionQuestionnaireReference |
getDefinition()
Gets the value of the 'definition' field.
|
String |
getDescription()
Gets the value of the 'description' field.
|
List<GoalReference> |
getGoal()
Gets the value of the 'goal' field.
|
String |
getId()
Gets the value of the 'id' field.
|
LocationReference |
getLocation()
Gets the value of the 'location' field.
|
List<CareTeamOrganizationPatientPractitionerRelatedPersonReference> |
getPerformer()
Gets the value of the 'performer' field.
|
ChoiceCodeableConceptMedicationSubstanceReference |
getProduct()
Gets the value of the 'product' field.
|
Boolean |
getProhibited()
Gets the value of the 'prohibited' field.
|
Quantity |
getQuantity()
Gets the value of the 'quantity' field.
|
List<CodeableConcept> |
getReasonCode()
Gets the value of the 'reasonCode' field.
|
List<ConditionReference> |
getReasonReference()
Gets the value of the 'reasonReference' field.
|
ChoicePeriodTimingString |
getScheduled()
Gets the value of the 'scheduled' field.
|
org.apache.avro.Schema |
getSchema() |
String |
getStatus()
Gets the value of the 'status' field.
|
String |
getStatusReason()
Gets the value of the 'statusReason' field.
|
static CarePlanActivityDetail.Builder |
newBuilder()
Creates a new CarePlanActivityDetail RecordBuilder.
|
static CarePlanActivityDetail.Builder |
newBuilder(CarePlanActivityDetail.Builder other)
Creates a new CarePlanActivityDetail RecordBuilder by copying an existing Builder.
|
static CarePlanActivityDetail.Builder |
newBuilder(CarePlanActivityDetail other)
Creates a new CarePlanActivityDetail RecordBuilder by copying an existing CarePlanActivityDetail instance.
|
void |
put(int field$,
Object value$) |
void |
readExternal(ObjectInput in) |
void |
setCategory(CodeableConcept value)
Sets the value of the 'category' field.
|
void |
setCode(CodeableConcept value)
Sets the value of the 'code' field.
|
void |
setDailyAmount(Quantity value)
Sets the value of the 'dailyAmount' field.
|
void |
setDefinition(ActivityDefinitionPlanDefinitionQuestionnaireReference value)
Sets the value of the 'definition' field.
|
void |
setDescription(String value)
Sets the value of the 'description' field.
|
void |
setGoal(List<GoalReference> value)
Sets the value of the 'goal' field.
|
void |
setId(String value)
Sets the value of the 'id' field.
|
void |
setLocation(LocationReference value)
Sets the value of the 'location' field.
|
void |
setPerformer(List<CareTeamOrganizationPatientPractitionerRelatedPersonReference> value)
Sets the value of the 'performer' field.
|
void |
setProduct(ChoiceCodeableConceptMedicationSubstanceReference value)
Sets the value of the 'product' field.
|
void |
setProhibited(Boolean value)
Sets the value of the 'prohibited' field.
|
void |
setQuantity(Quantity value)
Sets the value of the 'quantity' field.
|
void |
setReasonCode(List<CodeableConcept> value)
Sets the value of the 'reasonCode' field.
|
void |
setReasonReference(List<ConditionReference> value)
Sets the value of the 'reasonReference' field.
|
void |
setScheduled(ChoicePeriodTimingString value)
Sets the value of the 'scheduled' field.
|
void |
setStatus(String value)
Sets the value of the 'status' field.
|
void |
setStatusReason(String value)
Sets the value of the 'statusReason' field.
|
ByteBuffer |
toByteBuffer()
Serializes this CarePlanActivityDetail to a ByteBuffer.
|
void |
writeExternal(ObjectOutput out) |
public CarePlanActivityDetail()
newBuilder().public CarePlanActivityDetail(String id, CodeableConcept category, ActivityDefinitionPlanDefinitionQuestionnaireReference definition, CodeableConcept code, List<CodeableConcept> reasonCode, List<ConditionReference> reasonReference, List<GoalReference> goal, String status, String statusReason, Boolean prohibited, ChoicePeriodTimingString scheduled, LocationReference location, List<CareTeamOrganizationPatientPractitionerRelatedPersonReference> performer, ChoiceCodeableConceptMedicationSubstanceReference product, Quantity dailyAmount, Quantity quantity, String description)
id - Field for FHIR property idcategory - Field for FHIR property categorydefinition - Field for FHIR property definitioncode - Field for FHIR property codereasonCode - Field for FHIR property reasonCodereasonReference - Field for FHIR property reasonReferencegoal - Field for FHIR property goalstatus - Field for FHIR property statusstatusReason - Field for FHIR property statusReasonprohibited - Field for FHIR property prohibitedscheduled - Field for FHIR property scheduledlocation - Field for FHIR property locationperformer - Field for FHIR property performerproduct - Field for FHIR property productdailyAmount - Field for FHIR property dailyAmountquantity - Field for FHIR property quantitydescription - Field for FHIR property descriptionpublic static org.apache.avro.Schema getClassSchema()
public static org.apache.avro.message.BinaryMessageDecoder<CarePlanActivityDetail> getDecoder()
public static org.apache.avro.message.BinaryMessageDecoder<CarePlanActivityDetail> createDecoder(org.apache.avro.message.SchemaStore resolver)
SchemaStore.resolver - a SchemaStore used to find schemas by fingerprintpublic ByteBuffer toByteBuffer() throws IOException
IOExceptionpublic static CarePlanActivityDetail 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 CodeableConcept getCategory()
public void setCategory(CodeableConcept value)
value - the value to set.public ActivityDefinitionPlanDefinitionQuestionnaireReference getDefinition()
public void setDefinition(ActivityDefinitionPlanDefinitionQuestionnaireReference value)
value - the value to set.public CodeableConcept getCode()
public void setCode(CodeableConcept value)
value - the value to set.public List<CodeableConcept> getReasonCode()
public void setReasonCode(List<CodeableConcept> value)
value - the value to set.public List<ConditionReference> getReasonReference()
public void setReasonReference(List<ConditionReference> value)
value - the value to set.public List<GoalReference> getGoal()
public void setGoal(List<GoalReference> value)
value - the value to set.public String getStatus()
public void setStatus(String value)
value - the value to set.public String getStatusReason()
public void setStatusReason(String value)
value - the value to set.public Boolean getProhibited()
public void setProhibited(Boolean value)
value - the value to set.public ChoicePeriodTimingString getScheduled()
public void setScheduled(ChoicePeriodTimingString value)
value - the value to set.public LocationReference getLocation()
public void setLocation(LocationReference value)
value - the value to set.public List<CareTeamOrganizationPatientPractitionerRelatedPersonReference> getPerformer()
public void setPerformer(List<CareTeamOrganizationPatientPractitionerRelatedPersonReference> value)
value - the value to set.public ChoiceCodeableConceptMedicationSubstanceReference getProduct()
public void setProduct(ChoiceCodeableConceptMedicationSubstanceReference value)
value - the value to set.public Quantity getDailyAmount()
public void setDailyAmount(Quantity value)
value - the value to set.public Quantity getQuantity()
public void setQuantity(Quantity value)
value - the value to set.public String getDescription()
public void setDescription(String value)
value - the value to set.public static CarePlanActivityDetail.Builder newBuilder()
public static CarePlanActivityDetail.Builder newBuilder(CarePlanActivityDetail.Builder other)
other - The existing builder to copy.public static CarePlanActivityDetail.Builder newBuilder(CarePlanActivityDetail 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.