{
  "resourceType": "StructureDefinition",
  "id": "NHSHC-Encounter",
  "url": "https://fhir.nhs.uk/StructureDefinition/NHSHC-Encounter",
  "version": "0.1.0",
  "name": "NHSHCEncounter",
  "title": "NHSHC Encounter",
  "status": "draft",
  "date": "2026-06-23",
  "publisher": "NHS England",
  "description": "Derived profile from UKCore-Encounter for NHS Health Check Online. Supports virtual encounters with fixed status=finished and class=VR.",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Encounter",
  "baseDefinition": "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Encounter",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Encounter.identifier",
        "path": "Encounter.identifier",
        "min": 1
      },
      {
        "id": "Encounter.status",
        "path": "Encounter.status",
        "min": 1,
        "fixedCode": "finished"
      },
      {
        "id": "Encounter.class",
        "path": "Encounter.class",
        "min": 1,
        "fixedCoding": {
          "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode",
          "code": "VR"
        }
      },
      {
        "id": "Encounter.type",
        "path": "Encounter.type",
        "min": 1,
        "binding": {
          "strength": "required",
          "valueSet": "https://fhir.nhs.uk/ValueSet/NHSHC-EncounterType"
        }
      },
      {
        "id": "Encounter.subject",
        "path": "Encounter.subject",
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Patient"
            ]
          }
        ]
      },
      {
        "id": "Encounter.period",
        "path": "Encounter.period",
        "min": 1
      },
      {
        "id": "Encounter.serviceProvider",
        "path": "Encounter.serviceProvider",
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization"
            ]
          }
        ]
      }
    ]
  }
}