Class ConceptMap

  • All Implemented Interfaces:
    Visitable

    @Generated("org.linuxforhealth.fhir.tools.CodeGenerator")
    public class ConceptMap
    extends DomainResource
    A statement of relationships from one set of concepts to one or more other concepts - either concepts in code systems, or data element/data element concepts, or classes in class models.

    Maturity level: FMM3 (Trial Use)

    • Method Detail

      • getUrl

        public Uri getUrl()
        An absolute URI that is used to identify this concept map when it is referenced in a specification, model, design or an instance; also called its canonical identifier. This SHOULD be globally unique and SHOULD be a literal address at which at which an authoritative instance of this concept map is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the concept map is stored on different servers.
        Returns:
        An immutable object of type Uri that may be null.
      • getIdentifier

        public Identifier getIdentifier()
        A formal identifier that is used to identify this concept map when it is represented in other formats, or referenced in a specification, model, design or an instance.
        Returns:
        An immutable object of type Identifier that may be null.
      • getVersion

        public String getVersion()
        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 concept map author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence.
        Returns:
        An immutable object of type String that may be null.
      • getName

        public String getName()
        A natural language name identifying the concept map. This name should be usable as an identifier for the module by machine processing applications such as code generation.
        Returns:
        An immutable object of type String that may be null.
      • getTitle

        public String getTitle()
        A short, descriptive, user-friendly title for the concept map.
        Returns:
        An immutable object of type String that may be null.
      • getStatus

        public PublicationStatus getStatus()
        The status of this concept map. Enables tracking the life-cycle of the content.
        Returns:
        An immutable object of type PublicationStatus that is non-null.
      • getExperimental

        public Boolean getExperimental()
        A Boolean value to indicate that this concept map is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage.
        Returns:
        An immutable object of type Boolean that may be null.
      • getDate

        public DateTime getDate()
        The date (and optionally time) when the concept map was published. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the concept map changes.
        Returns:
        An immutable object of type DateTime that may be null.
      • getPublisher

        public String getPublisher()
        The name of the organization or individual that published the concept map.
        Returns:
        An immutable object of type String that may be null.
      • getContact

        public java.util.List<ContactDetail> getContact()
        Contact details to assist a user in finding and communicating with the publisher.
        Returns:
        An unmodifiable list containing immutable objects of type ContactDetail that may be empty.
      • getDescription

        public Markdown getDescription()
        A free text natural language description of the concept map from a consumer's perspective.
        Returns:
        An immutable object of type Markdown that may be null.
      • getUseContext

        public java.util.List<UsageContext> getUseContext()
        The content was developed with a focus and intent of supporting the contexts that are listed. These contexts may be general categories (gender, age, ...) or may be references to specific programs (insurance plans, studies, ...) and may be used to assist with indexing and searching for appropriate concept map instances.
        Returns:
        An unmodifiable list containing immutable objects of type UsageContext that may be empty.
      • getJurisdiction

        public java.util.List<CodeableConcept> getJurisdiction()
        A legal or geographic region in which the concept map is intended to be used.
        Returns:
        An unmodifiable list containing immutable objects of type CodeableConcept that may be empty.
      • getPurpose

        public Markdown getPurpose()
        Explanation of why this concept map is needed and why it has been designed as it has.
        Returns:
        An immutable object of type Markdown that may be null.
      • getCopyright

        public Markdown getCopyright()
        A copyright statement relating to the concept map and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the concept map.
        Returns:
        An immutable object of type Markdown that may be null.
      • getSource

        public Element getSource()
        Identifier for the source value set that contains the concepts that are being mapped and provides context for the mappings.
        Returns:
        An immutable object of type Uri or Canonical that may be null.
      • getTarget

        public Element getTarget()
        The target value set provides context for 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.
        Returns:
        An immutable object of type Uri or Canonical that may be null.
      • getGroup

        public java.util.List<ConceptMap.Group> getGroup()
        A group of mappings that all have the same source and target system.
        Returns:
        An unmodifiable list containing immutable objects of type ConceptMap.Group that may be empty.
      • accept

        public void accept​(java.lang.String elementName,
                           int elementIndex,
                           Visitor visitor)
        Description copied from interface: Visitable
        Accept a Visitor and invoke the appropriate visit methods. A typical implementation would look like this:
         if (visitor.preVisit(this)) {
             visitor.visitStart(elementName, elementIndex, this);
             if (visitor.visit(elementName, elementIndex, this)) {
                 // visit children
             }
             visitor.visitEnd(elementName, elementIndex, this);
             visitor.postVisit(this);
         }
         
        Specified by:
        accept in interface Visitable
        Specified by:
        accept in class AbstractVisitable
        Parameters:
        elementName - the name of the element in the context of this visit
        elementIndex - the index of the element in a list or -1 if it is not contained within a List
        visitor - the visitor to use
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object