| Package | hl7.v2plus |
| Resource Type | StructureDefinition |
| Id | SRT |
| FHIR Version | R5 |
| Source | http://somewhere.org/fhir/uv/v2plus/https://build.fhir.org/ig/HL7/v2ig/StructureDefinition-SRT.html |
| URL | http://hl7.org/v2/StructureDefinition/SRT |
| Version | 0.0.0 |
| Status | active |
| Date | 2025-08-11T19:32:53+00:00 |
| Name | SRT |
| Title | HL7 v2 SRT Data Type |
| Authority | hl7 |
| Description | Example: In a tabular response query, where the return data is known by column name, the SRT might look like: |LastName^A~FirstName^A| Example: In a segment response query, where the return data is known by segment and offset, the SRT field would use segment field name notation: |PID.3.1^A~PID.3.2^A| |
| Type | http://hl7.org/v2/StructureDefinition/SRT |
| Kind | logical |
No resources found
| StructureDefinition | |
| ID | HL7 v2 ID Data Type |
| ST | HL7 v2 String Primitive Type |
| complex-data-type | HL7 v2 Complex Data Type |
| ValueSet | |
| v2-0397 | hl7VS-sequencing |
Note: links and images are rebased to the (stated) source
Generated Narrative: StructureDefinition SRT
Profile: HL7 v2 Complex Data Type Profile
| Name | Flags | Card. | Type | Description & Constraints |
|---|---|---|---|---|
![]() | 0..* | V2ComplexDataType | sort order | |
![]() ![]() | 1..1 | string | Sort-by Field | |
![]() ![]() | 0..1 | code | Sequencing Binding: hl7VS-sequencing (required) | |
{
"resourceType": "StructureDefinition",
"id": "SRT",
"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/SRT",
"version": "0.0.0",
"name": "SRT",
"title": "HL7 v2 SRT 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: In a tabular response query, where the return data is known by column name, the SRT might look like:\n\n|LastName^A~FirstName^A|\n\nExample: In a segment response query, where the return data is known by segment and offset, the SRT field would use segment field name notation:\n\n|PID.3.1^A~PID.3.2^A|",
"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/SRT",
"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": "SRT",
"path": "SRT",
"short": "sort order",
"definition": "Definition: Specifies those parameters by which the response will be sorted and by what method.",
"min": 0,
"max": "*",
"base": {
"path": "Base",
"min": 0,
"max": "*"
},
"isModifier": false,
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "SRT.1",
"extension": [
{
"url": "http://hl7.org/v2/StructureDefinition/optionality",
"valueCode": "R"
},
{
"extension": [
{
"url": "min",
"valueInteger": 6
},
{
"url": "max",
"valueInteger": 12
}
],
"url": "http://hl7.org/v2/StructureDefinition/length"
}
],
"path": "SRT.1",
"short": "Sort-by Field",
"min": 1,
"max": "1",
"base": {
"path": "SRT.1",
"min": 1,
"max": "1"
},
"type": [
{
"code": "http://hl7.org/v2/StructureDefinition/ST"
}
]
},
{
"id": "SRT.2",
"extension": [
{
"url": "http://hl7.org/v2/StructureDefinition/optionality",
"valueCode": "O"
},
{
"extension": [
{
"url": "min",
"valueInteger": 1
},
{
"url": "max",
"valueInteger": 2
}
],
"url": "http://hl7.org/v2/StructureDefinition/length"
}
],
"path": "SRT.2",
"short": "Sequencing",
"min": 0,
"max": "1",
"base": {
"path": "SRT.2",
"min": 0,
"max": "1"
},
"type": [
{
"code": "http://hl7.org/v2/StructureDefinition/ID"
}
],
"binding": {
"strength": "required",
"valueSet": "http://terminology.hl7.org/ValueSet/v2-0397"
}
}
]
},
"differential": {
"element": [
{
"id": "SRT",
"path": "SRT",
"short": "sort order",
"definition": "Definition: Specifies those parameters by which the response will be sorted and by what method.",
"min": 0,
"max": "*"
},
{
"id": "SRT.1",
"extension": [
{
"url": "http://hl7.org/v2/StructureDefinition/optionality",
"valueCode": "R"
},
{
"extension": [
{
"url": "min",
"valueInteger": 6
},
{
"url": "max",
"valueInteger": 12
}
],
"url": "http://hl7.org/v2/StructureDefinition/length"
}
],
"path": "SRT.1",
"short": "Sort-by Field",
"min": 1,
"max": "1",
"type": [
{
"code": "http://hl7.org/v2/StructureDefinition/ST"
}
]
},
{
"id": "SRT.2",
"extension": [
{
"url": "http://hl7.org/v2/StructureDefinition/optionality",
"valueCode": "O"
},
{
"extension": [
{
"url": "min",
"valueInteger": 1
},
{
"url": "max",
"valueInteger": 2
}
],
"url": "http://hl7.org/v2/StructureDefinition/length"
}
],
"path": "SRT.2",
"short": "Sequencing",
"min": 0,
"max": "1",
"type": [
{
"code": "http://hl7.org/v2/StructureDefinition/ID"
}
],
"binding": {
"strength": "required",
"valueSet": "http://terminology.hl7.org/ValueSet/v2-0397"
}
}
]
}
}