{
  "resourceType" : "Encounter",
  "id" : "ExampleEncounterForMREC",
  "meta" : {
    "profile" : ["https://fhir.by/StructureDefinition/EncounterGeneral"]
  },
  "extension" : [{
    "url" : "https://fhir.by/StructureDefinition/EncouterMRECConcent",
    "valueBoolean" : true
  },
  {
    "url" : "https://fhir.by/StructureDefinition/DisabilityFirstTime",
    "valueBoolean" : true
  }],
  "identifier" : [{
    "value" : "134",
    "assigner" : {
      "reference" : "Organization/9ad86c36-0f29-428d-b476-c8603a7cdd1f",
      "display" : "Организация ЦИСМ МРЭК"
    }
  }],
  "status" : "completed",
  "class" : [{
    "coding" : [{
      "system" : "https://fhir.by/ValueSet/VSTermsOfService",
      "code" : "1"
    }]
  }],
  "priority" : {
    "coding" : [{
      "system" : "https://fhir.by/ValueSet/HealthCareForms",
      "code" : "planned"
    }]
  },
  "type" : [{
    "coding" : [{
      "system" : "https://fhir.by/ValueSet/TypeOfHealthCare",
      "code" : "special"
    }]
  }],
  "subject" : {
    "reference" : "Patient/ExamplePatientPetrovAG",
    "display" : "Иванов Василий Васильевич"
  },
  "serviceProvider" : {
    "reference" : "Organization/9ad86c36-0f29-428d-b476-c8603a7cdd1f"
  },
  "participant" : [{
    "actor" : {
      "reference" : "PractitionerRole/3c057f8d-4369-4c5e-86be-f710dff3a91c",
      "display" : "Филатов Олег Михайлович"
    }
  }],
  "actualPeriod" : {
    "start" : "2025-09-01T12:00:00Z",
    "end" : "2025-09-01T12:15:00Z"
  },
  "diagnosis" : [{
    "condition" : [{
      "reference" : {
        "reference" : "Condition/ExampleDiagnosisMREC"
      }
    }],
    "use" : [{
      "coding" : [{
        "system" : "https://fhir.by/ValueSet/TypeOfDiagnosis",
        "code" : "mainDiagnosis"
      }]
    }]
  }],
  "location" : [{
    "location" : {
      "reference" : "Location/b122e513-9361-4b5c-b2d6-0e9b4685477e"
    }
  }]
}