{
  "resourceType": "StructureDefinition",
  "id": "48a90ae0-bf66-473d-aa05-06bfc53272ac",
  "meta": {
    "lastUpdated": "2022-02-28T14:09:09.154+00:00"
  },
  "url": "http://ots.nccn.org/hl7/fhir/StructureDefinition/alternatingWith",
  "name": "alternatingWith",
  "title": "alternatingWith",
  "status": "active",
  "experimental": false,
  "date": "2022-02-28T14:04:42.3343324Z",
  "publisher": "National Comprehensive Cancer Network, Inc.",
  "contact": [
    {
      "telecom": [
        {
          "system": "url",
          "value": "https://www.nccn.org/about/contact.aspx",
          "use": "work"
        }
      ]
    }
  ],
  "description": "An integer specifying the day of a cycle on which the medication/agent is to be administered.",
  "copyright": "National Comprehensive Cancer Network, Inc. (c) 2017. All right reserved.",
  "fhirVersion": "3.0.1",
  "kind": "complex-type",
  "abstract": false,
  "contextType": "resource",
  "context": [
    "ActivityDefinition.alternatingWith"
  ],
  "type": "Extension",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Extension",
        "path": "Extension",
        "short": "Day on which the medication/agent is to be administered.",
        "definition": "An integer specifying the day on which the medication/agent is to be administered.",
        "comment": "An integer specifying the day of a cycle on which the medication/agent is to be administered."
      },
      {
        "id": "Extension.extension",
        "path": "Extension.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        },
        "min": 1
      },
      {
        "id": "Extension.extension:valueCode",
        "path": "Extension.extension",
        "sliceName": "valueCode",
        "definition": "How the regimen part repeats in turn with the other regimen part on the template",
        "min": 1
      },
      {
        "id": "Extension.extension:valueCode.url",
        "path": "Extension.extension.url",
        "fixedUri": "valueCode"
      },
      {
        "id": "Extension.extension:valueCode.value[x]:valueInteger",
        "path": "Extension.extension.valueInteger",
        "sliceName": "valueInteger",
        "short": "Integer value of extension.",
        "definition": "An integer specifying the day on which the medication/agent is to be administered.",
        "comment": "For example, if ActivityDefinition.dosage.text is \"12 mg intrathecal on Days 1, 8, and 15 of Course 2 (Consolidation 1B)\", the there will be one daysOfCycle extension with three day extensions (for days 1, 8, and 15).",
        "min": 1,
        "type": [
          {
            "code": "integer"
          }
        ],
        "example": [
          {
            "label": "Day value",
            "valueInteger": 1
          }
        ]
      },
      {
        "id": "Extension.url",
        "path": "Extension.url",
        "fixedUri": "http://ots.nccn.org/hl7/fhir/StructureDefinition/daysOfCycle"
      },
      {
        "id": "Extension.value[x]",
        "path": "Extension.value[x]",
        "max": "0"
      }
    ]
  }
}