{
  "resourceType" : "Flag",
  "id" : "example-psychiatry-flag",
  "meta" : {
    "profile" : ["https://dhp.uz/fhir/integrations/StructureDefinition/narcology-psychiatry-flag"]
  },
  "language" : "ru",
  "text" : {
    "status" : "generated",
    "div" : "<div xml:lang=\"ru\" lang=\"ru\"><hr/><p><b>Russian</b></p><hr/><p class=\"res-header-id\"><b>Сгенерированный нарратив: Flag example-psychiatry-flag</b></p><a name=\"ru-example-psychiatry-flag\"> </a><a name=\"ru-hcexample-psychiatry-flag\"> </a><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\"/><p style=\"margin-bottom: 0px\">Профиль: <a href=\"StructureDefinition-narcology-psychiatry-flag.html\">Narcology and Psychiatry Flag</a></p></div><p><b>status</b>: Active</p><p><b>code</b>: <span title=\"Коды:{https://terminology.dhp.uz/fhir/integrations/CodeSystem/narcology-psychiatry-episode-of-care-type-group-cs psycr0001-00001}\">Compulsory inpatient treatment</span></p><p><b>subject</b>: <a href=\"Patient-example-patient-john.html\">John Smith(official) Unknown, БД: 2026-03-13 ( National unique individual identifier)</a></p><p><b>period</b>: 2026-08-15 --&gt; (продолжается)</p><p><b>encounter</b>: <a href=\"Encounter-example-psychiatry-encounter.html\">Encounter: status = completed; type = Treatment services; actualPeriod = 2026-08-15 --&gt; (продолжается)</a></p><p><b>author</b>: <a href=\"PractitionerRole-example-commission-psychiatrist-role.html\">PractitionerRole Vrach psixiatr</a></p></div>"
  },
  "status" : "active",
  "code" : {
    "coding" : [{
      "system" : "https://terminology.dhp.uz/fhir/integrations/CodeSystem/narcology-psychiatry-episode-of-care-type-group-cs",
      "code" : "psycr0001-00001",
      "display" : "Compulsory inpatient treatment"
    }]
  },
  "subject" : {
    "reference" : "Patient/example-patient-john"
  },
  "period" : {
    "start" : "2026-08-15"
  },
  "encounter" : {
    "reference" : "Encounter/example-psychiatry-encounter"
  },
  "author" : {
    "reference" : "PractitionerRole/example-commission-psychiatrist-role"
  }
}