Package | hl7.v2plus |
Resource Type | StructureDefinition |
Id | VR |
FHIR Version | R5 |
Source | http://somewhere.org/fhir/uv/v2plus/https://build.fhir.org/ig/HL7/v2ig/StructureDefinition-VR.html |
URL | http://hl7.org/v2/StructureDefinition/VR |
Version | 0.0.0 |
Status | active |
Date | 2025-07-11T16:45:01+00:00 |
Name | VR |
Title | HL7 v2 VR Data Type |
Authority | hl7 |
Description | *Note:* Replaces the CM data type used in 5.10.5.3.11 QRD-11 as of v 2.5. The VR differs from the Numeric Range (NR) data type only in that the values are not restricted to numbers. If the range is not numeric, the set must be orderable in some intuitive way such as alpha or the order must be defined in the field where the data type is used. Example 1: |+^+++| Example 2: Colors of the rainbow |violet^red| |
Type | http://hl7.org/v2/StructureDefinition/VR |
Kind | logical |
No resources found
StructureDefinition | |
ST | HL7 v2 String Primitive Type |
complex-data-type | HL7 v2 Complex Data Type |
Note: links and images are rebased to the (stated) source
Generated Narrative: StructureDefinition VR
Profile: HL7 v2 Complex Data Type Profile
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
![]() ![]() | 0..* | V2ComplexDataType | value range | |
![]() ![]() ![]() | 0..1 | string | First Data Code Value | |
![]() ![]() ![]() | 0..1 | string | Last Data Code Value | |
{ "resourceType": "StructureDefinition", "id": "VR", "meta": { "profile": [ "http://hl7.org/v2/StructureDefinition/complex-data-type-profile" ] }, "text": { "status": "extensions", "div": "<!-- snip (see above) -->" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueCode": "informative", "_valueCode": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom", "valueCanonical": "http://somewhere.org/fhir/uv/v2plus/ImplementationGuide/hl7.other.uv.v2plus" } ] } } ], "url": "http://hl7.org/v2/StructureDefinition/VR", "version": "0.0.0", "name": "VR", "title": "HL7 v2 VR Data Type", "status": "active", "date": "2025-07-11T16:45:01+00:00", "publisher": "HL7 International", "contact": [ { "telecom": [ { "system": "url", "value": "http://hl7.org/Special/committees/v2mgmt" } ] } ], "description": "*Note:* Replaces the CM data type used in 5.10.5.3.11 QRD-11 as of v 2.5.\n\nThe VR differs from the Numeric Range (NR) data type only in that the values are not restricted to numbers. If the range is not numeric, the set must be orderable in some intuitive way such as alpha or the order must be defined in the field where the data type is used.\n\nExample 1:\n\n|+^+++|\n\nExample 2: Colors of the rainbow\n\n|violet^red|", "fhirVersion": "5.0.0", "mapping": [ { "identity": "rim", "uri": "http://hl7.org/v3", "name": "RIM Mapping" } ], "kind": "logical", "abstract": false, "type": "http://hl7.org/v2/StructureDefinition/VR", "baseDefinition": "http://hl7.org/v2/StructureDefinition/complex-data-type", "derivation": "specialization", "snapshot": { "extension": [ { "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version", "valueString": "0.0.0" } ], "element": [ { "id": "VR", "path": "VR", "short": "value range", "definition": "*Definition:* This data type contains the lower bound value and upper bound values that constitute a range. Either or both components may be populated.", "min": 0, "max": "*", "base": { "path": "Base", "min": 0, "max": "*" }, "isModifier": false, "mapping": [ { "identity": "rim", "map": "n/a" } ] }, { "id": "VR.1", "extension": [ { "url": "http://hl7.org/v2/StructureDefinition/optionality", "valueCode": "O" }, { "extension": [ { "url": "length", "valueInteger": 6 }, { "url": "noTruncate", "valueBoolean": true } ], "url": "http://hl7.org/v2/StructureDefinition/conformance-length" } ], "path": "VR.1", "short": "First Data Code Value", "min": 0, "max": "1", "base": { "path": "VR.1", "min": 0, "max": "1" }, "type": [ { "code": "http://hl7.org/v2/StructureDefinition/ST" } ] }, { "id": "VR.2", "extension": [ { "url": "http://hl7.org/v2/StructureDefinition/optionality", "valueCode": "O" }, { "extension": [ { "url": "length", "valueInteger": 6 }, { "url": "noTruncate", "valueBoolean": true } ], "url": "http://hl7.org/v2/StructureDefinition/conformance-length" } ], "path": "VR.2", "short": "Last Data Code Value", "min": 0, "max": "1", "base": { "path": "VR.2", "min": 0, "max": "1" }, "type": [ { "code": "http://hl7.org/v2/StructureDefinition/ST" } ] } ] }, "differential": { "element": [ { "id": "VR", "path": "VR", "short": "value range", "definition": "*Definition:* This data type contains the lower bound value and upper bound values that constitute a range. Either or both components may be populated.", "min": 0, "max": "*" }, { "id": "VR.1", "extension": [ { "url": "http://hl7.org/v2/StructureDefinition/optionality", "valueCode": "O" }, { "extension": [ { "url": "length", "valueInteger": 6 }, { "url": "noTruncate", "valueBoolean": true } ], "url": "http://hl7.org/v2/StructureDefinition/conformance-length" } ], "path": "VR.1", "short": "First Data Code Value", "min": 0, "max": "1", "type": [ { "code": "http://hl7.org/v2/StructureDefinition/ST" } ] }, { "id": "VR.2", "extension": [ { "url": "http://hl7.org/v2/StructureDefinition/optionality", "valueCode": "O" }, { "extension": [ { "url": "length", "valueInteger": 6 }, { "url": "noTruncate", "valueBoolean": true } ], "url": "http://hl7.org/v2/StructureDefinition/conformance-length" } ], "path": "VR.2", "short": "Last Data Code Value", "min": 0, "max": "1", "type": [ { "code": "http://hl7.org/v2/StructureDefinition/ST" } ] } ] } }