{
  "resourceType": "StructureDefinition",
  "id": "logicalmodel-Timing-daily-R4",
  "url": "http://linkehr.com/fhir/logicalmodel-timing-daily-R4",
  "identifier": [
    {
      "system": "openEHR-CKM",
      "value": "openEHR-EHR-CLUSTER.timing_daily.v1"
    }
  ],
  "version": "0",
  "name": "Timing-daily",
  "title": "Timing - daily",
  "status": "draft",
  "date": "2024-06-18",
  "publisher": "openEHR",
  "contact": [
    {
      "telecom": [
        {
          "system": "url",
          "value": "http://www.veratech.es"
        }
      ]
    }
  ],
  "description": "Structured information about the intended timing of a therapeutic or diagnostic activity within any 24 hour period.",
  "purpose": "To record structured information about the intended timing of a therapeutic or diagnostic activity within any 24 hour period.",
  "fhirVersion": "4.0.0",
  "mapping": [
    {
      "identity": "openEHR",
      "uri": "http://openehr.org",
      "name": "openEHR Mapping"
    },
    {
      "identity": "openEHR-natural",
      "uri": "http://openehr.org",
      "name": "openEHR natural path"
    }
  ],
  "kind": "logical",
  "abstract": false,
  "type": "StructureDefinition",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Element",
  "snapshot": {
    "element": [
      {
        "id": "Timing___daily",
        "path": "Timing___daily",
        "short": "Timing - daily",
        "definition": "Structured information about the intended timing of a therapeutic or diagnostic activity within any 24 hour period.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Timing___daily",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Timing___daily.Frequency",
        "path": "Timing___daily.Frequency",
        "short": "Frequency",
        "definition": "The frequency as number of times per time period that the activity is to take place.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Timing___daily.Frequency",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Timing___daily.Frequency.value_DvQuantity",
        "path": "Timing___daily.Frequency.value_DvQuantity",
        "short": "Frequency",
        "definition": "The frequency as number of times per time period that the activity is to take place.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Timing___daily.Frequency.value_DvQuantity",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "Quantity"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Timing___daily.Frequency.value_DV_INTERVAL_DV_QUANTITY_",
        "path": "Timing___daily.Frequency.value_DV_INTERVAL_DV_QUANTITY_",
        "short": "Frequency",
        "definition": "The frequency as number of times per time period that the activity is to take place.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Timing___daily.Frequency.value_DV_INTERVAL_DV_QUANTITY_",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Timing___daily.Interval",
        "path": "Timing___daily.Interval",
        "short": "Interval",
        "definition": "The time interval or minimum and maximum range of an interval between each scheduled activity.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Timing___daily.Interval",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Timing___daily.Interval.value",
        "path": "Timing___daily.Interval.value",
        "short": "Interval",
        "definition": "The time interval or minimum and maximum range of an interval between each scheduled activity.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Timing___daily.Interval.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Duration"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Timing___daily.Specific_time",
        "path": "Timing___daily.Specific_time",
        "short": "Specific time",
        "definition": "A specific time or interval of time when the activity should occur.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Timing___daily.Specific_time",
          "min": 0,
          "max": "*"
        }
      },
      {
        "id": "Timing___daily.Specific_time.value_DV_TIME",
        "path": "Timing___daily.Specific_time.value_DV_TIME",
        "short": "Specific time",
        "definition": "A specific time or interval of time when the activity should occur.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Timing___daily.Specific_time.value_DV_TIME",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "time"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Timing___daily.Specific_time.value_DV_INTERVAL_DV_TIME_",
        "path": "Timing___daily.Specific_time.value_DV_INTERVAL_DV_TIME_",
        "short": "Specific time",
        "definition": "A specific time or interval of time when the activity should occur.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Timing___daily.Specific_time.value_DV_INTERVAL_DV_TIME_",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Timing___daily.Timing_description",
        "path": "Timing___daily.Timing_description",
        "short": "Timing description",
        "definition": "Text description of the daily timing. This element is intended to allow implementers to use the structures for different timings without necessarily specifying the timings in a structured way.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Timing___daily.Timing_description",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Timing___daily.Timing_description.value",
        "path": "Timing___daily.Timing_description.value",
        "short": "Timing description",
        "definition": "Text description of the daily timing. This element is intended to allow implementers to use the structures for different timings without necessarily specifying the timings in a structured way.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Timing___daily.Timing_description.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Timing___daily.Exact_timing_critical_",
        "path": "Timing___daily.Exact_timing_critical_",
        "short": "Exact timing critical?",
        "definition": "Is exact timing of the activity critical to effectiveness, or patient safety or wellbeing?",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Timing___daily.Exact_timing_critical_",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Timing___daily.Exact_timing_critical_.value",
        "path": "Timing___daily.Exact_timing_critical_.value",
        "short": "Exact timing critical?",
        "definition": "Is exact timing of the activity critical to effectiveness, or patient safety or wellbeing?",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Timing___daily.Exact_timing_critical_.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Timing___daily.As_required",
        "path": "Timing___daily.As_required",
        "short": "As required",
        "definition": "Record as True if the activity should only occur when the \\\"'As required' criterion\\\" is met.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Timing___daily.As_required",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Timing___daily.As_required.value",
        "path": "Timing___daily.As_required.value",
        "short": "As required",
        "definition": "Record as True if the activity should only occur when the \\\"'As required' criterion\\\" is met.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Timing___daily.As_required.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Timing___daily.'As_required'_criterion",
        "path": "Timing___daily.'As_required'_criterion",
        "short": "'As required' criterion",
        "definition": "The condition which triggers an 'As required' activity.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Timing___daily.'As_required'_criterion",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Timing___daily.'As_required'_criterion.value",
        "path": "Timing___daily.'As_required'_criterion.value",
        "short": "'As required' criterion",
        "definition": "The condition which triggers an 'As required' activity.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Timing___daily.'As_required'_criterion.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Timing___daily.Specific_event",
        "path": "Timing___daily.Specific_event",
        "short": "Specific event",
        "definition": "A specific, named time event that the activity should occur in relation to.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Timing___daily.Specific_event",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Timing___daily.Specific_event.Event_name",
        "path": "Timing___daily.Specific_event.Event_name",
        "short": "Event name",
        "definition": "The name of the event that triggers the activity to take place.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Timing___daily.Specific_event.Event_name",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Timing___daily.Specific_event.Event_name.value",
        "path": "Timing___daily.Specific_event.Event_name.value",
        "short": "Event name",
        "definition": "The name of the event that triggers the activity to take place.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Timing___daily.Specific_event.Event_name.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Timing___daily.Specific_event.Time_offset",
        "path": "Timing___daily.Specific_event.Time_offset",
        "short": "Time offset",
        "definition": "The period of time before or after the named event when the activity should take place. Negative durations can be used to signify that the activity should take place before the event.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Timing___daily.Specific_event.Time_offset",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Timing___daily.Specific_event.Time_offset.value",
        "path": "Timing___daily.Specific_event.Time_offset.value",
        "short": "Time offset",
        "definition": "The period of time before or after the named event when the activity should take place. Negative durations can be used to signify that the activity should take place before the event.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Timing___daily.Specific_event.Time_offset.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Duration"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Timing___daily.On___off_cycle",
        "path": "Timing___daily.On___off_cycle",
        "short": "On / off cycle",
        "definition": "A cycle of activity where an on-off pattern is required.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Timing___daily.On___off_cycle",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Timing___daily.On___off_cycle.On",
        "path": "Timing___daily.On___off_cycle.On",
        "short": "On",
        "definition": "The period of time for which the activity should take place.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Timing___daily.On___off_cycle.On",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Timing___daily.On___off_cycle.On.value",
        "path": "Timing___daily.On___off_cycle.On.value",
        "short": "On",
        "definition": "The period of time for which the activity should take place.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Timing___daily.On___off_cycle.On.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Duration"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Timing___daily.On___off_cycle.Off",
        "path": "Timing___daily.On___off_cycle.Off",
        "short": "Off",
        "definition": "The period of time for which the activity should NOT take place.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Timing___daily.On___off_cycle.Off",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Timing___daily.On___off_cycle.Off.value",
        "path": "Timing___daily.On___off_cycle.Off.value",
        "short": "Off",
        "definition": "The period of time for which the activity should NOT take place.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Timing___daily.On___off_cycle.Off.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Duration"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Timing___daily.On___off_cycle.Repetitions",
        "path": "Timing___daily.On___off_cycle.Repetitions",
        "short": "Repetitions",
        "definition": "The number of repetitions of the on/off cycle.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Timing___daily.On___off_cycle.Repetitions",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Timing___daily.On___off_cycle.Repetitions.value",
        "path": "Timing___daily.On___off_cycle.Repetitions.value",
        "short": "Repetitions",
        "definition": "The number of repetitions of the on/off cycle.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Timing___daily.On___off_cycle.Repetitions.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Quantity"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      }
    ]
  }
}