Data Model Libraries
    Preparing search index...

    ConceptMapGroupElementComponent Class

    FHIR Specification

    • Short: Mappings for a concept from the source set
    • Definition: Mappings for an individual concept in the source to one or more concepts in the target.
    • Comment: Generally, the ideal is that there would only be one mapping for each concept in the source value set, but a given concept may be mapped multiple times with different comments or dependencies.

    Hierarchy (View Summary)

    Implements

    Index

    Constructors

    Properties

    code?: CodeType

    ConceptMap.group.element.code Element

    FHIR Specification

    • Short: Identifies element being mapped
    • Definition: Identity (code or path) or the element/item being mapped.
    • FHIR Type: code
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: false
    display?: StringType

    ConceptMap.group.element.display Element

    FHIR Specification

    • Short: Display for the code
    • Definition: The display for the code. The display is only provided to help editors when editing the concept map.
    • Comment: The display is ignored when processing the map.
    • FHIR Type: string
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: false
    valueSet?: CanonicalType

    ConceptMap.group.element.valueSet Element

    FHIR Specification

    • Short: Identifies the set of concepts being mapped
    • Definition: The set of concepts from the ConceptMap.group.source code system which are all being mapped to the target as part of this mapping rule.
    • Comment: If the value set expansion is empty then there are no source concepts to map in this rule.
    • FHIR Type: canonical
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: false
    noMap?: BooleanType

    ConceptMap.group.element.noMap Element

    FHIR Specification

    • Short: No mapping to a target concept for this source concept
    • Definition: If noMap = true this indicates that no mapping to a target concept exists for this source concept.
    • Comment: If noMap = true, then the behavior of ConceptMap.group.unmapped (if present) does not apply.
    • FHIR Type: boolean
    • Cardinality: 0..1
    • isModifier: false
    • isSummary: false

    ConceptMap.group.element.target Element

    FHIR Specification

    • Short: Concept in target system for element
    • Definition: A concept from the target value set that this concept maps to.
    • Comment: Ideally there would only be one map, with an 'equivalent' mapping. But multiple maps are allowed for several narrower (i.e. source-is-broader-than-target) options, or to assert that other concepts are not related.
    • FHIR Type: BackboneElement
    • Cardinality: 0..*
    • isModifier: false
    • isSummary: false

    Methods

    • Parse the provided ConceptMapGroupElementComponent JSON to instantiate the ConceptMapGroupElementComponent data model.

      Parameters

      • sourceJson: Value

        JSON representing FHIR ConceptMapGroupElementComponent

      • OptionaloptSourceField: string

        Optional data source field (e.g. <complexTypeName>.<complexTypeFieldName>); defaults to ConceptMapGroupElementComponent

      Returns undefined | ConceptMapGroupElementComponent

      ConceptMapGroupElementComponent data model or undefined for ConceptMapGroupElementComponent

      JsonError if the provided JSON is not a valid JSON object

    • Determines if the modifierExtension property exists.

      Parameters

      • Optionalurl: string

        the url that identifies a specific Extension

      Returns boolean

      true if an Extension has the provided url; false otherwise

      If the url is provided, determines if an Extension having the provided url exists. If the url is not provided, determines if the modifierExtension property exists and has any values.

      AssertionError for invalid url

    • Returns undefined | string

      the id property value

    • Assigns the provided value to the id property.

      Parameters

      • value: undefined | string

        the id value

      Returns this

      this

      PrimitiveTypeError for invalid value

    • Returns boolean

      true if id exists and has a value; false otherwise

    • Determines if the extension property exists.

      Parameters

      • Optionalurl: string

        the url that identifies a specific Extension

      Returns boolean

      true if an Extension has the provided url; false otherwise

      If the url is provided, determines if an Extension having the provided url exists. If the url is not provided, determines if the extension property exists and has any values.

      AssertionError for invalid url

    • Determines if the extension property exists.

      Parameters

      • url: string

        the url that identifies a specific Extension

      Returns undefined | IExtension

      an Extension having the provided url

      If the url is provided, determines if an Extension having the provided url exists. If the url is not provided, determines if the extension property exists and has any values.

      AssertionError for invalid url

    • Adds the provided Extension to the extension property array.

      Parameters

      • extension: undefined | IExtension

        the Extension value to add to the extension property array

      Returns this

      this

    • Removes the Extension having the provided url from the extension property array.

      Parameters

      • url: string

        the url that identifies a specific Extension to remove

      Returns void

      AssertionError for invalid url

    • Returns boolean

      true if and only if the data model has required fields (min cardinality > 0) and at least one of those required fields in the instance is empty; false otherwise

    • Returns boolean

      true if the instance is a FHIR complex or primitive datatype; false otherwise