Class ServiceRequestBuilder.Impl
- java.lang.Object
-
- com.babylonhealth.lit.hl7_java.builders.ServiceRequestBuilder.Impl
-
- All Implemented Interfaces:
com.babylonhealth.lit.core_java.builders.ResourceBuilder,DomainResourceBuilder,ServiceRequestBuilder
- Enclosing interface:
- ServiceRequestBuilder
public static class ServiceRequestBuilder.Impl extends java.lang.Object implements ServiceRequestBuilder
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.babylonhealth.lit.hl7_java.builders.ServiceRequestBuilder
ServiceRequestBuilder.Impl
-
-
Constructor Summary
Constructors Constructor Description Impl(com.babylonhealth.lit.hl7.REQUEST_STATUS status, com.babylonhealth.lit.hl7.REQUEST_INTENT intent, com.babylonhealth.lit.core.model.Reference subject)Required fields forServiceRequest
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.babylonhealth.lit.hl7.model.ServiceRequestbuild()ServiceRequestBuilder.ImplwithAsNeeded(@NonNull com.babylonhealth.lit.core_java.model.Unions.ChoiceBooleanOrCodeableConcept asNeeded)ServiceRequestBuilder.ImplwithAuthoredOn(@NonNull com.babylonhealth.lit.core.FHIRDateTime authoredOn)ServiceRequestBuilder.ImplwithBasedOn(@NonNull com.babylonhealth.lit.core_java.builders.ReferenceBuilder... basedOn)ServiceRequestBuilder.ImplwithBasedOn(@NonNull com.babylonhealth.lit.core.model.Reference... basedOn)ServiceRequestBuilder.ImplwithBasedOn(@NonNull java.util.Collection<com.babylonhealth.lit.core.model.Reference> basedOn)ServiceRequestBuilder.ImplwithBodySite(@NonNull com.babylonhealth.lit.core_java.builders.CodeableConceptBuilder... bodySite)ServiceRequestBuilder.ImplwithBodySite(@NonNull com.babylonhealth.lit.core.model.CodeableConcept... bodySite)ServiceRequestBuilder.ImplwithBodySite(@NonNull java.util.Collection<com.babylonhealth.lit.core.model.CodeableConcept> bodySite)ServiceRequestBuilder.ImplwithCategory(@NonNull com.babylonhealth.lit.core_java.builders.CodeableConceptBuilder... category)ServiceRequestBuilder.ImplwithCategory(@NonNull com.babylonhealth.lit.core.model.CodeableConcept... category)ServiceRequestBuilder.ImplwithCategory(@NonNull java.util.Collection<com.babylonhealth.lit.core.model.CodeableConcept> category)ServiceRequestBuilder.ImplwithCode(@NonNull com.babylonhealth.lit.core_java.builders.CodeableConceptBuilder code)ServiceRequestBuilder.ImplwithCode(@NonNull com.babylonhealth.lit.core.model.CodeableConcept code)ServiceRequestBuilder.ImplwithContained(@NonNull com.babylonhealth.lit.core_java.builders.ResourceBuilder... contained)ServiceRequestBuilder.ImplwithContained(@NonNull com.babylonhealth.lit.core.model.Resource... contained)ServiceRequestBuilder.ImplwithContained(@NonNull java.util.Collection<com.babylonhealth.lit.core.model.Resource> contained)ServiceRequestBuilder.ImplwithDoNotPerform(@NonNull java.lang.Boolean doNotPerform)ServiceRequestBuilder.ImplwithEncounter(@NonNull com.babylonhealth.lit.core_java.builders.ReferenceBuilder encounter)ServiceRequestBuilder.ImplwithEncounter(@NonNull com.babylonhealth.lit.core.model.Reference encounter)ServiceRequestBuilder.ImplwithExtension(@NonNull com.babylonhealth.lit.core_java.builders.ExtensionBuilder... extension)ServiceRequestBuilder.ImplwithExtension(@NonNull com.babylonhealth.lit.core.model.Extension... extension)ServiceRequestBuilder.ImplwithExtension(@NonNull java.util.Collection<com.babylonhealth.lit.core.model.Extension> extension)ServiceRequestBuilder.ImplwithId(@NonNull java.lang.String id)ServiceRequestBuilder.ImplwithIdentifier(@NonNull com.babylonhealth.lit.core_java.builders.IdentifierBuilder... identifier)ServiceRequestBuilder.ImplwithIdentifier(@NonNull com.babylonhealth.lit.core.model.Identifier... identifier)ServiceRequestBuilder.ImplwithIdentifier(@NonNull java.util.Collection<com.babylonhealth.lit.core.model.Identifier> identifier)ServiceRequestBuilder.ImplwithImplicitRules(@NonNull java.lang.String implicitRules)ServiceRequestBuilder.ImplwithInstantiatesCanonical(@NonNull java.lang.String... instantiatesCanonical)ServiceRequestBuilder.ImplwithInstantiatesCanonical(@NonNull java.util.Collection<java.lang.String> instantiatesCanonical)ServiceRequestBuilder.ImplwithInstantiatesUri(@NonNull java.lang.String... instantiatesUri)ServiceRequestBuilder.ImplwithInstantiatesUri(@NonNull java.util.Collection<java.lang.String> instantiatesUri)ServiceRequestBuilder.ImplwithInsurance(@NonNull com.babylonhealth.lit.core_java.builders.ReferenceBuilder... insurance)ServiceRequestBuilder.ImplwithInsurance(@NonNull com.babylonhealth.lit.core.model.Reference... insurance)ServiceRequestBuilder.ImplwithInsurance(@NonNull java.util.Collection<com.babylonhealth.lit.core.model.Reference> insurance)ServiceRequestBuilder.ImplwithLanguage(@NonNull com.babylonhealth.lit.core.LANGUAGES language)ServiceRequestBuilder.ImplwithLocationCode(@NonNull com.babylonhealth.lit.core_java.builders.CodeableConceptBuilder... locationCode)ServiceRequestBuilder.ImplwithLocationCode(@NonNull com.babylonhealth.lit.core.model.CodeableConcept... locationCode)ServiceRequestBuilder.ImplwithLocationCode(@NonNull java.util.Collection<com.babylonhealth.lit.core.model.CodeableConcept> locationCode)ServiceRequestBuilder.ImplwithLocationReference(@NonNull com.babylonhealth.lit.core_java.builders.ReferenceBuilder... locationReference)ServiceRequestBuilder.ImplwithLocationReference(@NonNull com.babylonhealth.lit.core.model.Reference... locationReference)ServiceRequestBuilder.ImplwithLocationReference(@NonNull java.util.Collection<com.babylonhealth.lit.core.model.Reference> locationReference)ServiceRequestBuilder.ImplwithMeta(@NonNull com.babylonhealth.lit.core_java.builders.MetaBuilder meta)ServiceRequestBuilder.ImplwithMeta(@NonNull com.babylonhealth.lit.core.model.Meta meta)ServiceRequestBuilder.ImplwithModifierExtension(@NonNull com.babylonhealth.lit.core_java.builders.ExtensionBuilder... modifierExtension)ServiceRequestBuilder.ImplwithModifierExtension(@NonNull com.babylonhealth.lit.core.model.Extension... modifierExtension)ServiceRequestBuilder.ImplwithModifierExtension(@NonNull java.util.Collection<com.babylonhealth.lit.core.model.Extension> modifierExtension)ServiceRequestBuilder.ImplwithNote(@NonNull com.babylonhealth.lit.core_java.builders.AnnotationBuilder... note)ServiceRequestBuilder.ImplwithNote(@NonNull com.babylonhealth.lit.core.model.Annotation... note)ServiceRequestBuilder.ImplwithNote(@NonNull java.util.Collection<com.babylonhealth.lit.core.model.Annotation> note)ServiceRequestBuilder.ImplwithOccurrence(@NonNull Unions.ChoiceDateTimeOrPeriodOrTiming occurrence)ServiceRequestBuilder.ImplwithOrderDetail(@NonNull com.babylonhealth.lit.core_java.builders.CodeableConceptBuilder... orderDetail)ServiceRequestBuilder.ImplwithOrderDetail(@NonNull com.babylonhealth.lit.core.model.CodeableConcept... orderDetail)ServiceRequestBuilder.ImplwithOrderDetail(@NonNull java.util.Collection<com.babylonhealth.lit.core.model.CodeableConcept> orderDetail)ServiceRequestBuilder.ImplwithoutMeta()ServiceRequestBuilder.ImplwithPatientInstruction(@NonNull java.lang.String patientInstruction)ServiceRequestBuilder.ImplwithPerformer(@NonNull com.babylonhealth.lit.core_java.builders.ReferenceBuilder... performer)ServiceRequestBuilder.ImplwithPerformer(@NonNull com.babylonhealth.lit.core.model.Reference... performer)ServiceRequestBuilder.ImplwithPerformer(@NonNull java.util.Collection<com.babylonhealth.lit.core.model.Reference> performer)ServiceRequestBuilder.ImplwithPerformerType(@NonNull com.babylonhealth.lit.core_java.builders.CodeableConceptBuilder performerType)ServiceRequestBuilder.ImplwithPerformerType(@NonNull com.babylonhealth.lit.core.model.CodeableConcept performerType)ServiceRequestBuilder.ImplwithPriority(@NonNull com.babylonhealth.lit.hl7.REQUEST_PRIORITY priority)ServiceRequestBuilder.ImplwithQuantity(@NonNull com.babylonhealth.lit.core_java.model.Unions.ChoiceQuantityOrRangeOrRatio quantity)ServiceRequestBuilder.ImplwithReasonCode(@NonNull com.babylonhealth.lit.core_java.builders.CodeableConceptBuilder... reasonCode)ServiceRequestBuilder.ImplwithReasonCode(@NonNull com.babylonhealth.lit.core.model.CodeableConcept... reasonCode)ServiceRequestBuilder.ImplwithReasonCode(@NonNull java.util.Collection<com.babylonhealth.lit.core.model.CodeableConcept> reasonCode)ServiceRequestBuilder.ImplwithReasonReference(@NonNull com.babylonhealth.lit.core_java.builders.ReferenceBuilder... reasonReference)ServiceRequestBuilder.ImplwithReasonReference(@NonNull com.babylonhealth.lit.core.model.Reference... reasonReference)ServiceRequestBuilder.ImplwithReasonReference(@NonNull java.util.Collection<com.babylonhealth.lit.core.model.Reference> reasonReference)ServiceRequestBuilder.ImplwithRelevantHistory(@NonNull com.babylonhealth.lit.core_java.builders.ReferenceBuilder... relevantHistory)ServiceRequestBuilder.ImplwithRelevantHistory(@NonNull com.babylonhealth.lit.core.model.Reference... relevantHistory)ServiceRequestBuilder.ImplwithRelevantHistory(@NonNull java.util.Collection<com.babylonhealth.lit.core.model.Reference> relevantHistory)ServiceRequestBuilder.ImplwithReplaces(@NonNull com.babylonhealth.lit.core_java.builders.ReferenceBuilder... replaces)ServiceRequestBuilder.ImplwithReplaces(@NonNull com.babylonhealth.lit.core.model.Reference... replaces)ServiceRequestBuilder.ImplwithReplaces(@NonNull java.util.Collection<com.babylonhealth.lit.core.model.Reference> replaces)ServiceRequestBuilder.ImplwithRequester(@NonNull com.babylonhealth.lit.core_java.builders.ReferenceBuilder requester)ServiceRequestBuilder.ImplwithRequester(@NonNull com.babylonhealth.lit.core.model.Reference requester)ServiceRequestBuilder.ImplwithRequisition(@NonNull com.babylonhealth.lit.core_java.builders.IdentifierBuilder requisition)ServiceRequestBuilder.ImplwithRequisition(@NonNull com.babylonhealth.lit.core.model.Identifier requisition)ServiceRequestBuilder.ImplwithSpecimen(@NonNull com.babylonhealth.lit.core_java.builders.ReferenceBuilder... specimen)ServiceRequestBuilder.ImplwithSpecimen(@NonNull com.babylonhealth.lit.core.model.Reference... specimen)ServiceRequestBuilder.ImplwithSpecimen(@NonNull java.util.Collection<com.babylonhealth.lit.core.model.Reference> specimen)ServiceRequestBuilder.ImplwithSupportingInfo(@NonNull com.babylonhealth.lit.core_java.builders.ReferenceBuilder... supportingInfo)ServiceRequestBuilder.ImplwithSupportingInfo(@NonNull com.babylonhealth.lit.core.model.Reference... supportingInfo)ServiceRequestBuilder.ImplwithSupportingInfo(@NonNull java.util.Collection<com.babylonhealth.lit.core.model.Reference> supportingInfo)ServiceRequestBuilder.ImplwithText(@NonNull NarrativeBuilder text)ServiceRequestBuilder.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, com.babylonhealth.lit.core.model.Reference subject)Required fields forServiceRequest- Parameters:
status- - The status of the order.intent- - Whether the request is a proposal, plan, an original order or a reflex order.subject- - On whom or what the service is to be performed. This is usually a human patient, but can also be requested on animals, groups of humans or animals, devices such as dialysis machines, or even locations (typically for environmental scans).
-
-
Method Detail
-
withId
public ServiceRequestBuilder.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 ServiceRequestBuilder.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 ServiceRequestBuilder.Impl withMeta(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.MetaBuilder meta)
-
withText
public ServiceRequestBuilder.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 ServiceRequestBuilder.Impl withText(@NonNull @NonNull NarrativeBuilder text)
-
withCode
public ServiceRequestBuilder.Impl withCode(@NonNull @NonNull com.babylonhealth.lit.core.model.CodeableConcept code)
- Parameters:
code- - A code that identifies a particular service (i.e., procedure, diagnostic investigation, or panel of investigations) that have been requested.
-
withCode
public ServiceRequestBuilder.Impl withCode(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.CodeableConceptBuilder code)
-
withNote
public ServiceRequestBuilder.Impl withNote(@NonNull @NonNull com.babylonhealth.lit.core.model.Annotation... note)
- Parameters:
note- - Any other notes and comments made about the service request. For example, internal billing notes.
-
withNote
public ServiceRequestBuilder.Impl withNote(@NonNull @NonNull java.util.Collection<com.babylonhealth.lit.core.model.Annotation> note)
- Parameters:
note- - Any other notes and comments made about the service request. For example, internal billing notes.
-
withNote
public ServiceRequestBuilder.Impl withNote(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.AnnotationBuilder... note)
-
withBasedOn
public ServiceRequestBuilder.Impl withBasedOn(@NonNull @NonNull com.babylonhealth.lit.core.model.Reference... basedOn)
- Parameters:
basedOn- - Plan/proposal/order fulfilled by this request.
-
withBasedOn
public ServiceRequestBuilder.Impl withBasedOn(@NonNull @NonNull java.util.Collection<com.babylonhealth.lit.core.model.Reference> basedOn)
- Parameters:
basedOn- - Plan/proposal/order fulfilled by this request.
-
withBasedOn
public ServiceRequestBuilder.Impl withBasedOn(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.ReferenceBuilder... basedOn)
-
withLanguage
public ServiceRequestBuilder.Impl withLanguage(@NonNull @NonNull com.babylonhealth.lit.core.LANGUAGES language)
- Parameters:
language- - The base language in which the resource is written.
-
withReplaces
public ServiceRequestBuilder.Impl withReplaces(@NonNull @NonNull com.babylonhealth.lit.core.model.Reference... replaces)
- Parameters:
replaces- - The request takes the place of the referenced completed or terminated request(s).
-
withReplaces
public ServiceRequestBuilder.Impl withReplaces(@NonNull @NonNull java.util.Collection<com.babylonhealth.lit.core.model.Reference> replaces)
- Parameters:
replaces- - The request takes the place of the referenced completed or terminated request(s).
-
withReplaces
public ServiceRequestBuilder.Impl withReplaces(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.ReferenceBuilder... replaces)
-
withCategory
public ServiceRequestBuilder.Impl withCategory(@NonNull @NonNull com.babylonhealth.lit.core.model.CodeableConcept... category)
- Parameters:
category- - A code that classifies the service for searching, sorting and display purposes (e.g. "Surgical Procedure").
-
withCategory
public ServiceRequestBuilder.Impl withCategory(@NonNull @NonNull java.util.Collection<com.babylonhealth.lit.core.model.CodeableConcept> category)
- Parameters:
category- - A code that classifies the service for searching, sorting and display purposes (e.g. "Surgical Procedure").
-
withCategory
public ServiceRequestBuilder.Impl withCategory(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.CodeableConceptBuilder... category)
-
withPriority
public ServiceRequestBuilder.Impl withPriority(@NonNull @NonNull com.babylonhealth.lit.hl7.REQUEST_PRIORITY priority)
- Parameters:
priority- - Indicates how quickly the ServiceRequest should be addressed with respect to other requests.
-
withSpecimen
public ServiceRequestBuilder.Impl withSpecimen(@NonNull @NonNull com.babylonhealth.lit.core.model.Reference... specimen)
- Parameters:
specimen- - One or more specimens that the laboratory procedure will use.
-
withSpecimen
public ServiceRequestBuilder.Impl withSpecimen(@NonNull @NonNull java.util.Collection<com.babylonhealth.lit.core.model.Reference> specimen)
- Parameters:
specimen- - One or more specimens that the laboratory procedure will use.
-
withSpecimen
public ServiceRequestBuilder.Impl withSpecimen(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.ReferenceBuilder... specimen)
-
withBodySite
public ServiceRequestBuilder.Impl withBodySite(@NonNull @NonNull com.babylonhealth.lit.core.model.CodeableConcept... bodySite)
- Parameters:
bodySite- - Anatomic location where the procedure should be performed. This is the target site.
-
withBodySite
public ServiceRequestBuilder.Impl withBodySite(@NonNull @NonNull java.util.Collection<com.babylonhealth.lit.core.model.CodeableConcept> bodySite)
- Parameters:
bodySite- - Anatomic location where the procedure should be performed. This is the target site.
-
withBodySite
public ServiceRequestBuilder.Impl withBodySite(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.CodeableConceptBuilder... bodySite)
-
withContained
public ServiceRequestBuilder.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 ServiceRequestBuilder.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 ServiceRequestBuilder.Impl withContained(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.ResourceBuilder... contained)
-
withExtension
public ServiceRequestBuilder.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 ServiceRequestBuilder.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 ServiceRequestBuilder.Impl withExtension(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.ExtensionBuilder... extension)
-
withEncounter
public ServiceRequestBuilder.Impl withEncounter(@NonNull @NonNull com.babylonhealth.lit.core.model.Reference encounter)
- Parameters:
encounter- - An encounter that provides additional information about the healthcare context in which this request is made.
-
withEncounter
public ServiceRequestBuilder.Impl withEncounter(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.ReferenceBuilder encounter)
-
withRequester
public ServiceRequestBuilder.Impl withRequester(@NonNull @NonNull com.babylonhealth.lit.core.model.Reference requester)
- Parameters:
requester- - The individual who initiated the request and has responsibility for its activation.
-
withRequester
public ServiceRequestBuilder.Impl withRequester(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.ReferenceBuilder requester)
-
withPerformer
public ServiceRequestBuilder.Impl withPerformer(@NonNull @NonNull com.babylonhealth.lit.core.model.Reference... performer)
- Parameters:
performer- - The desired performer for doing the requested service. For example, the surgeon, dermatopathologist, endoscopist, etc.
-
withPerformer
public ServiceRequestBuilder.Impl withPerformer(@NonNull @NonNull java.util.Collection<com.babylonhealth.lit.core.model.Reference> performer)
- Parameters:
performer- - The desired performer for doing the requested service. For example, the surgeon, dermatopathologist, endoscopist, etc.
-
withPerformer
public ServiceRequestBuilder.Impl withPerformer(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.ReferenceBuilder... performer)
-
withInsurance
public ServiceRequestBuilder.Impl withInsurance(@NonNull @NonNull com.babylonhealth.lit.core.model.Reference... insurance)
- Parameters:
insurance- - Insurance plans, coverage extensions, pre-authorizations and/or pre-determinations that may be needed for delivering the requested service.
-
withInsurance
public ServiceRequestBuilder.Impl withInsurance(@NonNull @NonNull java.util.Collection<com.babylonhealth.lit.core.model.Reference> insurance)
- Parameters:
insurance- - Insurance plans, coverage extensions, pre-authorizations and/or pre-determinations that may be needed for delivering the requested service.
-
withInsurance
public ServiceRequestBuilder.Impl withInsurance(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.ReferenceBuilder... insurance)
-
withIdentifier
public ServiceRequestBuilder.Impl withIdentifier(@NonNull @NonNull com.babylonhealth.lit.core.model.Identifier... identifier)
- Parameters:
identifier- - Identifiers assigned to this order instance by the orderer and/or the receiver and/or order fulfiller.
-
withIdentifier
public ServiceRequestBuilder.Impl withIdentifier(@NonNull @NonNull java.util.Collection<com.babylonhealth.lit.core.model.Identifier> identifier)
- Parameters:
identifier- - Identifiers assigned to this order instance by the orderer and/or the receiver and/or order fulfiller.
-
withIdentifier
public ServiceRequestBuilder.Impl withIdentifier(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.IdentifierBuilder... identifier)
-
withAuthoredOn
public ServiceRequestBuilder.Impl withAuthoredOn(@NonNull @NonNull com.babylonhealth.lit.core.FHIRDateTime authoredOn)
- Parameters:
authoredOn- - When the request transitioned to being actionable.
-
withReasonCode
public ServiceRequestBuilder.Impl withReasonCode(@NonNull @NonNull com.babylonhealth.lit.core.model.CodeableConcept... reasonCode)
- Parameters:
reasonCode- - An explanation or justification for why this service is being requested in coded or textual form. This is often for billing purposes. May relate to the resources referred to in `supportingInfo`.
-
withReasonCode
public ServiceRequestBuilder.Impl withReasonCode(@NonNull @NonNull java.util.Collection<com.babylonhealth.lit.core.model.CodeableConcept> reasonCode)
- Parameters:
reasonCode- - An explanation or justification for why this service is being requested in coded or textual form. This is often for billing purposes. May relate to the resources referred to in `supportingInfo`.
-
withReasonCode
public ServiceRequestBuilder.Impl withReasonCode(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.CodeableConceptBuilder... reasonCode)
-
withRequisition
public ServiceRequestBuilder.Impl withRequisition(@NonNull @NonNull com.babylonhealth.lit.core.model.Identifier requisition)
- Parameters:
requisition- - A shared identifier common to all service requests that were authorized more or less simultaneously by a single author, representing the composite or group identifier.
-
withRequisition
public ServiceRequestBuilder.Impl withRequisition(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.IdentifierBuilder requisition)
-
withOrderDetail
public ServiceRequestBuilder.Impl withOrderDetail(@NonNull @NonNull com.babylonhealth.lit.core.model.CodeableConcept... orderDetail)
- Parameters:
orderDetail- - Additional details and instructions about the how the services are to be delivered. For example, and order for a urinary catheter may have an order detail for an external or indwelling catheter, or an order for a bandage may require additional instructions specifying how the bandage should be applied.
-
withOrderDetail
public ServiceRequestBuilder.Impl withOrderDetail(@NonNull @NonNull java.util.Collection<com.babylonhealth.lit.core.model.CodeableConcept> orderDetail)
- Parameters:
orderDetail- - Additional details and instructions about the how the services are to be delivered. For example, and order for a urinary catheter may have an order detail for an external or indwelling catheter, or an order for a bandage may require additional instructions specifying how the bandage should be applied.
-
withOrderDetail
public ServiceRequestBuilder.Impl withOrderDetail(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.CodeableConceptBuilder... orderDetail)
-
withQuantity
public ServiceRequestBuilder.Impl withQuantity(@NonNull @NonNull com.babylonhealth.lit.core_java.model.Unions.ChoiceQuantityOrRangeOrRatio quantity)
- Parameters:
quantity- - An amount of service being requested which can be a quantity ( for example $1,500 home modification), a ratio ( for example, 20 half day visits per month), or a range (2.0 to 1.8 Gy per fraction). Field is a 'choice' field. Type should be one of Quantity, Range, Ratio. To pass the value in, wrap with one of the ServiceRequestBuilder.quantity static methods
-
withAsNeeded
public ServiceRequestBuilder.Impl withAsNeeded(@NonNull @NonNull com.babylonhealth.lit.core_java.model.Unions.ChoiceBooleanOrCodeableConcept asNeeded)
- Parameters:
asNeeded- - If a CodeableConcept is present, it indicates the pre-condition for performing the service. For example "pain", "on flare-up", etc. Field is a 'choice' field. Type should be one of Boolean, CodeableConcept. To pass the value in, wrap with one of the ServiceRequestBuilder.asNeeded static methods
-
withDoNotPerform
public ServiceRequestBuilder.Impl withDoNotPerform(@NonNull @NonNull java.lang.Boolean doNotPerform)
- Parameters:
doNotPerform- - Set this to true if the record is saying that the service/procedure should NOT be performed.
-
withLocationCode
public ServiceRequestBuilder.Impl withLocationCode(@NonNull @NonNull com.babylonhealth.lit.core.model.CodeableConcept... locationCode)
- Parameters:
locationCode- - The preferred location(s) where the procedure should actually happen in coded or free text form. E.g. at home or nursing day care center.
-
withLocationCode
public ServiceRequestBuilder.Impl withLocationCode(@NonNull @NonNull java.util.Collection<com.babylonhealth.lit.core.model.CodeableConcept> locationCode)
- Parameters:
locationCode- - The preferred location(s) where the procedure should actually happen in coded or free text form. E.g. at home or nursing day care center.
-
withLocationCode
public ServiceRequestBuilder.Impl withLocationCode(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.CodeableConceptBuilder... locationCode)
-
withImplicitRules
public ServiceRequestBuilder.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.
-
withOccurrence
public ServiceRequestBuilder.Impl withOccurrence(@NonNull @NonNull Unions.ChoiceDateTimeOrPeriodOrTiming occurrence)
- Parameters:
occurrence- - The date/time at which the requested service should occur. Field is a 'choice' field. Type should be one of FHIRDateTime, Period, Timing. To pass the value in, wrap with one of the ServiceRequestBuilder.occurrence static methods
-
withPerformerType
public ServiceRequestBuilder.Impl withPerformerType(@NonNull @NonNull com.babylonhealth.lit.core.model.CodeableConcept performerType)
- Parameters:
performerType- - Desired type of performer for doing the requested service.
-
withPerformerType
public ServiceRequestBuilder.Impl withPerformerType(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.CodeableConceptBuilder performerType)
-
withSupportingInfo
public ServiceRequestBuilder.Impl withSupportingInfo(@NonNull @NonNull com.babylonhealth.lit.core.model.Reference... supportingInfo)
- Parameters:
supportingInfo- - Additional clinical information about the patient or specimen that may influence the services or their interpretations. This information includes diagnosis, clinical findings and other observations. In laboratory ordering these are typically referred to as "ask at order entry questions (AOEs)". This includes observations explicitly requested by the producer (filler) to provide context or supporting information needed to complete the order. For example, reporting the amount of inspired oxygen for blood gas measurements.
-
withSupportingInfo
public ServiceRequestBuilder.Impl withSupportingInfo(@NonNull @NonNull java.util.Collection<com.babylonhealth.lit.core.model.Reference> supportingInfo)
- Parameters:
supportingInfo- - Additional clinical information about the patient or specimen that may influence the services or their interpretations. This information includes diagnosis, clinical findings and other observations. In laboratory ordering these are typically referred to as "ask at order entry questions (AOEs)". This includes observations explicitly requested by the producer (filler) to provide context or supporting information needed to complete the order. For example, reporting the amount of inspired oxygen for blood gas measurements.
-
withSupportingInfo
public ServiceRequestBuilder.Impl withSupportingInfo(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.ReferenceBuilder... supportingInfo)
-
withInstantiatesUri
public ServiceRequestBuilder.Impl withInstantiatesUri(@NonNull @NonNull java.lang.String... instantiatesUri)
- Parameters:
instantiatesUri- - The URL pointing to an externally maintained protocol, guideline, orderset or other definition that is adhered to in whole or in part by this ServiceRequest.
-
withInstantiatesUri
public ServiceRequestBuilder.Impl withInstantiatesUri(@NonNull @NonNull java.util.Collection<java.lang.String> instantiatesUri)
- Parameters:
instantiatesUri- - The URL pointing to an externally maintained protocol, guideline, orderset or other definition that is adhered to in whole or in part by this ServiceRequest.
-
withReasonReference
public ServiceRequestBuilder.Impl withReasonReference(@NonNull @NonNull com.babylonhealth.lit.core.model.Reference... reasonReference)
- Parameters:
reasonReference- - Indicates another resource that provides a justification for why this service is being requested. May relate to the resources referred to in `supportingInfo`.
-
withReasonReference
public ServiceRequestBuilder.Impl withReasonReference(@NonNull @NonNull java.util.Collection<com.babylonhealth.lit.core.model.Reference> reasonReference)
- Parameters:
reasonReference- - Indicates another resource that provides a justification for why this service is being requested. May relate to the resources referred to in `supportingInfo`.
-
withReasonReference
public ServiceRequestBuilder.Impl withReasonReference(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.ReferenceBuilder... reasonReference)
-
withRelevantHistory
public ServiceRequestBuilder.Impl withRelevantHistory(@NonNull @NonNull com.babylonhealth.lit.core.model.Reference... relevantHistory)
- Parameters:
relevantHistory- - Key events in the history of the request.
-
withRelevantHistory
public ServiceRequestBuilder.Impl withRelevantHistory(@NonNull @NonNull java.util.Collection<com.babylonhealth.lit.core.model.Reference> relevantHistory)
- Parameters:
relevantHistory- - Key events in the history of the request.
-
withRelevantHistory
public ServiceRequestBuilder.Impl withRelevantHistory(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.ReferenceBuilder... relevantHistory)
-
withModifierExtension
public ServiceRequestBuilder.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 ServiceRequestBuilder.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 ServiceRequestBuilder.Impl withModifierExtension(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.ExtensionBuilder... modifierExtension)
-
withLocationReference
public ServiceRequestBuilder.Impl withLocationReference(@NonNull @NonNull com.babylonhealth.lit.core.model.Reference... locationReference)
- Parameters:
locationReference- - A reference to the the preferred location(s) where the procedure should actually happen. E.g. at home or nursing day care center.
-
withLocationReference
public ServiceRequestBuilder.Impl withLocationReference(@NonNull @NonNull java.util.Collection<com.babylonhealth.lit.core.model.Reference> locationReference)
- Parameters:
locationReference- - A reference to the the preferred location(s) where the procedure should actually happen. E.g. at home or nursing day care center.
-
withLocationReference
public ServiceRequestBuilder.Impl withLocationReference(@NonNull @NonNull com.babylonhealth.lit.core_java.builders.ReferenceBuilder... locationReference)
-
withPatientInstruction
public ServiceRequestBuilder.Impl withPatientInstruction(@NonNull @NonNull java.lang.String patientInstruction)
- Parameters:
patientInstruction- - Instructions in terms that are understood by the patient or consumer.
-
withInstantiatesCanonical
public ServiceRequestBuilder.Impl withInstantiatesCanonical(@NonNull @NonNull java.lang.String... instantiatesCanonical)
- Parameters:
instantiatesCanonical- - The URL pointing to a FHIR-defined protocol, guideline, orderset or other definition that is adhered to in whole or in part by this ServiceRequest.
-
withInstantiatesCanonical
public ServiceRequestBuilder.Impl withInstantiatesCanonical(@NonNull @NonNull java.util.Collection<java.lang.String> instantiatesCanonical)
- Parameters:
instantiatesCanonical- - The URL pointing to a FHIR-defined protocol, guideline, orderset or other definition that is adhered to in whole or in part by this ServiceRequest.
-
withoutMeta
public ServiceRequestBuilder.Impl withoutMeta()
-
build
public com.babylonhealth.lit.hl7.model.ServiceRequest build()
- Specified by:
buildin interfaceDomainResourceBuilder- Specified by:
buildin interfacecom.babylonhealth.lit.core_java.builders.ResourceBuilder- Specified by:
buildin interfaceServiceRequestBuilder
-
-