{
  "resourceType": "StructureDefinition",
  "id": "frailty-score",
  "extension": [
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category",
      "valueString": "Clinical.Diagnostics"
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category",
      "valueCode": "patient"
    }
  ],
  "url": "https://www.netzwerk-universitaetsmedizin.de/fhir/StructureDefinition/frailty-score",
  "version": "1.0.6",
  "name": "ClinicalFrailtyScaleScore",
  "title": "Clinical Frailty Scale Score",
  "status": "active",
  "experimental": false,
  "date": "2020-10-29",
  "publisher": "Berlin Institute of Health at Charité (BIH)",
  "contact": [
    {
      "telecom": [
        {
          "system": "url",
          "value": "https://www.bihealth.org/en/research/core-facilities/interoperability/"
        }
      ]
    }
  ],
  "description": "Clinical Frailty Scale score",
  "copyright": "This artefact includes content under copyright from Geriatric Medicine Research, Dalhousie University, Halifax, Canada. Implementers of these artefacts must complete a Permission for Use Agreement - for more information visit https://www.dal.ca/sites/gmr/our-tools/clinical-frailty-scale.html.",
  "fhirVersion": "4.0.1",
  "mapping": [
    {
      "identity": "workflow",
      "uri": "http://hl7.org/fhir/workflow",
      "name": "Workflow Pattern"
    },
    {
      "identity": "sct-concept",
      "uri": "http://snomed.info/conceptdomain",
      "name": "SNOMED CT Concept Domain Binding"
    },
    {
      "identity": "v2",
      "uri": "http://hl7.org/v2",
      "name": "HL7 v2 Mapping"
    },
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    },
    {
      "identity": "w5",
      "uri": "http://hl7.org/fhir/fivews",
      "name": "FiveWs Pattern Mapping"
    },
    {
      "identity": "sct-attr",
      "uri": "http://snomed.org/attributebinding",
      "name": "SNOMED CT Attribute Binding"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "Observation",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Observation",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Observation.category",
        "path": "Observation.category",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Observation.category.coding",
        "path": "Observation.category.coding",
        "slicing": {
          "discriminator": [
            {
              "type": "pattern",
              "path": "$this"
            }
          ],
          "rules": "open"
        },
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Observation.category.coding:observation-category",
        "path": "Observation.category.coding",
        "sliceName": "observation-category",
        "min": 1,
        "max": "1",
        "patternCoding": {
          "code": "survey",
          "system": "http://terminology.hl7.org/CodeSystem/observation-category"
        },
        "mustSupport": true
      },
      {
        "id": "Observation.category.coding:observation-category.system",
        "path": "Observation.category.coding.system",
        "min": 1
      },
      {
        "id": "Observation.category.coding:observation-category.code",
        "path": "Observation.category.coding.code",
        "min": 1
      },
      {
        "id": "Observation.code",
        "path": "Observation.code",
        "mustSupport": true
      },
      {
        "id": "Observation.code.coding",
        "path": "Observation.code.coding",
        "slicing": {
          "discriminator": [
            {
              "type": "pattern",
              "path": "$this"
            }
          ],
          "rules": "open"
        },
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Observation.code.coding:snomed",
        "path": "Observation.code.coding",
        "sliceName": "snomed",
        "min": 1,
        "max": "1",
        "patternCoding": {
          "code": "763264000",
          "system": "http://snomed.info/sct"
        },
        "mustSupport": true
      },
      {
        "id": "Observation.code.coding:snomed.system",
        "path": "Observation.code.coding.system",
        "min": 1
      },
      {
        "id": "Observation.code.coding:snomed.code",
        "path": "Observation.code.coding.code",
        "min": 1
      },
      {
        "id": "Observation.subject",
        "path": "Observation.subject",
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Patient",
              "http://hl7.org/fhir/StructureDefinition/Group"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Observation.value[x]",
        "path": "Observation.value[x]",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": true,
        "binding": {
          "strength": "required",
          "valueSet": "https://www.netzwerk-universitaetsmedizin.de/fhir/ValueSet/frailty-score"
        }
      },
      {
        "id": "Observation.bodySite",
        "path": "Observation.bodySite",
        "max": "0"
      },
      {
        "id": "Observation.method",
        "path": "Observation.method",
        "mustSupport": true
      },
      {
        "id": "Observation.method.coding",
        "path": "Observation.method.coding",
        "slicing": {
          "discriminator": [
            {
              "type": "pattern",
              "path": "$this"
            }
          ],
          "rules": "open"
        },
        "mustSupport": true
      },
      {
        "id": "Observation.method.coding:snomed-scale",
        "path": "Observation.method.coding",
        "sliceName": "snomed-scale",
        "definition": "A reference to a code for the assessment scale that is used.",
        "min": 0,
        "max": "1",
        "patternCoding": {
          "code": "445414007",
          "system": "http://snomed.info/sct"
        },
        "mustSupport": true
      },
      {
        "id": "Observation.method.coding:snomed-scale.system",
        "path": "Observation.method.coding.system",
        "min": 1
      },
      {
        "id": "Observation.method.coding:snomed-scale.code",
        "path": "Observation.method.coding.code",
        "min": 1
      },
      {
        "id": "Observation.specimen",
        "path": "Observation.specimen",
        "max": "0"
      }
    ]
  }
}