Package com.ibm.fhir.model.resource
Class CareTeam
- java.lang.Object
-
- com.ibm.fhir.model.visitor.AbstractVisitable
-
- com.ibm.fhir.model.resource.Resource
-
- com.ibm.fhir.model.resource.DomainResource
-
- com.ibm.fhir.model.resource.CareTeam
-
- All Implemented Interfaces:
Visitable
@Generated("com.ibm.fhir.tools.CodeGenerator") public class CareTeam extends DomainResourceThe 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 classCareTeam.Builderstatic classCareTeam.ParticipantIdentifies all people and organizations who are expected to be involved in the care team.
-
Field Summary
-
Fields inherited from class com.ibm.fhir.model.resource.DomainResource
contained, extension, modifierExtension, text
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(java.lang.String elementName, int elementIndex, Visitor visitor)Accept a Visitor and invoke the appropriate visit methods.static CareTeam.Builderbuilder()booleanequals(java.lang.Object obj)java.util.List<CodeableConcept>getCategory()Identifies what kind of team.ReferencegetEncounter()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.StringgetName()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.PeriodgetPeriod()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.CareTeamStatusgetStatus()Indicates the current state of the care team.ReferencegetSubject()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).booleanhasChildren()inthashCode()CareTeam.BuildertoBuilder()Create a new Builder from the contents of this Resource-
Methods inherited from class com.ibm.fhir.model.resource.DomainResource
getContained, getExtension, getModifierExtension, getText
-
Methods inherited from class com.ibm.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
Identifierthat may be empty.
-
getStatus
public CareTeamStatus getStatus()
Indicates the current state of the care team.- Returns:
- An immutable object of type
CareTeamStatusthat 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
CodeableConceptthat 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
Stringthat 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
Referencethat 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
Referencethat 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
Periodthat 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.Participantthat 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
CodeableConceptthat 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
Referencethat 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
Referencethat 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
ContactPointthat may be empty.
-
getNote
public java.util.List<Annotation> getNote()
Comments made about the CareTeam.- Returns:
- An unmodifiable list containing immutable objects of type
Annotationthat may be empty.
-
hasChildren
public boolean hasChildren()
- Overrides:
hasChildrenin classDomainResource
-
accept
public void accept(java.lang.String elementName, int elementIndex, Visitor visitor)Description copied from interface:VisitableAccept 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:
acceptin interfaceVisitable- Specified by:
acceptin 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:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toBuilder
public CareTeam.Builder toBuilder()
Description copied from class:ResourceCreate a new Builder from the contents of this Resource- Specified by:
toBuilderin classDomainResource
-
builder
public static CareTeam.Builder builder()
-
-