{
  "resourceType": "StructureDefinition",
  "id": "UKCore-Observation-VitalSigns",
  "url": "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Observation-VitalSigns",
  "version": "0.1.1",
  "name": "UKCoreObservationVitalSigns",
  "title": "UK Core Observation Vital Signs",
  "status": "draft",
  "date": "2025-11-06",
  "publisher": "HL7 UK",
  "contact": [
    {
      "name": "HL7 UK",
      "telecom": [
        {
          "system": "email",
          "value": "ukcore@hl7.org.uk",
          "use": "work",
          "rank": 1
        }
      ]
    }
  ],
  "description": "Defines the observation constraints and extensions on the UK Core Observation resource for the minimal set of data to query and retrieve clinical observation vital signs information.",
  "purpose": "This profile allows exchange of internationally FHIR compliant vital signs information based on measurements and simple assertions made about an individual. Where a more constrained derived profile exists, it should be used instead of this profile.",
  "copyright": "Copyright © 2021+ HL7 UK Licensed 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  http://www.apache.org/licenses/LICENSE-2.0 Unless 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. HL7® FHIR® standard Copyright © 2011+ HL7 The HL7® FHIR® standard is used under the FHIR license. You may obtain a copy of the FHIR license at  https://www.hl7.org/fhir/license.html.",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Observation",
  "baseDefinition": "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Observation",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Observation",
        "path": "Observation",
        "constraint": [
          {
            "key": "ukcore-obs-vs-001",
            "severity": "error",
            "human": "`code.coding` SHALL include a LOINC \"magic code\"",
            "expression": "code.coding.where(system='http://loinc.org').exists()"
          }
        ]
      },
      {
        "id": "Observation.extension:bodyPosition",
        "path": "Observation.extension",
        "sliceName": "bodyPosition",
        "short": "The patients body position when the vital signs observation was recorded.",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/observation-bodyPosition"
            ]
          }
        ]
      },
      {
        "id": "Observation.extension:bodyPosition.value[x]",
        "path": "Observation.extension.value[x]",
        "binding": {
          "strength": "preferred",
          "valueSet": "https://fhir.hl7.org.uk/ValueSet/UKCore-BodyPosition"
        }
      },
      {
        "id": "Observation.extension:recordingSetting",
        "path": "Observation.extension",
        "sliceName": "recordingSetting",
        "short": "Records whether the vital signs observation was performed in a clinical or non clinical setting.",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-RecordingSetting"
            ]
          }
        ]
      },
      {
        "id": "Observation.status",
        "path": "Observation.status",
        "short": "A status of `final` SHALL be present.",
        "fixedCode": "final"
      },
      {
        "id": "Observation.category",
        "path": "Observation.category",
        "short": "A category of `vital-signs` SHALL be present.",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Observation.category.coding.system",
        "path": "Observation.category.coding.system",
        "fixedUri": "http://terminology.hl7.org/CodeSystem/observation-category"
      },
      {
        "id": "Observation.category.coding.code",
        "path": "Observation.category.coding.code",
        "fixedCode": "vital-signs"
      },
      {
        "id": "Observation.code",
        "path": "Observation.code",
        "short": "The type of vital signs observation (code / type).",
        "binding": {
          "strength": "preferred",
          "valueSet": "https://fhir.hl7.org.uk/ValueSet/UKCore-ObservationVitalSignsType"
        }
      },
      {
        "id": "Observation.subject",
        "path": "Observation.subject",
        "short": "Who or what the observation relates to SHALL be present.",
        "min": 1
      },
      {
        "id": "Observation.effective[x]",
        "path": "Observation.effective[x]",
        "short": "A clinically relevant time / time-period for observation SHALL be present.",
        "min": 1
      }
    ]
  }
}