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

FHIR IG Statistics: StructureDefinition/DT

Packagehl7.v2plus
Resource TypeStructureDefinition
IdDT
FHIR VersionR5
Sourcehttp://somewhere.org/fhir/uv/v2plus/https://build.fhir.org/ig/HL7/v2ig/StructureDefinition-DT.html
URLhttp://hl7.org/v2/StructureDefinition/DT
Version0.0.0
Statusactive
Date2024-06-01T12:00:00+11:00
NameV2_DT_Data_Type
TitleHL7 v2 DT Data Type
Authorityhl7
DescriptionFIXME
Typedate
Kindprimitive-type

Resources that use this resource

StructureDefinition
AUIHL7 v2 AUI Data Type
CXHL7 v2 CX Data Type
DLNHL7 v2 DLN Data Type
OCDHL7 v2 OCD Data Type
OSPHL7 v2 OSP Data Type
PIPHL7 v2 PIP Data Type
PLNHL7 v2 PLN Data Type
SPDHL7 v2 SPD Data Type

Resources that this resource uses

No resources found


Narrative

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

Generated Narrative: StructureDefinition DT

NameFlagsCard.TypeDescription & Constraintsdoco
.. date 0..*datePrimitive Type date
... id 0..0
... extension 0..0

doco Documentation for this format

Source

{
  "resourceType": "StructureDefinition",
  "id": "DT",
  "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": "has-range"
    }
  ],
  "url": "http://hl7.org/v2/StructureDefinition/DT",
  "version": "0.0.0",
  "name": "V2_DT_Data_Type",
  "title": "HL7 v2 DT Data 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",
  "fhirVersion": "5.0.0",
  "kind": "primitive-type",
  "abstract": false,
  "type": "date",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/date",
  "derivation": "constraint",
  "snapshot": {
    "extension": [
      {
        "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
        "valueString": "5.0.0"
      }
    ],
    "element": [
      {
        "id": "date",
        "path": "date",
        "short": "Primitive Type date",
        "definition": "A date or partial date (e.g. just year or year + month). There is no UTC offset. The format is a union of the schema types gYear, gYearMonth and date.  Dates SHALL be valid dates.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "date",
          "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"
          }
        ],
        "isModifier": false,
        "isSummary": false
      },
      {
        "id": "date.id",
        "path": "date.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": "date.extension",
        "path": "date.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": "date.value",
        "path": "date.value",
        "representation": [
          "xmlAttr"
        ],
        "short": "Primitive value for date",
        "definition": "The actual value",
        "min": 0,
        "max": "1",
        "base": {
          "path": "date.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "date"
              },
              {
                "url": "http://hl7.org/fhir/StructureDefinition/regex",
                "valueString": "([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1]))?)?"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.Date"
          }
        ],
        "isModifier": false,
        "isSummary": false
      }
    ]
  },
  "differential": {
    "element": [
      {
        "id": "date",
        "path": "date"
      },
      {
        "id": "date.id",
        "path": "date.id",
        "max": "0"
      },
      {
        "id": "date.extension",
        "path": "date.extension",
        "max": "0"
      }
    ]
  }
}