给出我的类的原始JSON数据如下:
"subject": {
"reference": "Patient/148699"
},
"participant": [
{
"individual": {
"reference": "Practitioner/16"
}
}
],
我能够像这样从业者:
public Bundle getEncounter(String id){
Bundle bundle = client.search().forResource(Encounter.class)
.where(new ReferenceClientParam("practitioner").hasId(id))
.prettyPrint()
.returnBundle(Bundle.class)
.execute();
return bundle;
}
在这种情况下,我应该如何获得相应的患者ID 148669?