public class FluentSessionContextWrapper extends Object
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
enableCaching |
protected FluentPatientContextWrapper |
fluentPatientContextWrapper |
protected Session |
session |
| Constructor and Description |
|---|
FluentSessionContextWrapper(Session session) |
FluentSessionContextWrapper(Session session,
boolean localizeClaimUrl) |
| Modifier and Type | Method and Description |
|---|---|
ca.uhn.fhir.model.api.IResource |
getCurrentUserResource() |
boolean |
getEnableCaching() |
String |
getEncounterId() |
ca.uhn.fhir.model.dstu2.resource.Encounter |
getEncounterResource() |
String |
getIdTokenProfileClaim() |
boolean |
getLocalizeClaimUrl() |
String |
getLocationId() |
ca.uhn.fhir.model.dstu2.resource.Location |
getLocationResource() |
FluentPatientContextWrapper |
getPatientContext() |
String |
getPatientId() |
ca.uhn.fhir.model.dstu2.resource.Patient |
getPatientResource() |
void |
resetCache()
Clears the patient, encounter, and location cached objects so they will be read from the resource server
on the next request (if enabled)
|
ca.uhn.fhir.rest.gclient.IUntypedQuery |
search()
Provides access to HAPI search() operations for rich search API
|
void |
setEnableCaching(boolean enableCaching)
Caching allows the session getContext to remember values previously accessed in the session.
|
void |
setLocalizeClaimUrl(boolean doLocalizeClaimUrl) |
protected Session session
protected FluentPatientContextWrapper fluentPatientContextWrapper
protected boolean enableCaching
public FluentSessionContextWrapper(Session session)
public FluentSessionContextWrapper(Session session, boolean localizeClaimUrl)
public boolean getLocalizeClaimUrl()
public void setLocalizeClaimUrl(boolean doLocalizeClaimUrl)
public String getPatientId()
public FluentPatientContextWrapper getPatientContext()
public ca.uhn.fhir.model.dstu2.resource.Patient getPatientResource()
public String getEncounterId()
public ca.uhn.fhir.model.dstu2.resource.Encounter getEncounterResource()
public String getLocationId()
public ca.uhn.fhir.model.dstu2.resource.Location getLocationResource()
public String getIdTokenProfileClaim()
public ca.uhn.fhir.model.api.IResource getCurrentUserResource()
public ca.uhn.fhir.rest.gclient.IUntypedQuery search()
public void setEnableCaching(boolean enableCaching)
enableCaching - Enable caching?public boolean getEnableCaching()
public void resetCache()
Copyright © 2014–2016 Healthcare Services Platform Consortium. All rights reserved.