| Package | hl7.v2plus |
| Resource Type | StructureDefinition |
| Id | OG |
| FHIR Version | R5 |
| Source | http://somewhere.org/fhir/uv/v2plus/https://build.fhir.org/ig/HL7/v2ig/StructureDefinition-OG.html |
| URL | http://hl7.org/v2/StructureDefinition/OG |
| Version | 0.0.0 |
| Status | active |
| Date | 2025-08-11T19:32:53+00:00 |
| Name | OG |
| Title | HL7 v2 OG Data Type |
| Authority | hl7 |
| Description | Example: Original Mode - |1.3 2| where the dot and space are locally defined; Enhanced Mode - |^1^3^2| where the standard defines the purpose of the components to enable grouping. *Note:* In original mode, OG.1 plus OBX-3 provides uniqueness; in enhanced mode OG.2 and OG.3 plus OBX-3 will provide uniqueness; OG.4 may not be present. |
| Type | http://hl7.org/v2/StructureDefinition/OG |
| Kind | logical |
No resources found
| StructureDefinition | |
| NM | HL7 v2 Numeric Primitive Type |
| 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 OG
Profile: HL7 v2 Complex Data Type Profile
| Name | Flags | Card. | Type | Description & Constraints |
|---|---|---|---|---|
![]() | 0..* | V2ComplexDataType | observation grouper | |
![]() ![]() | 0..1 | string | Original Sub-Identifier | |
![]() ![]() | 0..1 | decimal | Group | |
![]() ![]() | 0..1 | decimal | Sequence | |
![]() ![]() | 0..1 | string | Identifier | |
{
"resourceType": "StructureDefinition",
"id": "OG",
"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/OG",
"version": "0.0.0",
"name": "OG",
"title": "HL7 v2 OG Data Type",
"status": "active",
"date": "2025-08-11T19:32:53+00:00",
"publisher": "HL7 International",
"contact": [
{
"telecom": [
{
"system": "url",
"value": "http://hl7.org/Special/committees/v2mgmt"
}
]
}
],
"description": "Example: Original Mode - |1.3 2| where the dot and space are locally defined; Enhanced Mode - |^1^3^2| where the standard defines the purpose of the components to enable grouping.\n\n*Note:* In original mode, OG.1 plus OBX-3 provides uniqueness; in enhanced mode OG.2 and OG.3 plus OBX-3 will provide uniqueness; OG.4 may not be present.",
"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/OG",
"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": "OG",
"path": "OG",
"short": "observation grouper",
"definition": "Definition: The components that can be used to define the structure of the observation/result segments (OBX) within an observation report segment (OBR).",
"min": 0,
"max": "*",
"base": {
"path": "Base",
"min": 0,
"max": "*"
},
"isModifier": false,
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "OG.1",
"extension": [
{
"url": "http://hl7.org/v2/StructureDefinition/optionality",
"valueCode": "O"
},
{
"extension": [
{
"url": "length",
"valueInteger": 20
},
{
"url": "noTruncate",
"valueBoolean": true
}
],
"url": "http://hl7.org/v2/StructureDefinition/conformance-length"
}
],
"path": "OG.1",
"short": "Original Sub-Identifier",
"min": 0,
"max": "1",
"base": {
"path": "OG.1",
"min": 0,
"max": "1"
},
"type": [
{
"code": "http://hl7.org/v2/StructureDefinition/ST"
}
]
},
{
"id": "OG.2",
"extension": [
{
"url": "http://hl7.org/v2/StructureDefinition/optionality",
"valueCode": "O"
}
],
"path": "OG.2",
"short": "Group",
"min": 0,
"max": "1",
"base": {
"path": "OG.2",
"min": 0,
"max": "1"
},
"type": [
{
"code": "http://hl7.org/v2/StructureDefinition/NM"
}
]
},
{
"id": "OG.3",
"extension": [
{
"url": "http://hl7.org/v2/StructureDefinition/optionality",
"valueCode": "O"
}
],
"path": "OG.3",
"short": "Sequence",
"min": 0,
"max": "1",
"base": {
"path": "OG.3",
"min": 0,
"max": "1"
},
"type": [
{
"code": "http://hl7.org/v2/StructureDefinition/NM"
}
]
},
{
"id": "OG.4",
"extension": [
{
"url": "http://hl7.org/v2/StructureDefinition/optionality",
"valueCode": "O"
}
],
"path": "OG.4",
"short": "Identifier",
"min": 0,
"max": "1",
"base": {
"path": "OG.4",
"min": 0,
"max": "1"
},
"type": [
{
"code": "http://hl7.org/v2/StructureDefinition/ST"
}
]
}
]
},
"differential": {
"element": [
{
"id": "OG",
"path": "OG",
"short": "observation grouper",
"definition": "Definition: The components that can be used to define the structure of the observation/result segments (OBX) within an observation report segment (OBR).",
"min": 0,
"max": "*"
},
{
"id": "OG.1",
"extension": [
{
"url": "http://hl7.org/v2/StructureDefinition/optionality",
"valueCode": "O"
},
{
"extension": [
{
"url": "length",
"valueInteger": 20
},
{
"url": "noTruncate",
"valueBoolean": true
}
],
"url": "http://hl7.org/v2/StructureDefinition/conformance-length"
}
],
"path": "OG.1",
"short": "Original Sub-Identifier",
"min": 0,
"max": "1",
"type": [
{
"code": "http://hl7.org/v2/StructureDefinition/ST"
}
]
},
{
"id": "OG.2",
"extension": [
{
"url": "http://hl7.org/v2/StructureDefinition/optionality",
"valueCode": "O"
}
],
"path": "OG.2",
"short": "Group",
"min": 0,
"max": "1",
"type": [
{
"code": "http://hl7.org/v2/StructureDefinition/NM"
}
]
},
{
"id": "OG.3",
"extension": [
{
"url": "http://hl7.org/v2/StructureDefinition/optionality",
"valueCode": "O"
}
],
"path": "OG.3",
"short": "Sequence",
"min": 0,
"max": "1",
"type": [
{
"code": "http://hl7.org/v2/StructureDefinition/NM"
}
]
},
{
"id": "OG.4",
"extension": [
{
"url": "http://hl7.org/v2/StructureDefinition/optionality",
"valueCode": "O"
}
],
"path": "OG.4",
"short": "Identifier",
"min": 0,
"max": "1",
"type": [
{
"code": "http://hl7.org/v2/StructureDefinition/ST"
}
]
}
]
}
}