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

FHIR IG Statistics: StructureDefinition/ST

Packagehl7.v2plus
TypeStructureDefinition
IdST
FHIR VersionR5
Sourcehttp://somewhere.org/fhir/uv/v2plus/https://build.fhir.org/ig/HL7/v2ig/StructureDefinition-ST.html
URLhttp://hl7.org/v2/StructureDefinition/ST
Version0.0.0
Statusactive
Date2024-06-01T12:00:00+11:00
NameST
TitleHL7 v2 String Primitive Type
Authorityhl7
DescriptionFIXME add from v2
Typestring
Kindprimitive-type

Resources that use this resource

StructureDefinition
ADHL7 v2 AD Data Type
AUIHL7 v2 AUI Data Type
CFHL7 v2 CF Data Type
CNEHL7 v2 CNE Data Type
CNNHL7 v2 CNN Data Type
CSUHL7 v2 CSU Data Type
CWEHL7 v2 CWE Data Type
CXHL7 v2 CX Data Type
DLNHL7 v2 DLN Data Type
EIHL7 v2 EI Data Type
ERLHL7 v2 ERL Data Type
FNHL7 v2 FN Data Type
GTSHL7 v2 GTS Data Type
HDHL7 v2 HD Data Type
OGHL7 v2 OG Data Type
PLHL7 v2 PL Data Type
PLNHL7 v2 PLN Data Type
PPNHL7 v2 PPN Data Type
PRLHL7 v2 PRL Data Type
QIPHL7 v2 QIP Data Type
QSCHL7 v2 QSC Data Type
RCDHL7 v2 RCD Data Type
RFRHL7 v2 RFR Data Type
RIHL7 v2 RI Data Type
RPHL7 v2 RP Data Type
SADHL7 v2 SAD Data Type
SCVHL7 v2 SCV Data Type
SNHL7 v2 SN Data Type
SNMHL7 v2 SNM Data Type
SPDHL7 v2 SPD Data Type
SRTHL7 v2 SRT Data Type
VRHL7 v2 VR Data Type
WVIHL7 v2 WVI Data Type
WVSHL7 v2 WVS Data Type
XADHL7 v2 XAD Data Type
XCNHL7 v2 XCN Data Type
XONHL7 v2 XON Data Type
XPNHL7 v2 XPN Data Type
XTNHL7 v2 XTN Data Type

Resources that this resource uses

No resources found


Narrative

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

Generated Narrative: StructureDefinition ST

NameFlagsCard.TypeDescription & Constraintsdoco
.. string C0..*stringPrimitive Type string
Constraints: st-1
... id 0..0
... extension 0..0
... value 0..1stringPrimitive value for string

doco Documentation for this format

Source

{
  "resourceType": "StructureDefinition",
  "id": "ST",
  "meta": {
    "profile": [
      "http://hl7.org/v2/StructureDefinition/primitive-data-type-profile"
    ]
  },
  "text": {
    "status": "extensions",
    "div": "<!-- snip (see above) -->"
  },
  "extension": [
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category",
      "valueString": "FIXME.DataTypes"
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
      "valueCode": "normative"
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
      "valueCode": "4.0.0"
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
      "valueCode": "inm"
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-type-characteristics",
      "valueCode": "can-bind"
    }
  ],
  "url": "http://hl7.org/v2/StructureDefinition/ST",
  "version": "0.0.0",
  "name": "ST",
  "title": "HL7 v2 String Primitive Type",
  "status": "active",
  "date": "2024-06-01T12:00:00+11:00",
  "publisher": "HL7 International",
  "contact": [
    {
      "telecom": [
        {
          "system": "url",
          "value": "http://hl7.org/Special/committees/v2mgmt"
        }
      ]
    }
  ],
  "description": "FIXME add from v2",
  "fhirVersion": "5.0.0",
  "kind": "primitive-type",
  "abstract": false,
  "type": "string",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/string",
  "derivation": "constraint",
  "snapshot": {
    "extension": [
      {
        "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
        "valueString": "5.0.0"
      }
    ],
    "element": [
      {
        "id": "string",
        "path": "string",
        "short": "Primitive Type string",
        "definition": "A sequence of Unicode characters",
        "comment": "Note that FHIR strings SHALL NOT exceed 1,048,576 (1024*1024) characters in size",
        "min": 0,
        "max": "*",
        "base": {
          "path": "string",
          "min": 0,
          "max": "*"
        },
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "st-1",
            "severity": "error",
            "expression": "string.value.matches('^\\S.*')"
          }
        ],
        "isModifier": false,
        "isSummary": false
      },
      {
        "id": "string.id",
        "path": "string.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references)",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "string"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier": false,
        "isSummary": false
      },
      {
        "id": "string.extension",
        "path": "string.extension",
        "short": "Extension",
        "definition": "An Extension",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": false,
        "isSummary": false
      },
      {
        "id": "string.value",
        "path": "string.value",
        "representation": [
          "xmlAttr"
        ],
        "short": "Primitive value for string",
        "definition": "The actual value",
        "min": 0,
        "max": "1",
        "base": {
          "path": "string.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "string"
              },
              {
                "url": "http://hl7.org/fhir/StructureDefinition/regex",
                "valueString": "^[\\s\\S]+[%content%]quot;
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "maxLength": 1048576,
        "isModifier": false,
        "isSummary": false
      }
    ]
  },
  "differential": {
    "element": [
      {
        "id": "string",
        "path": "string",
        "constraint": [
          {
            "key": "st-1",
            "severity": "error",
            "expression": "string.value.matches('^\\S.*')"
          }
        ]
      },
      {
        "id": "string.id",
        "path": "string.id",
        "max": "0"
      },
      {
        "id": "string.extension",
        "path": "string.extension",
        "max": "0"
      },
      {
        "id": "string.value",
        "path": "string.value"
      }
    ]
  }
}