FHIR Chat · Notation for references? · implementers

Stream: implementers

Topic: Notation for references?


view this post on Zulip Tim Berezny (Mar 07 2018 at 01:44):

In a written document, what is the notation i would use for elements in a references resources? For example, we have ServiceRequest.PatientInstruction, which is simple enough to express. But what about ServiceRequest.patient.subject>reference(patient.birthdate)? What would be the proper notation for that?

I want to put some FHIR fields into a fillable/submittable PDF form and am trying to determine the best notation for naming the fillable fields.

(also, for when a reference goes two or more levels deep in the tree)

view this post on Zulip Lloyd McKenzie (Mar 07 2018 at 02:55):

You're trying to define the mapping? You can use FHIRPath. So ServiceRequest.patient.subject.resolve().birthdate or ServiceRequest.patient.subject.resolve().ofType(Patient).birthdateif you want to be super tight.

view this post on Zulip Tim Berezny (Mar 07 2018 at 13:11):

Yes, perfect, thanks.

view this post on Zulip Richard Townley-O'Neill (Mar 08 2018 at 00:32):

@Lloyd McKenzie @Tim Berezny
Should 'patient.subject' be in that that path ?
Shouldn't it be the following?
ServiceRequest.subject.resolve().ofType(Patient).birthdate

view this post on Zulip Lloyd McKenzie (Mar 08 2018 at 00:44):

Yes, sorry.

view this post on Zulip Tim Berezny (Mar 10 2018 at 19:26):

@Lloyd McKenzie @Tim Berezny
Should 'patient.subject' be in that that path ?
Shouldn't it be the following?
ServiceRequest.subject.resolve().ofType(Patient).birthdate

Thanks


Last updated: Apr 12 2022 at 19:14 UTC