{
  "resourceType" : "Encounter",
  "id" : "EncounterRadiotherapistRectumCancer01",
  "meta" : {
    "profile" : ["https://fhir.by/StructureDefinition/EncounterGeneral"]
  },
  "status" : "completed",
  "class" : [{
    "coding" : [{
      "system" : "https://fhir.by/ValueSet/VSTermsOfService",
      "code" : "2",
      "display" : "стационарные"
    }]
  }],
  "priority" : {
    "coding" : [{
      "system" : "https://fhir.by/ValueSet/HealthCareForms",
      "code" : "planned",
      "display" : "Плановая медицинская помощь"
    }]
  },
  "type" : [{
    "coding" : [{
      "system" : "https://fhir.by/ValueSet/TypeOfHealthCare",
      "code" : "special",
      "display" : "Специализированная медицинская помощь"
    }]
  }],
  "subject" : {
    "reference" : "Patient/PatientForDemo"
  },
  "basedOn" : [{
    "reference" : "ServiceRequest/SRRadiotherapistConsultRectumCancer"
  }],
  "serviceProvider" : {
    "reference" : "Organization/9ad86c36-0f29-428d-b476-c8603a7cdd1f"
  },
  "participant" : [{
    "actor" : {
      "reference" : "PractitionerRole/3c057f8d-4369-4c5e-86be-f710dff3a91c"
    }
  }],
  "actualPeriod" : {
    "start" : "2025-03-24T11:30:00Z",
    "end" : "2025-03-24T13:30:00Z"
  },
  "diagnosis" : [{
    "condition" : [{
      "reference" : {
        "reference" : "Condition/DiagnosisRectumCancer"
      }
    }],
    "use" : [{
      "coding" : [{
        "system" : "https://fhir.by/ValueSet/TypeOfDiagnosis",
        "code" : "mainDiagnosis",
        "display" : "Основной диагноз"
      }]
    }]
  }]
}