Skip to content

Latest commit

 

History

History
26 lines (23 loc) · 1.47 KB

README.md

File metadata and controls

26 lines (23 loc) · 1.47 KB

Firely FhirPath Examples

Example code for evaluating FhirPath expressions using Firely. Self hosts endpoints for REST calls to locate external Fhir resources with sample json files. Examples include:

  • Basic expression compilation and evaluation
  • Use of resolve() FhirPath function to resolve referenced resources
    • Contained resources
      • Requirement of ScopedNode when using resolve() to locate contained resources
    • External resources
      • Use of the ElementResolver property of the FhirEvaluationContext class to resolve external resources
  • Standard and extended functions in the SymbolTable
    • Standard functions (default in FhirPathCompiler) - Link
    • ExtensionFunctions - Link
      • hasValue
      • resolve
      • memberOf
      • htmlChecks
  • Use of FhirClient to query a REST endpoint for resources
  • Custom FhirPath function used in an expression
  • Custom EvaluationContext for passing custom instance into a custom function