Class RequestGroupBuilder.Impl
- java.lang.Object
-
- com.babylonhealth.lit.hl7_java.builders.RequestGroupBuilder.Impl
-
- All Implemented Interfaces:
com.babylonhealth.lit.core_java.builders.ResourceBuilder,DomainResourceBuilder,RequestGroupBuilder
- Enclosing interface:
- RequestGroupBuilder
public static class RequestGroupBuilder.Impl extends java.lang.Object implements RequestGroupBuilder
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.babylonhealth.lit.hl7_java.builders.RequestGroupBuilder
RequestGroupBuilder.Impl
-
-
Constructor Summary
Constructors Constructor Description Impl(com.babylonhealth.lit.hl7.REQUEST_STATUS status, com.babylonhealth.lit.hl7.REQUEST_INTENT intent)Required fields forRequestGroup
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.babylonhealth.lit.hl7.model.RequestGroupbuild()RequestGroupBuilder.ImplwithAction(@NonNull RequestGroup_ActionBuilder... action)RequestGroupBuilder.ImplwithAction(@NonNull com.babylonhealth.lit.hl7.model.RequestGroup.Action... action)RequestGroupBuilder.ImplwithAction(@NonNull java.util.Collection<com.babylonhealth.lit.hl7.model.RequestGroup.Action> action)RequestGroupBuilder.ImplwithAuthor(@NonNull com.babylonhealth.lit.core_java.builders.ReferenceBuilder author)RequestGroupBuilder.ImplwithAuthor(@NonNull com.babylonhealth.lit.core.model.Reference author)RequestGroupBuilder.ImplwithAuthoredOn(@NonNull com.babylonhealth.lit.core.FHIRDateTime authoredOn)RequestGroupBuilder.ImplwithBasedOn(@NonNull com.babylonhealth.lit.core_java.builders.ReferenceBuilder... basedOn)RequestGroupBuilder.ImplwithBasedOn(@NonNull com.babylonhealth.lit.core.model.Reference... basedOn)RequestGroupBuilder.ImplwithBasedOn(@NonNull java.util.Collection<com.babylonhealth.lit.core.model.Reference> basedOn)RequestGroupBuilder.ImplwithCode(@NonNull com.babylonhealth.lit.core_java.builders.CodeableConceptBuilder code)RequestGroupBuilder.ImplwithCode(@NonNull com.babylonhealth.lit.core.model.CodeableConcept code)RequestGroupBuilder.ImplwithContained(@NonNull com.babylonhealth.lit.core_java.builders.ResourceBuilder... contained)RequestGroupBuilder.ImplwithContained(@NonNull com.babylonhealth.lit.core.model.Resource... contained)RequestGroupBuilder.ImplwithContained(@NonNull java.util.Collection<com.babylonhealth.lit.core.model.Resource> contained)RequestGroupBuilder.ImplwithEncounter(@NonNull com.babylonhealth.lit.core_java.builders.ReferenceBuilder encounter)RequestGroupBuilder.ImplwithEncounter(@NonNull com.babylonhealth.lit.core.model.Reference encounter)RequestGroupBuilder.ImplwithExtension(@NonNull com.babylonhealth.lit.core_java.builders.ExtensionBuilder... extension)RequestGroupBuilder.ImplwithExtension(@NonNull com.babylonhealth.lit.core.model.Extension... extension)RequestGroupBuilder.ImplwithExtension(@NonNull java.util.Collection<com.babylonhealth.lit.core.model.Extension> extension)RequestGroupBuilder.ImplwithGroupIdentifier(@NonNull com.babylonhealth.lit.core_java.builders.IdentifierBuilder groupIdentifier)RequestGroupBuilder.ImplwithGroupIdentifier(@NonNull com.babylonhealth.lit.core.model.Identifier groupIdentifier)RequestGroupBuilder.ImplwithId(@NonNull java.lang.String id)RequestGroupBuilder.ImplwithIdentifier(@NonNull com.babylonhealth.lit.core_java.builders.IdentifierBuilder... identifier)RequestGroupBuilder.ImplwithIdentifier(@NonNull com.babylonhealth.lit.core.model.Identifier... identifier)RequestGroupBuilder.ImplwithIdentifier(@NonNull java.util.Collection<com.babylonhealth.lit.core.model.Identifier> identifier)RequestGroupBuilder.ImplwithImplicitRules(@NonNull java.lang.String implicitRules)RequestGroupBuilder.ImplwithInstantiatesCanonical(@NonNull java.lang.String... instantiatesCanonical)RequestGroupBuilder.ImplwithInstantiatesCanonical(@NonNull java.util.Collection<java.lang.String> instantiatesCanonical)RequestGroupBuilder.ImplwithInstantiatesUri(@NonNull java.lang.String... instantiatesUri)RequestGroupBuilder.ImplwithInstantiatesUri(@NonNull java.util.Collection<java.lang.String> instantiatesUri)RequestGroupBuilder.ImplwithLanguage(@NonNull com.babylonhealth.lit.core.LANGUAGES language)RequestGroupBuilder.ImplwithMeta(@NonNull com.babylonhealth.lit.core_java.builders.MetaBuilder meta)RequestGroupBuilder.ImplwithMeta(@NonNull com.babylonhealth.lit.core.model.Meta meta)RequestGroupBuilder.ImplwithModifierExtension(@NonNull com.babylonhealth.lit.core_java.builders.ExtensionBuilder... modifierExtension)RequestGroupBuilder.ImplwithModifierExtension(@NonNull com.babylonhealth.lit.core.model.Extension... modifierExtension)RequestGroupBuilder.ImplwithModifierExtension(@NonNull java.util.Collection<com.babylonhealth.lit.core.model.Extension> modifierExtension)RequestGroupBuilder.ImplwithNote(@NonNull com.babylonhealth.lit.core_java.builders.AnnotationBuilder... note)RequestGroupBuilder.ImplwithNote(@NonNull com.babylonhealth.lit.core.model.Annotation... note)RequestGroupBuilder.ImplwithNote(@NonNull java.util.Collection<com.babylonhealth.lit.core.model.Annotation> note)RequestGroupBuilder.ImplwithoutMeta()RequestGroupBuilder.ImplwithPriority(@NonNull com.babylonhealth.lit.hl7.REQUEST_PRIORITY priority)RequestGroupBuilder.ImplwithReasonCode(@NonNull com.babylonhealth.lit.core_java.builders.CodeableConceptBuilder... reasonCode)RequestGroupBuilder.ImplwithReasonCode(@NonNull com.babylonhealth.lit.core.model.CodeableConcept... reasonCode)RequestGroupBuilder.ImplwithReasonCode(@NonNull java.util.Collection<com.babylonhealth.lit.core.model.CodeableConcept> reasonCode)RequestGroupBuilder.ImplwithReasonReference(@NonNull com.babylonhealth.lit.core_java.builders.ReferenceBuilder... reasonReference)RequestGroupBuilder.ImplwithReasonReference(@NonNull com.babylonhealth.lit.core.model.Reference... reasonReference)RequestGroupBuilder.ImplwithReasonReference(@NonNull java.util.Collection<com.babylonhealth.lit.core.model.Reference> reasonReference)RequestGroupBuilder.ImplwithReplaces(@NonNull com.babylonhealth.lit.core_java.builders.ReferenceBuilder... replaces)RequestGroupBuilder.ImplwithReplaces(@NonNull com.babylonhealth.lit.core.model.Reference... replaces)RequestGroupBuilder.ImplwithReplaces(@NonNull java.util.Collection<com.babylonhealth.lit.core.model.Reference> replaces)RequestGroupBuilder.ImplwithSubject(@NonNull com.babylonhealth.lit.core_java.builders.ReferenceBuilder subject)RequestGroupBuilder.ImplwithSubject(@NonNull com.babylonhealth.lit.core.model.Reference subject)RequestGroupBuilder.ImplwithText(@NonNull NarrativeBuilder text)RequestGroupBuilder.ImplwithText(@NonNull com.babylonhealth.lit.hl7.model.Narrative text)
-
-
-
Constructor Detail
-
Impl
public Impl(com.babylonhealth.lit.hl7.REQUEST_STATUS status, com.babylonhealth.lit.hl7.REQUEST_INTENT intent)Required fields forRequestGroup- Parameters:
status- - The current state of the request. For request groups, the status reflects the status of all the requests in the group.intent- - Indicates the level of authority/intentionality associated with the request and where the request fits into the workflow chain.
-
-
Method Detail
-
withId
public RequestGroupBuilder.Impl withId(@NonNull @NonNull java.lang.String id)
- Parameters:
id- - The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.
-
withMeta
public RequestGroupBuilder.Impl withMeta(@NonNull @NonNull com.babylonhealth.lit.core.model.Meta meta)
- Parameters:
meta- - The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.
-
withMeta
public RequestGroupBuilder.Impl withMeta(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.MetaBuilder meta)
-
withText
public RequestGroupBuilder.Impl withText(@NonNull @NonNull com.babylonhealth.lit.hl7.model.Narrative text)
- Parameters:
text- - A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it "clinically safe" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.
-
withText
public RequestGroupBuilder.Impl withText(@NonNull @NonNull NarrativeBuilder text)
-
withCode
public RequestGroupBuilder.Impl withCode(@NonNull @NonNull com.babylonhealth.lit.core.model.CodeableConcept code)
- Parameters:
code- - A code that identifies what the overall request group is.
-
withCode
public RequestGroupBuilder.Impl withCode(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.CodeableConceptBuilder code)
-
withNote
public RequestGroupBuilder.Impl withNote(@NonNull @NonNull com.babylonhealth.lit.core.model.Annotation... note)
- Parameters:
note- - Provides a mechanism to communicate additional information about the response.
-
withNote
public RequestGroupBuilder.Impl withNote(@NonNull @NonNull java.util.Collection<com.babylonhealth.lit.core.model.Annotation> note)
- Parameters:
note- - Provides a mechanism to communicate additional information about the response.
-
withNote
public RequestGroupBuilder.Impl withNote(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.AnnotationBuilder... note)
-
withAuthor
public RequestGroupBuilder.Impl withAuthor(@NonNull @NonNull com.babylonhealth.lit.core.model.Reference author)
- Parameters:
author- - Provides a reference to the author of the request group.
-
withAuthor
public RequestGroupBuilder.Impl withAuthor(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.ReferenceBuilder author)
-
withBasedOn
public RequestGroupBuilder.Impl withBasedOn(@NonNull @NonNull com.babylonhealth.lit.core.model.Reference... basedOn)
- Parameters:
basedOn- - A plan, proposal or order that is fulfilled in whole or in part by this request.
-
withBasedOn
public RequestGroupBuilder.Impl withBasedOn(@NonNull @NonNull java.util.Collection<com.babylonhealth.lit.core.model.Reference> basedOn)
- Parameters:
basedOn- - A plan, proposal or order that is fulfilled in whole or in part by this request.
-
withBasedOn
public RequestGroupBuilder.Impl withBasedOn(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.ReferenceBuilder... basedOn)
-
withSubject
public RequestGroupBuilder.Impl withSubject(@NonNull @NonNull com.babylonhealth.lit.core.model.Reference subject)
- Parameters:
subject- - The subject for which the request group was created.
-
withSubject
public RequestGroupBuilder.Impl withSubject(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.ReferenceBuilder subject)
-
withLanguage
public RequestGroupBuilder.Impl withLanguage(@NonNull @NonNull com.babylonhealth.lit.core.LANGUAGES language)
- Parameters:
language- - The base language in which the resource is written.
-
withReplaces
public RequestGroupBuilder.Impl withReplaces(@NonNull @NonNull com.babylonhealth.lit.core.model.Reference... replaces)
- Parameters:
replaces- - Completed or terminated request(s) whose function is taken by this new request.
-
withReplaces
public RequestGroupBuilder.Impl withReplaces(@NonNull @NonNull java.util.Collection<com.babylonhealth.lit.core.model.Reference> replaces)
- Parameters:
replaces- - Completed or terminated request(s) whose function is taken by this new request.
-
withReplaces
public RequestGroupBuilder.Impl withReplaces(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.ReferenceBuilder... replaces)
-
withPriority
public RequestGroupBuilder.Impl withPriority(@NonNull @NonNull com.babylonhealth.lit.hl7.REQUEST_PRIORITY priority)
- Parameters:
priority- - Indicates how quickly the request should be addressed with respect to other requests.
-
withContained
public RequestGroupBuilder.Impl withContained(@NonNull @NonNull com.babylonhealth.lit.core.model.Resource... contained)
- Parameters:
contained- - These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.
-
withContained
public RequestGroupBuilder.Impl withContained(@NonNull @NonNull java.util.Collection<com.babylonhealth.lit.core.model.Resource> contained)
- Parameters:
contained- - These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.
-
withContained
public RequestGroupBuilder.Impl withContained(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.ResourceBuilder... contained)
-
withExtension
public RequestGroupBuilder.Impl withExtension(@NonNull @NonNull com.babylonhealth.lit.core.model.Extension... extension)
- Parameters:
extension- - May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
-
withExtension
public RequestGroupBuilder.Impl withExtension(@NonNull @NonNull java.util.Collection<com.babylonhealth.lit.core.model.Extension> extension)
- Parameters:
extension- - May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
-
withExtension
public RequestGroupBuilder.Impl withExtension(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.ExtensionBuilder... extension)
-
withEncounter
public RequestGroupBuilder.Impl withEncounter(@NonNull @NonNull com.babylonhealth.lit.core.model.Reference encounter)
- Parameters:
encounter- - Describes the context of the request group, if any.
-
withEncounter
public RequestGroupBuilder.Impl withEncounter(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.ReferenceBuilder encounter)
-
withIdentifier
public RequestGroupBuilder.Impl withIdentifier(@NonNull @NonNull com.babylonhealth.lit.core.model.Identifier... identifier)
- Parameters:
identifier- - Allows a service to provide a unique, business identifier for the request.
-
withIdentifier
public RequestGroupBuilder.Impl withIdentifier(@NonNull @NonNull java.util.Collection<com.babylonhealth.lit.core.model.Identifier> identifier)
- Parameters:
identifier- - Allows a service to provide a unique, business identifier for the request.
-
withIdentifier
public RequestGroupBuilder.Impl withIdentifier(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.IdentifierBuilder... identifier)
-
withAuthoredOn
public RequestGroupBuilder.Impl withAuthoredOn(@NonNull @NonNull com.babylonhealth.lit.core.FHIRDateTime authoredOn)
- Parameters:
authoredOn- - Indicates when the request group was created.
-
withReasonCode
public RequestGroupBuilder.Impl withReasonCode(@NonNull @NonNull com.babylonhealth.lit.core.model.CodeableConcept... reasonCode)
- Parameters:
reasonCode- - Describes the reason for the request group in coded or textual form.
-
withReasonCode
public RequestGroupBuilder.Impl withReasonCode(@NonNull @NonNull java.util.Collection<com.babylonhealth.lit.core.model.CodeableConcept> reasonCode)
- Parameters:
reasonCode- - Describes the reason for the request group in coded or textual form.
-
withReasonCode
public RequestGroupBuilder.Impl withReasonCode(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.CodeableConceptBuilder... reasonCode)
-
withImplicitRules
public RequestGroupBuilder.Impl withImplicitRules(@NonNull @NonNull java.lang.String implicitRules)
- Parameters:
implicitRules- - A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.
-
withInstantiatesUri
public RequestGroupBuilder.Impl withInstantiatesUri(@NonNull @NonNull java.lang.String... instantiatesUri)
- Parameters:
instantiatesUri- - A URL referencing an externally defined protocol, guideline, orderset or other definition that is adhered to in whole or in part by this request.
-
withInstantiatesUri
public RequestGroupBuilder.Impl withInstantiatesUri(@NonNull @NonNull java.util.Collection<java.lang.String> instantiatesUri)
- Parameters:
instantiatesUri- - A URL referencing an externally defined protocol, guideline, orderset or other definition that is adhered to in whole or in part by this request.
-
withGroupIdentifier
public RequestGroupBuilder.Impl withGroupIdentifier(@NonNull @NonNull com.babylonhealth.lit.core.model.Identifier groupIdentifier)
- Parameters:
groupIdentifier- - 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.
-
withGroupIdentifier
public RequestGroupBuilder.Impl withGroupIdentifier(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.IdentifierBuilder groupIdentifier)
-
withReasonReference
public RequestGroupBuilder.Impl withReasonReference(@NonNull @NonNull com.babylonhealth.lit.core.model.Reference... reasonReference)
- Parameters:
reasonReference- - Indicates another resource whose existence justifies this request group.
-
withReasonReference
public RequestGroupBuilder.Impl withReasonReference(@NonNull @NonNull java.util.Collection<com.babylonhealth.lit.core.model.Reference> reasonReference)
- Parameters:
reasonReference- - Indicates another resource whose existence justifies this request group.
-
withReasonReference
public RequestGroupBuilder.Impl withReasonReference(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.ReferenceBuilder... reasonReference)
-
withModifierExtension
public RequestGroupBuilder.Impl withModifierExtension(@NonNull @NonNull com.babylonhealth.lit.core.model.Extension... modifierExtension)
- Parameters:
modifierExtension- - May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
-
withModifierExtension
public RequestGroupBuilder.Impl withModifierExtension(@NonNull @NonNull java.util.Collection<com.babylonhealth.lit.core.model.Extension> modifierExtension)
- Parameters:
modifierExtension- - May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
-
withModifierExtension
public RequestGroupBuilder.Impl withModifierExtension(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.ExtensionBuilder... modifierExtension)
-
withInstantiatesCanonical
public RequestGroupBuilder.Impl withInstantiatesCanonical(@NonNull @NonNull java.lang.String... instantiatesCanonical)
- Parameters:
instantiatesCanonical- - 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.
-
withInstantiatesCanonical
public RequestGroupBuilder.Impl withInstantiatesCanonical(@NonNull @NonNull java.util.Collection<java.lang.String> instantiatesCanonical)
- Parameters:
instantiatesCanonical- - 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.
-
withAction
public RequestGroupBuilder.Impl withAction(@NonNull @NonNull com.babylonhealth.lit.hl7.model.RequestGroup.Action... action)
- Parameters:
action- - The actions, if any, produced by the evaluation of the artifact.
-
withAction
public RequestGroupBuilder.Impl withAction(@NonNull @NonNull java.util.Collection<com.babylonhealth.lit.hl7.model.RequestGroup.Action> action)
- Parameters:
action- - The actions, if any, produced by the evaluation of the artifact.
-
withAction
public RequestGroupBuilder.Impl withAction(@NonNull @NonNull RequestGroup_ActionBuilder... action)
-
withoutMeta
public RequestGroupBuilder.Impl withoutMeta()
-
build
public com.babylonhealth.lit.hl7.model.RequestGroup build()
- Specified by:
buildin interfaceDomainResourceBuilder- Specified by:
buildin interfaceRequestGroupBuilder- Specified by:
buildin interfacecom.babylonhealth.lit.core_java.builders.ResourceBuilder
-
-