Skip to content

ActivityDefinition $apply Operation

JP edited this page Mar 22, 2022 · 7 revisions

The ActivityDefinition $apply operation returns a resource, which is specified by the ActivityDefinition.kind property. In addition, any dynamicValues are resolved and populated in the returned resource.

Usage

Example

  • Load the following files into your local cqf-ruler implementation or the publicly available server:

  • GET [Base]/ActivityDefinition/ad-apply-example/$apply

  • You should get the following response:

    {
      "resourceType": "ProcedureRequest",
      "status": "draft",
      "intent": "order",
      "doNotPerform": true,
      "code": {
        "coding": [
          {
            "system": "http://snomed.info/sct",
            "code": "303653007",
            "display": "Computed tomography of head"
          }
        ]
      }
    }
Clone this wiki locally