{ "resourceType": "PlanDefinition", "id": "options-example", "text": { "status": "generated", "div": "
[Put rendering here]
" }, "contained": [ { "resourceType": "ActivityDefinition", "id": "activitydefinition-medicationrequest-1", "status": "draft", "kind": "MedicationRequest", "productCodeableConcept": { "text": "Medication 1" } }, { "resourceType": "ActivityDefinition", "id": "activitydefinition-medicationrequest-2", "status": "draft", "kind": "MedicationRequest", "productCodeableConcept": { "text": "Medication 2" } } ], "title": "This example illustrates relationships between actions.", "status": "draft", "action": [ { "groupingBehavior": "logical-group", "selectionBehavior": "all", "action": [ { "id": "medication-action-1", "title": "Administer Medication 1", "definition": { "reference": "#activitydefinition-medicationrequest-1" } }, { "id": "medication-action-2", "title": "Administer Medication 2", "relatedAction": [ { "actionId": "medication-action-1", "relationship": "after-end", "offsetDuration": { "value": 1, "unit": "h" } } ], "definition": { "reference": "#activitydefinition-medicationrequest-2" } } ] } ] }