{
  "resourceType": "RequestOrchestration",
  "id": "example",
  "text": {
    "status": "generated",
    "div": "\u003cdiv xmlns\u003d\"http://www.w3.org/1999/xhtml\"\u003eExample RequestOrchestration illustrating related actions to administer medications in sequence with time delay.\u003c/div\u003e"
  },
  "contained": [
    {
      "resourceType": "MedicationRequest",
      "id": "medicationrequest-1",
      "status": "unknown",
      "intent": "proposal",
      "medication": {
        "concept": {
          "text": "Medication 1"
        }
      },
      "subject": {
        "reference": "Patient/example"
      }
    },
    {
      "resourceType": "MedicationRequest",
      "id": "medicationrequest-2",
      "status": "unknown",
      "intent": "proposal",
      "medication": {
        "concept": {
          "text": "Medication 2"
        }
      },
      "subject": {
        "reference": "Patient/example"
      }
    }
  ],
  "identifier": [
    {
      "value": "requestorchestration-1"
    }
  ],
  "groupIdentifier": {
    "system": "http://example.org/treatment-group",
    "value": "00001"
  },
  "status": "draft",
  "intent": "plan",
  "priority": "routine",
  "subject": {
    "reference": "Patient/example"
  },
  "encounter": {
    "reference": "Encounter/example"
  },
  "authoredOn": "2017-03-06T17:31:00Z",
  "author": {
    "reference": "Practitioner/1"
  },
  "reason": [
    {
      "concept": {
        "text": "Treatment"
      }
    }
  ],
  "note": [
    {
      "text": "Additional notes about the request group"
    }
  ],
  "action": [
    {
      "prefix": "1",
      "title": "Administer Medications",
      "description": "Administer medications at the appropriate time",
      "textEquivalent": "Administer medication 1, followed an hour later by medication 2",
      "timingDateTime": "2017-03-06T19:00:00Z",
      "participant": [
        {
          "actorReference": {
            "reference": "Practitioner/1"
          }
        }
      ],
      "groupingBehavior": "logical-group",
      "selectionBehavior": "all",
      "requiredBehavior": "must",
      "precheckBehavior": "yes",
      "cardinalityBehavior": "single",
      "action": [
        {
          "id": "medication-action-1",
          "description": "Administer medication 1",
          "type": {
            "coding": [
              {
                "code": "create"
              }
            ]
          },
          "resource": {
            "reference": "#medicationrequest-1"
          }
        },
        {
          "id": "medication-action-2",
          "description": "Administer medication 2",
          "relatedAction": [
            {
              "targetId": "medication-action-1",
              "relationship": "after-end",
              "offsetDuration": {
                "value": 1,
                "unit": "h"
              }
            }
          ],
          "type": {
            "coding": [
              {
                "code": "create"
              }
            ]
          },
          "resource": {
            "reference": "#medicationrequest-2"
          }
        }
      ]
    }
  ],
  "meta": {
    "tag": [
      {
        "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason",
        "code": "HTEST",
        "display": "test health data"
      }
    ]
  }
}