{
  "resourceType": "StructureDefinition",
  "id": "273f15a9-c7f9-4425-a762-b205c47e2f2c",
  "meta": {
    "lastUpdated": "2022-03-08T09:34:55.489+00:00"
  },
  "url": "https://fhir.cambio.se/StructureDefinition/ObservationHeartRateLite/v1",
  "version": "1.1.0",
  "name": "ObservationHeartRateLite",
  "status": "active",
  "date": "2021-11-18T09:02:56.5659146+00:00",
  "description": "Cambio Lite profile for communicating the vital parameter, Heart rate, between an external system and COSMIC. The heart rate profile includes the value of the beats per minutes and a slice for regularity of the heart rate, contextuel data and meta data.",
  "purpose": "Cambio Lite profile for communicating the vital parameter, Heart rate, between an external system and COSMIC. The heart rate profile includes the value of the beats per minutes and a slice for regularity of the heart rate, contextuel data and meta data.",
  "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": "https://fhir.cambio.se/StructureDefinition/ObservationHeartRateCore/v1",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Observation.meta",
        "path": "Observation.meta",
        "min": 1
      },
      {
        "id": "Observation.meta.source",
        "path": "Observation.meta.source",
        "mustSupport": true
      },
      {
        "id": "Observation.meta.profile",
        "path": "Observation.meta.profile",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Observation.basedOn",
        "path": "Observation.basedOn",
        "max": "0"
      },
      {
        "id": "Observation.partOf",
        "path": "Observation.partOf",
        "max": "0"
      },
      {
        "id": "Observation.status",
        "path": "Observation.status",
        "short": "preliminary | final | entered in error | cancelled",
        "definition": "The status of th result value. \r\nFHIR - Cambio\r\npreliminary -> unsigned\nfinal -> signed and completednonSignable\namended -> not supported\nentered in error -> invalidated\ncancelled -> removed",
        "binding": {
          "strength": "required",
          "description": "Subset of Codes providing the status of an observation.",
          "valueSet": "https://cambio.codes/fhir/vs/vital-sign-status/v1"
        }
      },
      {
        "id": "Observation.category",
        "path": "Observation.category",
        "max": "1"
      },
      {
        "id": "Observation.code.coding",
        "path": "Observation.code.coding",
        "min": 2,
        "max": "2"
      },
      {
        "id": "Observation.encounter.identifier.system",
        "path": "Observation.encounter.identifier.system",
        "min": 1
      },
      {
        "id": "Observation.encounter.identifier.value",
        "path": "Observation.encounter.identifier.value",
        "min": 1
      },
      {
        "id": "Observation.issued",
        "path": "Observation.issued",
        "max": "0"
      },
      {
        "id": "Observation.performer",
        "path": "Observation.performer",
        "max": "2",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Practitioner",
              "http://hl7.org/fhir/StructureDefinition/PractitionerRole",
              "http://hl7.org/fhir/StructureDefinition/Organization",
              "http://hl7.org/fhir/StructureDefinition/Patient"
            ]
          }
        ]
      },
      {
        "id": "Observation.performer:practitioner",
        "path": "Observation.performer",
        "sliceName": "practitioner"
      },
      {
        "id": "Observation.performer:practitioner.identifier.system",
        "path": "Observation.performer.identifier.system",
        "definition": "OID for HSA-ID"
      },
      {
        "id": "Observation.performer:organization",
        "path": "Observation.performer",
        "sliceName": "organization",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://commonprofiles.care/StructureDefinition/OrganizationSEVendorLite/v1"
            ]
          }
        ]
      },
      {
        "id": "Observation.performer:organization.identifier.system",
        "path": "Observation.performer.identifier.system",
        "definition": "OID for HSA-ID catalogue"
      },
      {
        "id": "Observation.value[x]",
        "path": "Observation.value[x]",
        "slicing": {
          "rules": "open"
        },
        "min": 1
      },
      {
        "id": "Observation.value[x]:valueQuantity",
        "path": "Observation.value[x]",
        "sliceName": "valueQuantity",
        "min": 1
      },
      {
        "id": "Observation.value[x]:valueQuantity.value",
        "path": "Observation.value[x].value",
        "definition": "The value of the measured amount. The value of the heart rate must be within the range of 0.0.. < 400.0.",
        "minValueDecimal": 0,
        "maxValueDecimal": 399.9
      },
      {
        "id": "Observation.value[x]:valueQuantity.unit",
        "path": "Observation.value[x].unit",
        "fixedString": "/min"
      },
      {
        "id": "Observation.dataAbsentReason",
        "path": "Observation.dataAbsentReason",
        "max": "0"
      },
      {
        "id": "Observation.interpretation",
        "path": "Observation.interpretation",
        "max": "0"
      },
      {
        "id": "Observation.note",
        "path": "Observation.note",
        "max": "1"
      },
      {
        "id": "Observation.bodySite",
        "path": "Observation.bodySite",
        "max": "0"
      },
      {
        "id": "Observation.method",
        "path": "Observation.method",
        "max": "0"
      },
      {
        "id": "Observation.device",
        "path": "Observation.device",
        "max": "0"
      },
      {
        "id": "Observation.hasMember",
        "path": "Observation.hasMember",
        "max": "0"
      },
      {
        "id": "Observation.derivedFrom",
        "path": "Observation.derivedFrom",
        "max": "0"
      }
    ]
  }
}