{
  "resourceType": "StructureDefinition",
  "id": "logicalmodel-Service-R4",
  "url": "http://linkehr.com/fhir/logicalmodel-service-R4",
  "identifier": [
    {
      "system": "openEHR-CKM",
      "value": "openEHR-EHR-ACTION.service.v1"
    }
  ],
  "version": "0",
  "name": "Service",
  "title": "Service",
  "status": "draft",
  "date": "2024-06-18",
  "publisher": "openEHR",
  "contact": [
    {
      "telecom": [
        {
          "system": "url",
          "value": "http://www.veratech.es"
        }
      ]
    }
  ],
  "description": "A simple health-related service or activity delivered by a clinician, organisation or agency.",
  "purpose": "To record details about a simple health-related service or activity delivered by a clinician, organisation or agency.",
  "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": "Service",
        "path": "Service",
        "short": "Service",
        "definition": "A simple health-related service or activity delivered by a clinician, organisation or agency.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Service",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Service.protocol",
        "path": "Service.protocol",
        "short": "Tree",
        "definition": "@ internal @",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Service.protocol",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Service.protocol.Requestor_identifier",
        "path": "Service.protocol.Requestor_identifier",
        "short": "Requestor identifier",
        "definition": "The local ID assigned to the order by the healthcare provider or organisation requesting the service.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Service.protocol.Requestor_identifier",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Service.protocol.Requestor_identifier.value_DV_IDENTIFIER",
        "path": "Service.protocol.Requestor_identifier.value_DV_IDENTIFIER",
        "short": "Requestor identifier",
        "definition": "The local ID assigned to the order by the healthcare provider or organisation requesting the service.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Service.protocol.Requestor_identifier.value_DV_IDENTIFIER",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Service.protocol.Requestor_identifier.value_DV_TEXT",
        "path": "Service.protocol.Requestor_identifier.value_DV_TEXT",
        "short": "Requestor identifier",
        "definition": "The local ID assigned to the order by the healthcare provider or organisation requesting the service.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Service.protocol.Requestor_identifier.value_DV_TEXT",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Service.protocol.Requestor",
        "path": "Service.protocol.Requestor",
        "short": "Requestor",
        "definition": "Details about the healthcare provider or organisation requesting the service.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Service.protocol.Requestor",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Service.protocol.Service_provider_identifier",
        "path": "Service.protocol.Service_provider_identifier",
        "short": "Service provider identifier",
        "definition": "The ID assigned to the order by the provider fulfilling the service.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Service.protocol.Service_provider_identifier",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Service.protocol.Service_provider_identifier.value_DV_IDENTIFIER",
        "path": "Service.protocol.Service_provider_identifier.value_DV_IDENTIFIER",
        "short": "Service provider identifier",
        "definition": "The ID assigned to the order by the provider fulfilling the service.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Service.protocol.Service_provider_identifier.value_DV_IDENTIFIER",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Service.protocol.Service_provider_identifier.value_DV_TEXT",
        "path": "Service.protocol.Service_provider_identifier.value_DV_TEXT",
        "short": "Service provider identifier",
        "definition": "The ID assigned to the order by the provider fulfilling the service.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Service.protocol.Service_provider_identifier.value_DV_TEXT",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Service.protocol.Receiver",
        "path": "Service.protocol.Receiver",
        "short": "Receiver",
        "definition": "Details about the healthcare provider or organisation receiving the service request.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Service.protocol.Receiver",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Service.protocol.Extension",
        "path": "Service.protocol.Extension",
        "short": "Extension",
        "definition": "Additional information required to capture local content or to align with other reference models/formalisms.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Service.protocol.Extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Service.description",
        "path": "Service.description",
        "short": "Tree",
        "definition": "@ internal @",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Service.description",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Service.description.Service_name",
        "path": "Service.description.Service_name",
        "short": "Service name",
        "definition": "Identification of the clinical service carried out.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Service.description.Service_name",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Service.description.Service_name.value",
        "path": "Service.description.Service_name.value",
        "short": "Service name",
        "definition": "Identification of the clinical service carried out.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Service.description.Service_name.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Service.description.Service_type",
        "path": "Service.description.Service_type",
        "short": "Service type",
        "definition": "Type of service carried out.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Service.description.Service_type",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Service.description.Service_type.value",
        "path": "Service.description.Service_type.value",
        "short": "Service type",
        "definition": "Type of service carried out.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Service.description.Service_type.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Service.description.Description",
        "path": "Service.description.Description",
        "short": "Description",
        "definition": "Narrative description about the service, as appropriate for the pathway step.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Service.description.Description",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Service.description.Description.value",
        "path": "Service.description.Description.value",
        "short": "Description",
        "definition": "Narrative description about the service, as appropriate for the pathway step.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Service.description.Description.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Service.description.Service_detail",
        "path": "Service.description.Service_detail",
        "short": "Service detail",
        "definition": "Structured information about the service.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Service.description.Service_detail",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Service.description.Planned_date_time",
        "path": "Service.description.Planned_date_time",
        "short": "Planned date/time",
        "definition": "The estimated date and/or time on which the service is intended to be performed.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Service.description.Planned_date_time",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Service.description.Planned_date_time.value_DV_DATE_TIME",
        "path": "Service.description.Planned_date_time.value_DV_DATE_TIME",
        "short": "Planned date/time",
        "definition": "The estimated date and/or time on which the service is intended to be performed.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Service.description.Planned_date_time.value_DV_DATE_TIME",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "dateTime"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Service.description.Planned_date_time.value_DV_INTERVAL_DV_DATE_TIME_",
        "path": "Service.description.Planned_date_time.value_DV_INTERVAL_DV_DATE_TIME_",
        "short": "Planned date/time",
        "definition": "The estimated date and/or time on which the service is intended to be performed.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Service.description.Planned_date_time.value_DV_INTERVAL_DV_DATE_TIME_",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Service.description.Planned_date_time.value_DV_DURATION",
        "path": "Service.description.Planned_date_time.value_DV_DURATION",
        "short": "Planned date/time",
        "definition": "The estimated date and/or time on which the service is intended to be performed.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Service.description.Planned_date_time.value_DV_DURATION",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Duration"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Service.description.Planned_date_time.value_DV_INTERVAL_DV_DURATION_",
        "path": "Service.description.Planned_date_time.value_DV_INTERVAL_DV_DURATION_",
        "short": "Planned date/time",
        "definition": "The estimated date and/or time on which the service is intended to be performed.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Service.description.Planned_date_time.value_DV_INTERVAL_DV_DURATION_",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Service.description.Planned_date_time.value_DV_TEXT",
        "path": "Service.description.Planned_date_time.value_DV_TEXT",
        "short": "Planned date/time",
        "definition": "The estimated date and/or time on which the service is intended to be performed.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Service.description.Planned_date_time.value_DV_TEXT",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Service.description.Scheduled_date_time",
        "path": "Service.description.Scheduled_date_time",
        "short": "Scheduled date/time",
        "definition": "The date and/or time on which the service is intended to be performed.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Service.description.Scheduled_date_time",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Service.description.Scheduled_date_time.value",
        "path": "Service.description.Scheduled_date_time.value",
        "short": "Scheduled date/time",
        "definition": "The date and/or time on which the service is intended to be performed.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Service.description.Scheduled_date_time.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "dateTime"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Service.description.Sequence",
        "path": "Service.description.Sequence",
        "short": "Sequence",
        "definition": "The sequence of the specified clinical service.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Service.description.Sequence",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Service.description.Sequence.value",
        "path": "Service.description.Sequence.value",
        "short": "Sequence",
        "definition": "The sequence of the specified clinical service.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Service.description.Sequence.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Quantity"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Service.description.Multimedia_representation",
        "path": "Service.description.Multimedia_representation",
        "short": "Multimedia representation",
        "definition": "Digital image, video, diagram or other media representing the service.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Service.description.Multimedia_representation",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Service.description.Reason",
        "path": "Service.description.Reason",
        "short": "Reason",
        "definition": "Reason that the activity or care pathway step for the identified service was carried out.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Service.description.Reason",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Service.description.Reason.value",
        "path": "Service.description.Reason.value",
        "short": "Reason",
        "definition": "Reason that the activity or care pathway step for the identified service was carried out.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Service.description.Reason.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Service.description.Additional_details",
        "path": "Service.description.Additional_details",
        "short": "Additional details",
        "definition": "Additional structured details about the service.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Service.description.Additional_details",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Service.description.Comment",
        "path": "Service.description.Comment",
        "short": "Comment",
        "definition": "Additional narrative about the activity or care pathway step not captured in other fields.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Service.description.Comment",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Service.description.Comment.value",
        "path": "Service.description.Comment.value",
        "short": "Comment",
        "definition": "Additional narrative about the activity or care pathway step not captured in other fields.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Service.description.Comment.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Service.Service_planned",
        "path": "Service.Service_planned",
        "short": "Service planned",
        "definition": "Service request to healthcare provider is planned.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Service.Service_planned",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Service.ism_transition_Service_planned.current_state",
        "path": "Service.ism_transition_Service_planned.current_state",
        "short": "Service planned",
        "definition": "Service request to healthcare provider is planned.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Service.ism_transition_Service_planned.current_state",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Service.ism_transition_Service_planned.careflow_step",
        "path": "Service.ism_transition_Service_planned.careflow_step",
        "short": "Service planned",
        "definition": "Service request to healthcare provider is planned.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Service.ism_transition_Service_planned.careflow_step",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Service.Service_request_sent",
        "path": "Service.Service_request_sent",
        "short": "Service request sent",
        "definition": "Request for service sent.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Service.Service_request_sent",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Service.ism_transition_Service_request_sent.current_state",
        "path": "Service.ism_transition_Service_request_sent.current_state",
        "short": "Service request sent",
        "definition": "Request for service sent.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Service.ism_transition_Service_request_sent.current_state",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Service.ism_transition_Service_request_sent.careflow_step",
        "path": "Service.ism_transition_Service_request_sent.careflow_step",
        "short": "Service request sent",
        "definition": "Request for service sent.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Service.ism_transition_Service_request_sent.careflow_step",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Service.Service_request_received",
        "path": "Service.Service_request_received",
        "short": "Service request received",
        "definition": "Request for service received by the service provider.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Service.Service_request_received",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Service.ism_transition_Service_request_received.current_state",
        "path": "Service.ism_transition_Service_request_received.current_state",
        "short": "Service request received",
        "definition": "Request for service received by the service provider.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Service.ism_transition_Service_request_received.current_state",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Service.ism_transition_Service_request_received.careflow_step",
        "path": "Service.ism_transition_Service_request_received.careflow_step",
        "short": "Service request received",
        "definition": "Request for service received by the service provider.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Service.ism_transition_Service_request_received.careflow_step",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Service.Service_postponed",
        "path": "Service.Service_postponed",
        "short": "Service postponed",
        "definition": "The planned service has been postponed.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Service.Service_postponed",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Service.ism_transition_Service_postponed.current_state",
        "path": "Service.ism_transition_Service_postponed.current_state",
        "short": "Service postponed",
        "definition": "The planned service has been postponed.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Service.ism_transition_Service_postponed.current_state",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Service.ism_transition_Service_postponed.careflow_step",
        "path": "Service.ism_transition_Service_postponed.careflow_step",
        "short": "Service postponed",
        "definition": "The planned service has been postponed.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Service.ism_transition_Service_postponed.careflow_step",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Service.Service_cancelled",
        "path": "Service.Service_cancelled",
        "short": "Service cancelled",
        "definition": "The planned service has been cancelled prior to commencement.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Service.Service_cancelled",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Service.ism_transition_Service_cancelled.current_state",
        "path": "Service.ism_transition_Service_cancelled.current_state",
        "short": "Service cancelled",
        "definition": "The planned service has been cancelled prior to commencement.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Service.ism_transition_Service_cancelled.current_state",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Service.ism_transition_Service_cancelled.careflow_step",
        "path": "Service.ism_transition_Service_cancelled.careflow_step",
        "short": "Service cancelled",
        "definition": "The planned service has been cancelled prior to commencement.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Service.ism_transition_Service_cancelled.careflow_step",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Service.Service_scheduled",
        "path": "Service.Service_scheduled",
        "short": "Service scheduled",
        "definition": "An appointment for the service has been made.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Service.Service_scheduled",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Service.ism_transition_Service_scheduled.current_state",
        "path": "Service.ism_transition_Service_scheduled.current_state",
        "short": "Service scheduled",
        "definition": "An appointment for the service has been made.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Service.ism_transition_Service_scheduled.current_state",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Service.ism_transition_Service_scheduled.careflow_step",
        "path": "Service.ism_transition_Service_scheduled.careflow_step",
        "short": "Service scheduled",
        "definition": "An appointment for the service has been made.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Service.ism_transition_Service_scheduled.careflow_step",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Service.Service_carried_out",
        "path": "Service.Service_carried_out",
        "short": "Service carried out",
        "definition": "The service, or a single activity in a sequence of recurring service activities, has been carried out.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Service.Service_carried_out",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Service.ism_transition_Service_carried_out.current_state",
        "path": "Service.ism_transition_Service_carried_out.current_state",
        "short": "Service carried out",
        "definition": "The service, or a single activity in a sequence of recurring service activities, has been carried out.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Service.ism_transition_Service_carried_out.current_state",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Service.ism_transition_Service_carried_out.careflow_step",
        "path": "Service.ism_transition_Service_carried_out.careflow_step",
        "short": "Service carried out",
        "definition": "The service, or a single activity in a sequence of recurring service activities, has been carried out.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Service.ism_transition_Service_carried_out.careflow_step",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Service.Service_suspended",
        "path": "Service.Service_suspended",
        "short": "Service suspended",
        "definition": "The service has been suspended without completion.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Service.Service_suspended",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Service.ism_transition_Service_suspended.current_state",
        "path": "Service.ism_transition_Service_suspended.current_state",
        "short": "Service suspended",
        "definition": "The service has been suspended without completion.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Service.ism_transition_Service_suspended.current_state",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Service.ism_transition_Service_suspended.careflow_step",
        "path": "Service.ism_transition_Service_suspended.careflow_step",
        "short": "Service suspended",
        "definition": "The service has been suspended without completion.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Service.ism_transition_Service_suspended.careflow_step",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Service.Service_abandoned",
        "path": "Service.Service_abandoned",
        "short": "Service abandoned",
        "definition": "The referral has been ceased before the service has been completed.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Service.Service_abandoned",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Service.ism_transition_Service_abandoned.current_state",
        "path": "Service.ism_transition_Service_abandoned.current_state",
        "short": "Service abandoned",
        "definition": "The referral has been ceased before the service has been completed.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Service.ism_transition_Service_abandoned.current_state",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Service.ism_transition_Service_abandoned.careflow_step",
        "path": "Service.ism_transition_Service_abandoned.careflow_step",
        "short": "Service abandoned",
        "definition": "The referral has been ceased before the service has been completed.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Service.ism_transition_Service_abandoned.careflow_step",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Service.Service_expired",
        "path": "Service.Service_expired",
        "short": "Service expired",
        "definition": "The referral has expired before the referral episode has been completed.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Service.Service_expired",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Service.ism_transition_Service_expired.current_state",
        "path": "Service.ism_transition_Service_expired.current_state",
        "short": "Service expired",
        "definition": "The referral has expired before the referral episode has been completed.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Service.ism_transition_Service_expired.current_state",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Service.ism_transition_Service_expired.careflow_step",
        "path": "Service.ism_transition_Service_expired.careflow_step",
        "short": "Service expired",
        "definition": "The referral has expired before the referral episode has been completed.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Service.ism_transition_Service_expired.careflow_step",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Service.Service_activity_complete",
        "path": "Service.Service_activity_complete",
        "short": "Service activity complete",
        "definition": "All service activities have been completed.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Service.Service_activity_complete",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Service.ism_transition_Service_activity_complete.current_state",
        "path": "Service.ism_transition_Service_activity_complete.current_state",
        "short": "Service activity complete",
        "definition": "All service activities have been completed.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Service.ism_transition_Service_activity_complete.current_state",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Service.ism_transition_Service_activity_complete.careflow_step",
        "path": "Service.ism_transition_Service_activity_complete.careflow_step",
        "short": "Service activity complete",
        "definition": "All service activities have been completed.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Service.ism_transition_Service_activity_complete.careflow_step",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      }
    ]
  }
}