{
  "resourceType" : "Encounter",
  "id" : "ConsultationEncounter",
  "meta" : {
    "profile" : ["https://fhir.by/StructureDefinition/EncounterGeneral"]
  },
  "extension" : [{
    "url" : "https://fhir.by/StructureDefinition/EncounterTypeOfService",
    "valueCodeableConcept" : {
      "coding" : [{
        "system" : "https://fhir.by/ValueSet/EncounterTypeOfService",
        "code" : "free"
      }]
    }
  },
  {
    "url" : "https://fhir.by/StructureDefinition/EncounterConclusion",
    "valueString" : "Необходимости в стационарном наблюении и лечении на момент осмотра нет."
  },
  {
    "url" : "https://fhir.by/StructureDefinition/EncounterRecomendation",
    "valueString" : "Наблюдение в УЗ по месту жительства у ВОП и эндокринолога. Контроль уровня глюкозы. Соблюдение диеты. Лекарственная терапия по назанячениям ВОП. Трудоспособен."
  }],
  "identifier" : [{
    "value" : "1234/6",
    "assigner" : {
      "reference" : "Organization/9ad86c36-0f29-428d-b476-c8603a7cdd1f"
    }
  }],
  "status" : "completed",
  "class" : [{
    "coding" : [{
      "system" : "https://fhir.by/ValueSet/VSTermsOfService",
      "code" : "1",
      "display" : "амбулаторно"
    }]
  }],
  "priority" : {
    "coding" : [{
      "system" : "https://fhir.by/ValueSet/HealthCareForms",
      "code" : "emergency"
    }]
  },
  "type" : [{
    "coding" : [{
      "system" : "https://fhir.by/ValueSet/TypeOfHealthCare",
      "code" : "primary"
    }]
  }],
  "subject" : {
    "reference" : "Patient/ExamplePatientWithIdentificationNumber",
    "display" : "Иванов Петр Сидорович"
  },
  "serviceProvider" : {
    "reference" : "Organization/9ad86c36-0f29-428d-b476-c8603a7cdd1f"
  },
  "participant" : [{
    "actor" : {
      "reference" : "PractitionerRole/3c057f8d-4369-4c5e-86be-f710dff3a91c",
      "display" : "врач приемного отделения, Филатов Олег Михайлович"
    }
  }],
  "actualPeriod" : {
    "start" : "2024-07-22T11:10:10Z",
    "end" : "2024-07-22T12:30:00Z"
  },
  "reason" : [{
    "use" : [{
      "coding" : [{
        "system" : "https://fhir.by/ValueSet/EncounterReasons",
        "code" : "ther-and-diagn",
        "display" : "лечебно-диагностическая"
      }]
    }]
  }],
  "diagnosis" : [{
    "condition" : [{
      "reference" : {
        "reference" : "Condition/ExampleDiagnosisDiabet"
      }
    }],
    "use" : [{
      "coding" : [{
        "system" : "https://fhir.by/ValueSet/TypeOfDiagnosis",
        "code" : "mainDiagnosis"
      }]
    }]
  }]
}