Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This endpoint “applies” either an ActivityDefinition or PlanDefinition resource to a given context. The context is given in the parameters of the url call. In these examples, only patient is used although others are available (see https://www.hl7.org/fhir/activitydefinition-operations.html and https://www.hl7.org/fhir/plandefinition-operations.html).

Code Block
GET https://api-v5-stu3.hspconsortium.org/cqfruler/open/ActivityDefinition/ad-apply-example/$apply?patient=Patient-12214

Returns the applicable resource which is defined in the ActivityDefinition. This example returns a ProcedureRequest.

Code Block
GET https://api-v5-stu3.hspconsortium.org/cqfruler/open/PlanDefinition/apply-example/$apply?patient=Patient-12214

Returns a CarePlan resource.

$data-requirements

This endpoint “aggregates and returns the parameters and data requirements for a resource and all its dependencies as a single module definition” (see https://www.hl7.org/fhir/library-operations.html).

Code Block
GET https://api-v5-stu3.hspconsortium.org/cqfruler/open/Measure/measure-asf/$data-requirements?periodStart=2018-07-06&periodEnd=2018-09-06

Returns a Library resource that “contains all the parameter definitions and data requirements of the target resource and any libraries referenced by it.

View file
namesubmit-data-parameters-resource.json
View file
namecqf-example-resources.json

...