All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ca.uhn.fhir.model.dstu2.resource.DiagnosticReport Maven / Gradle / Ivy

The newest version!
















package ca.uhn.fhir.model.dstu2.resource;

import java.math.BigDecimal;
import java.net.URI;
import java.util.*;
import ca.uhn.fhir.model.api.*;
import ca.uhn.fhir.model.api.annotation.*;
import ca.uhn.fhir.rest.gclient.*;

import ca.uhn.fhir.model.dstu2.valueset.AccountStatusEnum;
import ca.uhn.fhir.model.dstu2.valueset.ActionListEnum;
import ca.uhn.fhir.model.dstu2.composite.AddressDt;
import ca.uhn.fhir.model.dstu2.valueset.AdjudicationCodesEnum;
import ca.uhn.fhir.model.dstu2.valueset.AdjudicationErrorCodesEnum;
import ca.uhn.fhir.model.dstu2.valueset.AdjustmentReasonCodesEnum;
import ca.uhn.fhir.model.dstu2.valueset.AdministrativeGenderEnum;
import ca.uhn.fhir.model.dstu2.valueset.AdmitSourceEnum;
import ca.uhn.fhir.model.dstu2.resource.AllergyIntolerance;
import ca.uhn.fhir.model.dstu2.valueset.AllergyIntoleranceCategoryEnum;
import ca.uhn.fhir.model.dstu2.valueset.AllergyIntoleranceCertaintyEnum;
import ca.uhn.fhir.model.dstu2.valueset.AllergyIntoleranceCriticalityEnum;
import ca.uhn.fhir.model.dstu2.valueset.AllergyIntoleranceSeverityEnum;
import ca.uhn.fhir.model.dstu2.valueset.AllergyIntoleranceStatusEnum;
import ca.uhn.fhir.model.dstu2.valueset.AllergyIntoleranceTypeEnum;
import ca.uhn.fhir.model.dstu2.composite.AnnotationDt;
import ca.uhn.fhir.model.dstu2.valueset.AnswerFormatEnum;
import ca.uhn.fhir.model.dstu2.resource.Appointment;
import ca.uhn.fhir.model.dstu2.valueset.AppointmentStatusEnum;
import ca.uhn.fhir.model.dstu2.valueset.AssertionDirectionTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.AssertionOperatorTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.AssertionResponseTypesEnum;
import ca.uhn.fhir.model.dstu2.composite.AttachmentDt;
import ca.uhn.fhir.model.dstu2.valueset.AuditEventActionEnum;
import ca.uhn.fhir.model.dstu2.valueset.AuditEventObjectLifecycleEnum;
import ca.uhn.fhir.model.dstu2.valueset.AuditEventObjectRoleEnum;
import ca.uhn.fhir.model.dstu2.valueset.AuditEventObjectTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.AuditEventOutcomeEnum;
import ca.uhn.fhir.model.dstu2.valueset.AuditEventParticipantNetworkTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.AuditEventSourceTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.BindingStrengthEnum;
import ca.uhn.fhir.model.dstu2.resource.BodySite;
import ca.uhn.fhir.model.dstu2.valueset.BundleTypeEnum;
import ca.uhn.fhir.model.dstu2.resource.CarePlan;
import ca.uhn.fhir.model.dstu2.valueset.CarePlanActivityStatusEnum;
import ca.uhn.fhir.model.dstu2.valueset.CarePlanRelationshipEnum;
import ca.uhn.fhir.model.dstu2.valueset.CarePlanStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.Claim;
import ca.uhn.fhir.model.dstu2.resource.ClaimResponse;
import ca.uhn.fhir.model.dstu2.valueset.ClaimTypeEnum;
import ca.uhn.fhir.model.dstu2.resource.ClinicalImpression;
import ca.uhn.fhir.model.dstu2.valueset.ClinicalImpressionStatusEnum;
import ca.uhn.fhir.model.dstu2.composite.CodeableConceptDt;
import ca.uhn.fhir.model.dstu2.composite.CodingDt;
import ca.uhn.fhir.model.dstu2.resource.CommunicationRequest;
import ca.uhn.fhir.model.dstu2.valueset.CommunicationRequestStatusEnum;
import ca.uhn.fhir.model.dstu2.valueset.CommunicationStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.Composition;
import ca.uhn.fhir.model.dstu2.valueset.CompositionAttestationModeEnum;
import ca.uhn.fhir.model.dstu2.valueset.CompositionStatusEnum;
import ca.uhn.fhir.model.dstu2.valueset.ConceptMapEquivalenceEnum;
import ca.uhn.fhir.model.dstu2.resource.Condition;
import ca.uhn.fhir.model.dstu2.valueset.ConditionCategoryCodesEnum;
import ca.uhn.fhir.model.dstu2.valueset.ConditionClinicalStatusCodesEnum;
import ca.uhn.fhir.model.dstu2.valueset.ConditionVerificationStatusEnum;
import ca.uhn.fhir.model.dstu2.valueset.ConditionalDeleteStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.Conformance;
import ca.uhn.fhir.model.dstu2.valueset.ConformanceEventModeEnum;
import ca.uhn.fhir.model.dstu2.valueset.ConformanceResourceStatusEnum;
import ca.uhn.fhir.model.dstu2.valueset.ConformanceStatementKindEnum;
import ca.uhn.fhir.model.dstu2.composite.ContactPointDt;
import ca.uhn.fhir.model.dstu2.valueset.ContentTypeEnum;
import ca.uhn.fhir.model.dstu2.resource.Contract;
import ca.uhn.fhir.model.dstu2.resource.Coverage;
import ca.uhn.fhir.model.dstu2.valueset.DataElementStringencyEnum;
import ca.uhn.fhir.model.dstu2.valueset.DaysOfWeekEnum;
import ca.uhn.fhir.model.dstu2.valueset.DetectedIssueSeverityEnum;
import ca.uhn.fhir.model.dstu2.resource.Device;
import ca.uhn.fhir.model.dstu2.resource.DeviceComponent;
import ca.uhn.fhir.model.dstu2.resource.DeviceMetric;
import ca.uhn.fhir.model.dstu2.valueset.DeviceMetricCalibrationStateEnum;
import ca.uhn.fhir.model.dstu2.valueset.DeviceMetricCalibrationTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.DeviceMetricCategoryEnum;
import ca.uhn.fhir.model.dstu2.valueset.DeviceMetricColorEnum;
import ca.uhn.fhir.model.dstu2.valueset.DeviceMetricOperationalStatusEnum;
import ca.uhn.fhir.model.dstu2.valueset.DeviceStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.DeviceUseRequest;
import ca.uhn.fhir.model.dstu2.valueset.DeviceUseRequestPriorityEnum;
import ca.uhn.fhir.model.dstu2.valueset.DeviceUseRequestStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.DiagnosticOrder;
import ca.uhn.fhir.model.dstu2.valueset.DiagnosticOrderPriorityEnum;
import ca.uhn.fhir.model.dstu2.valueset.DiagnosticOrderStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.DiagnosticReport;
import ca.uhn.fhir.model.dstu2.valueset.DiagnosticReportStatusEnum;
import ca.uhn.fhir.model.dstu2.valueset.DigitalMediaTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.DocumentModeEnum;
import ca.uhn.fhir.model.dstu2.resource.DocumentReference;
import ca.uhn.fhir.model.dstu2.valueset.DocumentReferenceStatusEnum;
import ca.uhn.fhir.model.dstu2.valueset.DocumentRelationshipTypeEnum;
import ca.uhn.fhir.model.dstu2.composite.ElementDefinitionDt;
import ca.uhn.fhir.model.dstu2.resource.EligibilityRequest;
import ca.uhn.fhir.model.dstu2.resource.Encounter;
import ca.uhn.fhir.model.dstu2.valueset.EncounterClassEnum;
import ca.uhn.fhir.model.dstu2.valueset.EncounterLocationStatusEnum;
import ca.uhn.fhir.model.dstu2.valueset.EncounterStateEnum;
import ca.uhn.fhir.model.dstu2.resource.EnrollmentRequest;
import ca.uhn.fhir.model.dstu2.resource.EpisodeOfCare;
import ca.uhn.fhir.model.dstu2.valueset.EpisodeOfCareStatusEnum;
import ca.uhn.fhir.model.dstu2.valueset.ExtensionContextEnum;
import ca.uhn.fhir.model.dstu2.valueset.FamilyHistoryStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.FamilyMemberHistory;
import ca.uhn.fhir.model.dstu2.valueset.FilterOperatorEnum;
import ca.uhn.fhir.model.dstu2.valueset.FlagStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.Goal;
import ca.uhn.fhir.model.dstu2.valueset.GoalPriorityEnum;
import ca.uhn.fhir.model.dstu2.valueset.GoalStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.Group;
import ca.uhn.fhir.model.dstu2.valueset.GroupTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.GuideDependencyTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.GuidePageKindEnum;
import ca.uhn.fhir.model.dstu2.valueset.GuideResourcePurposeEnum;
import ca.uhn.fhir.model.dstu2.valueset.HTTPVerbEnum;
import ca.uhn.fhir.model.dstu2.resource.HealthcareService;
import ca.uhn.fhir.model.dstu2.composite.HumanNameDt;
import ca.uhn.fhir.model.dstu2.composite.IdentifierDt;
import ca.uhn.fhir.model.dstu2.valueset.IdentifierTypeCodesEnum;
import ca.uhn.fhir.model.dstu2.valueset.IdentityAssuranceLevelEnum;
import ca.uhn.fhir.model.dstu2.resource.ImagingObjectSelection;
import ca.uhn.fhir.model.dstu2.resource.ImagingStudy;
import ca.uhn.fhir.model.dstu2.resource.Immunization;
import ca.uhn.fhir.model.dstu2.valueset.InstanceAvailabilityEnum;
import ca.uhn.fhir.model.dstu2.valueset.IssueSeverityEnum;
import ca.uhn.fhir.model.dstu2.valueset.IssueTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.KOStitleEnum;
import ca.uhn.fhir.model.dstu2.valueset.LinkTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.ListModeEnum;
import ca.uhn.fhir.model.dstu2.valueset.ListOrderCodesEnum;
import ca.uhn.fhir.model.dstu2.valueset.ListStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.Location;
import ca.uhn.fhir.model.dstu2.valueset.LocationModeEnum;
import ca.uhn.fhir.model.dstu2.valueset.LocationStatusEnum;
import ca.uhn.fhir.model.dstu2.valueset.LocationTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.MaritalStatusCodesEnum;
import ca.uhn.fhir.model.dstu2.valueset.MeasmntPrincipleEnum;
import ca.uhn.fhir.model.dstu2.resource.Media;
import ca.uhn.fhir.model.dstu2.resource.Medication;
import ca.uhn.fhir.model.dstu2.valueset.MedicationAdministrationStatusEnum;
import ca.uhn.fhir.model.dstu2.valueset.MedicationDispenseStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.MedicationOrder;
import ca.uhn.fhir.model.dstu2.valueset.MedicationOrderStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.MedicationStatement;
import ca.uhn.fhir.model.dstu2.valueset.MedicationStatementStatusEnum;
import ca.uhn.fhir.model.dstu2.valueset.MessageEventEnum;
import ca.uhn.fhir.model.dstu2.valueset.MessageSignificanceCategoryEnum;
import ca.uhn.fhir.model.dstu2.valueset.MessageTransportEnum;
import ca.uhn.fhir.model.dstu2.resource.NamingSystem;
import ca.uhn.fhir.model.dstu2.valueset.NamingSystemIdentifierTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.NamingSystemTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.NoteTypeEnum;
import ca.uhn.fhir.model.dstu2.resource.NutritionOrder;
import ca.uhn.fhir.model.dstu2.valueset.NutritionOrderStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.Observation;
import ca.uhn.fhir.model.dstu2.valueset.ObservationRelationshipTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.ObservationStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.OperationDefinition;
import ca.uhn.fhir.model.dstu2.valueset.OperationKindEnum;
import ca.uhn.fhir.model.dstu2.resource.OperationOutcome;
import ca.uhn.fhir.model.dstu2.valueset.OperationParameterUseEnum;
import ca.uhn.fhir.model.dstu2.resource.Order;
import ca.uhn.fhir.model.dstu2.valueset.OrderStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.Organization;
import ca.uhn.fhir.model.dstu2.valueset.ParticipantRequiredEnum;
import ca.uhn.fhir.model.dstu2.valueset.ParticipantStatusEnum;
import ca.uhn.fhir.model.dstu2.valueset.ParticipantTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.ParticipationStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.Patient;
import ca.uhn.fhir.model.dstu2.valueset.PayeeTypeCodesEnum;
import ca.uhn.fhir.model.dstu2.composite.PeriodDt;
import ca.uhn.fhir.model.dstu2.resource.Person;
import ca.uhn.fhir.model.dstu2.resource.Practitioner;
import ca.uhn.fhir.model.dstu2.resource.Procedure;
import ca.uhn.fhir.model.dstu2.resource.ProcedureRequest;
import ca.uhn.fhir.model.dstu2.valueset.ProcedureRequestPriorityEnum;
import ca.uhn.fhir.model.dstu2.valueset.ProcedureRequestStatusEnum;
import ca.uhn.fhir.model.dstu2.valueset.ProcedureStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.ProcessRequest;
import ca.uhn.fhir.model.dstu2.valueset.ProvenanceEntityRoleEnum;
import ca.uhn.fhir.model.dstu2.composite.QuantityDt;
import ca.uhn.fhir.model.dstu2.resource.Questionnaire;
import ca.uhn.fhir.model.dstu2.resource.QuestionnaireResponse;
import ca.uhn.fhir.model.dstu2.valueset.QuestionnaireResponseStatusEnum;
import ca.uhn.fhir.model.dstu2.valueset.QuestionnaireStatusEnum;
import ca.uhn.fhir.model.dstu2.composite.RangeDt;
import ca.uhn.fhir.model.dstu2.composite.RatioDt;
import ca.uhn.fhir.model.dstu2.valueset.ReferralMethodEnum;
import ca.uhn.fhir.model.dstu2.resource.ReferralRequest;
import ca.uhn.fhir.model.dstu2.valueset.ReferralStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.RelatedPerson;
import ca.uhn.fhir.model.dstu2.valueset.RemittanceOutcomeEnum;
import ca.uhn.fhir.model.dstu2.valueset.ResourceTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.ResourceVersionPolicyEnum;
import ca.uhn.fhir.model.dstu2.valueset.ResponseTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.RestfulConformanceModeEnum;
import ca.uhn.fhir.model.dstu2.valueset.RestfulSecurityServiceEnum;
import ca.uhn.fhir.model.dstu2.resource.RiskAssessment;
import ca.uhn.fhir.model.dstu2.valueset.RulesetCodesEnum;
import ca.uhn.fhir.model.dstu2.composite.SampledDataDt;
import ca.uhn.fhir.model.dstu2.resource.Schedule;
import ca.uhn.fhir.model.dstu2.valueset.SearchEntryModeEnum;
import ca.uhn.fhir.model.dstu2.valueset.SearchModifierCodeEnum;
import ca.uhn.fhir.model.dstu2.valueset.SearchParamTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.ServiceProvisionConditionsEnum;
import ca.uhn.fhir.model.dstu2.composite.SignatureDt;
import ca.uhn.fhir.model.dstu2.resource.Slot;
import ca.uhn.fhir.model.dstu2.valueset.SlotStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.Specimen;
import ca.uhn.fhir.model.dstu2.valueset.SpecimenStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.StructureDefinition;
import ca.uhn.fhir.model.dstu2.valueset.StructureDefinitionKindEnum;
import ca.uhn.fhir.model.dstu2.valueset.SubscriptionChannelTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.SubscriptionStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.Substance;
import ca.uhn.fhir.model.dstu2.valueset.SubstanceCategoryCodesEnum;
import ca.uhn.fhir.model.dstu2.valueset.SupplyDeliveryStatusEnum;
import ca.uhn.fhir.model.dstu2.resource.SupplyRequest;
import ca.uhn.fhir.model.dstu2.valueset.SupplyRequestStatusEnum;
import ca.uhn.fhir.model.dstu2.valueset.SystemRestfulInteractionEnum;
import ca.uhn.fhir.model.api.TemporalPrecisionEnum;
import ca.uhn.fhir.model.dstu2.composite.TimingDt;
import ca.uhn.fhir.model.dstu2.valueset.TransactionModeEnum;
import ca.uhn.fhir.model.dstu2.valueset.TypeRestfulInteractionEnum;
import ca.uhn.fhir.model.dstu2.valueset.UnknownContentCodeEnum;
import ca.uhn.fhir.model.dstu2.valueset.UseEnum;
import ca.uhn.fhir.model.dstu2.resource.ValueSet;
import ca.uhn.fhir.model.dstu2.valueset.VisionBaseEnum;
import ca.uhn.fhir.model.dstu2.valueset.VisionEyesEnum;
import ca.uhn.fhir.model.dstu2.resource.VisionPrescription;
import ca.uhn.fhir.model.dstu2.valueset.XPathUsageTypeEnum;
import ca.uhn.fhir.model.api.IResource;
import ca.uhn.fhir.model.dstu2.composite.AgeDt;
import ca.uhn.fhir.model.dstu2.composite.BoundCodeableConceptDt;
import ca.uhn.fhir.model.dstu2.composite.DurationDt;
import ca.uhn.fhir.model.dstu2.composite.MoneyDt;
import ca.uhn.fhir.model.dstu2.composite.NarrativeDt;
import ca.uhn.fhir.model.dstu2.composite.ResourceReferenceDt;
import ca.uhn.fhir.model.dstu2.composite.SimpleQuantityDt;
import ca.uhn.fhir.model.primitive.Base64BinaryDt;
import ca.uhn.fhir.model.primitive.BooleanDt;
import ca.uhn.fhir.model.primitive.BoundCodeDt;
import ca.uhn.fhir.model.primitive.CodeDt;
import ca.uhn.fhir.model.primitive.DateDt;
import ca.uhn.fhir.model.primitive.DateTimeDt;
import ca.uhn.fhir.model.primitive.DecimalDt;
import ca.uhn.fhir.model.primitive.IdDt;
import ca.uhn.fhir.model.primitive.InstantDt;
import ca.uhn.fhir.model.primitive.IntegerDt;
import ca.uhn.fhir.model.primitive.OidDt;
import ca.uhn.fhir.model.primitive.PositiveIntDt;
import ca.uhn.fhir.model.primitive.StringDt;
import ca.uhn.fhir.model.primitive.TimeDt;
import ca.uhn.fhir.model.primitive.UnsignedIntDt;
import ca.uhn.fhir.model.primitive.UriDt;


