loadProfileData

abstract suspend fun loadProfileData(profileId: String, resourceId: String, fhirResourceConfig: FhirResourceConfig? = null, paramsList: Array<ActionParameter>?): RepositoryResourceData?

This function returns data used on the profile for the given resourceId. Profile configuration is identified by the profileId and contains the queries for filtering the profile data. Data is loaded based on the FhirResourceConfig. When none is provided the configurations identified by the profileId are used.