Class ImagingStudyBuilder.Impl

    • Constructor Detail

      • Impl

        public Impl​(com.babylonhealth.lit.hl7.IMAGINGSTUDY_STATUS status,
                    com.babylonhealth.lit.core.model.Reference subject)
        Required fields for ImagingStudy
        Parameters:
        status - - The current state of the ImagingStudy.
        subject - - The subject, typically a patient, of the imaging study.
    • Method Detail

      • withId

        public ImagingStudyBuilder.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 ImagingStudyBuilder.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 ImagingStudyBuilder.Impl withMeta​(@NonNull
                                                 @NonNull com.babylonhealth.lit.core_java.builders.MetaBuilder meta)
      • withText

        public ImagingStudyBuilder.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.
      • withNote

        public ImagingStudyBuilder.Impl withNote​(@NonNull
                                                 @NonNull com.babylonhealth.lit.core.model.Annotation... note)
        Parameters:
        note - - Per the recommended DICOM mapping, this element is derived from the Study Description attribute (0008,1030). Observations or findings about the imaging study should be recorded in another resource, e.g. Observation, and not in this element.
      • withNote

        public ImagingStudyBuilder.Impl withNote​(@NonNull
                                                 @NonNull java.util.Collection<com.babylonhealth.lit.core.model.Annotation> note)
        Parameters:
        note - - Per the recommended DICOM mapping, this element is derived from the Study Description attribute (0008,1030). Observations or findings about the imaging study should be recorded in another resource, e.g. Observation, and not in this element.
      • withNote

        public ImagingStudyBuilder.Impl withNote​(@NonNull
                                                 @NonNull com.babylonhealth.lit.core_java.builders.AnnotationBuilder... note)
      • withStarted

        public ImagingStudyBuilder.Impl withStarted​(@NonNull
                                                    @NonNull com.babylonhealth.lit.core.FHIRDateTime started)
        Parameters:
        started - - Date and time the study started.
      • withBasedOn

        public ImagingStudyBuilder.Impl withBasedOn​(@NonNull
                                                    @NonNull com.babylonhealth.lit.core.model.Reference... basedOn)
        Parameters:
        basedOn - - A list of the diagnostic requests that resulted in this imaging study being performed.
      • withBasedOn

        public ImagingStudyBuilder.Impl withBasedOn​(@NonNull
                                                    @NonNull java.util.Collection<com.babylonhealth.lit.core.model.Reference> basedOn)
        Parameters:
        basedOn - - A list of the diagnostic requests that resulted in this imaging study being performed.
      • withBasedOn

        public ImagingStudyBuilder.Impl withBasedOn​(@NonNull
                                                    @NonNull com.babylonhealth.lit.core_java.builders.ReferenceBuilder... basedOn)
      • withLanguage

        public ImagingStudyBuilder.Impl withLanguage​(@NonNull
                                                     @NonNull com.babylonhealth.lit.core.LANGUAGES language)
        Parameters:
        language - - The base language in which the resource is written.
      • withModality

        public ImagingStudyBuilder.Impl withModality​(@NonNull
                                                     @NonNull com.babylonhealth.lit.core.model.Coding... modality)
        Parameters:
        modality - - A list of all the series.modality values that are actual acquisition modalities, i.e. those in the DICOM Context Group 29 (value set OID 1.2.840.10008.6.1.19).
      • withModality

        public ImagingStudyBuilder.Impl withModality​(@NonNull
                                                     @NonNull java.util.Collection<com.babylonhealth.lit.core.model.Coding> modality)
        Parameters:
        modality - - A list of all the series.modality values that are actual acquisition modalities, i.e. those in the DICOM Context Group 29 (value set OID 1.2.840.10008.6.1.19).
      • withModality

        public ImagingStudyBuilder.Impl withModality​(@NonNull
                                                     @NonNull com.babylonhealth.lit.core_java.builders.CodingBuilder... modality)
      • withReferrer

        public ImagingStudyBuilder.Impl withReferrer​(@NonNull
                                                     @NonNull com.babylonhealth.lit.core.model.Reference referrer)
        Parameters:
        referrer - - The requesting/referring physician.
      • withReferrer

        public ImagingStudyBuilder.Impl withReferrer​(@NonNull
                                                     @NonNull com.babylonhealth.lit.core_java.builders.ReferenceBuilder referrer)
      • withEndpoint

        public ImagingStudyBuilder.Impl withEndpoint​(@NonNull
                                                     @NonNull com.babylonhealth.lit.core.model.Reference... endpoint)
        Parameters:
        endpoint - - The network service providing access (e.g., query, view, or retrieval) for the study. See implementation notes for information about using DICOM endpoints. A study-level endpoint applies to each series in the study, unless overridden by a series-level endpoint with the same Endpoint.connectionType.
      • withEndpoint

        public ImagingStudyBuilder.Impl withEndpoint​(@NonNull
                                                     @NonNull java.util.Collection<com.babylonhealth.lit.core.model.Reference> endpoint)
        Parameters:
        endpoint - - The network service providing access (e.g., query, view, or retrieval) for the study. See implementation notes for information about using DICOM endpoints. A study-level endpoint applies to each series in the study, unless overridden by a series-level endpoint with the same Endpoint.connectionType.
      • withEndpoint

        public ImagingStudyBuilder.Impl withEndpoint​(@NonNull
                                                     @NonNull com.babylonhealth.lit.core_java.builders.ReferenceBuilder... endpoint)
      • withLocation

        public ImagingStudyBuilder.Impl withLocation​(@NonNull
                                                     @NonNull com.babylonhealth.lit.core.model.Reference location)
        Parameters:
        location - - The principal physical location where the ImagingStudy was performed.
      • withLocation

        public ImagingStudyBuilder.Impl withLocation​(@NonNull
                                                     @NonNull com.babylonhealth.lit.core_java.builders.ReferenceBuilder location)
      • withContained

        public ImagingStudyBuilder.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 ImagingStudyBuilder.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 ImagingStudyBuilder.Impl withContained​(@NonNull
                                                      @NonNull com.babylonhealth.lit.core_java.builders.ResourceBuilder... contained)
      • withExtension

        public ImagingStudyBuilder.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 ImagingStudyBuilder.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 ImagingStudyBuilder.Impl withExtension​(@NonNull
                                                      @NonNull com.babylonhealth.lit.core_java.builders.ExtensionBuilder... extension)
      • withEncounter

        public ImagingStudyBuilder.Impl withEncounter​(@NonNull
                                                      @NonNull com.babylonhealth.lit.core.model.Reference encounter)
        Parameters:
        encounter - - The healthcare event (e.g. a patient and healthcare provider interaction) during which this ImagingStudy is made.
      • withEncounter

        public ImagingStudyBuilder.Impl withEncounter​(@NonNull
                                                      @NonNull com.babylonhealth.lit.core_java.builders.ReferenceBuilder encounter)
      • withIdentifier

        public ImagingStudyBuilder.Impl withIdentifier​(@NonNull
                                                       @NonNull com.babylonhealth.lit.core.model.Identifier... identifier)
        Parameters:
        identifier - - Identifiers for the ImagingStudy such as DICOM Study Instance UID, and Accession Number.
      • withIdentifier

        public ImagingStudyBuilder.Impl withIdentifier​(@NonNull
                                                       @NonNull java.util.Collection<com.babylonhealth.lit.core.model.Identifier> identifier)
        Parameters:
        identifier - - Identifiers for the ImagingStudy such as DICOM Study Instance UID, and Accession Number.
      • withIdentifier

        public ImagingStudyBuilder.Impl withIdentifier​(@NonNull
                                                       @NonNull com.babylonhealth.lit.core_java.builders.IdentifierBuilder... identifier)
      • withReasonCode

        public ImagingStudyBuilder.Impl withReasonCode​(@NonNull
                                                       @NonNull com.babylonhealth.lit.core.model.CodeableConcept... reasonCode)
        Parameters:
        reasonCode - - Description of clinical condition indicating why the ImagingStudy was requested.
      • withReasonCode

        public ImagingStudyBuilder.Impl withReasonCode​(@NonNull
                                                       @NonNull java.util.Collection<com.babylonhealth.lit.core.model.CodeableConcept> reasonCode)
        Parameters:
        reasonCode - - Description of clinical condition indicating why the ImagingStudy was requested.
      • withReasonCode

        public ImagingStudyBuilder.Impl withReasonCode​(@NonNull
                                                       @NonNull com.babylonhealth.lit.core_java.builders.CodeableConceptBuilder... reasonCode)
      • withInterpreter

        public ImagingStudyBuilder.Impl withInterpreter​(@NonNull
                                                        @NonNull com.babylonhealth.lit.core.model.Reference... interpreter)
        Parameters:
        interpreter - - Who read the study and interpreted the images or other content.
      • withInterpreter

        public ImagingStudyBuilder.Impl withInterpreter​(@NonNull
                                                        @NonNull java.util.Collection<com.babylonhealth.lit.core.model.Reference> interpreter)
        Parameters:
        interpreter - - Who read the study and interpreted the images or other content.
      • withInterpreter

        public ImagingStudyBuilder.Impl withInterpreter​(@NonNull
                                                        @NonNull com.babylonhealth.lit.core_java.builders.ReferenceBuilder... interpreter)
      • withDescription

        public ImagingStudyBuilder.Impl withDescription​(@NonNull
                                                        @NonNull java.lang.String description)
        Parameters:
        description - - The Imaging Manager description of the study. Institution-generated description or classification of the Study (component) performed.
      • withImplicitRules

        public ImagingStudyBuilder.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.
      • withProcedureCode

        public ImagingStudyBuilder.Impl withProcedureCode​(@NonNull
                                                          @NonNull com.babylonhealth.lit.core.model.CodeableConcept... procedureCode)
        Parameters:
        procedureCode - - The code for the performed procedure type.
      • withProcedureCode

        public ImagingStudyBuilder.Impl withProcedureCode​(@NonNull
                                                          @NonNull java.util.Collection<com.babylonhealth.lit.core.model.CodeableConcept> procedureCode)
        Parameters:
        procedureCode - - The code for the performed procedure type.
      • withProcedureCode

        public ImagingStudyBuilder.Impl withProcedureCode​(@NonNull
                                                          @NonNull com.babylonhealth.lit.core_java.builders.CodeableConceptBuilder... procedureCode)
      • withNumberOfSeries

        public ImagingStudyBuilder.Impl withNumberOfSeries​(@NonNull
                                                           @NonNull java.lang.Integer numberOfSeries)
        Parameters:
        numberOfSeries - - Number of Series in the Study. This value given may be larger than the number of series elements this Resource contains due to resource availability, security, or other factors. This element should be present if any series elements are present.
      • withReasonReference

        public ImagingStudyBuilder.Impl withReasonReference​(@NonNull
                                                            @NonNull com.babylonhealth.lit.core.model.Reference... reasonReference)
        Parameters:
        reasonReference - - Indicates another resource whose existence justifies this Study.
      • withReasonReference

        public ImagingStudyBuilder.Impl withReasonReference​(@NonNull
                                                            @NonNull java.util.Collection<com.babylonhealth.lit.core.model.Reference> reasonReference)
        Parameters:
        reasonReference - - Indicates another resource whose existence justifies this Study.
      • withReasonReference

        public ImagingStudyBuilder.Impl withReasonReference​(@NonNull
                                                            @NonNull com.babylonhealth.lit.core_java.builders.ReferenceBuilder... reasonReference)
      • withModifierExtension

        public ImagingStudyBuilder.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 ImagingStudyBuilder.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 ImagingStudyBuilder.Impl withModifierExtension​(@NonNull
                                                              @NonNull com.babylonhealth.lit.core_java.builders.ExtensionBuilder... modifierExtension)
      • withNumberOfInstances

        public ImagingStudyBuilder.Impl withNumberOfInstances​(@NonNull
                                                              @NonNull java.lang.Integer numberOfInstances)
        Parameters:
        numberOfInstances - - Number of SOP Instances in Study. This value given may be larger than the number of instance elements this resource contains due to resource availability, security, or other factors. This element should be present if any instance elements are present.
      • withProcedureReference

        public ImagingStudyBuilder.Impl withProcedureReference​(@NonNull
                                                               @NonNull com.babylonhealth.lit.core.model.Reference procedureReference)
        Parameters:
        procedureReference - - The procedure which this ImagingStudy was part of.
      • withProcedureReference

        public ImagingStudyBuilder.Impl withProcedureReference​(@NonNull
                                                               @NonNull com.babylonhealth.lit.core_java.builders.ReferenceBuilder procedureReference)
      • withSeries

        public ImagingStudyBuilder.Impl withSeries​(@NonNull
                                                   @NonNull com.babylonhealth.lit.hl7.model.ImagingStudy.Series... series)
        Parameters:
        series - - Each study has one or more series of images or other content.
      • withSeries

        public ImagingStudyBuilder.Impl withSeries​(@NonNull
                                                   @NonNull java.util.Collection<com.babylonhealth.lit.hl7.model.ImagingStudy.Series> series)
        Parameters:
        series - - Each study has one or more series of images or other content.
      • build

        public com.babylonhealth.lit.hl7.model.ImagingStudy build()
        Specified by:
        build in interface DomainResourceBuilder
        Specified by:
        build in interface ImagingStudyBuilder
        Specified by:
        build in interface com.babylonhealth.lit.core_java.builders.ResourceBuilder