Class TPHCompiler

java.lang.Object
org.fhirfrog.frog.tph.TPHCompiler

public class TPHCompiler extends Object
Compiles TPH AST to FHIR TestPlan resources. Note: This is a minimal implementation that works with HAPI FHIR's current R5 TestPlan support. Some TestPlan features may not be fully supported yet in HAPI FHIR.
  • Constructor Details

    • TPHCompiler

      public TPHCompiler()
  • Method Details

    • compileToJson

      public String compileToJson(TestPlanNode ast)
      Compile AST to FHIR TestPlan JSON.
    • compileToXml

      public String compileToXml(TestPlanNode ast)
      Compile AST to FHIR TestPlan XML.
    • compile

      public org.hl7.fhir.r5.model.TestPlan compile(TestPlanNode ast)
      Compile AST to FHIR TestPlan resource.