{
  "resourceType": "StructureDefinition",
  "id": "logicalmodel-Surgicalresectionmargins-R4",
  "url": "http://linkehr.com/fhir/logicalmodel-surgicalresectionmargins-R4",
  "identifier": [
    {
      "system": "openEHR-CKM",
      "value": "openEHR-EHR-CLUSTER.tumour_resection_margins.v0"
    }
  ],
  "version": "0",
  "name": "Surgicalresectionmargins",
  "title": "Surgical resection margins",
  "status": "draft",
  "date": "2024-06-18",
  "publisher": "openEHR",
  "contact": [
    {
      "telecom": [
        {
          "system": "url",
          "value": "http://www.veratech.es"
        }
      ]
    }
  ],
  "description": "Details of tumour involvement at margins of surgical resections/biopsies.",
  "purpose": "Details of surgical resection margin involvement of malignant tumours. May be used to describe scenarios where tumour is present at the resection margin, detailing the length of tumour involvement, or where tumour is absent from the margin, to indicate the distance of tumour from that margin.",
  "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": "Surgical_resection_margins",
        "path": "Surgical_resection_margins",
        "short": "Surgical resection margins",
        "definition": "Details of tumour involvement at margins of surgical resections/biopsies.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Surgical_resection_margins",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Surgical_resection_margins.Margin_name",
        "path": "Surgical_resection_margins.Margin_name",
        "short": "Margin name",
        "definition": "The name of the margin being described.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Surgical_resection_margins.Margin_name",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Surgical_resection_margins.Margin_name.value",
        "path": "Surgical_resection_margins.Margin_name.value",
        "short": "Margin name",
        "definition": "The name of the margin being described.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Surgical_resection_margins.Margin_name.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Surgical_resection_margins.Margin_location",
        "path": "Surgical_resection_margins.Margin_location",
        "short": "Margin location",
        "definition": "The location of the margin being described.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Surgical_resection_margins.Margin_location",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Surgical_resection_margins.Marginal_involvement",
        "path": "Surgical_resection_margins.Marginal_involvement",
        "short": "Marginal involvement",
        "definition": "Evidence of tumour at a surgical resection margin.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Surgical_resection_margins.Marginal_involvement",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Surgical_resection_margins.Marginal_involvement.value",
        "path": "Surgical_resection_margins.Marginal_involvement.value",
        "short": "Marginal involvement",
        "definition": "Evidence of tumour at a surgical resection margin.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Surgical_resection_margins.Marginal_involvement.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Surgical_resection_margins.Tumour_present",
        "path": "Surgical_resection_margins.Tumour_present",
        "short": "Tumour present",
        "definition": "Details where tumour is present at the surgical resection margin.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Surgical_resection_margins.Tumour_present",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Surgical_resection_margins.Tumour_present.Maximum_linear_involvement",
        "path": "Surgical_resection_margins.Tumour_present.Maximum_linear_involvement",
        "short": "Maximum linear involvement",
        "definition": "When tumour is present at surgical resection margin, the maximal length of involvement.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Surgical_resection_margins.Tumour_present.Maximum_linear_involvement",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Surgical_resection_margins.Tumour_present.Maximum_linear_involvement.value",
        "path": "Surgical_resection_margins.Tumour_present.Maximum_linear_involvement.value",
        "short": "Maximum linear involvement",
        "definition": "When tumour is present at surgical resection margin, the maximal length of involvement.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Surgical_resection_margins.Tumour_present.Maximum_linear_involvement.value",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "Quantity"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Surgical_resection_margins.Tumour_present.Nature_of_involvement",
        "path": "Surgical_resection_margins.Tumour_present.Nature_of_involvement",
        "short": "Nature of involvement",
        "definition": "The nature of involvement of the tumour with the surgical margin.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Surgical_resection_margins.Tumour_present.Nature_of_involvement",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Surgical_resection_margins.Tumour_present.Nature_of_involvement.value",
        "path": "Surgical_resection_margins.Tumour_present.Nature_of_involvement.value",
        "short": "Nature of involvement",
        "definition": "The nature of involvement of the tumour with the surgical margin.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Surgical_resection_margins.Tumour_present.Nature_of_involvement.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Surgical_resection_margins.Tumour_absent",
        "path": "Surgical_resection_margins.Tumour_absent",
        "short": "Tumour absent",
        "definition": "Details where tumour is absent from surgical resection margins.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Surgical_resection_margins.Tumour_absent",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Surgical_resection_margins.Tumour_absent.Distance_from_resection_margin",
        "path": "Surgical_resection_margins.Tumour_absent.Distance_from_resection_margin",
        "short": "Distance from resection margin",
        "definition": "When tumour is absent, the distance from tumour to the named surgical resection margin.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Surgical_resection_margins.Tumour_absent.Distance_from_resection_margin",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Surgical_resection_margins.Tumour_absent.Distance_from_resection_margin.value",
        "path": "Surgical_resection_margins.Tumour_absent.Distance_from_resection_margin.value",
        "short": "Distance from resection margin",
        "definition": "When tumour is absent, the distance from tumour to the named surgical resection margin.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Surgical_resection_margins.Tumour_absent.Distance_from_resection_margin.value",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "Quantity"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Surgical_resection_margins.Tumour_absent.Tumour_name",
        "path": "Surgical_resection_margins.Tumour_absent.Tumour_name",
        "short": "Tumour name",
        "definition": "Name of the tumour for which the 'Distance from resection margin' applies.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Surgical_resection_margins.Tumour_absent.Tumour_name",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Surgical_resection_margins.Tumour_absent.Tumour_name.value",
        "path": "Surgical_resection_margins.Tumour_absent.Tumour_name.value",
        "short": "Tumour name",
        "definition": "Name of the tumour for which the 'Distance from resection margin' applies.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Surgical_resection_margins.Tumour_absent.Tumour_name.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Surgical_resection_margins.Description",
        "path": "Surgical_resection_margins.Description",
        "short": "Description",
        "definition": "A text description of tumour involvement at the surgical resection margin.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Surgical_resection_margins.Description",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Surgical_resection_margins.Description.value",
        "path": "Surgical_resection_margins.Description.value",
        "short": "Description",
        "definition": "A text description of tumour involvement at the surgical resection margin.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Surgical_resection_margins.Description.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      }
    ]
  }
}