LOINC – IVD Test Code (LIVD) Mapping
1.0.0 - STU 1 International flag

LOINC – IVD Test Code (LIVD) Mapping, published by HL7 International / Orders and Observations. This guide is not an authorized publication; it is the continuous build for version 1.0.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/livd/ and changes regularly. See the Directory of published versions

Resource Profile: LIVD Test Code ConceptMap

Official URL: http://hl7.org/fhir/uv/livd/StructureDefinition/conceptmap-testcode-uv-livd Version: 1.0.0
Standards status: Trial-use Active as of 2018-08-14 Maturity Level: 2 Computable Name: LIVDTestCodeConceptMap
Other Identifiers: OID:2.16.840.1.113883.4.642.40.51.42.3

ConceptMap profile for mappoings of manufacturer IVD test codes to standard LOINC codes.

Description

The LIVD Test Code ConceptMap is a profile on the ConceptMap resource for representing the test code mappings from a vendor IVD analyte code to a LOINC code.

Usages:

You can also check for usages in the FHIR IG Statistics

Formal Views of Profile Content

Description Differentials, Snapshots, and other representations.

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. ConceptMap C 0..* ConceptMap LIVDTestCodeConceptMap
Constraints: cmd-0
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... url SΣ 0..1 uri Canonical identifier for this concept map, represented as a URI (globally unique)
... status ?!SΣ 1..1 code draft | active | retired | unknown
Binding: PublicationStatus (required): The lifecycle status of an artifact.
... date Σ 0..1 dateTime Date last changed
... jurisdiction Σ 0..* CodeableConcept Intended jurisdiction for concept map (if applicable)
Binding: Jurisdiction ValueSet (extensible): Countries and regions within which this artifact is targeted for use.
... source[x] SΣ 0..1 The source value set that contains the concepts that are being mapped
.... sourceUri uri
.... sourceCanonical canonical(ValueSet)
... target[x] SΣ 1..1 The target value set which provides context for the mappings
.... targetUri uri
.... targetCanonical canonical(ValueSet)
... group S 1..1 BackboneElement Same source and target systems
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... targetVersion S 0..1 string Specific version of the code system
.... element S 1..* BackboneElement Mappings for a Vendor Analyte Code from the source set
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... code S 1..1 code Identifies the Vendor Analyte Code being mapped
..... display S 1..1 string The Vendor Analyte Name
..... target SC 0..* BackboneElement Identifies the LOINC code being mapped to
Constraints: cmd-1, livd-1
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
...... code S 1..1 code Code that identifies the LOINC Code
...... display S 1..1 string LOINC Long Name
...... equivalence ?!S 1..1 code relatedto | equivalent | equal | wider | subsumes | narrower | specializes | inexact | unmatched | disjoint
Binding: ConceptMapEquivalence (required): The degree of equivalence between concepts.
...... comment SC 0..1 string Vendor Comment
...... Slices for dependsOn SC 0..4 BackboneElement Other elements required for this mapping (from context)
Slice: Unordered, Open by value:property
....... dependsOn:All Slices Content/Rules for all slices
........ modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
........ property 1..1 uri Reference to property mapping depends on
........ value 1..1 string Value of the referenced element
....... dependsOn:specimen S 0..1 BackboneElement The property for specimen
........ modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
........ property S 1..1 uri Reference to property mapping depends on
Fixed Value: specimen
........ value S 1..1 string Value of the specimen property
....... dependsOn:result S 0..1 BackboneElement The property for result
........ modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
........ property S 1..1 uri Reference to property mapping depends on
Fixed Value: result
........ value S 1..1 string Value of the result property
....... dependsOn:device S 0..1 BackboneElement The property for device
........ modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
........ property S 1..1 uri Reference to property mapping depends on
Fixed Value: device
........ value S 1..1 string Value of the device property
....... dependsOn:other S 0..1 BackboneElement The property for other
........ modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
........ property S 1..1 uri Reference to property mapping depends on
Fixed Value: other
........ value S 1..1 string Value of the other value property

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
ConceptMap.status Base required PublicationStatus 📍4.0.1 FHIR Std.
ConceptMap.jurisdiction Base extensible Jurisdiction 📍4.0.1 FHIR Std.
ConceptMap.group.element.​target.equivalence Base required ConceptMapEquivalence 📍4.0.1 FHIR Std.
ConceptMap.group.unmapped.​mode Base required ConceptMapGroupUnmappedMode 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
cmd-0 warning ConceptMap Name should be usable as an identifier for the module by machine processing applications such as code generation name.matches('[A-Z]([A-Za-z0-9_]){0,254}')
cmd-1 error ConceptMap.group.element.target If the map is narrower or inexact, there SHALL be some comments comment.exists() or equivalence.empty() or ((equivalence != 'narrower') and (equivalence != 'inexact'))
dom-2 error ConceptMap If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error ConceptMap If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error ConceptMap If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error ConceptMap If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice ConceptMap A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
livd-1 error ConceptMap.group.element.target If the dependsOn is valued, either the code or display must be present (dependsOn.exists() and (code.exists() or display.exists())) or dependsOn.empty()

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. ConceptMap 0..* ConceptMap LIVDTestCodeConceptMap
... url S 0..1 uri Canonical identifier for this concept map, represented as a URI (globally unique)
... name S 1..1 string Name for this concept map (computer friendly)
... status S 1..1 code draft | active | retired | unknown
... publisher 0..0 Name of the publisher (organization or individual)
... contact 0..0 Contact details for the publisher
... useContext 0..0 The context that the content is intended to support
... jurisdiction 0..* CodeableConcept Intended jurisdiction for concept map (if applicable)
... purpose 0..0 Why this concept map is defined
... copyright 0..0 Use and/or publishing restrictions
... source[x] S 0..1 uri, canonical(ValueSet) The source value set that contains the concepts that are being mapped
... target[x] S 1..1 uri, canonical(ValueSet) The target value set which provides context for the mappings
... group S 1..1 BackboneElement Same source and target systems
.... source 0..0 Source system where concepts to be mapped are defined
.... sourceVersion 0..0 Specific version of the code system
.... targetVersion S 0..1 string Specific version of the code system
.... element S 1..* BackboneElement Mappings for a Vendor Analyte Code from the source set
..... code S 1..1 code Identifies the Vendor Analyte Code being mapped
..... display S 1..1 string The Vendor Analyte Name
..... target SC 0..* BackboneElement Identifies the LOINC code being mapped to
Constraints: livd-1
...... code S 1..1 code Code that identifies the LOINC Code
...... display S 1..1 string LOINC Long Name
...... equivalence S 1..1 code relatedto | equivalent | equal | wider | subsumes | narrower | specializes | inexact | unmatched | disjoint
...... comment S 0..1 string Vendor Comment
...... Slices for dependsOn SC 0..4 BackboneElement Other elements required for this mapping (from context)
Slice: Unordered, Open by value:property
....... dependsOn:specimen S 0..1 BackboneElement The property for specimen
........ property S 1..1 uri Reference to property mapping depends on
Fixed Value: specimen
........ system 0..0 Code System (if necessary)
........ value S 1..1 string Value of the specimen property
........ display 0..0 Display for the code (if value is a code)
....... dependsOn:result S 0..1 BackboneElement The property for result
........ property S 1..1 uri Reference to property mapping depends on
Fixed Value: result
........ system 0..0 Code System (if necessary)
........ value S 1..1 string Value of the result property
........ display 0..0 Display for the code (if value is a code)
....... dependsOn:device S 0..1 BackboneElement The property for device
........ property S 1..1 uri Reference to property mapping depends on
Fixed Value: device
........ system 0..0 Code System (if necessary)
........ value S 1..1 string Value of the device property
........ display 0..0 Display for the code (if value is a code)
....... dependsOn:other S 0..1 BackboneElement The property for other
........ property S 1..1 uri Reference to property mapping depends on
Fixed Value: other
........ system 0..0 Code System (if necessary)
........ value S 1..1 string Value of the other value property
........ display 0..0 Display for the code (if value is a code)
...... product 0..0 Other concepts that this mapping also produces
.... unmapped 0..0 What to do when there is no mapping for the source concept

