Class ClinicalImpression.Builder
- java.lang.Object
-
- com.ibm.fhir.model.builder.AbstractBuilder<Resource>
-
- com.ibm.fhir.model.resource.Resource.Builder
-
- com.ibm.fhir.model.resource.DomainResource.Builder
-
- com.ibm.fhir.model.resource.ClinicalImpression.Builder
-
- Enclosing class:
- ClinicalImpression
public static class ClinicalImpression.Builder extends DomainResource.Builder
-
-
Field Summary
-
Fields inherited from class com.ibm.fhir.model.resource.DomainResource.Builder
contained, extension, modifierExtension, text
-
Fields inherited from class com.ibm.fhir.model.resource.Resource.Builder
id, implicitRules, language, meta
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClinicalImpression.Builder
assessor(Reference assessor)
The clinician performing the assessment.ClinicalImpression
build()
Build theClinicalImpression
ClinicalImpression.Builder
code(CodeableConcept code)
Categorizes the type of clinical assessment performed.ClinicalImpression.Builder
contained(Resource... 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.ClinicalImpression.Builder
contained(Collection<Resource> 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.ClinicalImpression.Builder
date(DateTime date)
Indicates when the documentation of the assessment was complete.ClinicalImpression.Builder
description(String description)
A summary of the context and/or cause of the assessment - why / where it was performed, and what patient events/status prompted it.ClinicalImpression.Builder
effective(Element effective)
The point in time or period over which the subject was assessed.ClinicalImpression.Builder
encounter(Reference encounter)
The Encounter during which this ClinicalImpression was created or to which the creation of this record is tightly associated.ClinicalImpression.Builder
extension(Extension... extension)
May be used to represent additional information that is not part of the basic definition of the resource.ClinicalImpression.Builder
extension(Collection<Extension> extension)
May be used to represent additional information that is not part of the basic definition of the resource.ClinicalImpression.Builder
finding(ClinicalImpression.Finding... finding)
Specific findings or diagnoses that were considered likely or relevant to ongoing treatment.ClinicalImpression.Builder
finding(Collection<ClinicalImpression.Finding> finding)
Specific findings or diagnoses that were considered likely or relevant to ongoing treatment.protected ClinicalImpression.Builder
from(ClinicalImpression clinicalImpression)
ClinicalImpression.Builder
id(String id)
The logical id of the resource, as used in the URL for the resource.ClinicalImpression.Builder
identifier(Identifier... identifier)
Business identifiers assigned to this clinical impression by the performer or other systems which remain constant as the resource is updated and propagates from server to server.ClinicalImpression.Builder
identifier(Collection<Identifier> identifier)
Business identifiers assigned to this clinical impression by the performer or other systems which remain constant as the resource is updated and propagates from server to server.ClinicalImpression.Builder
implicitRules(Uri 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.ClinicalImpression.Builder
investigation(ClinicalImpression.Investigation... investigation)
One or more sets of investigations (signs, symptoms, etc.).ClinicalImpression.Builder
investigation(Collection<ClinicalImpression.Investigation> investigation)
One or more sets of investigations (signs, symptoms, etc.).ClinicalImpression.Builder
language(Code language)
The base language in which the resource is written.ClinicalImpression.Builder
meta(Meta meta)
The metadata about the resource.ClinicalImpression.Builder
modifierExtension(Extension... 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.ClinicalImpression.Builder
modifierExtension(Collection<Extension> 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.ClinicalImpression.Builder
note(Annotation... note)
Commentary about the impression, typically recorded after the impression itself was made, though supplemental notes by the original author could also appear.ClinicalImpression.Builder
note(Collection<Annotation> note)
Commentary about the impression, typically recorded after the impression itself was made, though supplemental notes by the original author could also appear.ClinicalImpression.Builder
previous(Reference previous)
A reference to the last assessment that was conducted on this patient.ClinicalImpression.Builder
problem(Reference... problem)
A list of the relevant problems/conditions for a patient.ClinicalImpression.Builder
problem(Collection<Reference> problem)
A list of the relevant problems/conditions for a patient.ClinicalImpression.Builder
prognosisCodeableConcept(CodeableConcept... prognosisCodeableConcept)
Estimate of likely outcome.ClinicalImpression.Builder
prognosisCodeableConcept(Collection<CodeableConcept> prognosisCodeableConcept)
Estimate of likely outcome.ClinicalImpression.Builder
prognosisReference(Reference... prognosisReference)
RiskAssessment expressing likely outcome.ClinicalImpression.Builder
prognosisReference(Collection<Reference> prognosisReference)
RiskAssessment expressing likely outcome.ClinicalImpression.Builder
protocol(Uri... protocol)
Reference to a specific published clinical protocol that was followed during this assessment, and/or that provides evidence in support of the diagnosis.ClinicalImpression.Builder
protocol(Collection<Uri> protocol)
Reference to a specific published clinical protocol that was followed during this assessment, and/or that provides evidence in support of the diagnosis.ClinicalImpression.Builder
status(ClinicalImpressionStatus status)
Identifies the workflow status of the assessment.ClinicalImpression.Builder
statusReason(CodeableConcept statusReason)
Captures the reason for the current state of the ClinicalImpression.ClinicalImpression.Builder
subject(Reference subject)
The patient or group of individuals assessed as part of this record.ClinicalImpression.Builder
summary(String summary)
A text summary of the investigations and the diagnosis.ClinicalImpression.Builder
supportingInfo(Reference... supportingInfo)
Information supporting the clinical impression.ClinicalImpression.Builder
supportingInfo(Collection<Reference> supportingInfo)
Information supporting the clinical impression.ClinicalImpression.Builder
text(Narrative 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.-
Methods inherited from class com.ibm.fhir.model.resource.DomainResource.Builder
from
-
Methods inherited from class com.ibm.fhir.model.resource.Resource.Builder
from
-
-
-
-
Method Detail
-
id
public ClinicalImpression.Builder id(String id)
The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.- Overrides:
id
in classDomainResource.Builder
- Parameters:
id
- Logical id of this artifact- Returns:
- A reference to this Builder instance
-
meta
public ClinicalImpression.Builder meta(Meta 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.- Overrides:
meta
in classDomainResource.Builder
- Parameters:
meta
- Metadata about the resource- Returns:
- A reference to this Builder instance
-
implicitRules
public ClinicalImpression.Builder implicitRules(Uri 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.- Overrides:
implicitRules
in classDomainResource.Builder
- Parameters:
implicitRules
- A set of rules under which this content was created- Returns:
- A reference to this Builder instance
-
language
public ClinicalImpression.Builder language(Code language)
The base language in which the resource is written.- Overrides:
language
in classDomainResource.Builder
- Parameters:
language
- Language of the resource content- Returns:
- A reference to this Builder instance
-
text
public ClinicalImpression.Builder text(Narrative 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.- Overrides:
text
in classDomainResource.Builder
- Parameters:
text
- Text summary of the resource, for human interpretation- Returns:
- A reference to this Builder instance
-
contained
public ClinicalImpression.Builder contained(Resource... 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.Adds new element(s) to the existing list
- Overrides:
contained
in classDomainResource.Builder
- Parameters:
contained
- Contained, inline Resources- Returns:
- A reference to this Builder instance
-
contained
public ClinicalImpression.Builder contained(Collection<Resource> 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.Replaces the existing list with a new one containing elements from the Collection
- Overrides:
contained
in classDomainResource.Builder
- Parameters:
contained
- Contained, inline Resources- Returns:
- A reference to this Builder instance
-
extension
public ClinicalImpression.Builder extension(Extension... 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.Adds new element(s) to the existing list
- Overrides:
extension
in classDomainResource.Builder
- Parameters:
extension
- Additional content defined by implementations- Returns:
- A reference to this Builder instance
-
extension
public ClinicalImpression.Builder extension(Collection<Extension> 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.Replaces the existing list with a new one containing elements from the Collection
- Overrides:
extension
in classDomainResource.Builder
- Parameters:
extension
- Additional content defined by implementations- Returns:
- A reference to this Builder instance
-
modifierExtension
public ClinicalImpression.Builder modifierExtension(Extension... 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).
Adds new element(s) to the existing list
- Overrides:
modifierExtension
in classDomainResource.Builder
- Parameters:
modifierExtension
- Extensions that cannot be ignored- Returns:
- A reference to this Builder instance
-
modifierExtension
public ClinicalImpression.Builder modifierExtension(Collection<Extension> 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).
Replaces the existing list with a new one containing elements from the Collection
- Overrides:
modifierExtension
in classDomainResource.Builder
- Parameters:
modifierExtension
- Extensions that cannot be ignored- Returns:
- A reference to this Builder instance
-
identifier
public ClinicalImpression.Builder identifier(Identifier... identifier)
Business identifiers assigned to this clinical impression by the performer or other systems which remain constant as the resource is updated and propagates from server to server.Adds new element(s) to the existing list
- Parameters:
identifier
- Business identifier- Returns:
- A reference to this Builder instance
-
identifier
public ClinicalImpression.Builder identifier(Collection<Identifier> identifier)
Business identifiers assigned to this clinical impression by the performer or other systems which remain constant as the resource is updated and propagates from server to server.Replaces the existing list with a new one containing elements from the Collection
- Parameters:
identifier
- Business identifier- Returns:
- A reference to this Builder instance
-
status
public ClinicalImpression.Builder status(ClinicalImpressionStatus status)
Identifies the workflow status of the assessment.This element is required.
- Parameters:
status
- in-progress | completed | entered-in-error- Returns:
- A reference to this Builder instance
-
statusReason
public ClinicalImpression.Builder statusReason(CodeableConcept statusReason)
Captures the reason for the current state of the ClinicalImpression.- Parameters:
statusReason
- Reason for current status- Returns:
- A reference to this Builder instance
-
code
public ClinicalImpression.Builder code(CodeableConcept code)
Categorizes the type of clinical assessment performed.- Parameters:
code
- Kind of assessment performed- Returns:
- A reference to this Builder instance
-
description
public ClinicalImpression.Builder description(String description)
A summary of the context and/or cause of the assessment - why / where it was performed, and what patient events/status prompted it.- Parameters:
description
- Why/how the assessment was performed- Returns:
- A reference to this Builder instance
-
subject
public ClinicalImpression.Builder subject(Reference subject)
The patient or group of individuals assessed as part of this record.This element is required.
Allowed resource types for this reference:
- Parameters:
subject
- Patient or group assessed- Returns:
- A reference to this Builder instance
-
encounter
public ClinicalImpression.Builder encounter(Reference encounter)
The Encounter during which this ClinicalImpression was created or to which the creation of this record is tightly associated.Allowed resource types for this reference:
- Parameters:
encounter
- Encounter created as part of- Returns:
- A reference to this Builder instance
-
effective
public ClinicalImpression.Builder effective(Element effective)
The point in time or period over which the subject was assessed.This is a choice element with the following allowed types:
- Parameters:
effective
- Time of assessment- Returns:
- A reference to this Builder instance
-
date
public ClinicalImpression.Builder date(DateTime date)
Indicates when the documentation of the assessment was complete.- Parameters:
date
- When the assessment was documented- Returns:
- A reference to this Builder instance
-
assessor
public ClinicalImpression.Builder assessor(Reference assessor)
The clinician performing the assessment.Allowed resource types for this reference:
- Parameters:
assessor
- The clinician performing the assessment- Returns:
- A reference to this Builder instance
-
previous
public ClinicalImpression.Builder previous(Reference previous)
A reference to the last assessment that was conducted on this patient. Assessments are often/usually ongoing in nature; a care provider (practitioner or team) will make new assessments on an ongoing basis as new data arises or the patient's conditions changes.Allowed resource types for this reference:
- Parameters:
previous
- Reference to last assessment- Returns:
- A reference to this Builder instance
-
problem
public ClinicalImpression.Builder problem(Reference... problem)
A list of the relevant problems/conditions for a patient.Adds new element(s) to the existing list
- Parameters:
problem
- Relevant impressions of patient state- Returns:
- A reference to this Builder instance
-
problem
public ClinicalImpression.Builder problem(Collection<Reference> problem)
A list of the relevant problems/conditions for a patient.Replaces the existing list with a new one containing elements from the Collection
- Parameters:
problem
- Relevant impressions of patient state- Returns:
- A reference to this Builder instance
-
investigation
public ClinicalImpression.Builder investigation(ClinicalImpression.Investigation... investigation)
One or more sets of investigations (signs, symptoms, etc.). The actual grouping of investigations varies greatly depending on the type and context of the assessment. These investigations may include data generated during the assessment process, or data previously generated and recorded that is pertinent to the outcomes.Adds new element(s) to the existing list
- Parameters:
investigation
- One or more sets of investigations (signs, symptoms, etc.)- Returns:
- A reference to this Builder instance
-
investigation
public ClinicalImpression.Builder investigation(Collection<ClinicalImpression.Investigation> investigation)
One or more sets of investigations (signs, symptoms, etc.). The actual grouping of investigations varies greatly depending on the type and context of the assessment. These investigations may include data generated during the assessment process, or data previously generated and recorded that is pertinent to the outcomes.Replaces the existing list with a new one containing elements from the Collection
- Parameters:
investigation
- One or more sets of investigations (signs, symptoms, etc.)- Returns:
- A reference to this Builder instance
-
protocol
public ClinicalImpression.Builder protocol(Uri... protocol)
Reference to a specific published clinical protocol that was followed during this assessment, and/or that provides evidence in support of the diagnosis.Adds new element(s) to the existing list
- Parameters:
protocol
- Clinical Protocol followed- Returns:
- A reference to this Builder instance
-
protocol
public ClinicalImpression.Builder protocol(Collection<Uri> protocol)
Reference to a specific published clinical protocol that was followed during this assessment, and/or that provides evidence in support of the diagnosis.Replaces the existing list with a new one containing elements from the Collection
- Parameters:
protocol
- Clinical Protocol followed- Returns:
- A reference to this Builder instance
-
summary
public ClinicalImpression.Builder summary(String summary)
A text summary of the investigations and the diagnosis.- Parameters:
summary
- Summary of the assessment- Returns:
- A reference to this Builder instance
-
finding
public ClinicalImpression.Builder finding(ClinicalImpression.Finding... finding)
Specific findings or diagnoses that were considered likely or relevant to ongoing treatment.Adds new element(s) to the existing list
- Parameters:
finding
- Possible or likely findings and diagnoses- Returns:
- A reference to this Builder instance
-
finding
public ClinicalImpression.Builder finding(Collection<ClinicalImpression.Finding> finding)
Specific findings or diagnoses that were considered likely or relevant to ongoing treatment.Replaces the existing list with a new one containing elements from the Collection
- Parameters:
finding
- Possible or likely findings and diagnoses- Returns:
- A reference to this Builder instance
-
prognosisCodeableConcept
public ClinicalImpression.Builder prognosisCodeableConcept(CodeableConcept... prognosisCodeableConcept)
Estimate of likely outcome.Adds new element(s) to the existing list
- Parameters:
prognosisCodeableConcept
- Estimate of likely outcome- Returns:
- A reference to this Builder instance
-
prognosisCodeableConcept
public ClinicalImpression.Builder prognosisCodeableConcept(Collection<CodeableConcept> prognosisCodeableConcept)
Estimate of likely outcome.Replaces the existing list with a new one containing elements from the Collection
- Parameters:
prognosisCodeableConcept
- Estimate of likely outcome- Returns:
- A reference to this Builder instance
-
prognosisReference
public ClinicalImpression.Builder prognosisReference(Reference... prognosisReference)
RiskAssessment expressing likely outcome.Adds new element(s) to the existing list
- Parameters:
prognosisReference
- RiskAssessment expressing likely outcome- Returns:
- A reference to this Builder instance
-
prognosisReference
public ClinicalImpression.Builder prognosisReference(Collection<Reference> prognosisReference)
RiskAssessment expressing likely outcome.Replaces the existing list with a new one containing elements from the Collection
- Parameters:
prognosisReference
- RiskAssessment expressing likely outcome- Returns:
- A reference to this Builder instance
-
supportingInfo
public ClinicalImpression.Builder supportingInfo(Reference... supportingInfo)
Information supporting the clinical impression.Adds new element(s) to the existing list
- Parameters:
supportingInfo
- Information supporting the clinical impression- Returns:
- A reference to this Builder instance
-
supportingInfo
public ClinicalImpression.Builder supportingInfo(Collection<Reference> supportingInfo)
Information supporting the clinical impression.Replaces the existing list with a new one containing elements from the Collection
- Parameters:
supportingInfo
- Information supporting the clinical impression- Returns:
- A reference to this Builder instance
-
note
public ClinicalImpression.Builder note(Annotation... note)
Commentary about the impression, typically recorded after the impression itself was made, though supplemental notes by the original author could also appear.Adds new element(s) to the existing list
- Parameters:
note
- Comments made about the ClinicalImpression- Returns:
- A reference to this Builder instance
-
note
public ClinicalImpression.Builder note(Collection<Annotation> note)
Commentary about the impression, typically recorded after the impression itself was made, though supplemental notes by the original author could also appear.Replaces the existing list with a new one containing elements from the Collection
- Parameters:
note
- Comments made about the ClinicalImpression- Returns:
- A reference to this Builder instance
-
build
public ClinicalImpression build()
- Specified by:
build
in interfaceBuilder<Resource>
- Specified by:
build
in classDomainResource.Builder
- Returns:
- An immutable object of type
ClinicalImpression
- Throws:
IllegalStateException
- if the current state cannot be built into a valid ClinicalImpression per the base specification
-
from
protected ClinicalImpression.Builder from(ClinicalImpression clinicalImpression)
-
-