petit/walk_fhir_path library

Extensions

FhirPathResourceExtension on Map<String, dynamic>

Functions

dstu2WalkFhirPath(Resource? resource, String pathExpression, [Map<String, dynamic>? environment]) List
executeFhirPath({required Map<String, dynamic>? context, required ParserList parsedFhirPath, required String pathExpression, Map<String, dynamic>? resource, Map<String, dynamic>? rootResource, Map<String, dynamic>? environment, FhirVersion version = FhirVersion.r4}) List
Execute the FHIRPath as pre-parsed by parseFhirPath.
parseFhirPath(String pathExpression) ParserList
Parse a FHIRPath for repeated use with different inputs later.
r4WalkFhirPath(Resource? resource, String pathExpression, [Map<String, dynamic>? environment]) List
r5WalkFhirPath(Resource? resource, String pathExpression, [Map<String, dynamic>? environment]) List
stu3WalkFhirPath(Resource? resource, String pathExpression, [Map<String, dynamic>? environment]) List
walkFhirPath({required Map<String, dynamic>? context, required String pathExpression, Map<String, dynamic>? resource, Map<String, dynamic>? rootResource, Map<String, dynamic>? environment, FhirVersion version = FhirVersion.r4}) List
Start here! This is where the fun begins. This is a bit confusing, so we'll explain the arguments that can be passed.