doco Documentation for this format

Constraints

Id Grade Path(s) Description Expression
livd-1 error ConceptMap.group.element.target If the dependsOn is valued, either the code or display must be present (dependsOn.exists() and (code.exists() or display.exists())) or dependsOn.empty()
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. ConceptMap C 0..* ConceptMap LIVDTestCodeConceptMap
Constraints: cmd-0
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... text 0..1 Narrative Text summary of the resource, for human interpretation
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
... contained 0..* Resource Contained, inline Resources
... extension 0..* Extension Additional content defined by implementations
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... url SΣ 0..1 uri Canonical identifier for this concept map, represented as a URI (globally unique)
... identifier Σ 0..1 Identifier Additional identifier for the concept map
... version Σ 0..1 string Business version of the concept map
... name SΣC 1..1 string Name for this concept map (computer friendly)
... title Σ 0..1 string Name for this concept map (human friendly)
... status ?!SΣ 1..1 code draft | active | retired | unknown
Binding: PublicationStatus (required): The lifecycle status of an artifact.
... experimental Σ 0..1 boolean For testing purposes, not real usage
... date Σ 0..1 dateTime Date last changed
... description 0..1 markdown Natural language description of the concept map
... jurisdiction Σ 0..* CodeableConcept Intended jurisdiction for concept map (if applicable)
Binding: Jurisdiction ValueSet (extensible): Countries and regions within which this artifact is targeted for use.
... source[x] SΣ 0..1 The source value set that contains the concepts that are being mapped
.... sourceUri uri
.... sourceCanonical canonical(ValueSet)
... target[x] SΣ 1..1 The target value set which provides context for the mappings
.... targetUri uri
.... targetCanonical canonical(ValueSet)
... group S 1..1 BackboneElement Same source and target systems
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... target 0..1 uri Target system that the concepts are to be mapped to
.... targetVersion S 0..1 string Specific version of the code system
.... element S 1..* BackboneElement Mappings for a Vendor Analyte Code from the source set
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... code S 1..1 code Identifies the Vendor Analyte Code being mapped
..... display S 1..1 string The Vendor Analyte Name
..... target SC 0..* BackboneElement Identifies the LOINC code being mapped to
Constraints: cmd-1, livd-1
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
...... code S 1..1 code Code that identifies the LOINC Code
...... display S 1..1 string LOINC Long Name
...... equivalence ?!S 1..1 code relatedto | equivalent | equal | wider | subsumes | narrower | specializes | inexact | unmatched | disjoint
Binding: ConceptMapEquivalence (required): The degree of equivalence between concepts.
...... comment SC 0..1 string Vendor Comment
...... Slices for dependsOn SC 0..4 BackboneElement Other elements required for this mapping (from context)
Slice: Unordered, Open by value:property
....... dependsOn:All Slices Content/Rules for all slices
........ id 0..1 string Unique id for inter-element referencing
........ extension 0..* Extension Additional content defined by implementations
........ modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
........ property 1..1 uri Reference to property mapping depends on
........ system 0..1 canonical(CodeSystem) Code System (if necessary)
........ value 1..1 string Value of the referenced element
........ display 0..1 string Display for the code (if value is a code)
....... dependsOn:specimen S 0..1 BackboneElement The property for specimen
........ id 0..1 string Unique id for inter-element referencing
........ extension 0..* Extension Additional content defined by implementations
........ modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
........ property S 1..1 uri Reference to property mapping depends on
Fixed Value: specimen
........ value S 1..1 string Value of the specimen property
....... dependsOn:result S 0..1 BackboneElement The property for result
........ id 0..1 string Unique id for inter-element referencing
........ extension 0..* Extension Additional content defined by implementations
........ modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
........ property S 1..1 uri Reference to property mapping depends on
Fixed Value: result
........ value S 1..1 string Value of the result property
....... dependsOn:device S 0..1 BackboneElement The property for device
........ id 0..1 string Unique id for inter-element referencing
........ extension 0..* Extension Additional content defined by implementations
........ modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
........ property S 1..1 uri Reference to property mapping depends on
Fixed Value: device
........ value S 1..1 string Value of the device property
....... dependsOn:other S 0..1 BackboneElement The property for other
........ id 0..1 string Unique id for inter-element referencing
........ extension 0..* Extension Additional content defined by implementations
........ modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
........ property S 1..1 uri Reference to property mapping depends on
Fixed Value: other
........ value S 1..1 string Value of the other value property

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
ConceptMap.language Base preferred Common Languages 📍4.0.1 FHIR Std.
ConceptMap.status Base required PublicationStatus 📍4.0.1 FHIR Std.
ConceptMap.jurisdiction Base extensible Jurisdiction 📍4.0.1 FHIR Std.
ConceptMap.group.element.​target.equivalence Base required ConceptMapEquivalence 📍4.0.1 FHIR Std.
ConceptMap.group.unmapped.​mode Base required ConceptMapGroupUnmappedMode 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
cmd-0 warning ConceptMap Name should be usable as an identifier for the module by machine processing applications such as code generation name.matches('[A-Z]([A-Za-z0-9_]){0,254}')
cmd-1 error ConceptMap.group.element.target If the map is narrower or inexact, there SHALL be some comments comment.exists() or equivalence.empty() or ((equivalence != 'narrower') and (equivalence != 'inexact'))
dom-2 error ConceptMap If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error ConceptMap If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error ConceptMap If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error ConceptMap If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice ConceptMap A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
livd-1 error ConceptMap.group.element.target If the dependsOn is valued, either the code or display must be present (dependsOn.exists() and (code.exists() or display.exists())) or dependsOn.empty()

