Class Schedule
- java.lang.Object
-
- ca.uhn.fhir.model.api.BaseElement
-
- ca.uhn.fhir.model.dstu2.resource.BaseResource
-
- ca.uhn.fhir.model.dstu2.resource.Schedule
-
- All Implemented Interfaces:
ca.uhn.fhir.model.api.ICompositeElement,ca.uhn.fhir.model.api.IElement,ca.uhn.fhir.model.api.IResource,ca.uhn.fhir.model.api.ISupportsUndeclaredExtensions,Serializable,org.hl7.fhir.instance.model.api.IBase,org.hl7.fhir.instance.model.api.IBaseResource
public class Schedule extends BaseResource implements ca.uhn.fhir.model.api.IResource
HAPI/FHIR Schedule Resource (workflow.scheduling)Definition: A container for slot(s) of time that may be available for booking appointments.
Requirements:
Profile Definition: http://hl7.org/fhir/profiles/Schedule
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static ca.uhn.fhir.rest.gclient.ReferenceClientParamACTORFluent Client search parameter constant for actorstatic ca.uhn.fhir.rest.gclient.DateClientParamDATEFluent Client search parameter constant for datestatic ca.uhn.fhir.rest.gclient.TokenClientParamIDENTIFIERFluent Client search parameter constant for identifierstatic ca.uhn.fhir.model.api.IncludeINCLUDE_ACTORConstant for fluent queries to be used to add include statements.static StringSP_ACTORSearch parameter constant for actorstatic StringSP_DATESearch parameter constant for datestatic StringSP_IDENTIFIERSearch parameter constant for identifierstatic StringSP_TYPESearch parameter constant for typestatic ca.uhn.fhir.rest.gclient.TokenClientParamTYPEFluent Client search parameter constant for type-
Fields inherited from class ca.uhn.fhir.model.dstu2.resource.BaseResource
RES_ID, SP_RES_ID, SP_RES_LANGUAGE
-
-
Constructor Summary
Constructors Constructor Description Schedule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IdentifierDtaddIdentifier()Adds and returns a new value for identifier (id)ScheduleaddIdentifier(IdentifierDt theValue)Adds a given new value for identifier (id)CodeableConceptDtaddType()Adds and returns a new value for type (class)ScheduleaddType(CodeableConceptDt theValue)Adds a given new value for type (class)ResourceReferenceDtgetActor()Gets the value(s) for actor (who.focus).<T extends ca.uhn.fhir.model.api.IElement>
List<T>getAllPopulatedChildElementsOfType(Class<T> theType)StringgetComment()Gets the value(s) for comment ().ca.uhn.fhir.model.primitive.StringDtgetCommentElement()Gets the value(s) for comment ().List<IdentifierDt>getIdentifier()Gets the value(s) for identifier (id).IdentifierDtgetIdentifierFirstRep()Gets the first repetition for identifier (id), creating it if it does not already exist.PeriodDtgetPlanningHorizon()Gets the value(s) for planningHorizon (when.planned).StringgetResourceName()ca.uhn.fhir.context.FhirVersionEnumgetStructureFhirVersionEnum()List<CodeableConceptDt>getType()Gets the value(s) for type (class).CodeableConceptDtgetTypeFirstRep()Gets the first repetition for type (class), creating it if it does not already exist.booleanisEmpty()SchedulesetActor(ResourceReferenceDt theValue)Sets the value(s) for actor (who.focus)SchedulesetComment(ca.uhn.fhir.model.primitive.StringDt theValue)Sets the value(s) for comment ()SchedulesetComment(String theString)Sets the value for comment ()SchedulesetIdentifier(List<IdentifierDt> theValue)Sets the value(s) for identifier (id)SchedulesetPlanningHorizon(PeriodDt theValue)Sets the value(s) for planningHorizon (when.planned)SchedulesetType(List<CodeableConceptDt> theValue)Sets the value(s) for type (class)-
Methods inherited from class ca.uhn.fhir.model.dstu2.resource.BaseResource
getContained, getId, getIdElement, getLanguage, getMeta, getResourceMetadata, getText, isBaseEmpty, setContained, setId, setId, setId, setLanguage, setResourceMetadata, setText, toString
-
Methods inherited from class ca.uhn.fhir.model.api.BaseElement
addUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, getUserData, hasFormatComment, setUserData
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.hl7.fhir.instance.model.api.IBase
fhirType, getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserData
-
-
-
-
Field Detail
-
SP_ACTOR
public static final String SP_ACTOR
Search parameter constant for actorDescription: The individual(HealthcareService, Practitioner, Location, ...) to find a Schedule for
Type: reference
Path: Schedule.actor
- See Also:
- Constant Field Values
-
ACTOR
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ACTOR
Fluent Client search parameter constant for actorDescription: The individual(HealthcareService, Practitioner, Location, ...) to find a Schedule for
Type: reference
Path: Schedule.actor
-
SP_TYPE
public static final String SP_TYPE
Search parameter constant for typeDescription: The type of appointments that can be booked into associated slot(s)
Type: token
Path: Schedule.type
- See Also:
- Constant Field Values
-
TYPE
public static final ca.uhn.fhir.rest.gclient.TokenClientParam TYPE
Fluent Client search parameter constant for typeDescription: The type of appointments that can be booked into associated slot(s)
Type: token
Path: Schedule.type
-
SP_DATE
public static final String SP_DATE
Search parameter constant for dateDescription: Search for Schedule resources that have a period that contains this date specified
Type: date
Path: Schedule.planningHorizon
- See Also:
- Constant Field Values
-
DATE
public static final ca.uhn.fhir.rest.gclient.DateClientParam DATE
Fluent Client search parameter constant for dateDescription: Search for Schedule resources that have a period that contains this date specified
Type: date
Path: Schedule.planningHorizon
-
SP_IDENTIFIER
public static final String SP_IDENTIFIER
Search parameter constant for identifierDescription: A Schedule Identifier
Type: token
Path: Schedule.identifier
- See Also:
- Constant Field Values
-
IDENTIFIER
public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER
Fluent Client search parameter constant for identifierDescription: A Schedule Identifier
Type: token
Path: Schedule.identifier
-
INCLUDE_ACTOR
public static final ca.uhn.fhir.model.api.Include INCLUDE_ACTOR
Constant for fluent queries to be used to add include statements. Specifies the path value of "Schedule:actor".
-
-
Constructor Detail
-
Schedule
public Schedule()
-
-
Method Detail
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase
-
getAllPopulatedChildElementsOfType
public <T extends ca.uhn.fhir.model.api.IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
- Specified by:
getAllPopulatedChildElementsOfTypein interfaceca.uhn.fhir.model.api.ICompositeElement
-
getIdentifier
public List<IdentifierDt> getIdentifier()
Gets the value(s) for identifier (id). creating it if it does not exist. Will not returnnull.Definition:
-
setIdentifier
public Schedule setIdentifier(List<IdentifierDt> theValue)
Sets the value(s) for identifier (id)Definition:
-
addIdentifier
public IdentifierDt addIdentifier()
Adds and returns a new value for identifier (id)Definition:
-
addIdentifier
public Schedule addIdentifier(IdentifierDt theValue)
Adds a given new value for identifier (id)Definition:
- Parameters:
theValue- The identifier to add (must not benull)
-
getIdentifierFirstRep
public IdentifierDt getIdentifierFirstRep()
Gets the first repetition for identifier (id), creating it if it does not already exist.Definition:
-
getType
public List<CodeableConceptDt> getType()
Gets the value(s) for type (class). creating it if it does not exist. Will not returnnull.Definition:
-
setType
public Schedule setType(List<CodeableConceptDt> theValue)
Sets the value(s) for type (class)Definition:
-
addType
public CodeableConceptDt addType()
Adds and returns a new value for type (class)Definition:
-
addType
public Schedule addType(CodeableConceptDt theValue)
Adds a given new value for type (class)Definition:
- Parameters:
theValue- The type to add (must not benull)
-
getTypeFirstRep
public CodeableConceptDt getTypeFirstRep()
Gets the first repetition for type (class), creating it if it does not already exist.Definition:
-
getActor
public ResourceReferenceDt getActor()
Gets the value(s) for actor (who.focus). creating it if it does not exist. Will not returnnull.Definition:
-
setActor
public Schedule setActor(ResourceReferenceDt theValue)
Sets the value(s) for actor (who.focus)Definition:
-
getPlanningHorizon
public PeriodDt getPlanningHorizon()
Gets the value(s) for planningHorizon (when.planned). creating it if it does not exist. Will not returnnull.Definition:
-
setPlanningHorizon
public Schedule setPlanningHorizon(PeriodDt theValue)
Sets the value(s) for planningHorizon (when.planned)Definition:
-
getCommentElement
public ca.uhn.fhir.model.primitive.StringDt getCommentElement()
Gets the value(s) for comment (). creating it if it does not exist. Will not returnnull.Definition:
-
getComment
public String getComment()
Gets the value(s) for comment (). creating it if it does not exist. This method may returnnull.Definition:
-
setComment
public Schedule setComment(ca.uhn.fhir.model.primitive.StringDt theValue)
Sets the value(s) for comment ()Definition:
-
setComment
public Schedule setComment(String theString)
Sets the value for comment ()Definition:
-
getResourceName
public String getResourceName()
- Specified by:
getResourceNamein interfaceca.uhn.fhir.model.api.IResource
-
getStructureFhirVersionEnum
public ca.uhn.fhir.context.FhirVersionEnum getStructureFhirVersionEnum()
- Specified by:
getStructureFhirVersionEnumin interfaceorg.hl7.fhir.instance.model.api.IBaseResource- Specified by:
getStructureFhirVersionEnumin interfaceca.uhn.fhir.model.api.IResource
-
-