/**
 * HAPI/FHIR DiagnosticReport Resource
 * (clinical.diagnostics)
 *
 * 

* Definition: * The findings and interpretation of diagnostic tests performed on patients, groups of patients, devices, and locations, and/or specimens derived from these. The report includes clinical context such as requesting and provider information, and some mix of atomic results, images, textual and coded interpretations, and formatted representation of diagnostic reports. *

* *

* Requirements: * To support reporting for any diagnostic report into a clinical data repository. *

* *

* Profile Definition: * http://hl7.org/fhir/profiles/DiagnosticReport *

* */ @ResourceDef(name="DiagnosticReport", profile="http://hl7.org/fhir/profiles/DiagnosticReport", id="diagnosticreport") public class DiagnosticReport extends ca.uhn.fhir.model.dstu2.resource.BaseResource implements IResource { /** * Search parameter constant for status *

* Description: The status of the report
* Type: token
* Path: DiagnosticReport.status
*

*/ @SearchParamDefinition(name="status", path="DiagnosticReport.status", description="The status of the report", type="token" ) public static final String SP_STATUS = "status"; /** * Fluent Client search parameter constant for status *

* Description: The status of the report
* Type: token
* Path: DiagnosticReport.status
*

*/ public static final TokenClientParam STATUS = new TokenClientParam(SP_STATUS); /** * Search parameter constant for issued *

* Description: When the report was issued
* Type: date
* Path: DiagnosticReport.issued
*

*/ @SearchParamDefinition(name="issued", path="DiagnosticReport.issued", description="When the report was issued", type="date" ) public static final String SP_ISSUED = "issued"; /** * Fluent Client search parameter constant for issued *

* Description: When the report was issued
* Type: date
* Path: DiagnosticReport.issued
*

*/ public static final DateClientParam ISSUED = new DateClientParam(SP_ISSUED); /** * Search parameter constant for subject *

* Description: The subject of the report
* Type: reference
* Path: DiagnosticReport.subject
*

*/ @SearchParamDefinition(name="subject", path="DiagnosticReport.subject", description="The subject of the report", type="reference" , providesMembershipIn={ @Compartment(name="Patient") , @Compartment(name="Practitioner") } ) public static final String SP_SUBJECT = "subject"; /** * Fluent Client search parameter constant for subject *

* Description: The subject of the report
* Type: reference
* Path: DiagnosticReport.subject
*

*/ public static final ReferenceClientParam SUBJECT = new ReferenceClientParam(SP_SUBJECT); /** * Search parameter constant for performer *

* Description: Who was the source of the report (organization)
* Type: reference
* Path: DiagnosticReport.performer
*

*/ @SearchParamDefinition(name="performer", path="DiagnosticReport.performer", description="Who was the source of the report (organization)", type="reference" , providesMembershipIn={ @Compartment(name="RelatedPerson") } ) public static final String SP_PERFORMER = "performer"; /** * Fluent Client search parameter constant for performer *

* Description: Who was the source of the report (organization)
* Type: reference
* Path: DiagnosticReport.performer
*

*/ public static final ReferenceClientParam PERFORMER = new ReferenceClientParam(SP_PERFORMER); /** * Search parameter constant for identifier *

* Description: An identifier for the report
* Type: token
* Path: DiagnosticReport.identifier
*

*/ @SearchParamDefinition(name="identifier", path="DiagnosticReport.identifier", description="An identifier for the report", type="token" ) public static final String SP_IDENTIFIER = "identifier"; /** * Fluent Client search parameter constant for identifier *

* Description: An identifier for the report
* Type: token
* Path: DiagnosticReport.identifier
*

*/ public static final TokenClientParam IDENTIFIER = new TokenClientParam(SP_IDENTIFIER); /** * Search parameter constant for category *

* Description: Which diagnostic discipline/department created the report
* Type: token
* Path: DiagnosticReport.category
*

*/ @SearchParamDefinition(name="category", path="DiagnosticReport.category", description="Which diagnostic discipline/department created the report", type="token" ) public static final String SP_CATEGORY = "category"; /** * Fluent Client search parameter constant for category *

* Description: Which diagnostic discipline/department created the report
* Type: token
* Path: DiagnosticReport.category
*

*/ public static final TokenClientParam CATEGORY = new TokenClientParam(SP_CATEGORY); /** * Search parameter constant for date *

* Description: The clinically relevant time of the report
* Type: date
* Path: DiagnosticReport.effective[x]
*

*/ @SearchParamDefinition(name="date", path="DiagnosticReport.effective[x]", description="The clinically relevant time of the report", type="date" ) public static final String SP_DATE = "date"; /** * Fluent Client search parameter constant for date *

* Description: The clinically relevant time of the report
* Type: date
* Path: DiagnosticReport.effective[x]
*

*/ public static final DateClientParam DATE = new DateClientParam(SP_DATE); /** * Search parameter constant for specimen *

* Description: The specimen details
* Type: reference
* Path: DiagnosticReport.specimen
*

*/ @SearchParamDefinition(name="specimen", path="DiagnosticReport.specimen", description="The specimen details", type="reference" ) public static final String SP_SPECIMEN = "specimen"; /** * Fluent Client search parameter constant for specimen *

* Description: The specimen details
* Type: reference
* Path: DiagnosticReport.specimen
*

*/ public static final ReferenceClientParam SPECIMEN = new ReferenceClientParam(SP_SPECIMEN); /** * Search parameter constant for code *

* Description: The code for the report as a whole, as opposed to codes for the atomic results, which are the names on the observation resource referred to from the result
* Type: token
* Path: DiagnosticReport.code
*

*/ @SearchParamDefinition(name="code", path="DiagnosticReport.code", description="The code for the report as a whole, as opposed to codes for the atomic results, which are the names on the observation resource referred to from the result", type="token" ) public static final String SP_CODE = "code"; /** * Fluent Client search parameter constant for code *

* Description: The code for the report as a whole, as opposed to codes for the atomic results, which are the names on the observation resource referred to from the result
* Type: token
* Path: DiagnosticReport.code
*

*/ public static final TokenClientParam CODE = new TokenClientParam(SP_CODE); /** * Search parameter constant for result *

* Description: Link to an atomic result (observation resource)
* Type: reference
* Path: DiagnosticReport.result
*

*/ @SearchParamDefinition(name="result", path="DiagnosticReport.result", description="Link to an atomic result (observation resource)", type="reference" ) public static final String SP_RESULT = "result"; /** * Fluent Client search parameter constant for result *

* Description: Link to an atomic result (observation resource)
* Type: reference
* Path: DiagnosticReport.result
*

*/ public static final ReferenceClientParam RESULT = new ReferenceClientParam(SP_RESULT); /** * Search parameter constant for diagnosis *

* Description: A coded diagnosis on the report
* Type: token
* Path: DiagnosticReport.codedDiagnosis
*

*/ @SearchParamDefinition(name="diagnosis", path="DiagnosticReport.codedDiagnosis", description="A coded diagnosis on the report", type="token" ) public static final String SP_DIAGNOSIS = "diagnosis"; /** * Fluent Client search parameter constant for diagnosis *

* Description: A coded diagnosis on the report
* Type: token
* Path: DiagnosticReport.codedDiagnosis
*

*/ public static final TokenClientParam DIAGNOSIS = new TokenClientParam(SP_DIAGNOSIS); /** * Search parameter constant for image *

* Description: A reference to the image source.
* Type: reference
* Path: DiagnosticReport.image.link
*

*/ @SearchParamDefinition(name="image", path="DiagnosticReport.image.link", description="A reference to the image source.", type="reference" ) public static final String SP_IMAGE = "image"; /** * Fluent Client search parameter constant for image *

* Description: A reference to the image source.
* Type: reference
* Path: DiagnosticReport.image.link
*

*/ public static final ReferenceClientParam IMAGE = new ReferenceClientParam(SP_IMAGE); /** * Search parameter constant for request *

* Description: Reference to the test or procedure request.
* Type: reference
* Path: DiagnosticReport.request
*

*/ @SearchParamDefinition(name="request", path="DiagnosticReport.request", description="Reference to the test or procedure request.", type="reference" ) public static final String SP_REQUEST = "request"; /** * Fluent Client search parameter constant for request *

* Description: Reference to the test or procedure request.
* Type: reference
* Path: DiagnosticReport.request
*

*/ public static final ReferenceClientParam REQUEST = new ReferenceClientParam(SP_REQUEST); /** * Search parameter constant for patient *

* Description: The subject of the report if a patient
* Type: reference
* Path: DiagnosticReport.subject
*

*/ @SearchParamDefinition(name="patient", path="DiagnosticReport.subject", description="The subject of the report if a patient", type="reference" , target={ ca.uhn.fhir.model.dstu2.resource.Patient.class } ) public static final String SP_PATIENT = "patient"; /** * Fluent Client search parameter constant for patient *

* Description: The subject of the report if a patient
* Type: reference
* Path: DiagnosticReport.subject
*

*/ public static final ReferenceClientParam PATIENT = new ReferenceClientParam(SP_PATIENT); /** * Search parameter constant for encounter *

* Description: The Encounter when the order was made
* Type: reference
* Path: DiagnosticReport.encounter
*

*/ @SearchParamDefinition(name="encounter", path="DiagnosticReport.encounter", description="The Encounter when the order was made", type="reference" , providesMembershipIn={ @Compartment(name="Encounter") } ) public static final String SP_ENCOUNTER = "encounter"; /** * Fluent Client search parameter constant for encounter *

* Description: The Encounter when the order was made
* Type: reference
* Path: DiagnosticReport.encounter
*

*/ public static final ReferenceClientParam ENCOUNTER = new ReferenceClientParam(SP_ENCOUNTER); /** * Constant for fluent queries to be used to add include statements. Specifies * the path value of "DiagnosticReport:encounter". */ public static final Include INCLUDE_ENCOUNTER = new Include("DiagnosticReport:encounter"); /** * Constant for fluent queries to be used to add include statements. Specifies * the path value of "DiagnosticReport:image". */ public static final Include INCLUDE_IMAGE = new Include("DiagnosticReport:image"); /** * Constant for fluent queries to be used to add include statements. Specifies * the path value of "DiagnosticReport:patient". */ public static final Include INCLUDE_PATIENT = new Include("DiagnosticReport:patient"); /** * Constant for fluent queries to be used to add include statements. Specifies * the path value of "DiagnosticReport:performer". */ public static final Include INCLUDE_PERFORMER = new Include("DiagnosticReport:performer"); /** * Constant for fluent queries to be used to add include statements. Specifies * the path value of "DiagnosticReport:request". */ public static final Include INCLUDE_REQUEST = new Include("DiagnosticReport:request"); /** * Constant for fluent queries to be used to add include statements. Specifies * the path value of "DiagnosticReport:result". */ public static final Include INCLUDE_RESULT = new Include("DiagnosticReport:result"); /** * Constant for fluent queries to be used to add include statements. Specifies * the path value of "DiagnosticReport:specimen". */ public static final Include INCLUDE_SPECIMEN = new Include("DiagnosticReport:specimen"); /** * Constant for fluent queries to be used to add include statements. Specifies * the path value of "DiagnosticReport:subject". */ public static final Include INCLUDE_SUBJECT = new Include("DiagnosticReport:subject"); @Child(name="identifier", type=IdentifierDt.class, order=0, min=0, max=Child.MAX_UNLIMITED, summary=true, modifier=false) @Description( shortDefinition="id", formalDefinition="The local ID assigned to the report by the order filler, usually by the Information System of the diagnostic service provider" ) private java.util.List myIdentifier; @Child(name="status", type=CodeDt.class, order=1, min=1, max=1, summary=true, modifier=true) @Description( shortDefinition="status", formalDefinition="The status of the diagnostic report as a whole" ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet = "http://hl7.org/fhir/ValueSet/diagnostic-report-status") private BoundCodeDt myStatus; @Child(name="category", type=CodeableConceptDt.class, order=2, min=0, max=1, summary=true, modifier=false) @Description( shortDefinition="class", formalDefinition="A code that classifies the clinical discipline, department or diagnostic service that created the report (e.g. cardiology, biochemistry, hematology, MRI). This is used for searching, sorting and display purposes." ) private CodeableConceptDt myCategory; @Child(name="code", type=CodeableConceptDt.class, order=3, min=1, max=1, summary=true, modifier=false) @Description( shortDefinition="what", formalDefinition="A code or name that describes this diagnostic report" ) @ca.uhn.fhir.model.api.annotation.Binding(valueSet = "http://hl7.org/fhir/ValueSet/valueset-report-codes") private CodeableConceptDt myCode; @Child(name="subject", order=4, min=1, max=1, summary=true, modifier=false, type={ ca.uhn.fhir.model.dstu2.resource.Patient.class, ca.uhn.fhir.model.dstu2.resource.Group.class, ca.uhn.fhir.model.dstu2.resource.Device.class, ca.uhn.fhir.model.dstu2.resource.Location.class }) @Description( shortDefinition="who.focus", formalDefinition="The subject of the report. Usually, but not always, this is a patient. However diagnostic services also perform analyses on specimens collected from a variety of other sources." ) private ResourceReferenceDt mySubject; @Child(name="encounter", order=5, min=0, max=1, summary=true, modifier=false, type={ ca.uhn.fhir.model.dstu2.resource.Encounter.class }) @Description( shortDefinition="context", formalDefinition="The link to the health care event (encounter) when the order was made." ) private ResourceReferenceDt myEncounter; @Child(name="effective", order=6, min=1, max=1, summary=true, modifier=false, type={ DateTimeDt.class, PeriodDt.class }) @Description( shortDefinition="when.done", formalDefinition="The time or time-period the observed values are related to. When the subject of the report is a patient, this is usually either the time of the procedure or of specimen collection(s), but very often the source of the date/time is not known, only the date/time itself." ) private IDatatype myEffective; @Child(name="issued", type=InstantDt.class, order=7, min=1, max=1, summary=true, modifier=false) @Description( shortDefinition="when.recorded", formalDefinition="The date and time that this version of the report was released from the source diagnostic service" ) private InstantDt myIssued; @Child(name="performer", order=8, min=1, max=1, summary=true, modifier=false, type={ ca.uhn.fhir.model.dstu2.resource.Practitioner.class, ca.uhn.fhir.model.dstu2.resource.Organization.class }) @Description( shortDefinition="who.witness", formalDefinition="The diagnostic service that is responsible for issuing the report" ) private ResourceReferenceDt myPerformer; @Child(name="request", order=9, min=0, max=Child.MAX_UNLIMITED, summary=false, modifier=false, type={ ca.uhn.fhir.model.dstu2.resource.DiagnosticOrder.class, ca.uhn.fhir.model.dstu2.resource.ProcedureRequest.class, ca.uhn.fhir.model.dstu2.resource.ReferralRequest.class }) @Description( shortDefinition="", formalDefinition="Details concerning a test or procedure requested." ) private java.util.List myRequest; @Child(name="specimen", order=10, min=0, max=Child.MAX_UNLIMITED, summary=false, modifier=false, type={ ca.uhn.fhir.model.dstu2.resource.Specimen.class }) @Description( shortDefinition="", formalDefinition="Details about the specimens on which this diagnostic report is based" ) private java.util.List mySpecimen; @Child(name="result", order=11, min=0, max=Child.MAX_UNLIMITED, summary=false, modifier=false, type={ ca.uhn.fhir.model.dstu2.resource.Observation.class }) @Description( shortDefinition="", formalDefinition="Observations that are part of this diagnostic report. Observations can be simple name/value pairs (e.g. \"atomic\" results), or they can be grouping observations that include references to other members of the group (e.g. \"panels\")." ) private java.util.List myResult; @Child(name="imagingStudy", order=12, min=0, max=Child.MAX_UNLIMITED, summary=false, modifier=false, type={ ca.uhn.fhir.model.dstu2.resource.ImagingStudy.class, ca.uhn.fhir.model.dstu2.resource.ImagingObjectSelection.class }) @Description( shortDefinition="", formalDefinition="One or more links to full details of any imaging performed during the diagnostic investigation. Typically, this is imaging performed by DICOM enabled modalities, but this is not required. A fully enabled PACS viewer can use this information to provide views of the source images." ) private java.util.List myImagingStudy; @Child(name="image", order=13, min=0, max=Child.MAX_UNLIMITED, summary=true, modifier=false) @Description( shortDefinition="", formalDefinition="A list of key images associated with this report. The images are generally created during the diagnostic process, and may be directly of the patient, or of treated specimens (i.e. slides of interest)." ) private java.util.List myImage; @Child(name="conclusion", type=StringDt.class, order=14, min=0, max=1, summary=false, modifier=false) @Description( shortDefinition="", formalDefinition="Concise and clinically contextualized narrative interpretation of the diagnostic report" ) private StringDt myConclusion; @Child(name="codedDiagnosis", type=CodeableConceptDt.class, order=15, min=0, max=Child.MAX_UNLIMITED, summary=false, modifier=false) @Description( shortDefinition="", formalDefinition="" ) private java.util.List myCodedDiagnosis; @Child(name="presentedForm", type=AttachmentDt.class, order=16, min=0, max=Child.MAX_UNLIMITED, summary=false, modifier=false) @Description( shortDefinition="", formalDefinition="Rich text representation of the entire result as issued by the diagnostic service. Multiple formats are allowed but they SHALL be semantically equivalent." ) private java.util.List myPresentedForm; @Override public boolean isEmpty() { return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myIdentifier, myStatus, myCategory, myCode, mySubject, myEncounter, myEffective, myIssued, myPerformer, myRequest, mySpecimen, myResult, myImagingStudy, myImage, myConclusion, myCodedDiagnosis, myPresentedForm); } @Override public List getAllPopulatedChildElementsOfType(Class theType) { return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myIdentifier, myStatus, myCategory, myCode, mySubject, myEncounter, myEffective, myIssued, myPerformer, myRequest, mySpecimen, myResult, myImagingStudy, myImage, myConclusion, myCodedDiagnosis, myPresentedForm); } /** * Gets the value(s) for identifier (id). * creating it if it does * not exist. Will not return null. * *

* Definition: * The local ID assigned to the report by the order filler, usually by the Information System of the diagnostic service provider *

*/ public java.util.List getIdentifier() { if (myIdentifier == null) { myIdentifier = new java.util.ArrayList(); } return myIdentifier; } /** * Sets the value(s) for identifier (id) * *

* Definition: * The local ID assigned to the report by the order filler, usually by the Information System of the diagnostic service provider *

*/ public DiagnosticReport setIdentifier(java.util.List theValue) { myIdentifier = theValue; return this; } /** * Adds and returns a new value for identifier (id) * *

* Definition: * The local ID assigned to the report by the order filler, usually by the Information System of the diagnostic service provider *

*/ public IdentifierDt addIdentifier() { IdentifierDt newType = new IdentifierDt(); getIdentifier().add(newType); return newType; } /** * Adds a given new value for identifier (id) * *

* Definition: * The local ID assigned to the report by the order filler, usually by the Information System of the diagnostic service provider *

* @param theValue The identifier to add (must not be null) */ public DiagnosticReport addIdentifier(IdentifierDt theValue) { if (theValue == null) { throw new NullPointerException("theValue must not be null"); } getIdentifier().add(theValue); return this; } /** * Gets the first repetition for identifier (id), * creating it if it does not already exist. * *

* Definition: * The local ID assigned to the report by the order filler, usually by the Information System of the diagnostic service provider *

*/ public IdentifierDt getIdentifierFirstRep() { if (getIdentifier().isEmpty()) { return addIdentifier(); } return getIdentifier().get(0); } /** * Gets the value(s) for status (status). * creating it if it does * not exist. Will not return null. * *

* Definition: * The status of the diagnostic report as a whole *

*/ public BoundCodeDt getStatusElement() { if (myStatus == null) { myStatus = new BoundCodeDt(DiagnosticReportStatusEnum.VALUESET_BINDER); } return myStatus; } /** * Gets the value(s) for status (status). * creating it if it does * not exist. This method may return null. * *

* Definition: * The status of the diagnostic report as a whole *

*/ public String getStatus() { return getStatusElement().getValue(); } /** * Sets the value(s) for status (status) * *

* Definition: * The status of the diagnostic report as a whole *

*/ public DiagnosticReport setStatus(BoundCodeDt theValue) { myStatus = theValue; return this; } /** * Sets the value(s) for status (status) * *

* Definition: * The status of the diagnostic report as a whole *

*/ public DiagnosticReport setStatus(DiagnosticReportStatusEnum theValue) { setStatus(new BoundCodeDt(DiagnosticReportStatusEnum.VALUESET_BINDER, theValue)); /* getStatusElement().setValueAsEnum(theValue); */ return this; } /** * Gets the value(s) for category (class). * creating it if it does * not exist. Will not return null. * *

* Definition: * A code that classifies the clinical discipline, department or diagnostic service that created the report (e.g. cardiology, biochemistry, hematology, MRI). This is used for searching, sorting and display purposes. *

*/ public CodeableConceptDt getCategory() { if (myCategory == null) { myCategory = new CodeableConceptDt(); } return myCategory; } /** * Sets the value(s) for category (class) * *

* Definition: * A code that classifies the clinical discipline, department or diagnostic service that created the report (e.g. cardiology, biochemistry, hematology, MRI). This is used for searching, sorting and display purposes. *

*/ public DiagnosticReport setCategory(CodeableConceptDt theValue) { myCategory = theValue; return this; } /** * Gets the value(s) for code (what). * creating it if it does * not exist. Will not return null. * *

* Definition: * A code or name that describes this diagnostic report *

*/ public CodeableConceptDt getCode() { if (myCode == null) { myCode = new CodeableConceptDt(); } return myCode; } /** * Sets the value(s) for code (what) * *

* Definition: * A code or name that describes this diagnostic report *

*/ public DiagnosticReport setCode(CodeableConceptDt theValue) { myCode = theValue; return this; } /** * Gets the value(s) for subject (who.focus). * creating it if it does * not exist. Will not return null. * *

* Definition: * The subject of the report. Usually, but not always, this is a patient. However diagnostic services also perform analyses on specimens collected from a variety of other sources. *

*/ public ResourceReferenceDt getSubject() { if (mySubject == null) { mySubject = new ResourceReferenceDt(); } return mySubject; } /** * Sets the value(s) for subject (who.focus) * *

* Definition: * The subject of the report. Usually, but not always, this is a patient. However diagnostic services also perform analyses on specimens collected from a variety of other sources. *

*/ public DiagnosticReport setSubject(ResourceReferenceDt theValue) { mySubject = theValue; return this; } /** * Gets the value(s) for encounter (context). * creating it if it does * not exist. Will not return null. * *

* Definition: * The link to the health care event (encounter) when the order was made. *

*/ public ResourceReferenceDt getEncounter() { if (myEncounter == null) { myEncounter = new ResourceReferenceDt(); } return myEncounter; } /** * Sets the value(s) for encounter (context) * *

* Definition: * The link to the health care event (encounter) when the order was made. *

*/ public DiagnosticReport setEncounter(ResourceReferenceDt theValue) { myEncounter = theValue; return this; } /** * Gets the value(s) for effective[x] (when.done). * creating it if it does * not exist. Will not return null. * *

* Definition: * The time or time-period the observed values are related to. When the subject of the report is a patient, this is usually either the time of the procedure or of specimen collection(s), but very often the source of the date/time is not known, only the date/time itself. *

*/ public IDatatype getEffective() { return myEffective; } /** * Sets the value(s) for effective[x] (when.done) * *

* Definition: * The time or time-period the observed values are related to. When the subject of the report is a patient, this is usually either the time of the procedure or of specimen collection(s), but very often the source of the date/time is not known, only the date/time itself. *

*/ public DiagnosticReport setEffective(IDatatype theValue) { myEffective = theValue; return this; } /** * Gets the value(s) for issued (when.recorded). * creating it if it does * not exist. Will not return null. * *

* Definition: * The date and time that this version of the report was released from the source diagnostic service *

*/ public InstantDt getIssuedElement() { if (myIssued == null) { myIssued = new InstantDt(); } return myIssued; } /** * Gets the value(s) for issued (when.recorded). * creating it if it does * not exist. This method may return null. * *

* Definition: * The date and time that this version of the report was released from the source diagnostic service *

*/ public Date getIssued() { return getIssuedElement().getValue(); } /** * Sets the value(s) for issued (when.recorded) * *

* Definition: * The date and time that this version of the report was released from the source diagnostic service *

*/ public DiagnosticReport setIssued(InstantDt theValue) { myIssued = theValue; return this; } /** * Sets the value for issued (when.recorded) * *

* Definition: * The date and time that this version of the report was released from the source diagnostic service *

*/ public DiagnosticReport setIssuedWithMillisPrecision( Date theDate) { myIssued = new InstantDt(theDate); return this; } /** * Sets the value for issued (when.recorded) * *

* Definition: * The date and time that this version of the report was released from the source diagnostic service *

*/ public DiagnosticReport setIssued( Date theDate, TemporalPrecisionEnum thePrecision) { myIssued = new InstantDt(theDate, thePrecision); return this; } /** * Gets the value(s) for performer (who.witness). * creating it if it does * not exist. Will not return null. * *

* Definition: * The diagnostic service that is responsible for issuing the report *

*/ public ResourceReferenceDt getPerformer() { if (myPerformer == null) { myPerformer = new ResourceReferenceDt(); } return myPerformer; } /** * Sets the value(s) for performer (who.witness) * *

* Definition: * The diagnostic service that is responsible for issuing the report *

*/ public DiagnosticReport setPerformer(ResourceReferenceDt theValue) { myPerformer = theValue; return this; } /** * Gets the value(s) for request (). * creating it if it does * not exist. Will not return null. * *

* Definition: * Details concerning a test or procedure requested. *

*/ public java.util.List getRequest() { if (myRequest == null) { myRequest = new java.util.ArrayList(); } return myRequest; } /** * Sets the value(s) for request () * *

* Definition: * Details concerning a test or procedure requested. *

*/ public DiagnosticReport setRequest(java.util.List theValue) { myRequest = theValue; return this; } /** * Adds and returns a new value for request () * *

* Definition: * Details concerning a test or procedure requested. *

*/ public ResourceReferenceDt addRequest() { ResourceReferenceDt newType = new ResourceReferenceDt(); getRequest().add(newType); return newType; } /** * Gets the value(s) for specimen (). * creating it if it does * not exist. Will not return null. * *

* Definition: * Details about the specimens on which this diagnostic report is based *

*/ public java.util.List getSpecimen() { if (mySpecimen == null) { mySpecimen = new java.util.ArrayList(); } return mySpecimen; } /** * Sets the value(s) for specimen () * *

* Definition: * Details about the specimens on which this diagnostic report is based *

*/ public DiagnosticReport setSpecimen(java.util.List theValue) { mySpecimen = theValue; return this; } /** * Adds and returns a new value for specimen () * *

* Definition: * Details about the specimens on which this diagnostic report is based *

*/ public ResourceReferenceDt addSpecimen() { ResourceReferenceDt newType = new ResourceReferenceDt(); getSpecimen().add(newType); return newType; } /** * Gets the value(s) for result (). * creating it if it does * not exist. Will not return null. * *

* Definition: * Observations that are part of this diagnostic report. Observations can be simple name/value pairs (e.g. \"atomic\" results), or they can be grouping observations that include references to other members of the group (e.g. \"panels\"). *

*/ public java.util.List getResult() { if (myResult == null) { myResult = new java.util.ArrayList(); } return myResult; } /** * Sets the value(s) for result () * *

* Definition: * Observations that are part of this diagnostic report. Observations can be simple name/value pairs (e.g. \"atomic\" results), or they can be grouping observations that include references to other members of the group (e.g. \"panels\"). *

*/ public DiagnosticReport setResult(java.util.List theValue) { myResult = theValue; return this; } /** * Adds and returns a new value for result () * *

* Definition: * Observations that are part of this diagnostic report. Observations can be simple name/value pairs (e.g. \"atomic\" results), or they can be grouping observations that include references to other members of the group (e.g. \"panels\"). *

*/ public ResourceReferenceDt addResult() { ResourceReferenceDt newType = new ResourceReferenceDt(); getResult().add(newType); return newType; } /** * Gets the value(s) for imagingStudy (). * creating it if it does * not exist. Will not return null. * *

* Definition: * One or more links to full details of any imaging performed during the diagnostic investigation. Typically, this is imaging performed by DICOM enabled modalities, but this is not required. A fully enabled PACS viewer can use this information to provide views of the source images. *

*/ public java.util.List getImagingStudy() { if (myImagingStudy == null) { myImagingStudy = new java.util.ArrayList(); } return myImagingStudy; } /** * Sets the value(s) for imagingStudy () * *

* Definition: * One or more links to full details of any imaging performed during the diagnostic investigation. Typically, this is imaging performed by DICOM enabled modalities, but this is not required. A fully enabled PACS viewer can use this information to provide views of the source images. *

*/ public DiagnosticReport setImagingStudy(java.util.List theValue) { myImagingStudy = theValue; return this; } /** * Adds and returns a new value for imagingStudy () * *

* Definition: * One or more links to full details of any imaging performed during the diagnostic investigation. Typically, this is imaging performed by DICOM enabled modalities, but this is not required. A fully enabled PACS viewer can use this information to provide views of the source images. *

*/ public ResourceReferenceDt addImagingStudy() { ResourceReferenceDt newType = new ResourceReferenceDt(); getImagingStudy().add(newType); return newType; } /** * Gets the value(s) for image (). * creating it if it does * not exist. Will not return null. * *

* Definition: * A list of key images associated with this report. The images are generally created during the diagnostic process, and may be directly of the patient, or of treated specimens (i.e. slides of interest). *

*/ public java.util.List getImage() { if (myImage == null) { myImage = new java.util.ArrayList(); } return myImage; } /** * Sets the value(s) for image () * *

* Definition: * A list of key images associated with this report. The images are generally created during the diagnostic process, and may be directly of the patient, or of treated specimens (i.e. slides of interest). *

*/ public DiagnosticReport setImage(java.util.List theValue) { myImage = theValue; return this; } /** * Adds and returns a new value for image () * *

* Definition: * A list of key images associated with this report. The images are generally created during the diagnostic process, and may be directly of the patient, or of treated specimens (i.e. slides of interest). *

*/ public Image addImage() { Image newType = new Image(); getImage().add(newType); return newType; } /** * Adds a given new value for image () * *

* Definition: * A list of key images associated with this report. The images are generally created during the diagnostic process, and may be directly of the patient, or of treated specimens (i.e. slides of interest). *

* @param theValue The image to add (must not be null) */ public DiagnosticReport addImage(Image theValue) { if (theValue == null) { throw new NullPointerException("theValue must not be null"); } getImage().add(theValue); return this; } /** * Gets the first repetition for image (), * creating it if it does not already exist. * *

* Definition: * A list of key images associated with this report. The images are generally created during the diagnostic process, and may be directly of the patient, or of treated specimens (i.e. slides of interest). *

*/ public Image getImageFirstRep() { if (getImage().isEmpty()) { return addImage(); } return getImage().get(0); } /** * Gets the value(s) for conclusion (). * creating it if it does * not exist. Will not return null. * *

* Definition: * Concise and clinically contextualized narrative interpretation of the diagnostic report *

*/ public StringDt getConclusionElement() { if (myConclusion == null) { myConclusion = new StringDt(); } return myConclusion; } /** * Gets the value(s) for conclusion (). * creating it if it does * not exist. This method may return null. * *

* Definition: * Concise and clinically contextualized narrative interpretation of the diagnostic report *

*/ public String getConclusion() { return getConclusionElement().getValue(); } /** * Sets the value(s) for conclusion () * *

* Definition: * Concise and clinically contextualized narrative interpretation of the diagnostic report *

*/ public DiagnosticReport setConclusion(StringDt theValue) { myConclusion = theValue; return this; } /** * Sets the value for conclusion () * *

* Definition: * Concise and clinically contextualized narrative interpretation of the diagnostic report *

*/ public DiagnosticReport setConclusion( String theString) { myConclusion = new StringDt(theString); return this; } /** * Gets the value(s) for codedDiagnosis (). * creating it if it does * not exist. Will not return null. * *

* Definition: * *

*/ public java.util.List getCodedDiagnosis() { if (myCodedDiagnosis == null) { myCodedDiagnosis = new java.util.ArrayList(); } return myCodedDiagnosis; } /** * Sets the value(s) for codedDiagnosis () * *

* Definition: * *

*/ public DiagnosticReport setCodedDiagnosis(java.util.List theValue) { myCodedDiagnosis = theValue; return this; } /** * Adds and returns a new value for codedDiagnosis () * *

* Definition: * *

*/ public CodeableConceptDt addCodedDiagnosis() { CodeableConceptDt newType = new CodeableConceptDt(); getCodedDiagnosis().add(newType); return newType; } /** * Adds a given new value for codedDiagnosis () * *

* Definition: * *

* @param theValue The codedDiagnosis to add (must not be null) */ public DiagnosticReport addCodedDiagnosis(CodeableConceptDt theValue) { if (theValue == null) { throw new NullPointerException("theValue must not be null"); } getCodedDiagnosis().add(theValue); return this; } /** * Gets the first repetition for codedDiagnosis (), * creating it if it does not already exist. * *

* Definition: * *

*/ public CodeableConceptDt getCodedDiagnosisFirstRep() { if (getCodedDiagnosis().isEmpty()) { return addCodedDiagnosis(); } return getCodedDiagnosis().get(0); } /** * Gets the value(s) for presentedForm (). * creating it if it does * not exist. Will not return null. * *

* Definition: * Rich text representation of the entire result as issued by the diagnostic service. Multiple formats are allowed but they SHALL be semantically equivalent. *

*/ public java.util.List getPresentedForm() { if (myPresentedForm == null) { myPresentedForm = new java.util.ArrayList(); } return myPresentedForm; } /** * Sets the value(s) for presentedForm () * *

* Definition: * Rich text representation of the entire result as issued by the diagnostic service. Multiple formats are allowed but they SHALL be semantically equivalent. *

*/ public DiagnosticReport setPresentedForm(java.util.List theValue) { myPresentedForm = theValue; return this; } /** * Adds and returns a new value for presentedForm () * *

* Definition: * Rich text representation of the entire result as issued by the diagnostic service. Multiple formats are allowed but they SHALL be semantically equivalent. *

*/ public AttachmentDt addPresentedForm() { AttachmentDt newType = new AttachmentDt(); getPresentedForm().add(newType); return newType; } /** * Adds a given new value for presentedForm () * *

* Definition: * Rich text representation of the entire result as issued by the diagnostic service. Multiple formats are allowed but they SHALL be semantically equivalent. *

* @param theValue The presentedForm to add (must not be null) */ public DiagnosticReport addPresentedForm(AttachmentDt theValue) { if (theValue == null) { throw new NullPointerException("theValue must not be null"); } getPresentedForm().add(theValue); return this; } /** * Gets the first repetition for presentedForm (), * creating it if it does not already exist. * *

* Definition: * Rich text representation of the entire result as issued by the diagnostic service. Multiple formats are allowed but they SHALL be semantically equivalent. *

*/ public AttachmentDt getPresentedFormFirstRep() { if (getPresentedForm().isEmpty()) { return addPresentedForm(); } return getPresentedForm().get(0); } /** * Block class for child element: DiagnosticReport.image () * *

* Definition: * A list of key images associated with this report. The images are generally created during the diagnostic process, and may be directly of the patient, or of treated specimens (i.e. slides of interest). *

*/ @Block() public static class Image extends BaseIdentifiableElement implements IResourceBlock { @Child(name="comment", type=StringDt.class, order=0, min=0, max=1, summary=false, modifier=false) @Description( shortDefinition="", formalDefinition="A comment about the image. Typically, this is used to provide an explanation for why the image is included, or to draw the viewer's attention to important features." ) private StringDt myComment; @Child(name="link", order=1, min=1, max=1, summary=true, modifier=false, type={ ca.uhn.fhir.model.dstu2.resource.Media.class }) @Description( shortDefinition="", formalDefinition="" ) private ResourceReferenceDt myLink; @Override public boolean isEmpty() { return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myComment, myLink); } @Override public List getAllPopulatedChildElementsOfType(Class theType) { return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myComment, myLink); } /** * Gets the value(s) for comment (). * creating it if it does * not exist. Will not return null. * *

* Definition: * A comment about the image. Typically, this is used to provide an explanation for why the image is included, or to draw the viewer's attention to important features. *

*/ public StringDt getCommentElement() { if (myComment == null) { myComment = new StringDt(); } return myComment; } /** * Gets the value(s) for comment (). * creating it if it does * not exist. This method may return null. * *

* Definition: * A comment about the image. Typically, this is used to provide an explanation for why the image is included, or to draw the viewer's attention to important features. *

*/ public String getComment() { return getCommentElement().getValue(); } /** * Sets the value(s) for comment () * *

* Definition: * A comment about the image. Typically, this is used to provide an explanation for why the image is included, or to draw the viewer's attention to important features. *

*/ public Image setComment(StringDt theValue) { myComment = theValue; return this; } /** * Sets the value for comment () * *

* Definition: * A comment about the image. Typically, this is used to provide an explanation for why the image is included, or to draw the viewer's attention to important features. *

*/ public Image setComment( String theString) { myComment = new StringDt(theString); return this; } /** * Gets the value(s) for link (). * creating it if it does * not exist. Will not return null. * *

* Definition: * *

*/ public ResourceReferenceDt getLink() { if (myLink == null) { myLink = new ResourceReferenceDt(); } return myLink; } /** * Sets the value(s) for link () * *

* Definition: * *

*/ public Image setLink(ResourceReferenceDt theValue) { myLink = theValue; return this; } } @Override public String getResourceName() { return "DiagnosticReport"; } public ca.uhn.fhir.context.FhirVersionEnum getStructureFhirVersionEnum() { return ca.uhn.fhir.context.FhirVersionEnum.DSTU2; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy