{
  "resourceType" : "Encounter",
  "id" : "EncounterBundleForTestAnPat",
  "meta" : {
    "profile" : ["https://fhir.by/StructureDefinition/EncounterGeneral"]
  },
  "status" : "completed",
  "class" : [{
    "coding" : [{
      "system" : "https://fhir.by/ValueSet/VSTermsOfService",
      "code" : "1"
    }]
  }],
  "priority" : {
    "coding" : [{
      "system" : "https://fhir.by/ValueSet/HealthCareForms",
      "code" : "emergency"
    }]
  },
  "type" : [{
    "coding" : [{
      "system" : "https://fhir.by/ValueSet/TypeOfHealthCare",
      "code" : "primary"
    }]
  }],
  "subject" : {
    "reference" : "Patient/PatientBundleForTestAnPat"
  },
  "serviceProvider" : {
    "reference" : "Organization/9ad86c36-0f29-428d-b476-c8603a7cdd1f"
  },
  "participant" : [{
    "actor" : {
      "reference" : "PractitionerRole/3c057f8d-4369-4c5e-86be-f710dff3a91c"
    }
  }],
  "actualPeriod" : {
    "start" : "2024-05-07T11:12:21Z",
    "end" : "2024-05-07T11:25:21Z"
  },
  "diagnosis" : [{
    "condition" : [{
      "reference" : {
        "reference" : "Condition/DiagnosisBundleForTestAnPat"
      }
    }],
    "use" : [{
      "coding" : [{
        "system" : "https://fhir.by/ValueSet/TypeOfDiagnosis",
        "code" : "mainDiagnosis"
      }]
    }]
  }]
}