FhirPathDataExtractor

@Singleton
class FhirPathDataExtractor @Inject constructor(val fhirPathEngine: FHIRPathEngine)

Constructors

Link copied to clipboard
@Inject
constructor(fhirPathEngine: FHIRPathEngine)

Properties

Link copied to clipboard
val fhirPathEngine: FHIRPathEngine

Functions

Link copied to clipboard
fun extractData(base: Base, expression: String): List<Base>

Function to extract value for the base using the on the provided FHIR path expression.

fun extractData(base: Base, expressions: Map<String, String>): Map<String, List<Base>>
Link copied to clipboard
fun extractValue(base: Base?, expression: String): String

Function to extract value based on the provided FHIR path expression on the given base.