Class TestPlanParser

java.lang.Object
org.fhirfrog.frog.testplan.TestPlanParser

public class TestPlanParser extends Object
Parser for hand-coded TestPlan resources.

Uses Jackson for JSON deserialization until HAPI FHIR R5 TestPlan support is available. Validates required fields and throws IllegalArgumentException for invalid TestPlans.

Required fields:

  • TestPlan: id, title
  • TestCase: id, name, testScriptUrl
  • TestSuite: id, name, testPlanUrl

Example usage:


 TestPlanParser parser = new TestPlanParser();
 TestPlanResource testPlan = parser.parse("patient-workflow.json");
 

Thread-safety: Thread-safe. ObjectMapper is reused across calls.