Class CareTeam
- java.lang.Object
-
- org.linuxforhealth.fhir.model.visitor.AbstractVisitable
-
- org.linuxforhealth.fhir.model.resource.Resource
-
- org.linuxforhealth.fhir.model.resource.DomainResource
-
- org.linuxforhealth.fhir.model.resource.CareTeam
-
- All Implemented Interfaces:
Visitable
@Generated("org.linuxforhealth.fhir.tools.CodeGenerator") public class CareTeam extends DomainResource
The Care Team includes all the people and organizations who plan to participate in the coordination and delivery of care for a patient.Maturity level: FMM2 (Trial Use)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CareTeam.Builder
static class
CareTeam.Participant
Identifies all people and organizations who are expected to be involved in the care team.
-
Field Summary
-
Fields inherited from class org.linuxforhealth.fhir.model.resource.DomainResource
contained, extension, modifierExtension, text
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(java.lang.String elementName, int elementIndex, Visitor visitor)
Accept a Visitor and invoke the appropriate visit methods.static CareTeam.Builder
builder()
boolean
equals(java.lang.Object obj)
java.util.List<CodeableConcept>
getCategory()
Identifies what kind of team.Reference
getEncounter()
The Encounter during which this CareTeam was created or to which the creation of this record is tightly associated.java.util.List<Identifier>
getIdentifier()
Business identifiers assigned to this care team by the performer or other systems which remain constant as the resource is updated and propagates from server to server.java.util.List<Reference>
getManagingOrganization()
The organization responsible for the care team.String
getName()
A label for human use intended to distinguish like teams.java.util.List<Annotation>
getNote()
Comments made about the CareTeam.java.util.List<CareTeam.Participant>
getParticipant()
Identifies all people and organizations who are expected to be involved in the care team.Period
getPeriod()
Indicates when the team did (or is intended to) come into effect and end.java.util.List<CodeableConcept>
getReasonCode()
Describes why the care team exists.java.util.List<Reference>
getReasonReference()
Condition(s) that this care team addresses.CareTeamStatus
getStatus()
Indicates the current state of the care team.Reference
getSubject()
Identifies the patient or group whose intended care is handled by the team.java.util.List<ContactPoint>
getTelecom()
A central contact detail for the care team (that applies to all members).boolean
hasChildren()
int
hashCode()
CareTeam.Builder
toBuilder()
Create a new Builder from the contents of this Resource-
Methods inherited from class org.linuxforhealth.fhir.model.resource.DomainResource
getContained, getExtension, getModifierExtension, getText
-
Methods inherited from class org.linuxforhealth.fhir.model.resource.Resource
as, getId, getImplicitRules, getLanguage, getMeta, is
-
-
-
-
Method Detail
-
getIdentifier
public java.util.List<Identifier> getIdentifier()
Business identifiers assigned to this care team by the performer or other systems which remain constant as the resource is updated and propagates from server to server.- Returns:
- An unmodifiable list containing immutable objects of type
Identifier
that may be empty.
-
getStatus
public CareTeamStatus getStatus()
Indicates the current state of the care team.- Returns:
- An immutable object of type
CareTeamStatus
that may be null.
-
getCategory
public java.util.List<CodeableConcept> getCategory()
Identifies what kind of team. This is to support differentiation between multiple co-existing teams, such as care plan team, episode of care team, longitudinal care team.- Returns:
- An unmodifiable list containing immutable objects of type
CodeableConcept
that may be empty.
-
getName
public String getName()
A label for human use intended to distinguish like teams. E.g. the "red" vs. "green" trauma teams.- Returns:
- An immutable object of type
String
that may be null.
-
getSubject
public Reference getSubject()
Identifies the patient or group whose intended care is handled by the team.- Returns:
- An immutable object of type
Reference
that may be null.
-
getEncounter
public Reference getEncounter()
The Encounter during which this CareTeam was created or to which the creation of this record is tightly associated.- Returns:
- An immutable object of type
Reference
that may be null.
-
getPeriod
public Period getPeriod()
Indicates when the team did (or is intended to) come into effect and end.- Returns:
- An immutable object of type
Period
that may be null.
-
getParticipant
public java.util.List<CareTeam.Participant> getParticipant()
Identifies all people and organizations who are expected to be involved in the care team.- Returns:
- An unmodifiable list containing immutable objects of type
CareTeam.Participant
that may be empty.
-
getReasonCode
public java.util.List<CodeableConcept> getReasonCode()
Describes why the care team exists.- Returns:
- An unmodifiable list containing immutable objects of type
CodeableConcept
that may be empty.
-
getReasonReference
public java.util.List<Reference> getReasonReference()
Condition(s) that this care team addresses.- Returns:
- An unmodifiable list containing immutable objects of type
Reference
that may be empty.
-
getManagingOrganization
public java.util.List<Reference> getManagingOrganization()
The organization responsible for the care team.- Returns:
- An unmodifiable list containing immutable objects of type
Reference
that may be empty.
-
getTelecom
public java.util.List<ContactPoint> getTelecom()
A central contact detail for the care team (that applies to all members).- Returns:
- An unmodifiable list containing immutable objects of type
ContactPoint
that may be empty.
-
getNote
public java.util.List<Annotation> getNote()
Comments made about the CareTeam.- Returns:
- An unmodifiable list containing immutable objects of type
Annotation
that may be empty.
-
hasChildren
public boolean hasChildren()
- Overrides:
hasChildren
in classDomainResource
-
accept
public void accept(java.lang.String elementName, int elementIndex, Visitor visitor)
Description copied from interface:Visitable
Accept a Visitor and invoke the appropriate visit methods. A typical implementation would look like this:if (visitor.preVisit(this)) { visitor.visitStart(elementName, elementIndex, this); if (visitor.visit(elementName, elementIndex, this)) { // visit children } visitor.visitEnd(elementName, elementIndex, this); visitor.postVisit(this); }
- Specified by:
accept
in interfaceVisitable
- Specified by:
accept
in classAbstractVisitable
- Parameters:
elementName
- the name of the element in the context of this visitelementIndex
- the index of the element in a list or -1 if it is not contained within a Listvisitor
- the visitor to use
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toBuilder
public CareTeam.Builder toBuilder()
Description copied from class:Resource
Create a new Builder from the contents of this Resource- Specified by:
toBuilder
in classDomainResource
-
builder
public static CareTeam.Builder builder()
-
-