-
Hi, I'm trying to do something similar to this - at least, that's what I think I need to do! I want to create some referrals for cancer patients, where the referral happens before investigations and diagnosis. The most obvious way to do this seems to be to create another encounter. I think what I need to do is:
So, how do I do the last part? I've tried:
This does get executed, and causes some exceptions along the way, that I'll try to work out once I've got the basic thing working, but the first issue is that this encounter doesn't appear in the output. So,
It's a long time since I've done Java, so it's possible there are mistakes in that! Any advice gratefully received! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
OK, the issue is the 0: I'm picking the first encounter, as I assumed for some reason I was looking at that one - of course, I need the last encounter in the HealthRecord's list. My dummy encounters are now appearing in the output. I'm sure I'll be back shortly, confused about something else... |
Beta Was this translation helpful? Give feedback.
OK, the issue is the 0: I'm picking the first encounter, as I assumed for some reason I was looking at that one - of course, I need the last encounter in the HealthRecord's list. My dummy encounters are now appearing in the output.
I'm sure I'll be back shortly, confused about something else...