{
  "resourceType": "DataElement",
  "id": "date.value",
  "meta": {
    "lastUpdated": "2017-04-18T21:44:43.294+00:00"
  },
  "url": "http://hl7.org/fhir/DataElement/date.value",
  "status": "draft",
  "experimental": true,
  "stringency": "fully-specified",
  "element": [
    {
      "id": "date.value",
      "path": "date.value",
      "representation": [
        "xmlAttr"
      ],
      "short": "Primitive value for date",
      "definition": "The actual value",
      "min": 0,
      "max": "1",
      "type": [
        {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-regex",
              "valueString": "-?[0-9]{4}(-(0[1-9]|1[0-2])(-(0[0-9]|[1-2][0-9]|3[0-1]))?)?"
            }
          ],
          "_code": {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type",
                "valueString": "string"
              },
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type",
                "valueString": "xsd:gYear OR xsd:gYearMonth OR xsd:date"
              },
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-rdf-type",
                "valueString": "xsd:gYear OR xsd:gYearMonth OR xsd:date"
              }
            ]
          }
        }
      ]
    }
  ]
}