HL7 Version 2 to FHIR
1.0.0 - STU 1

HL7 Version 2 to FHIR - Downloaded Version 1.0.0 See the Directory of published versions

## Extension: TypeInfo

Official URL: http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo | Version: 1.0.0
Standards status: Trial-use | Maturity Level: 1 | Computable Name: TypeInfo

Type information for conversion

Context of Use

This extension may be used on the following element(s)

- Element ID: `ConceptMap.group.element`
- Element ID: `ConceptMap.group.element.target`

Usage info

Usages:

- Examples for this Extension: DatatypeCEToCodeableConcept, DatatypeCFToCodeableConcept, DatatypeCNEToCodeableConcept, DatatypeCNNToPractitioner... Show 46 more, DatatypeCQToCode, DatatypeCQToDecimal, DatatypeCQToQuantity, DatatypeCQToUnsignedInt, DatatypeCWEDurationUnitToTiming, DatatypeCWESupportingInfoToObservation, DatatypeCWEToAnnotation, DatatypeCWEToCode, DatatypeCWEToCodeableConcept, DatatypeCWEToCoding, DatatypeCWEToDevice, DatatypeCWEToDuration, DatatypeCWEToIdentifier, DatatypeCWEToOrganization, DatatypeCWEToPractitionerRole, DatatypeCWEToQuantity, DatatypeCWEToString, DatatypeCWEToUri, DatatypeCXMotherToRelatedPerson, DatatypeCXToIdentifier, DatatypeCXToString, DatatypeDLDDischargeToLocation, DatatypeDLNToIdentifier, DatatypeDRToDateTime, DatatypeDRToPeriod, DatatypeDTMTimeToAnnotation, DatatypeDTMToDateTime, DatatypeEDToAttachment, DatatypeEDToDocumentReference, DatatypeEIDefaultAssignerToIdentifier, DatatypeEIExtensionToIdentifier, DatatypeEIOrganizationToIdentifier, DatatypeEISystemToIdentifier, DatatypeEIToCoding, DatatypeEIToCondition, DatatypeEIToProcedure, DatatypeEIUdiCarrierToDevice, DatatypeEIPFillerAssignedIdentifierToIdentifier, DatatypeEIPPlacerAssignedIdentifierToIdentifier, DatatypeFNToHumanName, DatatypeFTCommentToAnnotation, DatatypeHDEndpointToMessageHeaderDestination, DatatypeHDEndpointToMessageHeaderSource, DatatypeHDNameToMessageHeaderDestination, DatatypeHDNameToMessageHeaderSource and DatatypeHDToDevice

You can also check for usages in the FHIR IG Statistics

### Formal Views of Extension Content

Description of Profiles, Differentials, Snapshots, and how the XML and JSON presentations work.

- Differential Table
- Snapshot Table
- Statistics/References
- All

This structure is derived from Extension

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Extension |  | 0..* | Extension | Extension
Slices for extension |  |  |  | Content/Rules for all slices
extension:type | S | 0..1 | Extension | Data Type of the item
extension |  | 0..0 |  |
url |  | 1..1 | uri | "type"
value[x] |  | 0..1 | code | Value of extension
extension:cardinalityMin | S | 0..1 | Extension | Minimum cardinality of the item
extension |  | 0..0 |  |
url |  | 1..1 | uri | "cardinalityMin"
value[x] |  | 0..1 | integer | Value of extension
extension:cardinalityMax | S | 0..1 | Extension | Maximum cardinality of the item
extension |  | 0..0 |  |
url |  | 1..1 | uri | "cardinalityMax"
value[x] |  | 0..1 | integer | Value of extension
extension:assignment | S | 0..1 | Extension | Assignment string value for the item
extension |  | 0..0 |  |
url |  | 1..1 | uri | "assignment"
value[x] |  | 0..1 | string | Value of extension
extension:mappedVia | S | 0..1 | Extension | Url of the mapping artifact for the item
extension |  | 0..0 |  |
url |  | 1..1 | uri | "mappedVia"
value[x] |  | 0..1 | url | Value of extension
url |  | 1..1 | uri | "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
value[x] |  | 0..0 |  |
Documentation for this format

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Extension |  | 0..* | Extension | Extension
id |  | 0..1 | string | Unique id for inter-element referencing
Slices for extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
extension:type | S | 0..1 | Extension | Data Type of the item
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..0 |  |
url |  | 1..1 | uri | "type"
value[x] |  | 0..1 | code | Value of extension
extension:cardinalityMin | S | 0..1 | Extension | Minimum cardinality of the item
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..0 |  |
url |  | 1..1 | uri | "cardinalityMin"
value[x] |  | 0..1 | integer | Value of extension
extension:cardinalityMax | S | 0..1 | Extension | Maximum cardinality of the item
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..0 |  |
url |  | 1..1 | uri | "cardinalityMax"
value[x] |  | 0..1 | integer | Value of extension
extension:assignment | S | 0..1 | Extension | Assignment string value for the item
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..0 |  |
url |  | 1..1 | uri | "assignment"
value[x] |  | 0..1 | string | Value of extension
extension:mappedVia | S | 0..1 | Extension | Url of the mapping artifact for the item
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..0 |  |
url |  | 1..1 | uri | "mappedVia"
value[x] |  | 0..1 | url | Value of extension
url |  | 1..1 | uri | "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
Documentation for this format

