<DataElement xmlns="http://hl7.org/fhir">
  <id value="date" />
  <meta>
    <lastUpdated value="2017-04-19T07:44:43.294+10:00" />
  </meta>
  <url value="http://hl7.org/fhir/DataElement/date" />
  <status value="draft" />
  <experimental value="true" />
  <stringency value="fully-specified" />
  <element id="date">
    <path value="date" />
    <short value="Primitive Type date" />
    <definition value="A date or partial date (e.g. just year or year + month). There is no time zone. The format is a union of the schema types gYear, gYearMonth and date.  Dates SHALL be valid dates." />
    <min value="0" />
    <max value="*" />
    <constraint>
      <key value="ele-1" />
      <severity value="error" />
      <human value="All FHIR elements must have a @value or children" />
      <expression value="hasValue() | (children().count() &gt; id.count())" />
      <xpath value="@value|f:*|h:div" />
      <source value="Element" />
    </constraint>
  </element>
</DataElement>