FHIR © HL7.org  |  Server Home  |  XIG Home  |  XIG Stats  |  Server Source  |  FHIR  

FHIR IG Statistics: StructureDefinition/SRT

Packagehl7.v2plus
Resource TypeStructureDefinition
IdSRT
FHIR VersionR5
Sourcehttp://somewhere.org/fhir/uv/v2plus/https://build.fhir.org/ig/HL7/v2ig/StructureDefinition-SRT.html
URLhttp://hl7.org/v2/StructureDefinition/SRT
Version0.0.0
Statusactive
Date2025-08-11T19:32:53+00:00
NameSRT
TitleHL7 v2 SRT Data Type
Authorityhl7
DescriptionExample: 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|
Typehttp://hl7.org/v2/StructureDefinition/SRT
Kindlogical

Resources that use this resource

No resources found


Resources that this resource uses

StructureDefinition
IDHL7 v2 ID Data Type
STHL7 v2 String Primitive Type
complex-data-typeHL7 v2 Complex Data Type
ValueSet
v2-0397hl7VS-sequencing

Narrative

Note: links and images are rebased to the (stated) source

Generated Narrative: StructureDefinition SRT

NameFlagsCard.TypeDescription & Constraintsdoco
.. SRT 0..*V2ComplexDataTypesort order
... 1 1..1stringSort-by Field
... 2 0..1codeSequencing
Binding: hl7VS-sequencing (required)

doco Documentation for this format

Source

{
  "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"
        }
      }
    ]
  }
}