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

FHIR IG Statistics: StructureDefinition/QSC

Packagehl7.v2plus
Resource TypeStructureDefinition
IdQSC
FHIR VersionR5
Sourcehttp://somewhere.org/fhir/uv/v2plus/https://build.fhir.org/ig/HL7/v2ig/StructureDefinition-QSC.html
URLhttp://hl7.org/v2/StructureDefinition/QSC
Version0.0.0
Statusactive
Date2025-07-11T16:45:01+00:00
NameQSC
TitleHL7 v2 QSC Data Type
Authorityhl7
Description*Note*: This field conveys the same information as the "WHERE" clause in the corresponding SQL expression of the query, but is formatted differently. Example: |@PID.5.1^EQ^EVANS|
Typehttp://hl7.org/v2/StructureDefinition/QSC
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-0209hl7VS-relationalOperator
v2-0210hl7VS-relationalConjunction

Narrative

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

Generated Narrative: StructureDefinition QSC

NameFlagsCard.TypeDescription & Constraintsdoco
.. QSC 0..*V2ComplexDataTypequery selection criteria
... 1 1..1stringSegment Field Name
... 2 0..1codeRelational Operator
Binding: hl7VS-relationalOperator (required)
... 3 0..1stringValue
... 4 0..1codeRelational Conjunction
Binding: hl7VS-relationalConjunction (required)

doco Documentation for this format

Source

{
  "resourceType": "StructureDefinition",
  "id": "QSC",
  "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/QSC",
  "version": "0.0.0",
  "name": "QSC",
  "title": "HL7 v2 QSC 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*: This field conveys the same information as the \"WHERE\" clause in the corresponding SQL expression of the query, but is formatted differently.\n\nExample:\n\n|@PID.5.1^EQ^EVANS|",
  "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/QSC",
  "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": "QSC",
        "path": "QSC",
        "short": "query selection criteria",
        "definition": "*Definition:* This field indicates the conditions that qualify the rows to be returned in the query response.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Base",
          "min": 0,
          "max": "*"
        },
        "isModifier": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QSC.1",
        "extension": [
          {
            "url": "http://hl7.org/v2/StructureDefinition/optionality",
            "valueCode": "R"
          }
        ],
        "path": "QSC.1",
        "short": "Segment Field Name",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QSC.1",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/v2/StructureDefinition/ST"
          }
        ]
      },
      {
        "id": "QSC.2",
        "extension": [
          {
            "url": "http://hl7.org/v2/StructureDefinition/optionality",
            "valueCode": "O"
          },
          {
            "extension": [
              {
                "url": "min",
                "valueInteger": 2
              },
              {
                "url": "max",
                "valueInteger": 2
              }
            ],
            "url": "http://hl7.org/v2/StructureDefinition/length"
          }
        ],
        "path": "QSC.2",
        "short": "Relational Operator",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QSC.2",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/v2/StructureDefinition/ID"
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "http://terminology.hl7.org/ValueSet/v2-0209"
        }
      },
      {
        "id": "QSC.3",
        "extension": [
          {
            "url": "http://hl7.org/v2/StructureDefinition/optionality",
            "valueCode": "O"
          },
          {
            "extension": [
              {
                "url": "length",
                "valueInteger": 199
              },
              {
                "url": "noTruncate",
                "valueBoolean": true
              }
            ],
            "url": "http://hl7.org/v2/StructureDefinition/conformance-length"
          }
        ],
        "path": "QSC.3",
        "short": "Value",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QSC.3",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/v2/StructureDefinition/ST"
          }
        ]
      },
      {
        "id": "QSC.4",
        "extension": [
          {
            "url": "http://hl7.org/v2/StructureDefinition/optionality",
            "valueCode": "O"
          },
          {
            "extension": [
              {
                "url": "min",
                "valueInteger": 3
              },
              {
                "url": "max",
                "valueInteger": 3
              }
            ],
            "url": "http://hl7.org/v2/StructureDefinition/length"
          }
        ],
        "path": "QSC.4",
        "short": "Relational Conjunction",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QSC.4",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/v2/StructureDefinition/ID"
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "http://terminology.hl7.org/ValueSet/v2-0210"
        }
      }
    ]
  },
  "differential": {
    "element": [
      {
        "id": "QSC",
        "path": "QSC",
        "short": "query selection criteria",
        "definition": "*Definition:* This field indicates the conditions that qualify the rows to be returned in the query response.",
        "min": 0,
        "max": "*"
      },
      {
        "id": "QSC.1",
        "extension": [
          {
            "url": "http://hl7.org/v2/StructureDefinition/optionality",
            "valueCode": "R"
          }
        ],
        "path": "QSC.1",
        "short": "Segment Field Name",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "http://hl7.org/v2/StructureDefinition/ST"
          }
        ]
      },
      {
        "id": "QSC.2",
        "extension": [
          {
            "url": "http://hl7.org/v2/StructureDefinition/optionality",
            "valueCode": "O"
          },
          {
            "extension": [
              {
                "url": "min",
                "valueInteger": 2
              },
              {
                "url": "max",
                "valueInteger": 2
              }
            ],
            "url": "http://hl7.org/v2/StructureDefinition/length"
          }
        ],
        "path": "QSC.2",
        "short": "Relational Operator",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "http://hl7.org/v2/StructureDefinition/ID"
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "http://terminology.hl7.org/ValueSet/v2-0209"
        }
      },
      {
        "id": "QSC.3",
        "extension": [
          {
            "url": "http://hl7.org/v2/StructureDefinition/optionality",
            "valueCode": "O"
          },
          {
            "extension": [
              {
                "url": "length",
                "valueInteger": 199
              },
              {
                "url": "noTruncate",
                "valueBoolean": true
              }
            ],
            "url": "http://hl7.org/v2/StructureDefinition/conformance-length"
          }
        ],
        "path": "QSC.3",
        "short": "Value",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "http://hl7.org/v2/StructureDefinition/ST"
          }
        ]
      },
      {
        "id": "QSC.4",
        "extension": [
          {
            "url": "http://hl7.org/v2/StructureDefinition/optionality",
            "valueCode": "O"
          },
          {
            "extension": [
              {
                "url": "min",
                "valueInteger": 3
              },
              {
                "url": "max",
                "valueInteger": 3
              }
            ],
            "url": "http://hl7.org/v2/StructureDefinition/length"
          }
        ],
        "path": "QSC.4",
        "short": "Relational Conjunction",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "http://hl7.org/v2/StructureDefinition/ID"
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "http://terminology.hl7.org/ValueSet/v2-0210"
        }
      }
    ]
  }
}