Summary

Mandatory: 5 elements(2 nested mandatory elements)
Must-Support: 28 elements
Fixed: 4 elements
Prohibited: 17 elements

Slices

This structure defines the following Slices:

  • The element 1 is sliced based on the value of ConceptMap.group.element.target.dependsOn

Maturity: 2

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. ConceptMap C 0..* ConceptMap LIVDTestCodeConceptMap
Constraints: cmd-0
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... url SΣ 0..1 uri Canonical identifier for this concept map, represented as a URI (globally unique)
... status ?!SΣ 1..1 code draft | active | retired | unknown
Binding: PublicationStatus (required): The lifecycle status of an artifact.
... date Σ 0..1 dateTime Date last changed
... jurisdiction Σ 0..* CodeableConcept Intended jurisdiction for concept map (if applicable)
Binding: Jurisdiction ValueSet (extensible): Countries and regions within which this artifact is targeted for use.
... source[x] SΣ 0..1 The source value set that contains the concepts that are being mapped
.... sourceUri uri
.... sourceCanonical canonical(ValueSet)
... target[x] SΣ 1..1 The target value set which provides context for the mappings
.... targetUri uri
.... targetCanonical canonical(ValueSet)
... group S 1..1 BackboneElement Same source and target systems
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... targetVersion S 0..1 string Specific version of the code system
.... element S 1..* BackboneElement Mappings for a Vendor Analyte Code from the source set
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... code S 1..1 code Identifies the Vendor Analyte Code being mapped
..... display S 1..1 string The Vendor Analyte Name
..... target SC 0..* BackboneElement Identifies the LOINC code being mapped to
Constraints: cmd-1, livd-1
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
...... code S 1..1 code Code that identifies the LOINC Code
...... display S 1..1 string LOINC Long Name
...... equivalence ?!S 1..1 code relatedto | equivalent | equal | wider | subsumes | narrower | specializes | inexact | unmatched | disjoint
Binding: ConceptMapEquivalence (required): The degree of equivalence between concepts.
...... comment SC 0..1 string Vendor Comment
...... Slices for dependsOn SC 0..4 BackboneElement Other elements required for this mapping (from context)
Slice: Unordered, Open by value:property
....... dependsOn:All Slices Content/Rules for all slices
........ modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
........ property 1..1 uri Reference to property mapping depends on
........ value 1..1 string Value of the referenced element
....... dependsOn:specimen S 0..1 BackboneElement The property for specimen
........ modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
........ property S 1..1 uri Reference to property mapping depends on
Fixed Value: specimen
........ value S 1..1 string Value of the specimen property
....... dependsOn:result S 0..1 BackboneElement The property for result
........ modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
........ property S 1..1 uri Reference to property mapping depends on
Fixed Value: result
........ value S 1..1 string Value of the result property
....... dependsOn:device S 0..1 BackboneElement The property for device
........ modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
........ property S 1..1 uri Reference to property mapping depends on
Fixed Value: device
........ value S 1..1 string Value of the device property
....... dependsOn:other S 0..1 BackboneElement The property for other
........ modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
........ property S 1..1 uri Reference to property mapping depends on
Fixed Value: other
........ value S 1..1 string Value of the other value property

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
ConceptMap.status Base required PublicationStatus 📍4.0.1 FHIR Std.
ConceptMap.jurisdiction Base extensible Jurisdiction 📍4.0.1 FHIR Std.
ConceptMap.group.element.​target.equivalence Base required ConceptMapEquivalence 📍4.0.1 FHIR Std.
ConceptMap.group.unmapped.​mode Base required ConceptMapGroupUnmappedMode 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
cmd-0 warning ConceptMap Name should be usable as an identifier for the module by machine processing applications such as code generation name.matches('[A-Z]([A-Za-z0-9_]){0,254}')
cmd-1 error ConceptMap.group.element.target If the map is narrower or inexact, there SHALL be some comments comment.exists() or equivalence.empty() or ((equivalence != 'narrower') and (equivalence != 'inexact'))
dom-2 error ConceptMap If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error ConceptMap If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error ConceptMap If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error ConceptMap If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice ConceptMap A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
livd-1 error ConceptMap.group.element.target If the dependsOn is valued, either the code or display must be present (dependsOn.exists() and (code.exists() or display.exists())) or dependsOn.empty()

