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

FHIR IG Statistics: StructureDefinition/SN

Packagehl7.v2plus
TypeStructureDefinition
IdSN
FHIR VersionR5
Sourcehttp://somewhere.org/fhir/uv/v2plus/https://build.fhir.org/ig/HL7/v2ig/StructureDefinition-SN.html
URLhttp://hl7.org/v2/StructureDefinition/SN
Version0.0.0
Statusactive
Date2025-07-11T16:45:01+00:00
NameSN
TitleHL7 v2 SN Data Type
Authorityhl7
DescriptionIf <num1> and <num2> are both non-null, then the separator/suffix must be non-null. If the separator is "-", the data range is inclusive; e.g., <num1> - <num2> defines a range of numbers x, such that: <num1> <=x<= <num2>.
Typehttp://hl7.org/v2/StructureDefinition/SN
Kindlogical

Resources that use this resource

No resources found


Resources that this resource uses

StructureDefinition
NMHL7 v2 Numeric Primitive Type
STHL7 v2 String Primitive Type
complex-data-typeHL7 v2 Complex Data Type

Narrative

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

Generated Narrative: StructureDefinition SN

NameFlagsCard.TypeDescription & Constraintsdoco
.. SN 0..*V2ComplexDataTypestructured numeric
... 1 0..1stringComparator
... 2 0..1decimalNum1
... 3 0..1stringSeparator/Suffix
... 4 0..1decimalNum2

doco Documentation for this format

Source

{
  "resourceType": "StructureDefinition",
  "id": "SN",
  "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/SN",
  "version": "0.0.0",
  "name": "SN",
  "title": "HL7 v2 SN 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": "If <num1> and <num2> are both non-null, then the separator/suffix must be non-null. If the separator is \"-\", the data range is inclusive; e.g., <num1> - <num2> defines a range of numbers x, such that: <num1> <=x<= <num2>.",
  "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/SN",
  "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": "SN",
        "path": "SN",
        "short": "structured numeric",
        "definition": "*Definition:* The structured numeric data type is used to unambiguously express numeric clinical results along with qualifications. This enables receiving systems to store the components separately, and facilitates the use of numeric database queries. The corresponding sets of values indicated with the <comparator> and <separator/suffix> components are intended to be the authoritative and complete set of values. If additional values are needed for the <comparator> and <separator/suffix> components, they should be submitted to HL7 for inclusion in the Standard.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Base",
          "min": 0,
          "max": "*"
        },
        "isModifier": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "SN.1",
        "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": "SN.1",
        "short": "Comparator",
        "min": 0,
        "max": "1",
        "base": {
          "path": "SN.1",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/v2/StructureDefinition/ST"
          }
        ]
      },
      {
        "id": "SN.2",
        "extension": [
          {
            "url": "http://hl7.org/v2/StructureDefinition/optionality",
            "valueCode": "C"
          }
        ],
        "path": "SN.2",
        "short": "Num1",
        "min": 0,
        "max": "1",
        "base": {
          "path": "SN.2",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/v2/StructureDefinition/NM"
          }
        ]
      },
      {
        "id": "SN.3",
        "extension": [
          {
            "url": "http://hl7.org/v2/StructureDefinition/optionality",
            "valueCode": "O"
          },
          {
            "extension": [
              {
                "url": "min",
                "valueInteger": 1
              },
              {
                "url": "max",
                "valueInteger": 1
              }
            ],
            "url": "http://hl7.org/v2/StructureDefinition/length"
          }
        ],
        "path": "SN.3",
        "short": "Separator/Suffix",
        "min": 0,
        "max": "1",
        "base": {
          "path": "SN.3",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/v2/StructureDefinition/ST"
          }
        ]
      },
      {
        "id": "SN.4",
        "extension": [
          {
            "url": "http://hl7.org/v2/StructureDefinition/optionality",
            "valueCode": "O"
          }
        ],
        "path": "SN.4",
        "short": "Num2",
        "min": 0,
        "max": "1",
        "base": {
          "path": "SN.4",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://hl7.org/v2/StructureDefinition/NM"
          }
        ]
      }
    ]
  },
  "differential": {
    "element": [
      {
        "id": "SN",
        "path": "SN",
        "short": "structured numeric",
        "definition": "*Definition:* The structured numeric data type is used to unambiguously express numeric clinical results along with qualifications. This enables receiving systems to store the components separately, and facilitates the use of numeric database queries. The corresponding sets of values indicated with the <comparator> and <separator/suffix> components are intended to be the authoritative and complete set of values. If additional values are needed for the <comparator> and <separator/suffix> components, they should be submitted to HL7 for inclusion in the Standard.",
        "min": 0,
        "max": "*"
      },
      {
        "id": "SN.1",
        "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": "SN.1",
        "short": "Comparator",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "http://hl7.org/v2/StructureDefinition/ST"
          }
        ]
      },
      {
        "id": "SN.2",
        "extension": [
          {
            "url": "http://hl7.org/v2/StructureDefinition/optionality",
            "valueCode": "C"
          }
        ],
        "path": "SN.2",
        "short": "Num1",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "http://hl7.org/v2/StructureDefinition/NM"
          }
        ]
      },
      {
        "id": "SN.3",
        "extension": [
          {
            "url": "http://hl7.org/v2/StructureDefinition/optionality",
            "valueCode": "O"
          },
          {
            "extension": [
              {
                "url": "min",
                "valueInteger": 1
              },
              {
                "url": "max",
                "valueInteger": 1
              }
            ],
            "url": "http://hl7.org/v2/StructureDefinition/length"
          }
        ],
        "path": "SN.3",
        "short": "Separator/Suffix",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "http://hl7.org/v2/StructureDefinition/ST"
          }
        ]
      },
      {
        "id": "SN.4",
        "extension": [
          {
            "url": "http://hl7.org/v2/StructureDefinition/optionality",
            "valueCode": "O"
          }
        ],
        "path": "SN.4",
        "short": "Num2",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "http://hl7.org/v2/StructureDefinition/NM"
          }
        ]
      }
    ]
  }
}