FHIR Chat · Question about Partial Date of Birth · Death on FHIR

Stream: Death on FHIR

Topic: Question about Partial Date of Birth


view this post on Zulip Saul Kravitz (Sep 09 2021 at 01:08):

Question: (via e-mail)
I just looked into the test case with partial date of birth and I think it’s not compatible with FHIR. FHIR only allows partial date with only year or month and year as mentioned here: http://hl7.org/fhir/R4/datatypes.html#date.

Answer (from @AbdulMalik Shakir ):
You are correct. FHIR does not allow a partial date less than YYYY to be specified using the date datatype. To allow partial dates in VRDR we've defined the extension VRDR - Partial date part absent reason. This extension can be used in conjunction with any date field. It contains six elements date_year, date_year_absent_reason, date_month, date_month_absent_reason, date_day, and date_day_absent_reason. When used in conjunction with a date element the value of the date element is omitted and the date is represent by valuing the applicable known portions of the date and a coded value for the absent portions of date. The decedent instance example Example Patient: Decedent Instance Example contains an example of a partial birthdate where the month (02) and day (24) of birth are known and the year of birth is unknown.

"_birthDate" : {
    "extension" : [
      {
        "url" : "http://hl7.org/fhir/us/vrdr/StructureDefinition/VRDR-Partial-date-part-absent-reason",
        "extension" : [
          {
            "url" : "year-absent-reason",
            "valueCode" : "unknown"
          },
          {
            "url" : "date-month",
            "valueInteger" : 2
          },
          {
            "url" : "date-day",
            "valueInteger" : 24
          }
        ]
      }
    ]
  },

Birthdate value is omitted. date_year is omitted and year_absent_reason is set to "unknown" and the values 02 and 24 are provided for date_month and date_day respectively.


Last updated: Apr 12 2022 at 19:14 UTC