{
  "resourceType": "StructureDefinition",
  "id": "PHCTSingleStrideObservation",
  "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://portabiles-hct.de/fhir/parkinson-go-export/StructureDefinition/PHCTSingleStrideObservation",
  "version": "1.0",
  "name": "PHCTSingleStrideObservation",
  "title": "Observation-Profil der DiGa ParkinsonGo zur Repräsentation des Gangparametersatzes für einen Einzelschritt",
  "status": "active",
  "experimental": false,
  "date": "2021-10-05",
  "publisher": "Portabiles HealthCare Technologies GmbH",
  "copyright": "Portabiles HealthCare Technologies GmbH",
  "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.status",
        "path": "Observation.status",
        "patternCode": "final",
        "mustSupport": true
      },
      {
        "id": "Observation.category",
        "path": "Observation.category",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Observation.category.coding",
        "path": "Observation.category.coding",
        "min": 1,
        "max": "1",
        "patternCoding": {
          "code": "activity",
          "system": "http://terminology.hl7.org/CodeSystem/observation-category",
          "display": "Activity"
        },
        "mustSupport": true
      },
      {
        "id": "Observation.code",
        "path": "Observation.code",
        "patternCodeableConcept": {
          "coding": [
            {
              "code": "32433-5",
              "system": "http://loinc.org"
            }
          ]
        }
      },
      {
        "id": "Observation.subject",
        "path": "Observation.subject",
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://portabiles-hct.de/fhir/parkinson-go-export/StructureDefinition/PHCTPatient"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Observation.subject.reference",
        "path": "Observation.subject.reference",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Observation.effective[x]",
        "path": "Observation.effective[x]",
        "min": 1,
        "type": [
          {
            "code": "dateTime"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Observation.value[x]",
        "path": "Observation.value[x]",
        "slicing": {
          "discriminator": [
            {
              "type": "type",
              "path": "$this"
            }
          ],
          "ordered": false,
          "rules": "open"
        },
        "type": [
          {
            "code": "Quantity"
          }
        ]
      },
      {
        "id": "Observation.valueQuantity",
        "path": "Observation.valueQuantity",
        "min": 0,
        "max": "0",
        "mustSupport": true
      },
      {
        "id": "Observation.bodySite",
        "path": "Observation.bodySite",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Observation.bodySite.coding",
        "path": "Observation.bodySite.coding",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Observation.bodySite.coding.system",
        "path": "Observation.bodySite.coding.system",
        "patternUri": "http://snomed.info/sct"
      },
      {
        "id": "Observation.component",
        "path": "Observation.component",
        "slicing": {
          "discriminator": [
            {
              "type": "pattern",
              "path": "id"
            }
          ],
          "rules": "open",
          "ordered": false,
          "description": "Slice based on the component.note pattern"
        },
        "min": 3
      },
      {
        "id": "Observation.component:strideLength",
        "path": "Observation.component",
        "sliceName": "strideLength",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Observation.component:strideLength.id",
        "path": "Observation.component.id",
        "min": 1,
        "patternString": "Stride Length [cm]"
      },
      {
        "id": "Observation.component:strideLength.code",
        "path": "Observation.component.code",
        "patternCodeableConcept": {
          "coding": [
            {
              "code": "strideLength_cm",
              "system": "https://portabiles-hct.de/fhir/parkinson-go-export/CodeSystem/gait-parameter-codes"
            }
          ]
        }
      },
      {
        "id": "Observation.component:strideLength.value[x]",
        "path": "Observation.component.value[x]",
        "slicing": {
          "discriminator": [
            {
              "type": "type",
              "path": "$this"
            }
          ],
          "ordered": false,
          "rules": "open"
        },
        "min": 1,
        "type": [
          {
            "code": "Quantity"
          }
        ]
      },
      {
        "id": "Observation.component:strideLength.valueQuantity",
        "path": "Observation.component.valueQuantity",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Observation.component:strideLength.valueQuantity.value",
        "path": "Observation.component.valueQuantity.value",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Observation.component:strideLength.valueQuantity.unit",
        "path": "Observation.component.valueQuantity.unit",
        "min": 1,
        "patternString": "cm",
        "mustSupport": true
      },
      {
        "id": "Observation.component:strideLength.valueQuantity.system",
        "path": "Observation.component.valueQuantity.system",
        "min": 1,
        "patternUri": "http://unitsofmeasure.org",
        "mustSupport": true
      },
      {
        "id": "Observation.component:strideLength.valueQuantity.code",
        "path": "Observation.component.valueQuantity.code",
        "min": 1,
        "patternCode": "cm",
        "mustSupport": true
      },
      {
        "id": "Observation.component:gaitSpeed",
        "path": "Observation.component",
        "sliceName": "gaitSpeed",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Observation.component:gaitSpeed.id",
        "path": "Observation.component.id",
        "min": 1,
        "patternString": "Gait Speed [m/s]"
      },
      {
        "id": "Observation.component:gaitSpeed.code",
        "path": "Observation.component.code",
        "patternCodeableConcept": {
          "coding": [
            {
              "code": "gaitSpeed_ms",
              "system": "https://portabiles-hct.de/fhir/parkinson-go-export/CodeSystem/gait-parameter-codes"
            }
          ]
        }
      },
      {
        "id": "Observation.component:gaitSpeed.value[x]",
        "path": "Observation.component.value[x]",
        "slicing": {
          "discriminator": [
            {
              "type": "type",
              "path": "$this"
            }
          ],
          "ordered": false,
          "rules": "open"
        },
        "min": 1,
        "type": [
          {
            "code": "Quantity"
          }
        ]
      },
      {
        "id": "Observation.component:gaitSpeed.valueQuantity",
        "path": "Observation.component.valueQuantity",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Observation.component:gaitSpeed.valueQuantity.value",
        "path": "Observation.component.valueQuantity.value",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Observation.component:gaitSpeed.valueQuantity.unit",
        "path": "Observation.component.valueQuantity.unit",
        "min": 1,
        "patternString": "m/s",
        "mustSupport": true
      },
      {
        "id": "Observation.component:gaitSpeed.valueQuantity.system",
        "path": "Observation.component.valueQuantity.system",
        "min": 1,
        "patternUri": "http://unitsofmeasure.org",
        "mustSupport": true
      },
      {
        "id": "Observation.component:gaitSpeed.valueQuantity.code",
        "path": "Observation.component.valueQuantity.code",
        "min": 1,
        "patternCode": "m/s",
        "mustSupport": true
      },
      {
        "id": "Observation.component:heelStrikeAngle",
        "path": "Observation.component",
        "sliceName": "heelStrikeAngle",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Observation.component:heelStrikeAngle.id",
        "path": "Observation.component.id",
        "min": 1,
        "patternString": "Heel Strike Angle [deg]"
      },
      {
        "id": "Observation.component:heelStrikeAngle.code",
        "path": "Observation.component.code",
        "patternCodeableConcept": {
          "coding": [
            {
              "code": "hsAngle_deg",
              "system": "https://portabiles-hct.de/fhir/parkinson-go-export/CodeSystem/gait-parameter-codes"
            }
          ]
        }
      },
      {
        "id": "Observation.component:heelStrikeAngle.value[x]",
        "path": "Observation.component.value[x]",
        "slicing": {
          "discriminator": [
            {
              "type": "type",
              "path": "$this"
            }
          ],
          "ordered": false,
          "rules": "open"
        },
        "min": 1,
        "type": [
          {
            "code": "Quantity"
          }
        ]
      },
      {
        "id": "Observation.component:heelStrikeAngle.valueQuantity",
        "path": "Observation.component.valueQuantity",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Observation.component:heelStrikeAngle.valueQuantity.value",
        "path": "Observation.component.valueQuantity.value",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Observation.component:heelStrikeAngle.valueQuantity.unit",
        "path": "Observation.component.valueQuantity.unit",
        "min": 1,
        "patternString": "deg",
        "mustSupport": true
      },
      {
        "id": "Observation.component:heelStrikeAngle.valueQuantity.system",
        "path": "Observation.component.valueQuantity.system",
        "min": 1,
        "patternUri": "http://unitsofmeasure.org",
        "mustSupport": true
      },
      {
        "id": "Observation.component:heelStrikeAngle.valueQuantity.code",
        "path": "Observation.component.valueQuantity.code",
        "min": 1,
        "patternCode": "deg",
        "mustSupport": true
      }
    ]
  }
}