FirelyTeam / firely-cql-sdk

BSD 3-Clause "New" or "Revised" License
28 stars 16 forks source link

Change IDataSource interface to accept an args parameter #388

Open baseTwo opened 2 months ago

baseTwo commented 2 months ago

Need fix on TemplateId filtering by changing IDataSource interface to accept template id (maybe create an args parameter, instead of multiple overloads)

The Retrieve method needs to take a lot more parameters, so this IDataSource interface needs some rework. (e.g. Date Range. Look at what Retrieve ELM node supports) Move arguments into RetrieveArgs class

baseTwo commented 1 month ago

The Retrieve method needs to take a lot more parameters, so this IDataSource interface needs some rework. (e.g. Date Range. Look at what Retrieve ELM node supports) Move arguments into RetrieveArgs class.

Check meta.profileId against templateid (canonical urls)

From the spec: This is not to say that the FHIR resource must declare profiles to which they conform, only that with profile-informed authoring, there is an expectation that the ELM expects that FHIR resources returned through a retrieve will conform to the stated profiles. How that conformance is guaranteed is left up to implementations.