public class CarePlan
extends org.apache.avro.specific.SpecificRecordBase
implements org.apache.avro.specific.SpecificRecord
| Modifier and Type | Class and Description |
|---|---|
static class |
CarePlan.Builder
RecordBuilder for CarePlan instances.
|
| Modifier and Type | Field and Description |
|---|---|
static org.apache.avro.Schema |
SCHEMA$ |
| Constructor and Description |
|---|
CarePlan()
Default constructor.
|
CarePlan(String id,
Meta meta,
String implicitRules,
String language,
Narrative text,
List<Resource> contained,
List<Identifier> identifier,
List<PlanDefinitionQuestionnaireReference> definition,
List<CarePlanReference> basedOn,
List<CarePlanReference> replaces,
List<CarePlanReference> partOf,
String status,
String intent,
List<CodeableConcept> category,
String title,
String description,
PatientReference subject,
EncounterEpisodeOfCareReference context,
Period period,
List<CareTeamOrganizationPatientPractitionerRelatedPersonReference> author,
List<CareTeamReference> careTeam,
List<ConditionReference> addresses,
List<ResourceReference> supportingInfo,
List<GoalReference> goal,
List<CarePlanActivity> activity,
List<Annotation> note)
All-args constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static org.apache.avro.message.BinaryMessageDecoder<CarePlan> |
createDecoder(org.apache.avro.message.SchemaStore resolver)
Create a new BinaryMessageDecoder instance for this class that uses the specified
SchemaStore. |
static CarePlan |
fromByteBuffer(ByteBuffer b)
Deserializes a CarePlan from a ByteBuffer.
|
Object |
get(int field$) |
List<CarePlanActivity> |
getActivity()
Gets the value of the 'activity' field.
|
List<ConditionReference> |
getAddresses()
Gets the value of the 'addresses' field.
|
List<CareTeamOrganizationPatientPractitionerRelatedPersonReference> |
getAuthor()
Gets the value of the 'author' field.
|
List<CarePlanReference> |
getBasedOn()
Gets the value of the 'basedOn' field.
|
List<CareTeamReference> |
getCareTeam()
Gets the value of the 'careTeam' field.
|
List<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<CarePlan> |
getDecoder()
Return the BinaryMessageDecoder instance used by this class.
|
List<PlanDefinitionQuestionnaireReference> |
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.
|
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.
|
Meta |
getMeta()
Gets the value of the 'meta' field.
|
List<Annotation> |
getNote()
Gets the value of the 'note' field.
|
List<CarePlanReference> |
getPartOf()
Gets the value of the 'partOf' field.
|
Period |
getPeriod()
Gets the value of the 'period' field.
|
List<CarePlanReference> |
getReplaces()
Gets the value of the 'replaces' field.
|
org.apache.avro.Schema |
getSchema() |
String |
getStatus()
Gets the value of the 'status' field.
|
PatientReference |
getSubject()
Gets the value of the 'subject' field.
|
List<ResourceReference> |
getSupportingInfo()
Gets the value of the 'supportingInfo' field.
|
Narrative |
getText()
Gets the value of the 'text' field.
|
String |
getTitle()
Gets the value of the 'title' field.
|
static CarePlan.Builder |
newBuilder()
Creates a new CarePlan RecordBuilder.
|
static CarePlan.Builder |
newBuilder(CarePlan.Builder other)
Creates a new CarePlan RecordBuilder by copying an existing Builder.
|
static CarePlan.Builder |
newBuilder(CarePlan other)
Creates a new CarePlan RecordBuilder by copying an existing CarePlan instance.
|
void |
put(int field$,
Object value$) |
void |
readExternal(ObjectInput in) |
void |
setActivity(List<CarePlanActivity> value)
Sets the value of the 'activity' field.
|
void |
setAddresses(List<ConditionReference> value)
Sets the value of the 'addresses' field.
|
void |
setAuthor(List<CareTeamOrganizationPatientPractitionerRelatedPersonReference> value)
Sets the value of the 'author' field.
|
void |
setBasedOn(List<CarePlanReference> value)
Sets the value of the 'basedOn' field.
|
void |
setCareTeam(List<CareTeamReference> value)
Sets the value of the 'careTeam' field.
|
void |
setCategory(List<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<PlanDefinitionQuestionnaireReference> 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 |
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 |
setMeta(Meta value)
Sets the value of the 'meta' field.
|
void |
setNote(List<Annotation> value)
Sets the value of the 'note' field.
|
void |
setPartOf(List<CarePlanReference> value)
Sets the value of the 'partOf' field.
|
void |
setPeriod(Period value)
Sets the value of the 'period' field.
|
void |
setReplaces(List<CarePlanReference> value)
Sets the value of the 'replaces' field.
|
void |
setStatus(String value)
Sets the value of the 'status' field.
|
void |
setSubject(PatientReference value)
Sets the value of the 'subject' field.
|
void |
setSupportingInfo(List<ResourceReference> value)
Sets the value of the 'supportingInfo' field.
|
void |
setText(Narrative value)
Sets the value of the 'text' field.
|
void |
setTitle(String value)
Sets the value of the 'title' field.
|
ByteBuffer |
toByteBuffer()
Serializes this CarePlan to a ByteBuffer.
|
void |
writeExternal(ObjectOutput out) |
public CarePlan()
newBuilder().public CarePlan(String id, Meta meta, String implicitRules, String language, Narrative text, List<Resource> contained, List<Identifier> identifier, List<PlanDefinitionQuestionnaireReference> definition, List<CarePlanReference> basedOn, List<CarePlanReference> replaces, List<CarePlanReference> partOf, String status, String intent, List<CodeableConcept> category, String title, String description, PatientReference subject, EncounterEpisodeOfCareReference context, Period period, List<CareTeamOrganizationPatientPractitionerRelatedPersonReference> author, List<CareTeamReference> careTeam, List<ConditionReference> addresses, List<ResourceReference> supportingInfo, List<GoalReference> goal, List<CarePlanActivity> activity, List<Annotation> note)
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 basedOnreplaces - Field for FHIR property replacespartOf - Field for FHIR property partOfstatus - Field for FHIR property statusintent - Field for FHIR property intentcategory - Field for FHIR property categorytitle - Field for FHIR property titledescription - Field for FHIR property descriptionsubject - Field for FHIR property subjectcontext - Field for FHIR property contextperiod - Field for FHIR property periodauthor - Field for FHIR property authorcareTeam - Field for FHIR property careTeamaddresses - Field for FHIR property addressessupportingInfo - Field for FHIR property supportingInfogoal - Field for FHIR property goalactivity - Field for FHIR property activitynote - Field for FHIR property notepublic static org.apache.avro.Schema getClassSchema()
public static org.apache.avro.message.BinaryMessageDecoder<CarePlan> getDecoder()
public static org.apache.avro.message.BinaryMessageDecoder<CarePlan> createDecoder(org.apache.avro.message.SchemaStore resolver)
SchemaStore.resolver - a SchemaStore used to find schemas by fingerprintpublic ByteBuffer toByteBuffer() throws IOException
IOExceptionpublic static CarePlan 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<PlanDefinitionQuestionnaireReference> getDefinition()
public void setDefinition(List<PlanDefinitionQuestionnaireReference> value)
value - the value to set.public List<CarePlanReference> getBasedOn()
public void setBasedOn(List<CarePlanReference> value)
value - the value to set.public List<CarePlanReference> getReplaces()
public void setReplaces(List<CarePlanReference> value)
value - the value to set.public List<CarePlanReference> getPartOf()
public void setPartOf(List<CarePlanReference> 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 List<CodeableConcept> getCategory()
public void setCategory(List<CodeableConcept> value)
value - the value to set.public String getTitle()
public void setTitle(String value)
value - the value to set.public String getDescription()
public void setDescription(String 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 Period getPeriod()
public void setPeriod(Period value)
value - the value to set.public List<CareTeamOrganizationPatientPractitionerRelatedPersonReference> getAuthor()
public void setAuthor(List<CareTeamOrganizationPatientPractitionerRelatedPersonReference> value)
value - the value to set.public List<CareTeamReference> getCareTeam()
public void setCareTeam(List<CareTeamReference> value)
value - the value to set.public List<ConditionReference> getAddresses()
public void setAddresses(List<ConditionReference> value)
value - the value to set.public List<ResourceReference> getSupportingInfo()
public void setSupportingInfo(List<ResourceReference> value)
value - the value to set.public List<GoalReference> getGoal()
public void setGoal(List<GoalReference> value)
value - the value to set.public List<CarePlanActivity> getActivity()
public void setActivity(List<CarePlanActivity> value)
value - the value to set.public List<Annotation> getNote()
public void setNote(List<Annotation> value)
value - the value to set.public static CarePlan.Builder newBuilder()
public static CarePlan.Builder newBuilder(CarePlan.Builder other)
other - The existing builder to copy.public static CarePlan.Builder newBuilder(CarePlan 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.