How do I find a patient by identifier? #2098
Answered
by
johnkwaters
johnkwaters
asked this question in
Q&A
-
I created a patient and assigned it both an Id "777" and an Identifier "ORG-HC-777".
It seems the system ignored the Id in my create and assigned some other Id "ee796f28-da19-11ec-b9aa-f356e801f66c". Since I can't control that, the only way I can find this patient is to search for it by the identifier that I added. How would I do that with a search? |
Beta Was this translation helpful? Give feedback.
Answered by
johnkwaters
May 22, 2022
Replies: 1 comment
-
Found something that works:
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
johnkwaters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Found something that works:
var b = await fc.SearchAsync<Patient>(new [] { $"identifier={id.System}|{id.Value}" });