public static interface FHIRPathEngine.IEvaluationContext
| Modifier and Type | Interface and Description |
|---|---|
static class |
FHIRPathEngine.IEvaluationContext.FunctionDetails |
| Modifier and Type | Method and Description |
|---|---|
TypeDetails |
checkFunction(Object appContext,
String functionName,
List<TypeDetails> parameters)
Check the function parameters, and throw an error if they are incorrect, or return the type for the function
|
boolean |
conformsToProfile(Object appContext,
Base item,
String url) |
List<Base> |
executeFunction(Object appContext,
List<Base> focus,
String functionName,
List<List<Base>> parameters) |
boolean |
log(String argument,
List<Base> focus)
when the .log() function is called
|
Base |
resolveConstant(Object appContext,
String name,
boolean beforeContext)
A constant reference - e.g.
|
TypeDetails |
resolveConstantType(Object appContext,
String name) |
FHIRPathEngine.IEvaluationContext.FunctionDetails |
resolveFunction(String functionName) |
Base |
resolveReference(Object appContext,
String url)
Implementation of resolve() function.
|
ValueSet |
resolveValueSet(Object appContext,
String url) |
Base resolveConstant(Object appContext, String name, boolean beforeContext) throws org.hl7.fhir.exceptions.PathEngineException
appContext - - content passed into the fluent path enginename - - name reference to resolvebeforeContext - - whether this is being called before the name is resolved locally, or notorg.hl7.fhir.exceptions.PathEngineExceptionTypeDetails resolveConstantType(Object appContext, String name) throws org.hl7.fhir.exceptions.PathEngineException
org.hl7.fhir.exceptions.PathEngineExceptionboolean log(String argument, List<Base> focus)
argument - focus - FHIRPathEngine.IEvaluationContext.FunctionDetails resolveFunction(String functionName)
functionName - TypeDetails checkFunction(Object appContext, String functionName, List<TypeDetails> parameters) throws org.hl7.fhir.exceptions.PathEngineException
functionName - parameters - org.hl7.fhir.exceptions.PathEngineExceptionList<Base> executeFunction(Object appContext, List<Base> focus, String functionName, List<List<Base>> parameters)
appContext - functionName - parameters - Base resolveReference(Object appContext, String url) throws org.hl7.fhir.exceptions.FHIRException
url - the reference (Reference.reference or the value of the canonicalorg.hl7.fhir.exceptions.FHIRExceptionboolean conformsToProfile(Object appContext, Base item, String url) throws org.hl7.fhir.exceptions.FHIRException
org.hl7.fhir.exceptions.FHIRExceptionValueSet resolveValueSet(Object appContext, String url)
Copyright © 2014–2021 Health Level 7. All rights reserved.