PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.r5.examples@5.0.0-draft-final
    http://hl7.org/fhir/StructureDefinition/dateTime
{
  "description": "dateTime Type: A date, date-time or partial date (e.g. just year or year + month).  If hours and minutes are specified, a UTC offset SHALL be populated. The format is a union of the schema types gYear, gYearMonth, date and dateTime. Seconds must be provided due to schema type constraints but may be zero-filled and may be ignored.                 Dates SHALL be valid dates.",
  "_filename": "StructureDefinition-dateTime.json",
  "package_name": "hl7.fhir.r5.examples",
  "date": "2023-03-01T23:03:57+11:00",
  "derivation": "specialization",
  "publisher": "HL7 FHIR Standard",
  "fhirVersion": "5.0.0-draft-final",
  "jurisdiction": [ {
    "coding": [ {
      "code": "001",
      "system": "http://unstats.un.org/unsd/methods/m49/m49.htm",
      "display": "World"
    } ]
  } ],
  "name": "dateTime",
  "abstract": false,
  "type": "dateTime",
  "experimental": "false",
  "resourceType": "StructureDefinition",
  "title": null,
  "package_version": "5.0.0-draft-final",
  "extension": [ {
    "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-type-characteristics",
    "valueCode": "has-range"
  }, {
    "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-type-characteristics",
    "valueCode": "is-continuous"
  }, {
    "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-type-characteristics",
    "valueCode": "has-length"
  } ],
  "snapshot": {
    "element": [ {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "dateTime",
      "min": 0,
      "definition": "A date, date-time or partial date (e.g. just year or year + month).  If hours and minutes are specified, a UTC offset SHALL be populated. The format is a union of the schema types gYear, gYearMonth, date and dateTime. Seconds must be provided due to schema type constraints but may be zero-filled and may be ignored.                 Dates SHALL be valid dates.",
      "isModifier": false,
      "short": "Primitive Type dateTime",
      "max": "*",
      "id": "dateTime",
      "comment": "UTC offset is allowed for dates and partial dates",
      "base": {
        "max": "*",
        "min": 0,
        "path": "dateTime"
      },
      "isSummary": false
    }, {
      "path": "dateTime.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references)",
      "isModifier": false,
      "short": "xml:id (or equivalent in JSON)",
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "string"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "dateTime.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "dateTime.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "isModifier": false,
      "short": "Additional content defined by implementations",
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "dateTime.extension",
      "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "path": "dateTime.value",
      "min": 0,
      "definition": "The actual value",
      "isModifier": false,
      "short": "Primitive value for dateTime",
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.DateTime",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "dateTime"
        }, {
          "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])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]{1,9})?)?)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)?)?)?"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "dateTime.value",
      "base": {
        "max": "1",
        "min": 0,
        "path": "dateTime.value"
      },
      "isSummary": false
    } ]
  },
  "status": "active",
  "id": "c510d71d-24b7-4e5c-be0e-ed965803ad71",
  "kind": "primitive-type",
  "url": "http://hl7.org/fhir/StructureDefinition/dateTime",
  "version": "5.0.0-draft-final",
  "differential": {
    "element": [ {
      "id": "dateTime",
      "max": "*",
      "min": 0,
      "path": "dateTime",
      "short": "Primitive Type dateTime",
      "comment": "UTC offset is allowed for dates and partial dates",
      "definition": "A date, date-time or partial date (e.g. just year or year + month).  If hours and minutes are specified, a UTC offset SHALL be populated. The format is a union of the schema types gYear, gYearMonth, date and dateTime. Seconds must be provided due to schema type constraints but may be zero-filled and may be ignored.                 Dates SHALL be valid dates."
    }, {
      "id": "dateTime.value",
      "max": "1",
      "min": 0,
      "path": "dateTime.value",
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.DateTime",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "dateTime"
        }, {
          "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])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]{1,9})?)?)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)?)?)?"
        } ]
      } ],
      "short": "Primitive value for dateTime",
      "definition": "Primitive value for dateTime",
      "representation": [ "xmlAttr" ]
    } ]
  },
  "contact": [ {
    "telecom": [ {
      "value": "http://hl7.org/fhir",
      "system": "url"
    } ]
  } ],
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/PrimitiveType"
}