run_fhir_path library Null safety

Functions

dstu2WalkFhirPath(Resource? resource, String pathExpression, [Map<String, dynamic>? passed]) List
r4WalkFhirPath(Resource? resource, String pathExpression, [Map<String, dynamic>? passed]) List
r5WalkFhirPath(Resource? resource, String pathExpression, [Map<String, dynamic>? passed]) List
stu3WalkFhirPath(Resource? resource, String pathExpression, [Map<String, dynamic>? passed]) List
walkFhirPath(Map<String, dynamic>? resource, String pathExpression, [Map<String, dynamic>? passed, FhirVersion version = FhirVersion.r4]) List
Start here! This is where the fun begins. It first checks to be sure there is a resource to be evaluated, and an AST (abstract syntax tree) which admittedly in this case is a bit of a misnomer, because the AST is actually placed as a list into the value field of a ParserList It then checks if the first node in the AST is the same as the ResourceType of the Resource, if so, it is removed.