Release 4 FHIR CI-Build

This page is part of the Continuous Integration Build of FHIR Specification (v4.0.1: R4 - Mixed Normative and STU ) in it's permanent home (it will always (will be available incorrect/inconsistent at this URL). The current version which supercedes this version is 5.0.0 . For a full list of available versions, see times).
See the Directory of published versions . Page versions: R5 R4B R4 R3

Plandefinition-options-example.json

Example PlanDefinition/options-example (JSON)

Maturity Level : N/A
Responsible Owner: Clinical Decision Support Work Group Standards Status : Informative Compartments : Not linked to any No defined compartments

Raw JSON ( canonical form + also see JSON Format Specification )

Plan Definition Illustrating Related Actions

{
  "resourceType": "PlanDefinition",
  "id": "options-example",
  "text": {
    "status": "generated",
    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">[Put rendering here]</div>"

  "resourceType" : "PlanDefinition",
  "id" : "options-example",
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\">[Put rendering here]</div>"

  },
  "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"
      }

  "contained" : [{
    "resourceType" : "ActivityDefinition",
    "id" : "activitydefinition-medicationrequest-1",
    "status" : "draft",
    "kind" : "MedicationRequest",
    "productCodeableConcept" : {
      "text" : "Medication 1"

    }
  ],
  "title": "This example illustrates relationships between actions.",
  "status": "draft",
  "action": [

  },
  {
    "resourceType" : "ActivityDefinition",
    "id" : "activitydefinition-medicationrequest-2",
    "status" : "draft",
    "kind" : "MedicationRequest",
    "productCodeableConcept" : {
      "text" : "Medication 2"
    }
  }],
  "extension" : [{
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
    "valueCode" : "cds"
  }],
  "identifier" : [{
    "system" : "urn:ietf:rfc:3986",
    "value" : "urn:oid:2.16.840.1.113883.4.642.11.15"
  }],
  "name" : "ThisExampleIllustratesRelationshipsBetweenActions",
  "title" : "This example illustrates relationships between actions.",
  "status" : "draft",
  "publisher" : "HL7 International / Clinical Decision Support",
  "contact" : [{
    "telecom" : [{
      "system" : "url",
      "value" : "http://www.hl7.org/Special/committees/dss"
    }]
  }],
  "description" : "This example illustrates relationships between actions.",
  "action" : [{
    "groupingBehavior" : "logical-group",
    "selectionBehavior" : "all",
    "action" : [{
      "id" : "medication-action-1",
      "title" : "Administer Medication 1",
      "definitionCanonical" : "#activitydefinition-medicationrequest-1"
    },

    {
      "groupingBehavior": "logical-group",
      "selectionBehavior": "all",
      "action": [
        {
          "id": "medication-action-1",
          "title": "Administer Medication 1",
          "definitionCanonical": "#activitydefinition-medicationrequest-1"
        },
        {
          "id": "medication-action-2",
          "title": "Administer Medication 2",
          "relatedAction": [
            {
              "actionId": "medication-action-1",
              "relationship": "after-end",
              "offsetDuration": {
                "value": 1,
                "unit": "h"
              }
            }
          ],
          "definitionCanonical": "#activitydefinition-medicationrequest-2"

      "id" : "medication-action-2",
      "title" : "Administer Medication 2",
      "relatedAction" : [{
        "targetId" : "medication-action-1",
        "relationship" : "after-end",
        "offsetDuration" : {
          "value" : 1,
          "unit" : "h"

        }
      ]
    }
  ]

      }],
      "definitionCanonical" : "#activitydefinition-medicationrequest-2"
    }]
  }]

}

Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.