How to get a ResourceReference from a Resource? #2088
Unanswered
johnkwaters
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In the example below, I first fetch a Patient.
I then want to add an Encounter, with the Patient as the Subject, and then an Observation, which has the Patient as Subject, and references the Encounter.
My problem is I can't do what I am doing above - as "pu" and "encounter" are resources, and I need to get their resource references. I would assume there is some help method that can get that reference from a Resource?
And is there a better way to do this with TransactionBuilder?
Beta Was this translation helpful? Give feedback.
All reactions