{
  "resourceType": "StructureDefinition",
  "url": "https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-HeartRate-Observation-1",
  "version": "1.1.0",
  "name": "CareConnect-HeartRate-Observation-1",
  "status": "draft",
  "date": "2019-06-17",
  "publisher": "HL7 UK",
  "contact": [
    {
      "name": "INTEROPen",
      "telecom": [
        {
          "system": "email",
          "value": "admin@interopen.org",
          "use": "work"
        }
      ]
    }
  ],
  "description": "A Vital Signs profile to carry a patient's heart rate or pulse.",
  "copyright": "Copyright © 2018 HL7 UK\r\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use this file except in compliance with the License. You may obtain a copy of the License at\r\n\r\nhttp://www.apache.org/licenses/LICENSE-2.0\r\n\r\nUnless required by applicable law or agreed to in writing, software distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.\r\n\r\nHL7® FHIR® standard Copyright © 2011+ HL7\r\n\r\nThe HL7® FHIR® standard is used under the FHIR license. You may obtain a copy of the FHIR license at\r\n\r\nhttps://www.hl7.org/fhir/license.html",
  "fhirVersion": "3.0.2",
  "kind": "resource",
  "abstract": false,
  "type": "Observation",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Observation",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Observation.identifier.system",
        "path": "Observation.identifier.system",
        "min": 1
      },
      {
        "id": "Observation.identifier.value",
        "path": "Observation.identifier.value",
        "min": 1
      },
      {
        "id": "Observation.identifier.assigner",
        "path": "Observation.identifier.assigner",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Organization-1"
          }
        ]
      },
      {
        "id": "Observation.basedOn",
        "path": "Observation.basedOn",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-CarePlan-1"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/DeviceRequest"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation"
          },
          {
            "code": "Reference",
            "targetProfile": "https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-MedicationRequest-1"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/NutritionOrder"
          },
          {
            "code": "Reference",
            "targetProfile": "https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-ProcedureRequest-1"
          },
          {
            "code": "Reference",
            "targetProfile": "https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-ReferralRequest-1"
          }
        ]
      },
      {
        "id": "Observation.status",
        "path": "Observation.status",
        "fixedCode": "final",
        "mustSupport": true
      },
      {
        "id": "Observation.category",
        "path": "Observation.category",
        "min": 1,
        "mustSupport": true,
        "binding": {
          "strength": "required"
        }
      },
      {
        "id": "Observation.category.coding",
        "path": "Observation.category.coding",
        "min": 1,
        "max": "1",
        "mustSupport": false
      },
      {
        "id": "Observation.category.coding.system",
        "path": "Observation.category.coding.system",
        "min": 1,
        "fixedUri": "http://hl7.org/fhir/observation-category",
        "mustSupport": false
      },
      {
        "id": "Observation.category.coding.version",
        "path": "Observation.category.coding.version",
        "max": "0"
      },
      {
        "id": "Observation.category.coding.code",
        "path": "Observation.category.coding.code",
        "min": 1,
        "fixedCode": "vital-signs"
      },
      {
        "id": "Observation.category.coding.display",
        "path": "Observation.category.coding.display",
        "fixedString": "Vital Signs"
      },
      {
        "id": "Observation.code",
        "path": "Observation.code",
        "mustSupport": true,
        "binding": {
          "strength": "extensible",
          "description": "This value set indicates the allowed vital sign result types.",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/observation-vitalsignresult"
          }
        }
      },
      {
        "id": "Observation.code.coding",
        "path": "Observation.code.coding",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "code"
            }
          ],
          "ordered": false,
          "rules": "open"
        },
        "min": 1
      },
      {
        "id": "Observation.code.coding:loinc",
        "path": "Observation.code.coding",
        "sliceName": "loinc",
        "min": 1,
        "max": "1",
        "binding": {
          "strength": "extensible",
          "description": "This value set indicates the allowed vital sign result types.",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/observation-vitalsignresult"
          }
        }
      },
      {
        "id": "Observation.code.coding:loinc.system",
        "path": "Observation.code.coding.system",
        "min": 1,
        "fixedUri": "http://loinc.org",
        "mustSupport": false
      },
      {
        "id": "Observation.code.coding:loinc.code",
        "path": "Observation.code.coding.code",
        "min": 1,
        "fixedCode": "8867-4",
        "mustSupport": false
      },
      {
        "id": "Observation.code.coding:snomedCT",
        "path": "Observation.code.coding",
        "sliceName": "snomedCT",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Observation.code.coding:snomedCT.extension",
        "path": "Observation.code.coding.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        },
        "min": 0
      },
      {
        "id": "Observation.code.coding:snomedCT.extension:snomedCTDescriptionID",
        "path": "Observation.code.coding.extension",
        "sliceName": "snomedCTDescriptionID",
        "min": 0,
        "type": [
          {
            "code": "Extension",
            "profile": "https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-coding-sctdescid"
          }
        ]
      },
      {
        "id": "Observation.code.coding:snomedCT.system",
        "path": "Observation.code.coding.system",
        "min": 1,
        "fixedUri": "http://snomed.info/sct"
      },
      {
        "id": "Observation.code.coding:snomedCT.version",
        "path": "Observation.code.coding.version",
        "max": "0"
      },
      {
        "id": "Observation.code.coding:snomedCT.code",
        "path": "Observation.code.coding.code",
        "min": 1,
        "fixedCode": "364075005"
      },
      {
        "id": "Observation.code.coding:snomedCT.display",
        "path": "Observation.code.coding.display",
        "min": 1,
        "fixedString": "Heart rate"
      },
      {
        "id": "Observation.subject",
        "path": "Observation.subject",
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "targetProfile": "https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Patient-1"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Observation.context",
        "path": "Observation.context",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-EpisodeOfCare-1"
          },
          {
            "code": "Reference",
            "targetProfile": "https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Encounter-1"
          }
        ]
      },
      {
        "id": "Observation.effective[x]",
        "path": "Observation.effective[x]",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Observation.performer",
        "path": "Observation.performer",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-RelatedPerson-1"
          },
          {
            "code": "Reference",
            "targetProfile": "https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Practitioner-1"
          },
          {
            "code": "Reference",
            "targetProfile": "https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Organization-1"
          },
          {
            "code": "Reference",
            "targetProfile": "https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Patient-1"
          }
        ]
      },
      {
        "id": "Observation.value[x]:valueQuantity",
        "path": "Observation.valueQuantity",
        "sliceName": "valueQuantity",
        "type": [
          {
            "code": "Quantity"
          }
        ],
        "mustSupport": true,
        "binding": {
          "strength": "required",
          "description": "Common UCUM units for recording Vital Signs",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/ucum-vitals-common"
          }
        }
      },
      {
        "id": "Observation.value[x]:valueQuantity.value",
        "path": "Observation.valueQuantity.value",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Observation.value[x]:valueQuantity.unit",
        "path": "Observation.valueQuantity.unit",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Observation.value[x]:valueQuantity.system",
        "path": "Observation.valueQuantity.system",
        "min": 1,
        "fixedUri": "http://unitsofmeasure.org",
        "mustSupport": true
      },
      {
        "id": "Observation.value[x]:valueQuantity.code",
        "path": "Observation.valueQuantity.code",
        "short": "Coded responses from the common UCUM units for vital signs value set.",
        "min": 1,
        "fixedCode": "/min",
        "mustSupport": true
      },
      {
        "id": "Observation.dataAbsentReason",
        "path": "Observation.dataAbsentReason",
        "mustSupport": true,
        "binding": {
          "strength": "extensible",
          "description": "This value set defines the set of codes for identifying the reason why the expected result in Observation.value[x] is missing."
        }
      },
      {
        "id": "Observation.dataAbsentReason.coding.code",
        "path": "Observation.dataAbsentReason.coding.code",
        "mustSupport": false
      },
      {
        "id": "Observation.interpretation",
        "path": "Observation.interpretation",
        "binding": {
          "strength": "extensible",
          "description": "This value set defines the set of codes that can be used to indicate the meaning/use of a reference range."
        }
      },
      {
        "id": "Observation.bodySite.coding",
        "path": "Observation.bodySite.coding",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "system"
            }
          ],
          "ordered": false,
          "rules": "open"
        }
      },
      {
        "id": "Observation.bodySite.coding:snomedCT",
        "path": "Observation.bodySite.coding",
        "sliceName": "snomedCT",
        "max": "1",
        "binding": {
          "strength": "preferred",
          "description": "A code from the SNOMED Clinical Terminology UK with the expression (<<442083009 |anatomical or acquired body structure|).",
          "valueSetReference": {
            "reference": "https://fhir.hl7.org.uk/STU3/ValueSet/CareConnect-BodySite-1"
          }
        }
      },
      {
        "id": "Observation.bodySite.coding:snomedCT.extension",
        "path": "Observation.bodySite.coding.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        },
        "min": 0
      },
      {
        "id": "Observation.bodySite.coding:snomedCT.extension:snomedCTDescriptionID",
        "path": "Observation.bodySite.coding.extension",
        "sliceName": "snomedCTDescriptionID",
        "min": 0,
        "type": [
          {
            "code": "Extension",
            "profile": "https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-coding-sctdescid"
          }
        ]
      },
      {
        "id": "Observation.bodySite.coding:snomedCT.system",
        "path": "Observation.bodySite.coding.system",
        "min": 1,
        "fixedUri": "http://snomed.info/sct"
      },
      {
        "id": "Observation.bodySite.coding:snomedCT.version",
        "path": "Observation.bodySite.coding.version",
        "max": "0"
      },
      {
        "id": "Observation.bodySite.coding:snomedCT.code",
        "path": "Observation.bodySite.coding.code",
        "min": 1
      },
      {
        "id": "Observation.bodySite.coding:snomedCT.display",
        "path": "Observation.bodySite.coding.display",
        "min": 1
      },
      {
        "id": "Observation.method.coding",
        "path": "Observation.method.coding",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "system"
            }
          ],
          "ordered": false,
          "rules": "open"
        }
      },
      {
        "id": "Observation.method.coding:snomedCT",
        "path": "Observation.method.coding",
        "sliceName": "snomedCT",
        "max": "1",
        "binding": {
          "strength": "preferred",
          "description": "A code from SNOMED Clinical Terminology UK",
          "valueSetReference": {
            "reference": "https://fhir.hl7.org.uk/STU3/ValueSet/CareConnect-ObservationMethod-1"
          }
        }
      },
      {
        "id": "Observation.method.coding:snomedCT.extension",
        "path": "Observation.method.coding.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        },
        "min": 0
      },
      {
        "id": "Observation.method.coding:snomedCT.extension:snomedCTDescriptionID",
        "path": "Observation.method.coding.extension",
        "sliceName": "snomedCTDescriptionID",
        "min": 0,
        "type": [
          {
            "code": "Extension",
            "profile": "https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-coding-sctdescid"
          }
        ]
      },
      {
        "id": "Observation.method.coding:snomedCT.system",
        "path": "Observation.method.coding.system",
        "min": 1,
        "fixedUri": "http://snomed.info/sct"
      },
      {
        "id": "Observation.method.coding:snomedCT.version",
        "path": "Observation.method.coding.version",
        "max": "0"
      },
      {
        "id": "Observation.method.coding:snomedCT.code",
        "path": "Observation.method.coding.code",
        "min": 1
      },
      {
        "id": "Observation.method.coding:snomedCT.display",
        "path": "Observation.method.coding.display",
        "min": 1
      },
      {
        "id": "Observation.specimen",
        "path": "Observation.specimen",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Specimen-1"
          }
        ]
      },
      {
        "id": "Observation.related",
        "path": "Observation.related",
        "mustSupport": true
      },
      {
        "id": "Observation.related.type",
        "path": "Observation.related.type",
        "min": 1,
        "fixedCode": "has-member",
        "mustSupport": true
      },
      {
        "id": "Observation.related.target",
        "path": "Observation.related.target",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-VitalSigns-Observation-1"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Observation.component",
        "path": "Observation.component",
        "mustSupport": true
      },
      {
        "id": "Observation.component.code",
        "path": "Observation.component.code",
        "mustSupport": true,
        "binding": {
          "strength": "extensible",
          "description": "This value set indicates the allowed vital sign result types.",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/observation-vitalsignresult"
          }
        }
      },
      {
        "id": "Observation.component.code.coding",
        "path": "Observation.component.code.coding",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "code"
            }
          ],
          "ordered": false,
          "rules": "open"
        },
        "min": 1
      },
      {
        "id": "Observation.component.code.coding:loinc",
        "path": "Observation.component.code.coding",
        "sliceName": "loinc",
        "min": 1,
        "max": "1",
        "binding": {
          "strength": "extensible",
          "description": "This value set indicates the allowed vital sign result types",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/stu3/valueset-observation-vitalsignresult.html"
          }
        }
      },
      {
        "id": "Observation.component.code.coding:loinc.system",
        "path": "Observation.component.code.coding.system",
        "min": 1,
        "fixedUri": "http://loinc.org"
      },
      {
        "id": "Observation.component.code.coding:loinc.code",
        "path": "Observation.component.code.coding.code",
        "min": 1
      },
      {
        "id": "Observation.component.code.coding:snomedCT",
        "path": "Observation.component.code.coding",
        "sliceName": "snomedCT",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Observation.component.code.coding:snomedCT.extension",
        "path": "Observation.component.code.coding.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        },
        "min": 0
      },
      {
        "id": "Observation.component.code.coding:snomedCT.extension:snomedCTDescriptionID",
        "path": "Observation.component.code.coding.extension",
        "sliceName": "snomedCTDescriptionID",
        "min": 0,
        "type": [
          {
            "code": "Extension",
            "profile": "https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-coding-sctdescid"
          }
        ]
      },
      {
        "id": "Observation.component.code.coding:snomedCT.system",
        "path": "Observation.component.code.coding.system",
        "min": 1,
        "fixedUri": "http://snomed.info/sct"
      },
      {
        "id": "Observation.component.code.coding:snomedCT.version",
        "path": "Observation.component.code.coding.version",
        "max": "0"
      },
      {
        "id": "Observation.component.code.coding:snomedCT.code",
        "path": "Observation.component.code.coding.code",
        "min": 1
      },
      {
        "id": "Observation.component.code.coding:snomedCT.display",
        "path": "Observation.component.code.coding.display",
        "min": 1
      },
      {
        "id": "Observation.component.value[x]:valueQuantity",
        "path": "Observation.component.valueQuantity",
        "sliceName": "valueQuantity",
        "type": [
          {
            "code": "Quantity"
          }
        ],
        "mustSupport": true,
        "binding": {
          "strength": "required",
          "description": "Common UCUM units for recording Vital Signs",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/ucum-vitals-common"
          }
        }
      },
      {
        "id": "Observation.component.value[x]:valueQuantity.value",
        "path": "Observation.component.valueQuantity.value",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Observation.component.value[x]:valueQuantity.unit",
        "path": "Observation.component.valueQuantity.unit",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Observation.component.value[x]:valueQuantity.system",
        "path": "Observation.component.valueQuantity.system",
        "min": 1,
        "fixedUri": "http://unitsofmeasure.org",
        "mustSupport": true
      },
      {
        "id": "Observation.component.value[x]:valueQuantity.code",
        "path": "Observation.component.valueQuantity.code",
        "min": 1,
        "mustSupport": true,
        "binding": {
          "strength": "required",
          "description": "Common UCUM units for recording Vital Signs",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/ucum-vitals-common"
          }
        }
      },
      {
        "id": "Observation.component.dataAbsentReason",
        "path": "Observation.component.dataAbsentReason",
        "mustSupport": true
      },
      {
        "id": "Observation.component.dataAbsentReason.coding",
        "path": "Observation.component.dataAbsentReason.coding",
        "mustSupport": false
      },
      {
        "id": "Observation.component.dataAbsentReason.coding.code",
        "path": "Observation.component.dataAbsentReason.coding.code",
        "mustSupport": false
      }
    ]
  }
}