Единая платформа цифрового здравоохранения Узбекистана
0.12.0 - ci-build Uzbekistan флаг

Uzbekistan Digital Health Platform, опубликовано Ministry of Health of the Republic of Uzbekistan. Это руководство не является санкционированной публикацией; это непрерывная сборка для версии 0.12.0, созданной FHIR (HL7® FHIR® Standard) CI Build. Эта версия основана на нынешнем содержании https://github.com/uzinfocom-org/digital-health-ig/ и регулярно изменяется. Смотрите каталог опубликованных версий

: Detach a patient from the managing organization and the general practitioner

Draft по состоянию на 2026-10-22

Сырой json | Скачать

{
  "resourceType" : "OperationDefinition",
  "id" : "patient-detach",
  "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>Сгенерированный нарратив: OperationDefinition patient-detach</b></p><a name=\"ru-patient-detach\"> </a><a name=\"ru-hcpatient-detach\"> </a><p>URL: [base]/Patient/[id]/$detach</p><h3>Параметры</h3><table class=\"grid\"><tr><td><b>Использовать</b></td><td><b>Наименование</b></td><td><b>Сфера действия</b></td><td><b>Кардинальность</b></td><td><b>Тип</b></td><td><b>Привязка</b></td><td><b>Документация</b></td></tr><tr><td>IN</td><td>reason</td><td/><td>1..1</td><td><a href=\"http://hl7.org/fhir/R5/datatypes.html#CodeableConcept\">CodeableConcept</a></td><td/><td><div><p>Reason for detaching the patient. Must carry a non-empty text or at least one coding with a non-empty code, otherwise the request is rejected with 400 and issue code <code>value</code>. A missing reason is rejected with 400 and issue code <code>required</code>.</p>\n</div></td></tr><tr><td>OUT</td><td>return</td><td/><td>1..1</td><td><a href=\"http://hl7.org/fhir/R5/patient.html\">Patient</a></td><td/><td><div><p>The Patient resource after detachment, or the current resource when there was nothing to detach.</p>\n</div></td></tr></table><div><p>The update goes through the regular update path with the version of the read resource, so if the Patient was modified concurrently the operation fails with HTTP 412. If the patient has neither an organization, nor a practitioner, nor the attachment extension, no new version is created and the current resource is returned. The reason is validated and logged but is not stored in the Patient resource. Detaching only the organization or only the practitioner is not supported; use Patient/$attach to change one side of the attachment.</p>\n</div></div>"
  },
  "url" : "https://dhp.uz/fhir/core/OperationDefinition/patient-detach",
  "version" : "0.12.0",
  "name" : "PatientDetach",
  "title" : "Detach a patient from the managing organization and the general practitioner",
  "status" : "draft",
  "kind" : "operation",
  "experimental" : false,
  "date" : "2026-10-22",
  "publisher" : "Ministry of Health of the Republic of Uzbekistan",
  "contact" : [
    {
      "name" : "Ministry of Health of the Republic of Uzbekistan",
      "telecom" : [
        {
          "system" : "url",
          "value" : "https://gov.uz/en/ssv"
        },
        {
          "system" : "email",
          "value" : "info@ssv.uz"
        }
      ]
    }
  ],
  "description" : "Detaches the patient from both the managing organization and the general practitioner in one call. The server clears Patient.managingOrganization and Patient.generalPractitioner and removes the `https://dhp.uz/fhir/core/StructureDefinition/managing-organization-attachment` extension set by Patient/$attach; other extensions are kept. The operation is invoked at instance level only (Patient/[id]/$detach) with POST and a Parameters body. The response is the Patient resource, not Parameters.",
  "jurisdiction" : [
    {
      "coding" : [
        {
          "system" : "urn:iso:std:iso:3166",
          "code" : "UZ",
          "display" : "Uzbekistan"
        }
      ]
    }
  ],
  "purpose" : "The reverse of Patient/$attach: where $attach records the attachment, $detach removes it in one call, for example when the patient has applied to be detached.",
  "affectsState" : true,
  "code" : "detach",
  "comment" : "The update goes through the regular update path with the version of the read resource, so if the Patient was modified concurrently the operation fails with HTTP 412. If the patient has neither an organization, nor a practitioner, nor the attachment extension, no new version is created and the current resource is returned. The reason is validated and logged but is not stored in the Patient resource. Detaching only the organization or only the practitioner is not supported; use Patient/$attach to change one side of the attachment.",
  "resource" : [
    "Patient"
  ],
  "system" : false,
  "type" : false,
  "instance" : true,
  "parameter" : [
    {
      "name" : "reason",
      "use" : "in",
      "min" : 1,
      "max" : "1",
      "documentation" : "Reason for detaching the patient. Must carry a non-empty text or at least one coding with a non-empty code, otherwise the request is rejected with 400 and issue code `value`. A missing reason is rejected with 400 and issue code `required`.",
      "type" : "CodeableConcept"
    },
    {
      "name" : "return",
      "use" : "out",
      "min" : 1,
      "max" : "1",
      "documentation" : "The Patient resource after detachment, or the current resource when there was nothing to detach.",
      "type" : "Patient"
    }
  ]
}