Differential View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. ConceptMap 0..* ConceptMap LIVDTestCodeConceptMap
... url S 0..1 uri Canonical identifier for this concept map, represented as a URI (globally unique)
... name S 1..1 string Name for this concept map (computer friendly)
... status S 1..1 code draft | active | retired | unknown
... publisher 0..0 Name of the publisher (organization or individual)
... contact 0..0 Contact details for the publisher
... useContext 0..0 The context that the content is intended to support
... jurisdiction 0..* CodeableConcept Intended jurisdiction for concept map (if applicable)
... purpose 0..0 Why this concept map is defined
... copyright 0..0 Use and/or publishing restrictions
... source[x] S 0..1 uri, canonical(ValueSet) The source value set that contains the concepts that are being mapped
... target[x] S 1..1 uri, canonical(ValueSet) The target value set which provides context for the mappings
... group S 1..1 BackboneElement Same source and target systems
.... source 0..0 Source system where concepts to be mapped are defined
.... sourceVersion 0..0 Specific version of the code system
.... targetVersion S 0..1 string Specific version of the code system
.... element S 1..* BackboneElement Mappings for a Vendor Analyte Code from the source set
..... code S 1..1 code Identifies the Vendor Analyte Code being mapped
..... display S 1..1 string The Vendor Analyte Name
..... target SC 0..* BackboneElement Identifies the LOINC code being mapped to
Constraints: livd-1
...... code S 1..1 code Code that identifies the LOINC Code
...... display S 1..1 string LOINC Long Name
...... equivalence S 1..1 code relatedto | equivalent | equal | wider | subsumes | narrower | specializes | inexact | unmatched | disjoint
...... comment S 0..1 string Vendor Comment
...... Slices for dependsOn SC 0..4 BackboneElement Other elements required for this mapping (from context)
Slice: Unordered, Open by value:property
....... dependsOn:specimen S 0..1 BackboneElement The property for specimen
........ property S 1..1 uri Reference to property mapping depends on
Fixed Value: specimen
........ system 0..0 Code System (if necessary)
........ value S 1..1 string Value of the specimen property
........ display 0..0 Display for the code (if value is a code)
....... dependsOn:result S 0..1 BackboneElement The property for result
........ property S 1..1 uri Reference to property mapping depends on
Fixed Value: result
........ system 0..0 Code System (if necessary)
........ value S 1..1 string Value of the result property
........ display 0..0 Display for the code (if value is a code)
....... dependsOn:device S 0..1 BackboneElement The property for device
........ property S 1..1 uri Reference to property mapping depends on
Fixed Value: device
........ system 0..0 Code System (if necessary)
........ value S 1..1 string Value of the device property
........ display 0..0 Display for the code (if value is a code)
....... dependsOn:other S 0..1 BackboneElement The property for other
........ property S 1..1 uri Reference to property mapping depends on
Fixed Value: other
........ system 0..0 Code System (if necessary)
........ value S 1..1 string Value of the other value property
........ display 0..0 Display for the code (if value is a code)
...... product 0..0 Other concepts that this mapping also produces
.... unmapped 0..0 What to do when there is no mapping for the source concept

doco Documentation for this format

Constraints

Id Grade Path(s) Description Expression
livd-1 error ConceptMap.group.element.target If the dependsOn is valued, either the code or display must be present (dependsOn.exists() and (code.exists() or display.exists())) or dependsOn.empty()

Snapshot ViewView

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. ConceptMap C 0..* ConceptMap LIVDTestCodeConceptMap
Constraints: cmd-0
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... text 0..1 Narrative Text summary of the resource, for human interpretation
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
... contained 0..* Resource Contained, inline Resources
... extension 0..* Extension Additional content defined by implementations
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... url SΣ 0..1 uri Canonical identifier for this concept map, represented as a URI (globally unique)
... identifier Σ 0..1 Identifier Additional identifier for the concept map
... version Σ 0..1 string Business version of the concept map
... name SΣC 1..1 string Name for this concept map (computer friendly)
... title Σ 0..1 string Name for this concept map (human friendly)
... status ?!SΣ 1..1 code draft | active | retired | unknown
Binding: PublicationStatus (required): The lifecycle status of an artifact.
... experimental Σ 0..1 boolean For testing purposes, not real usage
... date Σ 0..1 dateTime Date last changed
... description 0..1 markdown Natural language description of the concept map
... jurisdiction Σ 0..* CodeableConcept Intended jurisdiction for concept map (if applicable)
Binding: Jurisdiction ValueSet (extensible): Countries and regions within which this artifact is targeted for use.
... source[x] SΣ 0..1 The source value set that contains the concepts that are being mapped
.... sourceUri uri
.... sourceCanonical canonical(ValueSet)
... target[x] SΣ 1..1 The target value set which provides context for the mappings
.... targetUri uri
.... targetCanonical canonical(ValueSet)
... group S 1..1 BackboneElement Same source and target systems
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... target 0..1 uri Target system that the concepts are to be mapped to
.... targetVersion S 0..1 string Specific version of the code system
.... element S 1..* BackboneElement Mappings for a Vendor Analyte Code from the source set
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... code S 1..1 code Identifies the Vendor Analyte Code being mapped
..... display S 1..1 string The Vendor Analyte Name
..... target SC 0..* BackboneElement Identifies the LOINC code being mapped to
Constraints: cmd-1, livd-1
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
...... code S 1..1 code Code that identifies the LOINC Code
...... display S 1..1 string LOINC Long Name
...... equivalence ?!S 1..1 code relatedto | equivalent | equal | wider | subsumes | narrower | specializes | inexact | unmatched | disjoint
Binding: ConceptMapEquivalence (required): The degree of equivalence between concepts.
...... comment SC 0..1 string Vendor Comment
...... Slices for dependsOn SC 0..4 BackboneElement Other elements required for this mapping (from context)
Slice: Unordered, Open by value:property
....... dependsOn:All Slices Content/Rules for all slices
........ id 0..1 string Unique id for inter-element referencing
........ extension 0..* Extension Additional content defined by implementations
........ modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
........ property 1..1 uri Reference to property mapping depends on
........ system 0..1 canonical(CodeSystem) Code System (if necessary)
........ value 1..1 string Value of the referenced element
........ display 0..1 string Display for the code (if value is a code)
....... dependsOn:specimen S 0..1 BackboneElement The property for specimen
........ id 0..1 string Unique id for inter-element referencing
........ extension 0..* Extension Additional content defined by implementations
........ modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
........ property S 1..1 uri Reference to property mapping depends on
Fixed Value: specimen
........ value S 1..1 string Value of the specimen property
....... dependsOn:result S 0..1 BackboneElement The property for result
........ id 0..1 string Unique id for inter-element referencing
........ extension 0..* Extension Additional content defined by implementations
........ modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
........ property S 1..1 uri Reference to property mapping depends on
Fixed Value: result
........ value S 1..1 string Value of the result property
....... dependsOn:device S 0..1 BackboneElement The property for device
........ id 0..1 string Unique id for inter-element referencing
........ extension 0..* Extension Additional content defined by implementations
........ modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
........ property S 1..1 uri Reference to property mapping depends on
Fixed Value: device
........ value S 1..1 string Value of the device property
....... dependsOn:other S 0..1 BackboneElement The property for other
........ id 0..1 string Unique id for inter-element referencing
........ extension 0..* Extension Additional content defined by implementations
........ modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
........ property S 1..1 uri Reference to property mapping depends on
Fixed Value: other
........ value S 1..1 string Value of the other value property

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
ConceptMap.language Base preferred Common Languages 📍4.0.1 FHIR Std.
ConceptMap.status Base required PublicationStatus 📍4.0.1 FHIR Std.
ConceptMap.jurisdiction Base extensible Jurisdiction 📍4.0.1 FHIR Std.
ConceptMap.group.element.​target.equivalence Base required ConceptMapEquivalence 📍4.0.1 FHIR Std.
ConceptMap.group.unmapped.​mode Base required ConceptMapGroupUnmappedMode 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
cmd-0 warning ConceptMap Name should be usable as an identifier for the module by machine processing applications such as code generation name.matches('[A-Z]([A-Za-z0-9_]){0,254}')
cmd-1 error ConceptMap.group.element.target If the map is narrower or inexact, there SHALL be some comments comment.exists() or equivalence.empty() or ((equivalence != 'narrower') and (equivalence != 'inexact'))
dom-2 error ConceptMap If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error ConceptMap If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error ConceptMap If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error ConceptMap If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice ConceptMap A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
livd-1 error ConceptMap.group.element.target If the dependsOn is valued, either the code or display must be present (dependsOn.exists() and (code.exists() or display.exists())) or dependsOn.empty()

Summary

Mandatory: 5 elements(2 nested mandatory elements)
Must-Support: 28 elements
Fixed: 4 elements
Prohibited: 17 elements

Slices

This structure defines the following Slices:

  • The element 1 is sliced based on the value of ConceptMap.group.element.target.dependsOn

Maturity: 2

 

Other representations of profile: CSV, Excel, Schematron