<?xml version="1.0" encoding="UTF-8"?>

<ValueSet xmlns="http://hl7.org/fhir">
  <id value="bd-condition-icd11-diagnosis-valueset"/>
  <text>
    <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><div xml:lang="en" lang="en"><hr/><p><b>English</b></p><hr/><p class="res-header-id"><b>Generated Narrative: ValueSet bd-condition-icd11-diagnosis-valueset</b></p><a name="bd-condition-icd11-diagnosis-valueset"> </a><a name="hcbd-condition-icd11-diagnosis-valueset"> </a><p>This value set includes codes based on the following rules:</p><ul/></div><div xml:lang="de" lang="de"><hr/><p><b>German</b></p><hr/><p class="res-header-id"><b>Generated Narrative: ValueSet bd-condition-icd11-diagnosis-valueset</b></p><a name="de-bd-condition-icd11-diagnosis-valueset"> </a><a name="de-hcbd-condition-icd11-diagnosis-valueset"> </a><p>This value set includes codes based on the following rules:</p><ul/></div><div xml:lang="fr" lang="fr"><hr/><p><b>French</b></p><hr/><p class="res-header-id"><b>Narratif généré : EnsembleValeurs bd-condition-icd11-diagnosis-valueset</b></p><a name="fr-bd-condition-icd11-diagnosis-valueset"> </a><a name="fr-hcbd-condition-icd11-diagnosis-valueset"> </a><p>Ce jeu de valeur (ValueSet) inclut les codes selon les règles suivantes :</p><ul/></div></div>
  </text>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
    <valueInteger value="1">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom">
        <valueCanonical value="https://fhir.dghs.gov.bd/core/ImplementationGuide/bd.fhir.core"/>
      </extension>
    </valueInteger>
  </extension>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
    <valueCode value="informative">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom">
        <valueCanonical value="https://fhir.dghs.gov.bd/core/ImplementationGuide/bd.fhir.core"/>
      </extension>
    </valueCode>
  </extension>
  <url value="https://fhir.dghs.gov.bd/core/ValueSet/bd-condition-icd11-diagnosis-valueset"/>
  <version value="0.4.1"/>
  <name value="BDConditionICD11DiagnosisVS"/>
  <title value="Bangladesh ICD-11 MMS Condition ValueSet (Diagnosis and Finding)"/>
  <status value="active"/>
  <experimental value="false"/>
  <date value="2026-04-10T10:05:14+00:00"/>
  <publisher value="Directorate General of Health Services (DGHS), Bangladesh"/>
  <contact>
    <telecom>
      <system value="url"/>
      <value value="http://dghs.gov.bd"/>
    </telecom>
  </contact>
  <description value="ICD-11 MMS concepts restricted to the Diagnosis (14,071) and Finding (5,590)&#xA;concept classes, totalling 19,661 concepts as of version 2025-01.&#xA;&#xA;This ValueSet is the binding target for Condition.code in the BD-Core&#xA;Condition profile. Substance, Organism, Device, Anatomy, and Misc class&#xA;concepts are excluded and SHALL NOT appear as standalone stem codes in&#xA;Condition.code. This restriction applies to stem codes only — satellite&#xA;codes carried in the icd11-cluster-expression extension are exempt.&#xA;&#xA;This ValueSet is an empty stub. No compose block is declared because&#xA;$expand is not supported by the national OCL terminology server and&#xA;no machine-executable filter for concept_class is available at the&#xA;IG layer. The compose would be nominal only and is omitted to avoid&#xA;misrepresenting machine-executable semantics.&#xA;&#xA;The ValueSet is hosted in OCL as a collection with 19,661 explicit&#xA;concept references (Diagnosis and Finding classes only). Runtime&#xA;enforcement is via OCL ValueSet $validate-code:&#xA;&#xA;  GET https://tr.ocl.dghs.gov.bd/api/fhir/ValueSet/$validate-code&#xA;      ?url=https://fhir.dghs.gov.bd/core/ValueSet/bd-condition-icd11-diagnosis-valueset&#xA;      &amp;system=http://id.who.int/icd/release/11/mms&#xA;      &amp;code={code}&#xA;&#xA;Confirmed behaviour:&#xA;  - Diagnosis class (e.g. 1A00): accepted&#xA;  - Finding class: accepted&#xA;  - Device class (e.g. XD7EB1): rejected&#xA;  - Substance class (e.g. XM6RB2): rejected&#xA;&#xA;At the HAPI FHIR layer, enforcement is via RemoteTerminologyServiceValidationSupport&#xA;configured to call OCL. HAPI FHIR deployment is a known gap to be closed&#xA;before vendor onboarding.&#xA;&#xA;VERSION UPGRADES:&#xA;  Upgrading to a new ICD-11 MMS release requires re-running&#xA;  populate_condition_valueset.py. Automated via version_upgrade.py."/>
  <jurisdiction>
    <coding>
      <system value="urn:iso:std:iso:3166"/>
      <code value="050"/>
    </coding>
  </jurisdiction>
  <immutable value="false"/>
  <copyright value="ICD-11 is copyright © World Health Organization. Used under licence."/>
</ValueSet>