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

ca.uhn.fhir.model.dstu.resource.ConceptMap Maven / Gradle / Ivy

There is a newer version: 7.6.1
Show newest version
















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


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.dstu.composite.AddressDt;
import ca.uhn.fhir.model.dstu.valueset.AdministrativeGenderCodesEnum;
import ca.uhn.fhir.model.dstu.valueset.AdmitSourceEnum;
import ca.uhn.fhir.model.dstu.resource.AdverseReaction;
import ca.uhn.fhir.model.dstu.valueset.AggregationModeEnum;
import ca.uhn.fhir.model.dstu.valueset.AlertStatusEnum;
import ca.uhn.fhir.model.dstu.resource.AllergyIntolerance;
import ca.uhn.fhir.model.dstu.valueset.AnimalSpeciesEnum;
import ca.uhn.fhir.model.dstu.resource.Appointment;
import ca.uhn.fhir.model.dstu.composite.AttachmentDt;
import ca.uhn.fhir.model.dstu.resource.Availability;
import ca.uhn.fhir.model.dstu.valueset.BindingConformanceEnum;
import ca.uhn.fhir.model.dstu.resource.CarePlan;
import ca.uhn.fhir.model.dstu.valueset.CarePlanActivityCategoryEnum;
import ca.uhn.fhir.model.dstu.valueset.CarePlanActivityStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.CarePlanGoalStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.CarePlanStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.CausalityExpectationEnum;
import ca.uhn.fhir.model.dstu.composite.CodeableConceptDt;
import ca.uhn.fhir.model.dstu.composite.CodingDt;
import ca.uhn.fhir.model.dstu.valueset.CompositionAttestationModeEnum;
import ca.uhn.fhir.model.dstu.valueset.CompositionStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.ConceptMapEquivalenceEnum;
import ca.uhn.fhir.model.dstu.resource.Condition;
import ca.uhn.fhir.model.dstu.valueset.ConditionRelationshipTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.ConditionStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.ConformanceEventModeEnum;
import ca.uhn.fhir.model.dstu.valueset.ConformanceStatementStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.ConstraintSeverityEnum;
import ca.uhn.fhir.model.dstu.composite.ContactDt;
import ca.uhn.fhir.model.dstu.valueset.ContactUseEnum;
import ca.uhn.fhir.model.dstu.valueset.CriticalityEnum;
import ca.uhn.fhir.model.dstu.valueset.DataTypeEnum;
import ca.uhn.fhir.model.dstu.resource.Device;
import ca.uhn.fhir.model.dstu.resource.DeviceObservationReport;
import ca.uhn.fhir.model.dstu.resource.DiagnosticOrder;
import ca.uhn.fhir.model.dstu.valueset.DiagnosticOrderPriorityEnum;
import ca.uhn.fhir.model.dstu.valueset.DiagnosticOrderStatusEnum;
import ca.uhn.fhir.model.dstu.resource.DiagnosticReport;
import ca.uhn.fhir.model.dstu.valueset.DiagnosticReportStatusEnum;
import ca.uhn.fhir.model.dstu.resource.DocumentManifest;
import ca.uhn.fhir.model.dstu.valueset.DocumentModeEnum;
import ca.uhn.fhir.model.dstu.resource.DocumentReference;
import ca.uhn.fhir.model.dstu.valueset.DocumentReferenceStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.DocumentRelationshipTypeEnum;
import ca.uhn.fhir.model.dstu.resource.Encounter;
import ca.uhn.fhir.model.dstu.valueset.EncounterClassEnum;
import ca.uhn.fhir.model.dstu.valueset.EncounterStateEnum;
import ca.uhn.fhir.model.dstu.valueset.EncounterTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.ExposureTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.ExtensionContextEnum;
import ca.uhn.fhir.model.dstu.valueset.FHIRDefinedTypeEnum;
import ca.uhn.fhir.model.dstu.resource.FamilyHistory;
import ca.uhn.fhir.model.dstu.valueset.FilterOperatorEnum;
import ca.uhn.fhir.model.dstu.resource.GVFMeta;
import ca.uhn.fhir.model.dstu.resource.Group;
import ca.uhn.fhir.model.dstu.valueset.GroupTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.HierarchicalRelationshipTypeEnum;
import ca.uhn.fhir.model.dstu.composite.HumanNameDt;
import ca.uhn.fhir.model.dstu.composite.IdentifierDt;
import ca.uhn.fhir.model.dstu.valueset.IdentifierUseEnum;
import ca.uhn.fhir.model.dstu.valueset.ImagingModalityEnum;
import ca.uhn.fhir.model.dstu.resource.ImagingStudy;
import ca.uhn.fhir.model.dstu.resource.Immunization;
import ca.uhn.fhir.model.dstu.valueset.ImmunizationReasonCodesEnum;
import ca.uhn.fhir.model.dstu.resource.ImmunizationRecommendation;
import ca.uhn.fhir.model.dstu.valueset.ImmunizationRecommendationDateCriterionCodesEnum;
import ca.uhn.fhir.model.dstu.valueset.ImmunizationRecommendationStatusCodesEnum;
import ca.uhn.fhir.model.dstu.valueset.ImmunizationRouteCodesEnum;
import ca.uhn.fhir.model.dstu.valueset.InstanceAvailabilityEnum;
import ca.uhn.fhir.model.dstu.valueset.IssueSeverityEnum;
import ca.uhn.fhir.model.dstu.valueset.IssueTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.LinkTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.ListModeEnum;
import ca.uhn.fhir.model.dstu.resource.Location;
import ca.uhn.fhir.model.dstu.valueset.LocationModeEnum;
import ca.uhn.fhir.model.dstu.valueset.LocationStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.LocationTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.MaritalStatusCodesEnum;
import ca.uhn.fhir.model.dstu.resource.Media;
import ca.uhn.fhir.model.dstu.valueset.MediaTypeEnum;
import ca.uhn.fhir.model.dstu.resource.Medication;
import ca.uhn.fhir.model.dstu.resource.MedicationAdministration;
import ca.uhn.fhir.model.dstu.valueset.MedicationAdministrationStatusEnum;
import ca.uhn.fhir.model.dstu.resource.MedicationDispense;
import ca.uhn.fhir.model.dstu.valueset.MedicationDispenseStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.MedicationKindEnum;
import ca.uhn.fhir.model.dstu.resource.MedicationPrescription;
import ca.uhn.fhir.model.dstu.valueset.MedicationPrescriptionStatusEnum;
import ca.uhn.fhir.model.dstu.resource.MedicationStatement;
import ca.uhn.fhir.model.dstu.valueset.MessageEventEnum;
import ca.uhn.fhir.model.dstu.valueset.MessageSignificanceCategoryEnum;
import ca.uhn.fhir.model.dstu.valueset.MessageTransportEnum;
import ca.uhn.fhir.model.dstu.resource.Microarray;
import ca.uhn.fhir.model.dstu.valueset.ModalityEnum;
import ca.uhn.fhir.model.dstu.resource.Observation;
import ca.uhn.fhir.model.dstu.valueset.ObservationRelationshipTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.ObservationReliabilityEnum;
import ca.uhn.fhir.model.dstu.valueset.ObservationStatusEnum;
import ca.uhn.fhir.model.dstu.resource.OperationOutcome;
import ca.uhn.fhir.model.dstu.resource.Order;
import ca.uhn.fhir.model.dstu.valueset.OrderOutcomeStatusEnum;
import ca.uhn.fhir.model.dstu.resource.Organization;
import ca.uhn.fhir.model.dstu.valueset.OrganizationTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.ParticipantTypeEnum;
import ca.uhn.fhir.model.dstu.resource.Patient;
import ca.uhn.fhir.model.dstu.composite.PeriodDt;
import ca.uhn.fhir.model.dstu.resource.Practitioner;
import ca.uhn.fhir.model.dstu.valueset.PractitionerRoleEnum;
import ca.uhn.fhir.model.dstu.valueset.PractitionerSpecialtyEnum;
import ca.uhn.fhir.model.dstu.resource.Procedure;
import ca.uhn.fhir.model.dstu.valueset.ProcedureRelationshipTypeEnum;
import ca.uhn.fhir.model.dstu.resource.Profile;
import ca.uhn.fhir.model.dstu.valueset.PropertyRepresentationEnum;
import ca.uhn.fhir.model.dstu.valueset.ProvenanceEntityRoleEnum;
import ca.uhn.fhir.model.dstu.valueset.QuantityCompararatorEnum;
import ca.uhn.fhir.model.dstu.composite.QuantityDt;
import ca.uhn.fhir.model.dstu.valueset.QueryOutcomeEnum;
import ca.uhn.fhir.model.dstu.valueset.QuestionnaireGroupNameEnum;
import ca.uhn.fhir.model.dstu.valueset.QuestionnaireNameEnum;
import ca.uhn.fhir.model.dstu.valueset.QuestionnaireStatusEnum;
import ca.uhn.fhir.model.dstu.composite.RangeDt;
import ca.uhn.fhir.model.dstu.composite.RatioDt;
import ca.uhn.fhir.model.dstu.valueset.ReactionSeverityEnum;
import ca.uhn.fhir.model.dstu.resource.RelatedPerson;
import ca.uhn.fhir.model.dstu.valueset.ResourceProfileStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.ResourceTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.ResponseTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.RestfulConformanceModeEnum;
import ca.uhn.fhir.model.dstu.valueset.RestfulOperationSystemEnum;
import ca.uhn.fhir.model.dstu.valueset.RestfulOperationTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.RestfulSecurityServiceEnum;
import ca.uhn.fhir.model.dstu.composite.SampledDataDt;
import ca.uhn.fhir.model.dstu.composite.ScheduleDt;
import ca.uhn.fhir.model.dstu.valueset.SearchParamTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.SecurityEventActionEnum;
import ca.uhn.fhir.model.dstu.valueset.SecurityEventObjectLifecycleEnum;
import ca.uhn.fhir.model.dstu.valueset.SecurityEventObjectRoleEnum;
import ca.uhn.fhir.model.dstu.valueset.SecurityEventObjectTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.SecurityEventOutcomeEnum;
import ca.uhn.fhir.model.dstu.valueset.SecurityEventParticipantNetworkTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.SecurityEventSourceTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.SensitivityStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.SensitivityTypeEnum;
import ca.uhn.fhir.model.dstu.resource.SequencingAnalysis;
import ca.uhn.fhir.model.dstu.resource.SequencingLab;
import ca.uhn.fhir.model.dstu.valueset.SlicingRulesEnum;
import ca.uhn.fhir.model.dstu.resource.Slot;
import ca.uhn.fhir.model.dstu.resource.Specimen;
import ca.uhn.fhir.model.dstu.valueset.SpecimenCollectionMethodEnum;
import ca.uhn.fhir.model.dstu.resource.Substance;
import ca.uhn.fhir.model.dstu.valueset.SupplyDispenseStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.SupplyItemTypeEnum;
import ca.uhn.fhir.model.dstu.valueset.SupplyStatusEnum;
import ca.uhn.fhir.model.dstu.valueset.SupplyTypeEnum;
import ca.uhn.fhir.model.api.TemporalPrecisionEnum;
import ca.uhn.fhir.model.dstu.resource.ValueSet;
import ca.uhn.fhir.model.dstu.valueset.ValueSetStatusEnum;
import ca.uhn.fhir.model.api.ExtensionDt;
import ca.uhn.fhir.model.api.IResource;
import ca.uhn.fhir.model.dstu.composite.AgeDt;
import ca.uhn.fhir.model.dstu.composite.DurationDt;
import ca.uhn.fhir.model.dstu.composite.ResourceReferenceDt;
import ca.uhn.fhir.model.dstu.resource.Binary;
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.BoundCodeableConceptDt;
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.IdrefDt;
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.StringDt;
import ca.uhn.fhir.model.primitive.UriDt;


