Class EpisodeOfCare
- java.lang.Object
-
- org.hl7.fhir.Resource
-
- org.hl7.fhir.DomainResource
-
- org.hl7.fhir.EpisodeOfCare
-
- All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2,org.jvnet.jaxb2_commons.lang.ToString2
public class EpisodeOfCare extends DomainResource implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
If the element is present, it must have either a @value, an @id, or extensionsJava class for EpisodeOfCare complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="EpisodeOfCare"> <complexContent> <extension base="{http://hl7.org/fhir}DomainResource"> <sequence> <element name="identifier" type="{http://hl7.org/fhir}Identifier" maxOccurs="unbounded" minOccurs="0"/> <element name="status" type="{http://hl7.org/fhir}EpisodeOfCareStatus"/> <element name="statusHistory" type="{http://hl7.org/fhir}EpisodeOfCare.StatusHistory" maxOccurs="unbounded" minOccurs="0"/> <element name="type" type="{http://hl7.org/fhir}CodeableConcept" maxOccurs="unbounded" minOccurs="0"/> <element name="condition" type="{http://hl7.org/fhir}Reference" maxOccurs="unbounded" minOccurs="0"/> <element name="patient" type="{http://hl7.org/fhir}Reference"/> <element name="managingOrganization" type="{http://hl7.org/fhir}Reference" minOccurs="0"/> <element name="period" type="{http://hl7.org/fhir}Period" minOccurs="0"/> <element name="referralRequest" type="{http://hl7.org/fhir}Reference" maxOccurs="unbounded" minOccurs="0"/> <element name="careManager" type="{http://hl7.org/fhir}Reference" minOccurs="0"/> <element name="team" type="{http://hl7.org/fhir}Reference" maxOccurs="unbounded" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected ReferencecareManagerprotected java.util.List<Reference>conditionprotected java.util.List<Identifier>identifierprotected ReferencemanagingOrganizationprotected Referencepatientprotected Periodperiodprotected java.util.List<Reference>referralRequestprotected EpisodeOfCareStatusstatusprotected java.util.List<EpisodeOfCareStatusHistory>statusHistoryprotected java.util.List<Reference>teamprotected java.util.List<CodeableConcept>type-
Fields inherited from class org.hl7.fhir.DomainResource
contained, extension, modifierExtension, text
-
Fields inherited from class org.hl7.fhir.Resource
id, implicitRules, language, meta
-
-
Constructor Summary
Constructors Constructor Description EpisodeOfCare()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringBuilderappend(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)java.lang.StringBuilderappendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)booleanequals(java.lang.Object object)booleanequals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, java.lang.Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)ReferencegetCareManager()Gets the value of the careManager property.java.util.List<Reference>getCondition()Gets the value of the condition property.java.util.List<Identifier>getIdentifier()Gets the value of the identifier property.ReferencegetManagingOrganization()Gets the value of the managingOrganization property.ReferencegetPatient()Gets the value of the patient property.PeriodgetPeriod()Gets the value of the period property.java.util.List<Reference>getReferralRequest()Gets the value of the referralRequest property.EpisodeOfCareStatusgetStatus()Gets the value of the status property.java.util.List<EpisodeOfCareStatusHistory>getStatusHistory()Gets the value of the statusHistory property.java.util.List<Reference>getTeam()Gets the value of the team property.java.util.List<CodeableConcept>getType()Gets the value of the type property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)voidsetCareManager(Reference value)Sets the value of the careManager property.voidsetManagingOrganization(Reference value)Sets the value of the managingOrganization property.voidsetPatient(Reference value)Sets the value of the patient property.voidsetPeriod(Period value)Sets the value of the period property.voidsetStatus(EpisodeOfCareStatus value)Sets the value of the status property.java.lang.StringtoString()EpisodeOfCarewithCareManager(Reference value)EpisodeOfCarewithCondition(java.util.Collection<Reference> values)EpisodeOfCarewithCondition(Reference... values)EpisodeOfCarewithContained(java.util.Collection<ResourceContainer> values)EpisodeOfCarewithContained(ResourceContainer... values)EpisodeOfCarewithExtension(java.util.Collection<Extension> values)EpisodeOfCarewithExtension(Extension... values)EpisodeOfCarewithId(Id value)EpisodeOfCarewithIdentifier(java.util.Collection<Identifier> values)EpisodeOfCarewithIdentifier(Identifier... values)EpisodeOfCarewithImplicitRules(Uri value)EpisodeOfCarewithLanguage(Code value)EpisodeOfCarewithManagingOrganization(Reference value)EpisodeOfCarewithMeta(Meta value)EpisodeOfCarewithModifierExtension(java.util.Collection<Extension> values)EpisodeOfCarewithModifierExtension(Extension... values)EpisodeOfCarewithPatient(Reference value)EpisodeOfCarewithPeriod(Period value)EpisodeOfCarewithReferralRequest(java.util.Collection<Reference> values)EpisodeOfCarewithReferralRequest(Reference... values)EpisodeOfCarewithStatus(EpisodeOfCareStatus value)EpisodeOfCarewithStatusHistory(java.util.Collection<EpisodeOfCareStatusHistory> values)EpisodeOfCarewithStatusHistory(EpisodeOfCareStatusHistory... values)EpisodeOfCarewithTeam(java.util.Collection<Reference> values)EpisodeOfCarewithTeam(Reference... values)EpisodeOfCarewithText(Narrative value)EpisodeOfCarewithType(java.util.Collection<CodeableConcept> values)EpisodeOfCarewithType(CodeableConcept... values)-
Methods inherited from class org.hl7.fhir.DomainResource
getContained, getExtension, getModifierExtension, getText, setText
-
Methods inherited from class org.hl7.fhir.Resource
getId, getImplicitRules, getLanguage, getMeta, setId, setImplicitRules, setLanguage, setMeta
-
-
-
-
Field Detail
-
identifier
protected java.util.List<Identifier> identifier
-
status
protected EpisodeOfCareStatus status
-
statusHistory
protected java.util.List<EpisodeOfCareStatusHistory> statusHistory
-
type
protected java.util.List<CodeableConcept> type
-
condition
protected java.util.List<Reference> condition
-
patient
protected Reference patient
-
managingOrganization
protected Reference managingOrganization
-
period
protected Period period
-
referralRequest
protected java.util.List<Reference> referralRequest
-
careManager
protected Reference careManager
-
team
protected java.util.List<Reference> team
-
-
Method Detail
-
getIdentifier
public java.util.List<Identifier> getIdentifier()
Gets the value of the identifier property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the identifier property.For example, to add a new item, do as follows:
getIdentifier().add(newItem);Objects of the following type(s) are allowed in the list
Identifier
-
getStatus
public EpisodeOfCareStatus getStatus()
Gets the value of the status property.- Returns:
- possible object is
EpisodeOfCareStatus
-
setStatus
public void setStatus(EpisodeOfCareStatus value)
Sets the value of the status property.- Parameters:
value- allowed object isEpisodeOfCareStatus
-
getStatusHistory
public java.util.List<EpisodeOfCareStatusHistory> getStatusHistory()
Gets the value of the statusHistory property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the statusHistory property.For example, to add a new item, do as follows:
getStatusHistory().add(newItem);Objects of the following type(s) are allowed in the list
EpisodeOfCareStatusHistory
-
getType
public java.util.List<CodeableConcept> getType()
Gets the value of the type property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the type property.For example, to add a new item, do as follows:
getType().add(newItem);Objects of the following type(s) are allowed in the list
CodeableConcept
-
getCondition
public java.util.List<Reference> getCondition()
Gets the value of the condition property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the condition property.For example, to add a new item, do as follows:
getCondition().add(newItem);Objects of the following type(s) are allowed in the list
Reference
-
getPatient
public Reference getPatient()
Gets the value of the patient property.- Returns:
- possible object is
Reference
-
setPatient
public void setPatient(Reference value)
Sets the value of the patient property.- Parameters:
value- allowed object isReference
-
getManagingOrganization
public Reference getManagingOrganization()
Gets the value of the managingOrganization property.- Returns:
- possible object is
Reference
-
setManagingOrganization
public void setManagingOrganization(Reference value)
Sets the value of the managingOrganization property.- Parameters:
value- allowed object isReference
-
getPeriod
public Period getPeriod()
Gets the value of the period property.- Returns:
- possible object is
Period
-
setPeriod
public void setPeriod(Period value)
Sets the value of the period property.- Parameters:
value- allowed object isPeriod
-
getReferralRequest
public java.util.List<Reference> getReferralRequest()
Gets the value of the referralRequest property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the referralRequest property.For example, to add a new item, do as follows:
getReferralRequest().add(newItem);Objects of the following type(s) are allowed in the list
Reference
-
getCareManager
public Reference getCareManager()
Gets the value of the careManager property.- Returns:
- possible object is
Reference
-
setCareManager
public void setCareManager(Reference value)
Sets the value of the careManager property.- Parameters:
value- allowed object isReference
-
getTeam
public java.util.List<Reference> getTeam()
Gets the value of the team property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the team property.For example, to add a new item, do as follows:
getTeam().add(newItem);Objects of the following type(s) are allowed in the list
Reference
-
withIdentifier
public EpisodeOfCare withIdentifier(Identifier... values)
-
withIdentifier
public EpisodeOfCare withIdentifier(java.util.Collection<Identifier> values)
-
withStatus
public EpisodeOfCare withStatus(EpisodeOfCareStatus value)
-
withStatusHistory
public EpisodeOfCare withStatusHistory(EpisodeOfCareStatusHistory... values)
-
withStatusHistory
public EpisodeOfCare withStatusHistory(java.util.Collection<EpisodeOfCareStatusHistory> values)
-
withType
public EpisodeOfCare withType(CodeableConcept... values)
-
withType
public EpisodeOfCare withType(java.util.Collection<CodeableConcept> values)
-
withCondition
public EpisodeOfCare withCondition(Reference... values)
-
withCondition
public EpisodeOfCare withCondition(java.util.Collection<Reference> values)
-
withPatient
public EpisodeOfCare withPatient(Reference value)
-
withManagingOrganization
public EpisodeOfCare withManagingOrganization(Reference value)
-
withPeriod
public EpisodeOfCare withPeriod(Period value)
-
withReferralRequest
public EpisodeOfCare withReferralRequest(Reference... values)
-
withReferralRequest
public EpisodeOfCare withReferralRequest(java.util.Collection<Reference> values)
-
withCareManager
public EpisodeOfCare withCareManager(Reference value)
-
withTeam
public EpisodeOfCare withTeam(Reference... values)
-
withTeam
public EpisodeOfCare withTeam(java.util.Collection<Reference> values)
-
withText
public EpisodeOfCare withText(Narrative value)
- Overrides:
withTextin classDomainResource
-
withContained
public EpisodeOfCare withContained(ResourceContainer... values)
- Overrides:
withContainedin classDomainResource
-
withContained
public EpisodeOfCare withContained(java.util.Collection<ResourceContainer> values)
- Overrides:
withContainedin classDomainResource
-
withExtension
public EpisodeOfCare withExtension(Extension... values)
- Overrides:
withExtensionin classDomainResource
-
withExtension
public EpisodeOfCare withExtension(java.util.Collection<Extension> values)
- Overrides:
withExtensionin classDomainResource
-
withModifierExtension
public EpisodeOfCare withModifierExtension(Extension... values)
- Overrides:
withModifierExtensionin classDomainResource
-
withModifierExtension
public EpisodeOfCare withModifierExtension(java.util.Collection<Extension> values)
- Overrides:
withModifierExtensionin classDomainResource
-
withId
public EpisodeOfCare withId(Id value)
- Overrides:
withIdin classDomainResource
-
withMeta
public EpisodeOfCare withMeta(Meta value)
- Overrides:
withMetain classDomainResource
-
withImplicitRules
public EpisodeOfCare withImplicitRules(Uri value)
- Overrides:
withImplicitRulesin classDomainResource
-
withLanguage
public EpisodeOfCare withLanguage(Code value)
- Overrides:
withLanguagein classDomainResource
-
equals
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, java.lang.Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)- Specified by:
equalsin interfaceorg.jvnet.jaxb2_commons.lang.Equals2- Overrides:
equalsin classDomainResource
-
equals
public boolean equals(java.lang.Object object)
- Overrides:
equalsin classDomainResource
-
hashCode
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)- Specified by:
hashCodein interfaceorg.jvnet.jaxb2_commons.lang.HashCode2- Overrides:
hashCodein classDomainResource
-
hashCode
public int hashCode()
- Overrides:
hashCodein classDomainResource
-
toString
public java.lang.String toString()
- Overrides:
toStringin classDomainResource
-
append
public java.lang.StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)- Specified by:
appendin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendin classDomainResource
-
appendFields
public java.lang.StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)- Specified by:
appendFieldsin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendFieldsin classDomainResource
-
-