Package com.ibm.fhir.model.resource
Class RequestGroup
- 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.RequestGroup
-
- All Implemented Interfaces:
Visitable
@Generated("com.ibm.fhir.tools.CodeGenerator") public class RequestGroup extends DomainResource
A group of related requests that can be used to capture intended activities that have inter-dependencies such as "give this medication after that one".Maturity level: FMM2 (Trial Use)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRequestGroup.ActionThe actions, if any, produced by the evaluation of the artifact.static classRequestGroup.Builder
-
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(String elementName, int elementIndex, Visitor visitor)Accept a Visitor and invoke the appropriate visit methods.static RequestGroup.Builderbuilder()booleanequals(Object obj)List<RequestGroup.Action>getAction()The actions, if any, produced by the evaluation of the artifact.ReferencegetAuthor()Provides a reference to the author of the request group.DateTimegetAuthoredOn()Indicates when the request group was created.List<Reference>getBasedOn()A plan, proposal or order that is fulfilled in whole or in part by this request.CodeableConceptgetCode()A code that identifies what the overall request group is.ReferencegetEncounter()Describes the context of the request group, if any.IdentifiergetGroupIdentifier()A shared identifier common to all requests that were authorized more or less simultaneously by a single author, representing the identifier of the requisition, prescription or similar form.List<Identifier>getIdentifier()Allows a service to provide a unique, business identifier for the request.List<Canonical>getInstantiatesCanonical()A canonical URL referencing a FHIR-defined protocol, guideline, orderset or other definition that is adhered to in whole or in part by this request.List<Uri>getInstantiatesUri()A URL referencing an externally defined protocol, guideline, orderset or other definition that is adhered to in whole or in part by this request.RequestIntentgetIntent()Indicates the level of authority/intentionality associated with the request and where the request fits into the workflow chain.List<Annotation>getNote()Provides a mechanism to communicate additional information about the response.RequestPrioritygetPriority()Indicates how quickly the request should be addressed with respect to other requests.List<CodeableConcept>getReasonCode()Describes the reason for the request group in coded or textual form.List<Reference>getReasonReference()Indicates another resource whose existence justifies this request group.List<Reference>getReplaces()Completed or terminated request(s) whose function is taken by this new request.RequestStatusgetStatus()The current state of the request.ReferencegetSubject()The subject for which the request group was created.booleanhasChildren()inthashCode()RequestGroup.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 List<Identifier> getIdentifier()
Allows a service to provide a unique, business identifier for the request.- Returns:
- An unmodifiable list containing immutable objects of type
Identifierthat may be empty.
-
getInstantiatesCanonical
public List<Canonical> getInstantiatesCanonical()
A canonical URL referencing a FHIR-defined protocol, guideline, orderset or other definition that is adhered to in whole or in part by this request.- Returns:
- An unmodifiable list containing immutable objects of type
Canonicalthat may be empty.
-
getInstantiatesUri
public List<Uri> getInstantiatesUri()
A URL referencing an externally defined protocol, guideline, orderset or other definition that is adhered to in whole or in part by this request.- Returns:
- An unmodifiable list containing immutable objects of type
Urithat may be empty.
-
getBasedOn
public List<Reference> getBasedOn()
A plan, proposal or order that is fulfilled in whole or in part by this request.- Returns:
- An unmodifiable list containing immutable objects of type
Referencethat may be empty.
-
getReplaces
public List<Reference> getReplaces()
Completed or terminated request(s) whose function is taken by this new request.- Returns:
- An unmodifiable list containing immutable objects of type
Referencethat may be empty.
-
getGroupIdentifier
public Identifier getGroupIdentifier()
A shared identifier common to all requests that were authorized more or less simultaneously by a single author, representing the identifier of the requisition, prescription or similar form.- Returns:
- An immutable object of type
Identifierthat may be null.
-
getStatus
public RequestStatus getStatus()
The current state of the request. For request groups, the status reflects the status of all the requests in the group.- Returns:
- An immutable object of type
RequestStatusthat is non-null.
-
getIntent
public RequestIntent getIntent()
Indicates the level of authority/intentionality associated with the request and where the request fits into the workflow chain.- Returns:
- An immutable object of type
RequestIntentthat is non-null.
-
getPriority
public RequestPriority getPriority()
Indicates how quickly the request should be addressed with respect to other requests.- Returns:
- An immutable object of type
RequestPrioritythat may be null.
-
getCode
public CodeableConcept getCode()
A code that identifies what the overall request group is.- Returns:
- An immutable object of type
CodeableConceptthat may be null.
-
getSubject
public Reference getSubject()
The subject for which the request group was created.- Returns:
- An immutable object of type
Referencethat may be null.
-
getEncounter
public Reference getEncounter()
Describes the context of the request group, if any.- Returns:
- An immutable object of type
Referencethat may be null.
-
getAuthoredOn
public DateTime getAuthoredOn()
Indicates when the request group was created.- Returns:
- An immutable object of type
DateTimethat may be null.
-
getAuthor
public Reference getAuthor()
Provides a reference to the author of the request group.- Returns:
- An immutable object of type
Referencethat may be null.
-
getReasonCode
public List<CodeableConcept> getReasonCode()
Describes the reason for the request group in coded or textual form.- Returns:
- An unmodifiable list containing immutable objects of type
CodeableConceptthat may be empty.
-
getReasonReference
public List<Reference> getReasonReference()
Indicates another resource whose existence justifies this request group.- Returns:
- An unmodifiable list containing immutable objects of type
Referencethat may be empty.
-
getNote
public List<Annotation> getNote()
Provides a mechanism to communicate additional information about the response.- Returns:
- An unmodifiable list containing immutable objects of type
Annotationthat may be empty.
-
getAction
public List<RequestGroup.Action> getAction()
The actions, if any, produced by the evaluation of the artifact.- Returns:
- An unmodifiable list containing immutable objects of type
RequestGroup.Actionthat may be empty.
-
hasChildren
public boolean hasChildren()
- Overrides:
hasChildrenin classDomainResource
-
accept
public void accept(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
-
toBuilder
public RequestGroup.Builder toBuilder()
Description copied from class:ResourceCreate a new Builder from the contents of this Resource- Specified by:
toBuilderin classDomainResource
-
builder
public static RequestGroup.Builder builder()
-
-