This structure is derived from Extension

Summary

Complex Extension: Type information for conversion

- type: code: An Extension
- cardinalityMin: integer: An Extension
- cardinalityMax: integer: An Extension
- assignment: string: An Extension
- mappedVia: url: An Extension

Maturity: 1

Differential View

This structure is derived from Extension

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Extension |  | 0..* | Extension | Extension
Slices for extension |  |  |  | Content/Rules for all slices
extension:type | S | 0..1 | Extension | Data Type of the item
extension |  | 0..0 |  |
url |  | 1..1 | uri | "type"
value[x] |  | 0..1 | code | Value of extension
extension:cardinalityMin | S | 0..1 | Extension | Minimum cardinality of the item
extension |  | 0..0 |  |
url |  | 1..1 | uri | "cardinalityMin"
value[x] |  | 0..1 | integer | Value of extension
extension:cardinalityMax | S | 0..1 | Extension | Maximum cardinality of the item
extension |  | 0..0 |  |
url |  | 1..1 | uri | "cardinalityMax"
value[x] |  | 0..1 | integer | Value of extension
extension:assignment | S | 0..1 | Extension | Assignment string value for the item
extension |  | 0..0 |  |
url |  | 1..1 | uri | "assignment"
value[x] |  | 0..1 | string | Value of extension
extension:mappedVia | S | 0..1 | Extension | Url of the mapping artifact for the item
extension |  | 0..0 |  |
url |  | 1..1 | uri | "mappedVia"
value[x] |  | 0..1 | url | Value of extension
url |  | 1..1 | uri | "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
value[x] |  | 0..0 |  |
Documentation for this format

Snapshot View

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Extension |  | 0..* | Extension | Extension
id |  | 0..1 | string | Unique id for inter-element referencing
Slices for extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
extension:type | S | 0..1 | Extension | Data Type of the item
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..0 |  |
url |  | 1..1 | uri | "type"
value[x] |  | 0..1 | code | Value of extension
extension:cardinalityMin | S | 0..1 | Extension | Minimum cardinality of the item
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..0 |  |
url |  | 1..1 | uri | "cardinalityMin"
value[x] |  | 0..1 | integer | Value of extension
extension:cardinalityMax | S | 0..1 | Extension | Maximum cardinality of the item
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..0 |  |
url |  | 1..1 | uri | "cardinalityMax"
value[x] |  | 0..1 | integer | Value of extension
extension:assignment | S | 0..1 | Extension | Assignment string value for the item
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..0 |  |
url |  | 1..1 | uri | "assignment"
value[x] |  | 0..1 | string | Value of extension
extension:mappedVia | S | 0..1 | Extension | Url of the mapping artifact for the item
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..0 |  |
url |  | 1..1 | uri | "mappedVia"
value[x] |  | 0..1 | url | Value of extension
url |  | 1..1 | uri | "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
Documentation for this format

This structure is derived from Extension

Summary

Complex Extension: Type information for conversion

- type: code: An Extension
- cardinalityMin: integer: An Extension
- cardinalityMax: integer: An Extension
- assignment: string: An Extension
- mappedVia: url: An Extension

Maturity: 1

Other representations of profile: CSV, Excel, Schematron

#### Constraints

Id | Grade | Path(s) | Description | Expression
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()`