{
  "resourceType": "StructureDefinition",
  "id": "CASIDE-SensingInformation",
  "meta": {
    "lastUpdated": "2021-07-16T08:25:21.475+00:00"
  },
  "url": "http://gradiant.org/fhir/StructureDefinition/CASIDESensingInformation",
  "version": "1.0",
  "name": "CASIDESensingInformation",
  "title": "Sensing information Profile",
  "status": "draft",
  "publisher": "GRADIANT",
  "contact": [
    {
      "name": "GRADIANT",
      "telecom": [
        {
          "system": "url",
          "value": "https://www.gradiant.org/",
          "use": "work"
        }
      ]
    }
  ],
  "description": "Wellness and activity data from sensing devices of the cancer survivor. These data can potentially aid in contextualizing cancer survivor health status and better understanding cancer treatment side effects. All units of measure must be specified according to the UCUM system.",
  "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,
        "max": "1",
        "patternCodeableConcept": {
          "coding": [
            {
              "system": "http://terminology.hl7.org/CodeSystem/observation-category",
              "code": "activity"
            }
          ]
        }
      },
      {
        "id": "Observation.code",
        "path": "Observation.code",
        "binding": {
          "strength": "extensible",
          "valueSet": "http://gradiant.org/fhir/ValueSet/CASIDESensingDataVS"
        }
      },
      {
        "id": "Observation.subject",
        "path": "Observation.subject",
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://gradiant.org/fhir/StructureDefinition/CASIDECancerSurvivor"
            ]
          }
        ]
      },
      {
        "id": "Observation.effective[x]",
        "path": "Observation.effective[x]",
        "min": 1
      },
      {
        "id": "Observation.value[x]",
        "path": "Observation.value[x]",
        "type": [
          {
            "code": "Quantity"
          }
        ],
        "patternQuantity": {
          "system": "http://unitsofmeasure.org"
        }
      },
      {
        "id": "Observation.device",
        "path": "Observation.device",
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://gradiant.org/fhir/StructureDefinition/CASIDESensingDevice"
            ]
          }
        ]
      },
      {
        "id": "Observation.hasMember",
        "path": "Observation.hasMember",
        "max": "0"
      }
    ]
  }
}