/**
 * HAPI/FHIR ConceptMap Resource
 * (A statement of relationships from one set of concepts to one or more other concept systems)
 *
 * 

* Definition: * A statement of relationships from one set of concepts to one or more other concept systems *

* *

* Requirements: * *

* *

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

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

* Description: The identifier of the concept map
* Type: token
* Path: ConceptMap.identifier
*

*/ @SearchParamDefinition(name="identifier", path="ConceptMap.identifier", description="The identifier of the concept map", type="token" ) public static final String SP_IDENTIFIER = "identifier"; /** * Fluent Client search parameter constant for identifier *

* Description: The identifier of the concept map
* Type: token
* Path: ConceptMap.identifier
*

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

* Description: The version identifier of the concept map
* Type: token
* Path: ConceptMap.version
*

*/ @SearchParamDefinition(name="version", path="ConceptMap.version", description="The version identifier of the concept map", type="token" ) public static final String SP_VERSION = "version"; /** * Fluent Client search parameter constant for version *

* Description: The version identifier of the concept map
* Type: token
* Path: ConceptMap.version
*

*/ public static final TokenClientParam VERSION = new TokenClientParam(SP_VERSION); /** * Search parameter constant for name *

* Description: Name of the concept map
* Type: string
* Path: ConceptMap.name
*

*/ @SearchParamDefinition(name="name", path="ConceptMap.name", description="Name of the concept map", type="string" ) public static final String SP_NAME = "name"; /** * Fluent Client search parameter constant for name *

* Description: Name of the concept map
* Type: string
* Path: ConceptMap.name
*

*/ public static final StringClientParam NAME = new StringClientParam(SP_NAME); /** * Search parameter constant for publisher *

* Description: Name of the publisher of the concept map
* Type: string
* Path: ConceptMap.publisher
*

*/ @SearchParamDefinition(name="publisher", path="ConceptMap.publisher", description="Name of the publisher of the concept map", type="string" ) public static final String SP_PUBLISHER = "publisher"; /** * Fluent Client search parameter constant for publisher *

* Description: Name of the publisher of the concept map
* Type: string
* Path: ConceptMap.publisher
*

*/ public static final StringClientParam PUBLISHER = new StringClientParam(SP_PUBLISHER); /** * Search parameter constant for description *

* Description: Text search in the description of the concept map
* Type: string
* Path: ConceptMap.description
*

*/ @SearchParamDefinition(name="description", path="ConceptMap.description", description="Text search in the description of the concept map", type="string" ) public static final String SP_DESCRIPTION = "description"; /** * Fluent Client search parameter constant for description *

* Description: Text search in the description of the concept map
* Type: string
* Path: ConceptMap.description
*

*/ public static final StringClientParam DESCRIPTION = new StringClientParam(SP_DESCRIPTION); /** * Search parameter constant for status *

* Description: Status of the concept map
* Type: token
* Path: ConceptMap.status
*

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

* Description: Status of the concept map
* Type: token
* Path: ConceptMap.status
*

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

* Description: The concept map publication date
* Type: date
* Path: ConceptMap.date
*

*/ @SearchParamDefinition(name="date", path="ConceptMap.date", description="The concept map publication date", type="date" ) public static final String SP_DATE = "date"; /** * Fluent Client search parameter constant for date *

* Description: The concept map publication date
* Type: date
* Path: ConceptMap.date
*

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

* Description: The system for any concepts mapped by this concept map
* Type: reference
* Path: ConceptMap.source
*

*/ @SearchParamDefinition(name="source", path="ConceptMap.source", description="The system for any concepts mapped by this concept map", type="reference" ) public static final String SP_SOURCE = "source"; /** * Fluent Client search parameter constant for source *

* Description: The system for any concepts mapped by this concept map
* Type: reference
* Path: ConceptMap.source
*

*/ public static final ReferenceClientParam SOURCE = new ReferenceClientParam(SP_SOURCE); /** * Constant for fluent queries to be used to add include statements. Specifies * the path value of "ConceptMap.source". */ public static final Include INCLUDE_SOURCE = new Include("ConceptMap.source"); /** * Search parameter constant for target *

* Description:
* Type: reference
* Path: ConceptMap.target
*

*/ @SearchParamDefinition(name="target", path="ConceptMap.target", description="", type="reference" ) public static final String SP_TARGET = "target"; /** * Fluent Client search parameter constant for target *

* Description:
* Type: reference
* Path: ConceptMap.target
*

*/ public static final ReferenceClientParam TARGET = new ReferenceClientParam(SP_TARGET); /** * Constant for fluent queries to be used to add include statements. Specifies * the path value of "ConceptMap.target". */ public static final Include INCLUDE_TARGET = new Include("ConceptMap.target"); /** * Search parameter constant for system *

* Description: The system for any destination concepts mapped by this map
* Type: token
* Path: ConceptMap.concept.map.system
*

*/ @SearchParamDefinition(name="system", path="ConceptMap.concept.map.system", description="The system for any destination concepts mapped by this map", type="token" ) public static final String SP_SYSTEM = "system"; /** * Fluent Client search parameter constant for system *

* Description: The system for any destination concepts mapped by this map
* Type: token
* Path: ConceptMap.concept.map.system
*

*/ public static final TokenClientParam SYSTEM = new TokenClientParam(SP_SYSTEM); /** * Search parameter constant for dependson *

* Description:
* Type: token
* Path: ConceptMap.concept.dependsOn.concept
*

*/ @SearchParamDefinition(name="dependson", path="ConceptMap.concept.dependsOn.concept", description="", type="token" ) public static final String SP_DEPENDSON = "dependson"; /** * Fluent Client search parameter constant for dependson *

* Description:
* Type: token
* Path: ConceptMap.concept.dependsOn.concept
*

*/ public static final TokenClientParam DEPENDSON = new TokenClientParam(SP_DEPENDSON); /** * Search parameter constant for product *

* Description:
* Type: token
* Path: ConceptMap.concept.map.product.concept
*

*/ @SearchParamDefinition(name="product", path="ConceptMap.concept.map.product.concept", description="", type="token" ) public static final String SP_PRODUCT = "product"; /** * Fluent Client search parameter constant for product *

* Description:
* Type: token
* Path: ConceptMap.concept.map.product.concept
*

*/ public static final TokenClientParam PRODUCT = new TokenClientParam(SP_PRODUCT); @Child(name="identifier", type=StringDt.class, order=0, min=0, max=1, summary=true, modifier=false) @Description( shortDefinition="Logical id to reference this concept map", formalDefinition="The identifier that is used to identify this concept map when it is referenced in a specification, model, design or an instance (should be globally unique OID, UUID, or URI)" ) private StringDt myIdentifier; @Child(name="version", type=StringDt.class, order=1, min=0, max=1, summary=true, modifier=false) @Description( shortDefinition="Logical id for this version of the concept map", formalDefinition="The identifier that is used to identify this version of the concept map when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the profile author manually and the value should be a timestamp" ) private StringDt myVersion; @Child(name="name", type=StringDt.class, order=2, min=1, max=1, summary=true, modifier=false) @Description( shortDefinition="Informal name for this concept map", formalDefinition="A free text natural language name describing the concept map" ) private StringDt myName; @Child(name="publisher", type=StringDt.class, order=3, min=0, max=1, summary=true, modifier=false) @Description( shortDefinition="Name of the publisher (Organization or individual)", formalDefinition="The name of the individual or organization that published the concept map" ) private StringDt myPublisher; @Child(name="telecom", type=ContactDt.class, order=4, min=0, max=Child.MAX_UNLIMITED, summary=true, modifier=false) @Description( shortDefinition="Contact information of the publisher", formalDefinition="Contacts of the publisher to assist a user in finding and communicating with the publisher" ) private java.util.List myTelecom; @Child(name="description", type=StringDt.class, order=5, min=0, max=1, summary=true, modifier=false) @Description( shortDefinition="Human language description of the concept map", formalDefinition="A free text natural language description of the use of the concept map - reason for definition, conditions of use, etc." ) private StringDt myDescription; @Child(name="copyright", type=StringDt.class, order=6, min=0, max=1, summary=false, modifier=false) @Description( shortDefinition="About the concept map or its content", formalDefinition="A copyright statement relating to the concept map and/or its contents" ) private StringDt myCopyright; @Child(name="status", type=CodeDt.class, order=7, min=1, max=1, summary=true, modifier=false) @Description( shortDefinition="draft | active | retired", formalDefinition="The status of the concept map" ) private BoundCodeDt myStatus; @Child(name="experimental", type=BooleanDt.class, order=8, min=0, max=1, summary=true, modifier=false) @Description( shortDefinition="If for testing purposes, not real usage", formalDefinition="This ConceptMap was authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage" ) private BooleanDt myExperimental; @Child(name="date", type=DateTimeDt.class, order=9, min=0, max=1, summary=true, modifier=false) @Description( shortDefinition="Date for given status", formalDefinition="The date that the concept map status was last changed" ) private DateTimeDt myDate; @Child(name="source", order=10, min=1, max=1, summary=true, modifier=false, type={ ca.uhn.fhir.model.dstu.resource.ValueSet.class }) @Description( shortDefinition="Identifies the source value set which is being mapped", formalDefinition="The source value set that specifies the concepts that are being mapped" ) private ResourceReferenceDt mySource; @Child(name="target", order=11, min=1, max=1, summary=true, modifier=false, type={ ca.uhn.fhir.model.dstu.resource.ValueSet.class }) @Description( shortDefinition="Provides context to the mappings", formalDefinition="The target value set provides context to the mappings. Note that the mapping is made between concepts, not between value sets, but the value set provides important context about how the concept mapping choices are made" ) private ResourceReferenceDt myTarget; @Child(name="concept", order=12, min=0, max=Child.MAX_UNLIMITED, summary=false, modifier=false) @Description( shortDefinition="Mappings for a concept from the source valueset", formalDefinition="" ) private java.util.List myConcept; @Override public boolean isEmpty() { return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myIdentifier, myVersion, myName, myPublisher, myTelecom, myDescription, myCopyright, myStatus, myExperimental, myDate, mySource, myTarget, myConcept); } @Override public List getAllPopulatedChildElementsOfType(Class theType) { return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myIdentifier, myVersion, myName, myPublisher, myTelecom, myDescription, myCopyright, myStatus, myExperimental, myDate, mySource, myTarget, myConcept); } /** * Gets the value(s) for identifier (Logical id to reference this concept map). * creating it if it does * not exist. Will not return null. * *

* Definition: * The identifier that is used to identify this concept map when it is referenced in a specification, model, design or an instance (should be globally unique OID, UUID, or URI) *

*/ public StringDt getIdentifier() { if (myIdentifier == null) { myIdentifier = new StringDt(); } return myIdentifier; } /** * Gets the value(s) for identifier (Logical id to reference this concept map). * creating it if it does * not exist. Will not return null. * *

* Definition: * The identifier that is used to identify this concept map when it is referenced in a specification, model, design or an instance (should be globally unique OID, UUID, or URI) *

*/ public StringDt getIdentifierElement() { if (myIdentifier == null) { myIdentifier = new StringDt(); } return myIdentifier; } /** * Sets the value(s) for identifier (Logical id to reference this concept map) * *

* Definition: * The identifier that is used to identify this concept map when it is referenced in a specification, model, design or an instance (should be globally unique OID, UUID, or URI) *

*/ public ConceptMap setIdentifier(StringDt theValue) { myIdentifier = theValue; return this; } /** * Sets the value for identifier (Logical id to reference this concept map) * *

* Definition: * The identifier that is used to identify this concept map when it is referenced in a specification, model, design or an instance (should be globally unique OID, UUID, or URI) *

*/ public ConceptMap setIdentifier( String theString) { myIdentifier = new StringDt(theString); return this; } /** * Gets the value(s) for version (Logical id for this version of the concept map). * creating it if it does * not exist. Will not return null. * *

* Definition: * The identifier that is used to identify this version of the concept map when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the profile author manually and the value should be a timestamp *

*/ public StringDt getVersion() { if (myVersion == null) { myVersion = new StringDt(); } return myVersion; } /** * Gets the value(s) for version (Logical id for this version of the concept map). * creating it if it does * not exist. Will not return null. * *

* Definition: * The identifier that is used to identify this version of the concept map when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the profile author manually and the value should be a timestamp *

*/ public StringDt getVersionElement() { if (myVersion == null) { myVersion = new StringDt(); } return myVersion; } /** * Sets the value(s) for version (Logical id for this version of the concept map) * *

* Definition: * The identifier that is used to identify this version of the concept map when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the profile author manually and the value should be a timestamp *

*/ public ConceptMap setVersion(StringDt theValue) { myVersion = theValue; return this; } /** * Sets the value for version (Logical id for this version of the concept map) * *

* Definition: * The identifier that is used to identify this version of the concept map when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the profile author manually and the value should be a timestamp *

*/ public ConceptMap setVersion( String theString) { myVersion = new StringDt(theString); return this; } /** * Gets the value(s) for name (Informal name for this concept map). * creating it if it does * not exist. Will not return null. * *

* Definition: * A free text natural language name describing the concept map *

*/ public StringDt getName() { if (myName == null) { myName = new StringDt(); } return myName; } /** * Gets the value(s) for name (Informal name for this concept map). * creating it if it does * not exist. Will not return null. * *

* Definition: * A free text natural language name describing the concept map *

*/ public StringDt getNameElement() { if (myName == null) { myName = new StringDt(); } return myName; } /** * Sets the value(s) for name (Informal name for this concept map) * *

* Definition: * A free text natural language name describing the concept map *

*/ public ConceptMap setName(StringDt theValue) { myName = theValue; return this; } /** * Sets the value for name (Informal name for this concept map) * *

* Definition: * A free text natural language name describing the concept map *

*/ public ConceptMap setName( String theString) { myName = new StringDt(theString); return this; } /** * Gets the value(s) for publisher (Name of the publisher (Organization or individual)). * creating it if it does * not exist. Will not return null. * *

* Definition: * The name of the individual or organization that published the concept map *

*/ public StringDt getPublisher() { if (myPublisher == null) { myPublisher = new StringDt(); } return myPublisher; } /** * Gets the value(s) for publisher (Name of the publisher (Organization or individual)). * creating it if it does * not exist. Will not return null. * *

* Definition: * The name of the individual or organization that published the concept map *

*/ public StringDt getPublisherElement() { if (myPublisher == null) { myPublisher = new StringDt(); } return myPublisher; } /** * Sets the value(s) for publisher (Name of the publisher (Organization or individual)) * *

* Definition: * The name of the individual or organization that published the concept map *

*/ public ConceptMap setPublisher(StringDt theValue) { myPublisher = theValue; return this; } /** * Sets the value for publisher (Name of the publisher (Organization or individual)) * *

* Definition: * The name of the individual or organization that published the concept map *

*/ public ConceptMap setPublisher( String theString) { myPublisher = new StringDt(theString); return this; } /** * Gets the value(s) for telecom (Contact information of the publisher). * creating it if it does * not exist. Will not return null. * *

* Definition: * Contacts of the publisher to assist a user in finding and communicating with the publisher *

*/ public java.util.List getTelecom() { if (myTelecom == null) { myTelecom = new java.util.ArrayList(); } return myTelecom; } /** * Gets the value(s) for telecom (Contact information of the publisher). * creating it if it does * not exist. Will not return null. * *

* Definition: * Contacts of the publisher to assist a user in finding and communicating with the publisher *

*/ public java.util.List getTelecomElement() { if (myTelecom == null) { myTelecom = new java.util.ArrayList(); } return myTelecom; } /** * Sets the value(s) for telecom (Contact information of the publisher) * *

* Definition: * Contacts of the publisher to assist a user in finding and communicating with the publisher *

*/ public ConceptMap setTelecom(java.util.List theValue) { myTelecom = theValue; return this; } /** * Adds and returns a new value for telecom (Contact information of the publisher) * *

* Definition: * Contacts of the publisher to assist a user in finding and communicating with the publisher *

*/ public ContactDt addTelecom() { ContactDt newType = new ContactDt(); getTelecom().add(newType); return newType; } /** * Gets the first repetition for telecom (Contact information of the publisher), * creating it if it does not already exist. * *

* Definition: * Contacts of the publisher to assist a user in finding and communicating with the publisher *

*/ public ContactDt getTelecomFirstRep() { if (getTelecom().isEmpty()) { return addTelecom(); } return getTelecom().get(0); } /** * Adds a new value for telecom (Contact information of the publisher) * *

* Definition: * Contacts of the publisher to assist a user in finding and communicating with the publisher *

* * @return Returns a reference to this object, to allow for simple chaining. */ public ConceptMap addTelecom( ContactUseEnum theContactUse, String theValue) { if (myTelecom == null) { myTelecom = new java.util.ArrayList(); } myTelecom.add(new ContactDt(theContactUse, theValue)); return this; } /** * Adds a new value for telecom (Contact information of the publisher) * *

* Definition: * Contacts of the publisher to assist a user in finding and communicating with the publisher *

* * @return Returns a reference to this object, to allow for simple chaining. */ public ConceptMap addTelecom( String theValue) { if (myTelecom == null) { myTelecom = new java.util.ArrayList(); } myTelecom.add(new ContactDt(theValue)); return this; } /** * Gets the value(s) for description (Human language description of the concept map). * creating it if it does * not exist. Will not return null. * *

* Definition: * A free text natural language description of the use of the concept map - reason for definition, conditions of use, etc. *

*/ public StringDt getDescription() { if (myDescription == null) { myDescription = new StringDt(); } return myDescription; } /** * Gets the value(s) for description (Human language description of the concept map). * creating it if it does * not exist. Will not return null. * *

* Definition: * A free text natural language description of the use of the concept map - reason for definition, conditions of use, etc. *

*/ public StringDt getDescriptionElement() { if (myDescription == null) { myDescription = new StringDt(); } return myDescription; } /** * Sets the value(s) for description (Human language description of the concept map) * *

* Definition: * A free text natural language description of the use of the concept map - reason for definition, conditions of use, etc. *

*/ public ConceptMap setDescription(StringDt theValue) { myDescription = theValue; return this; } /** * Sets the value for description (Human language description of the concept map) * *

* Definition: * A free text natural language description of the use of the concept map - reason for definition, conditions of use, etc. *

*/ public ConceptMap setDescription( String theString) { myDescription = new StringDt(theString); return this; } /** * Gets the value(s) for copyright (About the concept map or its content). * creating it if it does * not exist. Will not return null. * *

* Definition: * A copyright statement relating to the concept map and/or its contents *

*/ public StringDt getCopyright() { if (myCopyright == null) { myCopyright = new StringDt(); } return myCopyright; } /** * Gets the value(s) for copyright (About the concept map or its content). * creating it if it does * not exist. Will not return null. * *

* Definition: * A copyright statement relating to the concept map and/or its contents *

*/ public StringDt getCopyrightElement() { if (myCopyright == null) { myCopyright = new StringDt(); } return myCopyright; } /** * Sets the value(s) for copyright (About the concept map or its content) * *

* Definition: * A copyright statement relating to the concept map and/or its contents *

*/ public ConceptMap setCopyright(StringDt theValue) { myCopyright = theValue; return this; } /** * Sets the value for copyright (About the concept map or its content) * *

* Definition: * A copyright statement relating to the concept map and/or its contents *

*/ public ConceptMap setCopyright( String theString) { myCopyright = new StringDt(theString); return this; } /** * Gets the value(s) for status (draft | active | retired). * creating it if it does * not exist. Will not return null. * *

* Definition: * The status of the concept map *

*/ public BoundCodeDt getStatus() { if (myStatus == null) { myStatus = new BoundCodeDt(ValueSetStatusEnum.VALUESET_BINDER); } return myStatus; } /** * Gets the value(s) for status (draft | active | retired). * creating it if it does * not exist. Will not return null. * *

* Definition: * The status of the concept map *

*/ public BoundCodeDt getStatusElement() { if (myStatus == null) { myStatus = new BoundCodeDt(ValueSetStatusEnum.VALUESET_BINDER); } return myStatus; } /** * Sets the value(s) for status (draft | active | retired) * *

* Definition: * The status of the concept map *

*/ public ConceptMap setStatus(BoundCodeDt theValue) { myStatus = theValue; return this; } /** * Sets the value(s) for status (draft | active | retired) * *

* Definition: * The status of the concept map *

*/ public ConceptMap setStatus(ValueSetStatusEnum theValue) { getStatus().setValueAsEnum(theValue); return this; } /** * Gets the value(s) for experimental (If for testing purposes, not real usage). * creating it if it does * not exist. Will not return null. * *

* Definition: * This ConceptMap was authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage *

*/ public BooleanDt getExperimental() { if (myExperimental == null) { myExperimental = new BooleanDt(); } return myExperimental; } /** * Gets the value(s) for experimental (If for testing purposes, not real usage). * creating it if it does * not exist. Will not return null. * *

* Definition: * This ConceptMap was authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage *

*/ public BooleanDt getExperimentalElement() { if (myExperimental == null) { myExperimental = new BooleanDt(); } return myExperimental; } /** * Sets the value(s) for experimental (If for testing purposes, not real usage) * *

* Definition: * This ConceptMap was authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage *

*/ public ConceptMap setExperimental(BooleanDt theValue) { myExperimental = theValue; return this; } /** * Sets the value for experimental (If for testing purposes, not real usage) * *

* Definition: * This ConceptMap was authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage *

*/ public ConceptMap setExperimental( boolean theBoolean) { myExperimental = new BooleanDt(theBoolean); return this; } /** * Gets the value(s) for date (Date for given status). * creating it if it does * not exist. Will not return null. * *

* Definition: * The date that the concept map status was last changed *

*/ public DateTimeDt getDate() { if (myDate == null) { myDate = new DateTimeDt(); } return myDate; } /** * Gets the value(s) for date (Date for given status). * creating it if it does * not exist. Will not return null. * *

* Definition: * The date that the concept map status was last changed *

*/ public DateTimeDt getDateElement() { if (myDate == null) { myDate = new DateTimeDt(); } return myDate; } /** * Sets the value(s) for date (Date for given status) * *

* Definition: * The date that the concept map status was last changed *

*/ public ConceptMap setDate(DateTimeDt theValue) { myDate = theValue; return this; } /** * Sets the value for date (Date for given status) * *

* Definition: * The date that the concept map status was last changed *

*/ public ConceptMap setDate( Date theDate, TemporalPrecisionEnum thePrecision) { myDate = new DateTimeDt(theDate, thePrecision); return this; } /** * Sets the value for date (Date for given status) * *

* Definition: * The date that the concept map status was last changed *

*/ public ConceptMap setDateWithSecondsPrecision( Date theDate) { myDate = new DateTimeDt(theDate); return this; } /** * Gets the value(s) for source (Identifies the source value set which is being mapped). * creating it if it does * not exist. Will not return null. * *

* Definition: * The source value set that specifies the concepts that are being mapped *

*/ public ResourceReferenceDt getSource() { if (mySource == null) { mySource = new ResourceReferenceDt(); } return mySource; } /** * Gets the value(s) for source (Identifies the source value set which is being mapped). * creating it if it does * not exist. Will not return null. * *

* Definition: * The source value set that specifies the concepts that are being mapped *

*/ public ResourceReferenceDt getSourceElement() { if (mySource == null) { mySource = new ResourceReferenceDt(); } return mySource; } /** * Sets the value(s) for source (Identifies the source value set which is being mapped) * *

* Definition: * The source value set that specifies the concepts that are being mapped *

*/ public ConceptMap setSource(ResourceReferenceDt theValue) { mySource = theValue; return this; } /** * Gets the value(s) for target (Provides context to the mappings). * creating it if it does * not exist. Will not return null. * *

* Definition: * The target value set provides context to the mappings. Note that the mapping is made between concepts, not between value sets, but the value set provides important context about how the concept mapping choices are made *

*/ public ResourceReferenceDt getTarget() { if (myTarget == null) { myTarget = new ResourceReferenceDt(); } return myTarget; } /** * Gets the value(s) for target (Provides context to the mappings). * creating it if it does * not exist. Will not return null. * *

* Definition: * The target value set provides context to the mappings. Note that the mapping is made between concepts, not between value sets, but the value set provides important context about how the concept mapping choices are made *

*/ public ResourceReferenceDt getTargetElement() { if (myTarget == null) { myTarget = new ResourceReferenceDt(); } return myTarget; } /** * Sets the value(s) for target (Provides context to the mappings) * *

* Definition: * The target value set provides context to the mappings. Note that the mapping is made between concepts, not between value sets, but the value set provides important context about how the concept mapping choices are made *

*/ public ConceptMap setTarget(ResourceReferenceDt theValue) { myTarget = theValue; return this; } /** * Gets the value(s) for concept (Mappings for a concept from the source valueset). * creating it if it does * not exist. Will not return null. * *

* Definition: * *

*/ public java.util.List getConcept() { if (myConcept == null) { myConcept = new java.util.ArrayList(); } return myConcept; } /** * Gets the value(s) for concept (Mappings for a concept from the source valueset). * creating it if it does * not exist. Will not return null. * *

* Definition: * *

*/ public java.util.List getConceptElement() { if (myConcept == null) { myConcept = new java.util.ArrayList(); } return myConcept; } /** * Sets the value(s) for concept (Mappings for a concept from the source valueset) * *

* Definition: * *

*/ public ConceptMap setConcept(java.util.List theValue) { myConcept = theValue; return this; } /** * Adds and returns a new value for concept (Mappings for a concept from the source valueset) * *

* Definition: * *

*/ public Concept addConcept() { Concept newType = new Concept(); getConcept().add(newType); return newType; } /** * Gets the first repetition for concept (Mappings for a concept from the source valueset), * creating it if it does not already exist. * *

* Definition: * *

*/ public Concept getConceptFirstRep() { if (getConcept().isEmpty()) { return addConcept(); } return getConcept().get(0); } /** * Block class for child element: ConceptMap.concept (Mappings for a concept from the source valueset) * *

* Definition: * *

*/ @Block() public static class Concept extends BaseIdentifiableElement implements IResourceBlock { @Child(name="system", type=UriDt.class, order=0, min=1, max=1, summary=false, modifier=false) @Description( shortDefinition="System that defines the concept being mapped", formalDefinition="" ) private UriDt mySystem; @Child(name="code", type=CodeDt.class, order=1, min=0, max=1, summary=false, modifier=false) @Description( shortDefinition="Identifies concept being mapped", formalDefinition="" ) private CodeDt myCode; @Child(name="dependsOn", order=2, min=0, max=Child.MAX_UNLIMITED, summary=false, modifier=false) @Description( shortDefinition="Other concepts required for this mapping (from context)", formalDefinition="A set of additional dependencies for this mapping to hold. This mapping is only applicable if the specified concept can be resolved, and it has the specified value" ) private java.util.List myDependsOn; @Child(name="map", order=3, min=0, max=Child.MAX_UNLIMITED, summary=false, modifier=false) @Description( shortDefinition="A concept from the target value set that this concept maps to", formalDefinition="" ) private java.util.List myMap; @Override public boolean isEmpty() { return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( mySystem, myCode, myDependsOn, myMap); } @Override public List getAllPopulatedChildElementsOfType(Class theType) { return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, mySystem, myCode, myDependsOn, myMap); } /** * Gets the value(s) for system (System that defines the concept being mapped). * creating it if it does * not exist. Will not return null. * *

* Definition: * *

*/ public UriDt getSystem() { if (mySystem == null) { mySystem = new UriDt(); } return mySystem; } /** * Gets the value(s) for system (System that defines the concept being mapped). * creating it if it does * not exist. Will not return null. * *

* Definition: * *

*/ public UriDt getSystemElement() { if (mySystem == null) { mySystem = new UriDt(); } return mySystem; } /** * Sets the value(s) for system (System that defines the concept being mapped) * *

* Definition: * *

*/ public Concept setSystem(UriDt theValue) { mySystem = theValue; return this; } /** * Sets the value for system (System that defines the concept being mapped) * *

* Definition: * *

*/ public Concept setSystem( String theUri) { mySystem = new UriDt(theUri); return this; } /** * Gets the value(s) for code (Identifies concept being mapped). * creating it if it does * not exist. Will not return null. * *

* Definition: * *

*/ public CodeDt getCode() { if (myCode == null) { myCode = new CodeDt(); } return myCode; } /** * Gets the value(s) for code (Identifies concept being mapped). * creating it if it does * not exist. Will not return null. * *

* Definition: * *

*/ public CodeDt getCodeElement() { if (myCode == null) { myCode = new CodeDt(); } return myCode; } /** * Sets the value(s) for code (Identifies concept being mapped) * *

* Definition: * *

*/ public Concept setCode(CodeDt theValue) { myCode = theValue; return this; } /** * Sets the value for code (Identifies concept being mapped) * *

* Definition: * *

*/ public Concept setCode( String theCode) { myCode = new CodeDt(theCode); return this; } /** * Gets the value(s) for dependsOn (Other concepts required for this mapping (from context)). * creating it if it does * not exist. Will not return null. * *

* Definition: * A set of additional dependencies for this mapping to hold. This mapping is only applicable if the specified concept can be resolved, and it has the specified value *

*/ public java.util.List getDependsOn() { if (myDependsOn == null) { myDependsOn = new java.util.ArrayList(); } return myDependsOn; } /** * Gets the value(s) for dependsOn (Other concepts required for this mapping (from context)). * creating it if it does * not exist. Will not return null. * *

* Definition: * A set of additional dependencies for this mapping to hold. This mapping is only applicable if the specified concept can be resolved, and it has the specified value *

*/ public java.util.List getDependsOnElement() { if (myDependsOn == null) { myDependsOn = new java.util.ArrayList(); } return myDependsOn; } /** * Sets the value(s) for dependsOn (Other concepts required for this mapping (from context)) * *

* Definition: * A set of additional dependencies for this mapping to hold. This mapping is only applicable if the specified concept can be resolved, and it has the specified value *

*/ public Concept setDependsOn(java.util.List theValue) { myDependsOn = theValue; return this; } /** * Adds and returns a new value for dependsOn (Other concepts required for this mapping (from context)) * *

* Definition: * A set of additional dependencies for this mapping to hold. This mapping is only applicable if the specified concept can be resolved, and it has the specified value *

*/ public ConceptDependsOn addDependsOn() { ConceptDependsOn newType = new ConceptDependsOn(); getDependsOn().add(newType); return newType; } /** * Gets the first repetition for dependsOn (Other concepts required for this mapping (from context)), * creating it if it does not already exist. * *

* Definition: * A set of additional dependencies for this mapping to hold. This mapping is only applicable if the specified concept can be resolved, and it has the specified value *

*/ public ConceptDependsOn getDependsOnFirstRep() { if (getDependsOn().isEmpty()) { return addDependsOn(); } return getDependsOn().get(0); } /** * Gets the value(s) for map (A concept from the target value set that this concept maps to). * creating it if it does * not exist. Will not return null. * *

* Definition: * *

*/ public java.util.List getMap() { if (myMap == null) { myMap = new java.util.ArrayList(); } return myMap; } /** * Gets the value(s) for map (A concept from the target value set that this concept maps to). * creating it if it does * not exist. Will not return null. * *

* Definition: * *

*/ public java.util.List getMapElement() { if (myMap == null) { myMap = new java.util.ArrayList(); } return myMap; } /** * Sets the value(s) for map (A concept from the target value set that this concept maps to) * *

* Definition: * *

*/ public Concept setMap(java.util.List theValue) { myMap = theValue; return this; } /** * Adds and returns a new value for map (A concept from the target value set that this concept maps to) * *

* Definition: * *

*/ public ConceptMap2 addMap() { ConceptMap2 newType = new ConceptMap2(); getMap().add(newType); return newType; } /** * Gets the first repetition for map (A concept from the target value set that this concept maps to), * creating it if it does not already exist. * *

* Definition: * *

*/ public ConceptMap2 getMapFirstRep() { if (getMap().isEmpty()) { return addMap(); } return getMap().get(0); } } /** * Block class for child element: ConceptMap.concept.dependsOn (Other concepts required for this mapping (from context)) * *

* Definition: * A set of additional dependencies for this mapping to hold. This mapping is only applicable if the specified concept can be resolved, and it has the specified value *

*/ @Block() public static class ConceptDependsOn extends BaseIdentifiableElement implements IResourceBlock { @Child(name="concept", type=UriDt.class, order=0, min=1, max=1, summary=false, modifier=false) @Description( shortDefinition="Reference to element/field/valueset provides the context", formalDefinition="A reference to a specific concept that holds a coded value. This can be an element in a FHIR resource, or a specific reference to a data element in a different specification (e.g. v2) or a general reference to a kind of data field, or a reference to a value set with an appropriately narrow definition" ) private UriDt myConcept; @Child(name="system", type=UriDt.class, order=1, min=1, max=1, summary=false, modifier=false) @Description( shortDefinition="System for a concept in the referenced concept", formalDefinition="" ) private UriDt mySystem; @Child(name="code", type=CodeDt.class, order=2, min=1, max=1, summary=false, modifier=false) @Description( shortDefinition="Code for a concept in the referenced concept", formalDefinition="" ) private CodeDt myCode; @Override public boolean isEmpty() { return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( myConcept, mySystem, myCode); } @Override public List getAllPopulatedChildElementsOfType(Class theType) { return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, myConcept, mySystem, myCode); } /** * Gets the value(s) for concept (Reference to element/field/valueset provides the context). * creating it if it does * not exist. Will not return null. * *

* Definition: * A reference to a specific concept that holds a coded value. This can be an element in a FHIR resource, or a specific reference to a data element in a different specification (e.g. v2) or a general reference to a kind of data field, or a reference to a value set with an appropriately narrow definition *

*/ public UriDt getConcept() { if (myConcept == null) { myConcept = new UriDt(); } return myConcept; } /** * Gets the value(s) for concept (Reference to element/field/valueset provides the context). * creating it if it does * not exist. Will not return null. * *

* Definition: * A reference to a specific concept that holds a coded value. This can be an element in a FHIR resource, or a specific reference to a data element in a different specification (e.g. v2) or a general reference to a kind of data field, or a reference to a value set with an appropriately narrow definition *

*/ public UriDt getConceptElement() { if (myConcept == null) { myConcept = new UriDt(); } return myConcept; } /** * Sets the value(s) for concept (Reference to element/field/valueset provides the context) * *

* Definition: * A reference to a specific concept that holds a coded value. This can be an element in a FHIR resource, or a specific reference to a data element in a different specification (e.g. v2) or a general reference to a kind of data field, or a reference to a value set with an appropriately narrow definition *

*/ public ConceptDependsOn setConcept(UriDt theValue) { myConcept = theValue; return this; } /** * Sets the value for concept (Reference to element/field/valueset provides the context) * *

* Definition: * A reference to a specific concept that holds a coded value. This can be an element in a FHIR resource, or a specific reference to a data element in a different specification (e.g. v2) or a general reference to a kind of data field, or a reference to a value set with an appropriately narrow definition *

*/ public ConceptDependsOn setConcept( String theUri) { myConcept = new UriDt(theUri); return this; } /** * Gets the value(s) for system (System for a concept in the referenced concept). * creating it if it does * not exist. Will not return null. * *

* Definition: * *

*/ public UriDt getSystem() { if (mySystem == null) { mySystem = new UriDt(); } return mySystem; } /** * Gets the value(s) for system (System for a concept in the referenced concept). * creating it if it does * not exist. Will not return null. * *

* Definition: * *

*/ public UriDt getSystemElement() { if (mySystem == null) { mySystem = new UriDt(); } return mySystem; } /** * Sets the value(s) for system (System for a concept in the referenced concept) * *

* Definition: * *

*/ public ConceptDependsOn setSystem(UriDt theValue) { mySystem = theValue; return this; } /** * Sets the value for system (System for a concept in the referenced concept) * *

* Definition: * *

*/ public ConceptDependsOn setSystem( String theUri) { mySystem = new UriDt(theUri); return this; } /** * Gets the value(s) for code (Code for a concept in the referenced concept). * creating it if it does * not exist. Will not return null. * *

* Definition: * *

*/ public CodeDt getCode() { if (myCode == null) { myCode = new CodeDt(); } return myCode; } /** * Gets the value(s) for code (Code for a concept in the referenced concept). * creating it if it does * not exist. Will not return null. * *

* Definition: * *

*/ public CodeDt getCodeElement() { if (myCode == null) { myCode = new CodeDt(); } return myCode; } /** * Sets the value(s) for code (Code for a concept in the referenced concept) * *

* Definition: * *

*/ public ConceptDependsOn setCode(CodeDt theValue) { myCode = theValue; return this; } /** * Sets the value for code (Code for a concept in the referenced concept) * *

* Definition: * *

*/ public ConceptDependsOn setCode( String theCode) { myCode = new CodeDt(theCode); return this; } } /** * Block class for child element: ConceptMap.concept.map (A concept from the target value set that this concept maps to) * *

* Definition: * *

*/ @Block() public static class ConceptMap2 extends BaseIdentifiableElement implements IResourceBlock { @Child(name="system", type=UriDt.class, order=0, min=0, max=1, summary=false, modifier=false) @Description( shortDefinition="System of the target", formalDefinition="" ) private UriDt mySystem; @Child(name="code", type=CodeDt.class, order=1, min=0, max=1, summary=false, modifier=false) @Description( shortDefinition="Code that identifies the target concept", formalDefinition="" ) private CodeDt myCode; @Child(name="equivalence", type=CodeDt.class, order=2, min=1, max=1, summary=false, modifier=false) @Description( shortDefinition="equal | equivalent | wider | subsumes | narrower | specialises | inexact | unmatched | disjoint", formalDefinition="" ) private BoundCodeDt myEquivalence; @Child(name="comments", type=StringDt.class, order=3, min=0, max=1, summary=false, modifier=false) @Description( shortDefinition="Description of status/issues in mapping", formalDefinition="" ) private StringDt myComments; @Child(name="product", type=ConceptDependsOn.class, order=4, min=0, max=Child.MAX_UNLIMITED, summary=false, modifier=false) @Description( shortDefinition="Other concepts that this mapping also produces", formalDefinition="A set of additional outcomes from this mapping to other value sets. To properly execute this mapping, the specified value set must be mapped to some data element or source that is in context. The mapping may still be useful without a place for the additional data elements, but the equivalence cannot be relied on" ) private java.util.List myProduct; @Override public boolean isEmpty() { return super.isBaseEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty( mySystem, myCode, myEquivalence, myComments, myProduct); } @Override public List getAllPopulatedChildElementsOfType(Class theType) { return ca.uhn.fhir.util.ElementUtil.allPopulatedChildElements(theType, mySystem, myCode, myEquivalence, myComments, myProduct); } /** * Gets the value(s) for system (System of the target). * creating it if it does * not exist. Will not return null. * *

* Definition: * *

*/ public UriDt getSystem() { if (mySystem == null) { mySystem = new UriDt(); } return mySystem; } /** * Gets the value(s) for system (System of the target). * creating it if it does * not exist. Will not return null. * *

* Definition: * *

*/ public UriDt getSystemElement() { if (mySystem == null) { mySystem = new UriDt(); } return mySystem; } /** * Sets the value(s) for system (System of the target) * *

* Definition: * *

*/ public ConceptMap2 setSystem(UriDt theValue) { mySystem = theValue; return this; } /** * Sets the value for system (System of the target) * *

* Definition: * *

*/ public ConceptMap2 setSystem( String theUri) { mySystem = new UriDt(theUri); return this; } /** * Gets the value(s) for code (Code that identifies the target concept). * creating it if it does * not exist. Will not return null. * *

* Definition: * *

*/ public CodeDt getCode() { if (myCode == null) { myCode = new CodeDt(); } return myCode; } /** * Gets the value(s) for code (Code that identifies the target concept). * creating it if it does * not exist. Will not return null. * *

* Definition: * *

*/ public CodeDt getCodeElement() { if (myCode == null) { myCode = new CodeDt(); } return myCode; } /** * Sets the value(s) for code (Code that identifies the target concept) * *

* Definition: * *

*/ public ConceptMap2 setCode(CodeDt theValue) { myCode = theValue; return this; } /** * Sets the value for code (Code that identifies the target concept) * *

* Definition: * *

*/ public ConceptMap2 setCode( String theCode) { myCode = new CodeDt(theCode); return this; } /** * Gets the value(s) for equivalence (equal | equivalent | wider | subsumes | narrower | specialises | inexact | unmatched | disjoint). * creating it if it does * not exist. Will not return null. * *

* Definition: * *

*/ public BoundCodeDt getEquivalence() { if (myEquivalence == null) { myEquivalence = new BoundCodeDt(ConceptMapEquivalenceEnum.VALUESET_BINDER); } return myEquivalence; } /** * Gets the value(s) for equivalence (equal | equivalent | wider | subsumes | narrower | specialises | inexact | unmatched | disjoint). * creating it if it does * not exist. Will not return null. * *

* Definition: * *

*/ public BoundCodeDt getEquivalenceElement() { if (myEquivalence == null) { myEquivalence = new BoundCodeDt(ConceptMapEquivalenceEnum.VALUESET_BINDER); } return myEquivalence; } /** * Sets the value(s) for equivalence (equal | equivalent | wider | subsumes | narrower | specialises | inexact | unmatched | disjoint) * *

* Definition: * *

*/ public ConceptMap2 setEquivalence(BoundCodeDt theValue) { myEquivalence = theValue; return this; } /** * Sets the value(s) for equivalence (equal | equivalent | wider | subsumes | narrower | specialises | inexact | unmatched | disjoint) * *

* Definition: * *

*/ public ConceptMap2 setEquivalence(ConceptMapEquivalenceEnum theValue) { getEquivalence().setValueAsEnum(theValue); return this; } /** * Gets the value(s) for comments (Description of status/issues in mapping). * creating it if it does * not exist. Will not return null. * *

* Definition: * *

*/ public StringDt getComments() { if (myComments == null) { myComments = new StringDt(); } return myComments; } /** * Gets the value(s) for comments (Description of status/issues in mapping). * creating it if it does * not exist. Will not return null. * *

* Definition: * *

*/ public StringDt getCommentsElement() { if (myComments == null) { myComments = new StringDt(); } return myComments; } /** * Sets the value(s) for comments (Description of status/issues in mapping) * *

* Definition: * *

*/ public ConceptMap2 setComments(StringDt theValue) { myComments = theValue; return this; } /** * Sets the value for comments (Description of status/issues in mapping) * *

* Definition: * *

*/ public ConceptMap2 setComments( String theString) { myComments = new StringDt(theString); return this; } /** * Gets the value(s) for product (Other concepts that this mapping also produces). * creating it if it does * not exist. Will not return null. * *

* Definition: * A set of additional outcomes from this mapping to other value sets. To properly execute this mapping, the specified value set must be mapped to some data element or source that is in context. The mapping may still be useful without a place for the additional data elements, but the equivalence cannot be relied on *

*/ public java.util.List getProduct() { if (myProduct == null) { myProduct = new java.util.ArrayList(); } return myProduct; } /** * Gets the value(s) for product (Other concepts that this mapping also produces). * creating it if it does * not exist. Will not return null. * *

* Definition: * A set of additional outcomes from this mapping to other value sets. To properly execute this mapping, the specified value set must be mapped to some data element or source that is in context. The mapping may still be useful without a place for the additional data elements, but the equivalence cannot be relied on *

*/ public java.util.List getProductElement() { if (myProduct == null) { myProduct = new java.util.ArrayList(); } return myProduct; } /** * Sets the value(s) for product (Other concepts that this mapping also produces) * *

* Definition: * A set of additional outcomes from this mapping to other value sets. To properly execute this mapping, the specified value set must be mapped to some data element or source that is in context. The mapping may still be useful without a place for the additional data elements, but the equivalence cannot be relied on *

*/ public ConceptMap2 setProduct(java.util.List theValue) { myProduct = theValue; return this; } /** * Adds and returns a new value for product (Other concepts that this mapping also produces) * *

* Definition: * A set of additional outcomes from this mapping to other value sets. To properly execute this mapping, the specified value set must be mapped to some data element or source that is in context. The mapping may still be useful without a place for the additional data elements, but the equivalence cannot be relied on *

*/ public ConceptDependsOn addProduct() { ConceptDependsOn newType = new ConceptDependsOn(); getProduct().add(newType); return newType; } /** * Gets the first repetition for product (Other concepts that this mapping also produces), * creating it if it does not already exist. * *

* Definition: * A set of additional outcomes from this mapping to other value sets. To properly execute this mapping, the specified value set must be mapped to some data element or source that is in context. The mapping may still be useful without a place for the additional data elements, but the equivalence cannot be relied on *

*/ public ConceptDependsOn getProductFirstRep() { if (getProduct().isEmpty()) { return addProduct(); } return getProduct().get(0); } } @Override public String getResourceName() { return "ConceptMap"; } public ca.uhn.fhir.context.FhirVersionEnum getStructureFhirVersionEnum() { return ca.uhn.fhir.context.FhirVersionEnum.DSTU1; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy