OCL Implementation Guide
0.1.0 - ci-build
OCL Implementation Guide - Local Development build (v0.1.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions
Official URL: http://openconceptlab.org/fhir/StructureDefinition/OCLConceptMap | Version: 0.1.0 | |||
Active as of 2025-04-02 | Computable Name: OCLConceptMap |
A profile for ConceptMap resources as defined by Open Concept Lab terminology services.
Usage:
Description of Profiles, Differentials, Snapshots and how the different presentations work.
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() |
C | 0..* | ConceptMap | A map from one set of concepts to one or more other concepts cmd-0: Name should be usable as an identifier for the module by machine processing applications such as code generation dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources dom-3: 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 dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-5: If a resource is contained in another resource, it SHALL NOT have a security label dom-6: A resource should have narrative for robust management |
![]() ![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
![]() ![]() ![]() |
SΣ | 1..1 | uri | Canonical identifier for this concept map, represented as a URI (globally unique) ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
SΣ | 1..1 | Identifier | Additional identifier for the concept map ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
SΣ | 1..1 | string | Business version of the concept map ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
SΣ | 1..1 | string | Name for this concept map (computer friendly) ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
SΣ | 1..1 | string | Name for this concept map (human friendly) ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
?!SΣ | 1..1 | code | draft | active | retired | unknown Binding: PublicationStatus (required) ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
SΣ | 0..1 | string | Name of the publisher (organization or individual) ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
SΣ | 1..1 | The source system or value set (uri or Reference) ele-1: All FHIR elements must have a @value or children | |
![]() ![]() ![]() ![]() |
uri | |||
![]() ![]() ![]() ![]() |
canonical(ValueSet) | |||
![]() ![]() ![]() |
SΣ | 1..1 | The target system or value set (uri or Reference) ele-1: All FHIR elements must have a @value or children | |
![]() ![]() ![]() ![]() |
uri | |||
![]() ![]() ![]() ![]() |
canonical(ValueSet) | |||
![]() ![]() ![]() |
S | 0..* | BackboneElement | Same source and target systems ele-1: All FHIR elements must have a @value or children unless an empty Parameters resource |
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
![]() ![]() ![]() ![]() |
S | 1..1 | uri | URI of source system ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() |
S | 1..1 | uri | URI of target system ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() |
S | 1..* | BackboneElement | Mappings for a concept from the source set ele-1: All FHIR elements must have a @value or children unless an empty Parameters resource |
![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
![]() ![]() ![]() ![]() ![]() |
S | 1..1 | code | Identifies element being mapped ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() ![]() |
SC | 1..* | BackboneElement | Concept in target system for element cmd-1: If the map is narrower or inexact, there SHALL be some comments ele-1: All FHIR elements must have a @value or children unless an empty Parameters resource |
![]() ![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
![]() ![]() ![]() ![]() ![]() ![]() |
S | 1..1 | code | Code that identifies the target element ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() ![]() ![]() |
?!S | 1..1 | code | relatedto | equivalent | equal | wider | subsumes | narrower | specializes | inexact | unmatched | disjoint Binding: ConceptMapEquivalence (required) ele-1: All FHIR elements must have a @value or children |
![]() |
Path | Conformance | ValueSet | URI |
ConceptMap.status | required | PublicationStatushttp://hl7.org/fhir/ValueSet/publication-status from the FHIR Standard | |
ConceptMap.group.element.target.equivalence | required | ConceptMapEquivalencehttp://hl7.org/fhir/ValueSet/concept-map-equivalence |
Id | Grade | Path(s) | Details | Requirements |
cmd-0 | warning | ConceptMap | Name should be usable as an identifier for the module by machine processing applications such as code generation : name.exists() implies 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.exists() and ('#'+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(uri) = '#').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() |
This structure is derived from ConceptMap
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() |
0..* | ConceptMap | A map from one set of concepts to one or more other concepts | |
![]() ![]() ![]() |
S | 1..1 | uri | Canonical identifier for this concept map, represented as a URI (globally unique) |
![]() ![]() ![]() |
S | 1..1 | Identifier | Additional identifier for the concept map |
![]() ![]() ![]() |
S | 1..1 | string | Business version of the concept map |
![]() ![]() ![]() |
S | 1..1 | string | Name for this concept map (computer friendly) |
![]() ![]() ![]() |
S | 1..1 | string | Name for this concept map (human friendly) |
![]() ![]() ![]() |
S | 1..1 | code | draft | active | retired | unknown Binding: PublicationStatus (required) |
![]() ![]() ![]() |
S | 0..1 | string | Name of the publisher (organization or individual) |
![]() ![]() ![]() |
S | 1..1 | uri, canonical(ValueSet) | The source system or value set (uri or Reference) |
![]() ![]() ![]() |
S | 1..1 | uri, canonical(ValueSet) | The target system or value set (uri or Reference) |
![]() ![]() ![]() |
S | 0..* | BackboneElement | Same source and target systems |
![]() ![]() ![]() ![]() |
S | 1..1 | uri | URI of source system |
![]() ![]() ![]() ![]() |
S | 1..1 | uri | URI of target system |
![]() ![]() ![]() ![]() |
S | 1..* | BackboneElement | Mappings for a concept from the source set |
![]() ![]() ![]() ![]() ![]() |
S | 1..1 | code | Identifies element being mapped |
![]() ![]() ![]() ![]() ![]() |
S | 1..* | BackboneElement | Concept in target system for element |
![]() ![]() ![]() ![]() ![]() ![]() |
S | 1..1 | code | Code that identifies the target element |
![]() ![]() ![]() ![]() ![]() ![]() |
S | 1..1 | code | relatedto | equivalent | equal | wider | subsumes | narrower | specializes | inexact | unmatched | disjoint Binding: ConceptMapEquivalence (required) |
![]() |
Path | Conformance | ValueSet | URI |
ConceptMap.status | required | PublicationStatushttp://hl7.org/fhir/ValueSet/publication-status from the FHIR Standard | |
ConceptMap.group.element.target.equivalence | required | ConceptMapEquivalencehttp://hl7.org/fhir/ValueSet/concept-map-equivalence |
Name | Flags | Card. | Type | Description & Constraints![]() | ||||
---|---|---|---|---|---|---|---|---|
![]() ![]() |
C | 0..* | ConceptMap | A map from one set of concepts to one or more other concepts cmd-0: Name should be usable as an identifier for the module by machine processing applications such as code generation | ||||
![]() ![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() ![]() |
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): IETF language tag
| |||||
![]() ![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation | |||||
![]() ![]() ![]() |
0..* | Resource | Contained, inline Resources dom-r4b: Containing new R4B resources within R4 resources may cause interoperability issues if instances are shared with R4 systems | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() ![]() |
SΣ | 1..1 | uri | Canonical identifier for this concept map, represented as a URI (globally unique) | ||||
![]() ![]() ![]() |
SΣ | 1..1 | Identifier | Additional identifier for the concept map | ||||
![]() ![]() ![]() |
SΣ | 1..1 | string | Business version of the concept map | ||||
![]() ![]() ![]() |
SΣ | 1..1 | string | Name for this concept map (computer friendly) | ||||
![]() ![]() ![]() |
SΣ | 1..1 | string | Name for this concept map (human friendly) | ||||
![]() ![]() ![]() |
?!SΣ | 1..1 | code | draft | active | retired | unknown Binding: PublicationStatus (required) | ||||
![]() ![]() ![]() |
Σ | 0..1 | boolean | For testing purposes, not real usage | ||||
![]() ![]() ![]() |
Σ | 0..1 | dateTime | Date last changed | ||||
![]() ![]() ![]() |
SΣ | 0..1 | string | Name of the publisher (organization or individual) | ||||
![]() ![]() ![]() |
Σ | 0..* | ContactDetail | Contact details for the publisher | ||||
![]() ![]() ![]() |
0..1 | markdown | Natural language description of the concept map | |||||
![]() ![]() ![]() |
Σ | 0..* | UsageContext | The context that the content is intended to support | ||||
![]() ![]() ![]() |
Σ | 0..* | CodeableConcept | Intended jurisdiction for concept map (if applicable) Binding: Jurisdiction ValueSet (extensible): Countries and regions within which this artifact is targeted for use. | ||||
![]() ![]() ![]() |
0..1 | markdown | Why this concept map is defined | |||||
![]() ![]() ![]() |
0..1 | markdown | Use and/or publishing restrictions | |||||
![]() ![]() ![]() |
SΣ | 1..1 | The source system or value set (uri or Reference) | |||||
![]() ![]() ![]() ![]() |
uri | |||||||
![]() ![]() ![]() ![]() |
canonical(ValueSet) | |||||||
![]() ![]() ![]() |
SΣ | 1..1 | The target system or value set (uri or Reference) | |||||
![]() ![]() ![]() ![]() |
uri | |||||||
![]() ![]() ![]() ![]() |
canonical(ValueSet) | |||||||
![]() ![]() ![]() |
S | 0..* | BackboneElement | Same source and target systems | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() |
S | 1..1 | uri | URI of source system | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Specific version of the code system | |||||
![]() ![]() ![]() ![]() |
S | 1..1 | uri | URI of target system | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Specific version of the code system | |||||
![]() ![]() ![]() ![]() |
S | 1..* | BackboneElement | Mappings for a concept from the source set | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() ![]() |
S | 1..1 | code | Identifies element being mapped | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Display for the code | |||||
![]() ![]() ![]() ![]() ![]() |
SC | 1..* | BackboneElement | Concept in target system for element cmd-1: If the map is narrower or inexact, there SHALL be some comments | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
S | 1..1 | code | Code that identifies the target element | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Display for the code | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
?!S | 1..1 | code | relatedto | equivalent | equal | wider | subsumes | narrower | specializes | inexact | unmatched | disjoint Binding: ConceptMapEquivalence (required) | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
C | 0..1 | string | Description of status/issues in mapping | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..* | BackboneElement | Other elements required for this mapping (from context) | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Reference to property mapping depends on | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | canonical(CodeSystem) | Code System (if necessary) | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | string | Value of the referenced element | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Display for the code (if value is a code) | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..* | See dependsOn (ConceptMap) | Other concepts that this mapping also produces | |||||
![]() ![]() ![]() ![]() |
C | 0..1 | BackboneElement | What to do when there is no mapping for the source concept cmd-2: If the mode is 'fixed', a code must be provided cmd-3: If the mode is 'other-map', a url must be provided | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() ![]() |
1..1 | code | provided | fixed | other-map Binding: ConceptMapGroupUnmappedMode (required): Defines which action to take if there is no match in the group. | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | code | Fixed code when mode = fixed | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Display for the code | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | canonical(ConceptMap) | canonical reference to an additional ConceptMap to use for mapping if the source concept is unmapped | |||||
![]() |
Path | Conformance | ValueSet | URI | |||
ConceptMap.language | preferred | CommonLanguageshttp://hl7.org/fhir/ValueSet/languages from the FHIR Standard
| ||||
ConceptMap.status | required | PublicationStatushttp://hl7.org/fhir/ValueSet/publication-status from the FHIR Standard | ||||
ConceptMap.jurisdiction | extensible | Jurisdiction ValueSethttp://hl7.org/fhir/ValueSet/jurisdiction from the FHIR Standard | ||||
ConceptMap.group.element.target.equivalence | required | ConceptMapEquivalencehttp://hl7.org/fhir/ValueSet/concept-map-equivalence | ||||
ConceptMap.group.unmapped.mode | required | ConceptMapGroupUnmappedModehttp://hl7.org/fhir/ValueSet/conceptmap-unmapped-mode|4.3.0 from the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
cmd-0 | warning | ConceptMap | Name should be usable as an identifier for the module by machine processing applications such as code generation : name.exists() implies 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')) | |
cmd-2 | error | ConceptMap.group.unmapped | If the mode is 'fixed', a code must be provided : (mode = 'fixed') implies code.exists() | |
cmd-3 | error | ConceptMap.group.unmapped | If the mode is 'other-map', a url must be provided : (mode = 'other-map') implies url.exists() | |
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.exists() and ('#'+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(uri) = '#').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() | |
dom-r4b | warning | ConceptMap.contained | Containing new R4B resources within R4 resources may cause interoperability issues if instances are shared with R4 systems : ($this is Citation or $this is Evidence or $this is EvidenceReport or $this is EvidenceVariable or $this is MedicinalProductDefinition or $this is PackagedProductDefinition or $this is AdministrableProductDefinition or $this is Ingredient or $this is ClinicalUseDefinition or $this is RegulatedAuthorization or $this is SubstanceDefinition or $this is SubscriptionStatus or $this is SubscriptionTopic) implies (%resource is Citation or %resource is Evidence or %resource is EvidenceReport or %resource is EvidenceVariable or %resource is MedicinalProductDefinition or %resource is PackagedProductDefinition or %resource is AdministrableProductDefinition or %resource is Ingredient or %resource is ClinicalUseDefinition or %resource is RegulatedAuthorization or %resource is SubstanceDefinition or %resource is SubscriptionStatus or %resource is SubscriptionTopic) | |
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() |
This structure is derived from ConceptMap
Key Elements View
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() |
C | 0..* | ConceptMap | A map from one set of concepts to one or more other concepts cmd-0: Name should be usable as an identifier for the module by machine processing applications such as code generation dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources dom-3: 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 dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-5: If a resource is contained in another resource, it SHALL NOT have a security label dom-6: A resource should have narrative for robust management |
![]() ![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
![]() ![]() ![]() |
SΣ | 1..1 | uri | Canonical identifier for this concept map, represented as a URI (globally unique) ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
SΣ | 1..1 | Identifier | Additional identifier for the concept map ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
SΣ | 1..1 | string | Business version of the concept map ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
SΣ | 1..1 | string | Name for this concept map (computer friendly) ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
SΣ | 1..1 | string | Name for this concept map (human friendly) ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
?!SΣ | 1..1 | code | draft | active | retired | unknown Binding: PublicationStatus (required) ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
SΣ | 0..1 | string | Name of the publisher (organization or individual) ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
SΣ | 1..1 | The source system or value set (uri or Reference) ele-1: All FHIR elements must have a @value or children | |
![]() ![]() ![]() ![]() |
uri | |||
![]() ![]() ![]() ![]() |
canonical(ValueSet) | |||
![]() ![]() ![]() |
SΣ | 1..1 | The target system or value set (uri or Reference) ele-1: All FHIR elements must have a @value or children | |
![]() ![]() ![]() ![]() |
uri | |||
![]() ![]() ![]() ![]() |
canonical(ValueSet) | |||
![]() ![]() ![]() |
S | 0..* | BackboneElement | Same source and target systems ele-1: All FHIR elements must have a @value or children unless an empty Parameters resource |
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
![]() ![]() ![]() ![]() |
S | 1..1 | uri | URI of source system ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() |
S | 1..1 | uri | URI of target system ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() |
S | 1..* | BackboneElement | Mappings for a concept from the source set ele-1: All FHIR elements must have a @value or children unless an empty Parameters resource |
![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
![]() ![]() ![]() ![]() ![]() |
S | 1..1 | code | Identifies element being mapped ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() ![]() |
SC | 1..* | BackboneElement | Concept in target system for element cmd-1: If the map is narrower or inexact, there SHALL be some comments ele-1: All FHIR elements must have a @value or children unless an empty Parameters resource |
![]() ![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
![]() ![]() ![]() ![]() ![]() ![]() |
S | 1..1 | code | Code that identifies the target element ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() ![]() ![]() |
?!S | 1..1 | code | relatedto | equivalent | equal | wider | subsumes | narrower | specializes | inexact | unmatched | disjoint Binding: ConceptMapEquivalence (required) ele-1: All FHIR elements must have a @value or children |
![]() |
Path | Conformance | ValueSet | URI |
ConceptMap.status | required | PublicationStatushttp://hl7.org/fhir/ValueSet/publication-status from the FHIR Standard | |
ConceptMap.group.element.target.equivalence | required | ConceptMapEquivalencehttp://hl7.org/fhir/ValueSet/concept-map-equivalence |
Id | Grade | Path(s) | Details | Requirements |
cmd-0 | warning | ConceptMap | Name should be usable as an identifier for the module by machine processing applications such as code generation : name.exists() implies 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.exists() and ('#'+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(uri) = '#').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() |
Differential View
This structure is derived from ConceptMap
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() |
0..* | ConceptMap | A map from one set of concepts to one or more other concepts | |
![]() ![]() ![]() |
S | 1..1 | uri | Canonical identifier for this concept map, represented as a URI (globally unique) |
![]() ![]() ![]() |
S | 1..1 | Identifier | Additional identifier for the concept map |
![]() ![]() ![]() |
S | 1..1 | string | Business version of the concept map |
![]() ![]() ![]() |
S | 1..1 | string | Name for this concept map (computer friendly) |
![]() ![]() ![]() |
S | 1..1 | string | Name for this concept map (human friendly) |
![]() ![]() ![]() |
S | 1..1 | code | draft | active | retired | unknown Binding: PublicationStatus (required) |
![]() ![]() ![]() |
S | 0..1 | string | Name of the publisher (organization or individual) |
![]() ![]() ![]() |
S | 1..1 | uri, canonical(ValueSet) | The source system or value set (uri or Reference) |
![]() ![]() ![]() |
S | 1..1 | uri, canonical(ValueSet) | The target system or value set (uri or Reference) |
![]() ![]() ![]() |
S | 0..* | BackboneElement | Same source and target systems |
![]() ![]() ![]() ![]() |
S | 1..1 | uri | URI of source system |
![]() ![]() ![]() ![]() |
S | 1..1 | uri | URI of target system |
![]() ![]() ![]() ![]() |
S | 1..* | BackboneElement | Mappings for a concept from the source set |
![]() ![]() ![]() ![]() ![]() |
S | 1..1 | code | Identifies element being mapped |
![]() ![]() ![]() ![]() ![]() |
S | 1..* | BackboneElement | Concept in target system for element |
![]() ![]() ![]() ![]() ![]() ![]() |
S | 1..1 | code | Code that identifies the target element |
![]() ![]() ![]() ![]() ![]() ![]() |
S | 1..1 | code | relatedto | equivalent | equal | wider | subsumes | narrower | specializes | inexact | unmatched | disjoint Binding: ConceptMapEquivalence (required) |
![]() |
Path | Conformance | ValueSet | URI |
ConceptMap.status | required | PublicationStatushttp://hl7.org/fhir/ValueSet/publication-status from the FHIR Standard | |
ConceptMap.group.element.target.equivalence | required | ConceptMapEquivalencehttp://hl7.org/fhir/ValueSet/concept-map-equivalence |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints![]() | ||||
---|---|---|---|---|---|---|---|---|
![]() ![]() |
C | 0..* | ConceptMap | A map from one set of concepts to one or more other concepts cmd-0: Name should be usable as an identifier for the module by machine processing applications such as code generation | ||||
![]() ![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() ![]() |
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): IETF language tag
| |||||
![]() ![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation | |||||
![]() ![]() ![]() |
0..* | Resource | Contained, inline Resources dom-r4b: Containing new R4B resources within R4 resources may cause interoperability issues if instances are shared with R4 systems | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() ![]() |
SΣ | 1..1 | uri | Canonical identifier for this concept map, represented as a URI (globally unique) | ||||
![]() ![]() ![]() |
SΣ | 1..1 | Identifier | Additional identifier for the concept map | ||||
![]() ![]() ![]() |
SΣ | 1..1 | string | Business version of the concept map | ||||
![]() ![]() ![]() |
SΣ | 1..1 | string | Name for this concept map (computer friendly) | ||||
![]() ![]() ![]() |
SΣ | 1..1 | string | Name for this concept map (human friendly) | ||||
![]() ![]() ![]() |
?!SΣ | 1..1 | code | draft | active | retired | unknown Binding: PublicationStatus (required) | ||||
![]() ![]() ![]() |
Σ | 0..1 | boolean | For testing purposes, not real usage | ||||
![]() ![]() ![]() |
Σ | 0..1 | dateTime | Date last changed | ||||
![]() ![]() ![]() |
SΣ | 0..1 | string | Name of the publisher (organization or individual) | ||||
![]() ![]() ![]() |
Σ | 0..* | ContactDetail | Contact details for the publisher | ||||
![]() ![]() ![]() |
0..1 | markdown | Natural language description of the concept map | |||||
![]() ![]() ![]() |
Σ | 0..* | UsageContext | The context that the content is intended to support | ||||
![]() ![]() ![]() |
Σ | 0..* | CodeableConcept | Intended jurisdiction for concept map (if applicable) Binding: Jurisdiction ValueSet (extensible): Countries and regions within which this artifact is targeted for use. | ||||
![]() ![]() ![]() |
0..1 | markdown | Why this concept map is defined | |||||
![]() ![]() ![]() |
0..1 | markdown | Use and/or publishing restrictions | |||||
![]() ![]() ![]() |
SΣ | 1..1 | The source system or value set (uri or Reference) | |||||
![]() ![]() ![]() ![]() |
uri | |||||||
![]() ![]() ![]() ![]() |
canonical(ValueSet) | |||||||
![]() ![]() ![]() |
SΣ | 1..1 | The target system or value set (uri or Reference) | |||||
![]() ![]() ![]() ![]() |
uri | |||||||
![]() ![]() ![]() ![]() |
canonical(ValueSet) | |||||||
![]() ![]() ![]() |
S | 0..* | BackboneElement | Same source and target systems | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() |
S | 1..1 | uri | URI of source system | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Specific version of the code system | |||||
![]() ![]() ![]() ![]() |
S | 1..1 | uri | URI of target system | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Specific version of the code system | |||||
![]() ![]() ![]() ![]() |
S | 1..* | BackboneElement | Mappings for a concept from the source set | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() ![]() |
S | 1..1 | code | Identifies element being mapped | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Display for the code | |||||
![]() ![]() ![]() ![]() ![]() |
SC | 1..* | BackboneElement | Concept in target system for element cmd-1: If the map is narrower or inexact, there SHALL be some comments | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
S | 1..1 | code | Code that identifies the target element | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Display for the code | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
?!S | 1..1 | code | relatedto | equivalent | equal | wider | subsumes | narrower | specializes | inexact | unmatched | disjoint Binding: ConceptMapEquivalence (required) | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
C | 0..1 | string | Description of status/issues in mapping | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..* | BackboneElement | Other elements required for this mapping (from context) | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Reference to property mapping depends on | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | canonical(CodeSystem) | Code System (if necessary) | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | string | Value of the referenced element | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Display for the code (if value is a code) | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..* | See dependsOn (ConceptMap) | Other concepts that this mapping also produces | |||||
![]() ![]() ![]() ![]() |
C | 0..1 | BackboneElement | What to do when there is no mapping for the source concept cmd-2: If the mode is 'fixed', a code must be provided cmd-3: If the mode is 'other-map', a url must be provided | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() ![]() |
1..1 | code | provided | fixed | other-map Binding: ConceptMapGroupUnmappedMode (required): Defines which action to take if there is no match in the group. | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | code | Fixed code when mode = fixed | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Display for the code | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | canonical(ConceptMap) | canonical reference to an additional ConceptMap to use for mapping if the source concept is unmapped | |||||
![]() |
Path | Conformance | ValueSet | URI | |||
ConceptMap.language | preferred | CommonLanguageshttp://hl7.org/fhir/ValueSet/languages from the FHIR Standard
| ||||
ConceptMap.status | required | PublicationStatushttp://hl7.org/fhir/ValueSet/publication-status from the FHIR Standard | ||||
ConceptMap.jurisdiction | extensible | Jurisdiction ValueSethttp://hl7.org/fhir/ValueSet/jurisdiction from the FHIR Standard | ||||
ConceptMap.group.element.target.equivalence | required | ConceptMapEquivalencehttp://hl7.org/fhir/ValueSet/concept-map-equivalence | ||||
ConceptMap.group.unmapped.mode | required | ConceptMapGroupUnmappedModehttp://hl7.org/fhir/ValueSet/conceptmap-unmapped-mode|4.3.0 from the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
cmd-0 | warning | ConceptMap | Name should be usable as an identifier for the module by machine processing applications such as code generation : name.exists() implies 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')) | |
cmd-2 | error | ConceptMap.group.unmapped | If the mode is 'fixed', a code must be provided : (mode = 'fixed') implies code.exists() | |
cmd-3 | error | ConceptMap.group.unmapped | If the mode is 'other-map', a url must be provided : (mode = 'other-map') implies url.exists() | |
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.exists() and ('#'+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(uri) = '#').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() | |
dom-r4b | warning | ConceptMap.contained | Containing new R4B resources within R4 resources may cause interoperability issues if instances are shared with R4 systems : ($this is Citation or $this is Evidence or $this is EvidenceReport or $this is EvidenceVariable or $this is MedicinalProductDefinition or $this is PackagedProductDefinition or $this is AdministrableProductDefinition or $this is Ingredient or $this is ClinicalUseDefinition or $this is RegulatedAuthorization or $this is SubstanceDefinition or $this is SubscriptionStatus or $this is SubscriptionTopic) implies (%resource is Citation or %resource is Evidence or %resource is EvidenceReport or %resource is EvidenceVariable or %resource is MedicinalProductDefinition or %resource is PackagedProductDefinition or %resource is AdministrableProductDefinition or %resource is Ingredient or %resource is ClinicalUseDefinition or %resource is RegulatedAuthorization or %resource is SubstanceDefinition or %resource is SubscriptionStatus or %resource is SubscriptionTopic) | |
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() |
This structure is derived from ConceptMap
Other representations of profile: CSV, Excel, Schematron