Stream: implementers
Topic: patient.name > family as an array in SMART on FHIR Sandbox
Tim Berezny (Apr 19 2018 at 13:50):
I'm pulling some data from the SMART on FHIR sandbox (patient SMART-1482713, SMART-1551992) and in the data set the patient's FAMILY name is sent as an array (square brackets). However, the humanName data element is specified in FHIR3 as a string.
screenshot: https://www.screencast.com/t/zxqReKveeM
Is there an error in the way the SMART on FHIR sandbox is presenting the data or am i missing an important detail?
@Josh Mandel ?
Tim Berezny (Apr 19 2018 at 13:52):
Here is an example:
https://sb-fhir-dstu2.smarthealthit.org/api/smartdstu2/open/Patient/SMART-1551992
Josh Mandel (Apr 19 2018 at 13:57):
As you will see from the sandbox URL you referenced, this is the DSTU2 sandbox. http://hl7.org/fhir/DSTU2/datatypes-definitions.html#HumanName.family is the relevant documentation showing that this is expected to be an array. This is something that has changed in STU3.
Tim Berezny (Apr 19 2018 at 14:00):
Ahhhhhhh, I see. Thanks @Josh Mandel .
Last updated: Apr 12 2022 at 19:14 UTC