Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions data/specifiers-content.json
Original file line number Diff line number Diff line change
Expand Up @@ -5568,15 +5568,15 @@
},
{
"name": "Trance Disorder (ICD-11)",
"icd11Context": "ICD-11: Altered state of consciousness with/without possession.",
"icd11Context": "ICD-11: 6B62 Trance disorder is a dissociative state without a replacing external identity; the possession form is the separate diagnosis 6B63 Possession trance disorder, not a with/without specifier.",
"groups": [
{
"label": "Features",
"items": [
{
"label": "With/without possession",
"label": "Possession trance is a separate ICD-11 diagnosis (6B63)",
"definition": {
"meaning": "The dissociative presentation may occur with or without experiences of being taken over by an external identity, spirit, or power (the possession vs non-possession form).",
"meaning": "In ICD-11, trance disorder (6B62) and possession trance disorder (6B63) are two distinct diagnoses — not a with/without specifier: 6B62 is a dissociative trance without a replacing identity, and 6B63 is a trance in which identity is replaced by an external identity, spirit, or power. Record the appropriate diagnosis rather than a possession qualifier.",
"clinicalNote": null,
"sourceFamily": "WHO ICD-11 CDDR/MMS",
"status": "defined"
Expand Down Expand Up @@ -11971,15 +11971,15 @@
},
{
"name": "Trance Disorder",
"icd11Context": "ICD-11: Altered state of consciousness with/without possession.",
"icd11Context": "ICD-11: 6B62 Trance disorder is a dissociative state without a replacing external identity; the possession form is the separate diagnosis 6B63 Possession trance disorder, not a with/without specifier.",
"groups": [
{
"label": "Features",
"items": [
{
"label": "With/without possession",
"label": "Possession trance is a separate ICD-11 diagnosis (6B63)",
"definition": {
"meaning": "The dissociative presentation may occur with or without experiences of being taken over by an external identity, spirit, or power (the possession vs non-possession form).",
"meaning": "In ICD-11, trance disorder (6B62) and possession trance disorder (6B63) are two distinct diagnoses — not a with/without specifier: 6B62 is a dissociative trance without a replacing identity, and 6B63 is a trance in which identity is replaced by an external identity, spirit, or power. Record the appropriate diagnosis rather than a possession qualifier.",
"clinicalNote": null,
"sourceFamily": "WHO ICD-11 CDDR/MMS",
"status": "defined"
Expand Down
4 changes: 2 additions & 2 deletions data/specifiers-search-index.json
Original file line number Diff line number Diff line change
Expand Up @@ -2871,7 +2871,7 @@
},
{
"slug": "specifier-dis-trance-disorder-icd-11-features-with-without-possession",
"label": "With/without possession",
"label": "Possession trance is a separate ICD-11 diagnosis (6B63)",
"disorder": "Trance Disorder (ICD-11)",
"categoryId": "dis",
"category": "8. Dissociative Disorders",
Expand Down Expand Up @@ -6402,7 +6402,7 @@
},
{
"slug": "specifier-icd-trance-disorder-features-with-without-possession",
"label": "With/without possession",
"label": "Possession trance is a separate ICD-11 diagnosis (6B63)",
"disorder": "Trance Disorder",
"categoryId": "icd",
"category": "20. ICD-11 Specifics",
Expand Down
23 changes: 17 additions & 6 deletions tests/specifiers-content.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,12 +131,23 @@ describe("specifiers content catalog", () => {
}
});

it("describes with/without possession rows for both states", () => {
const rows = specifierCatalogItems().filter((item) => /possession/i.test(item.label));
expect(rows.length).toBeGreaterThan(0);
for (const item of rows) {
// Must not assert possession is present; must acknowledge both states.
expect(item.definition?.meaning ?? "").toMatch(/with or without|may occur|present or absent/i);
it("frames possession per ICD-11: DID covers both forms; Trance splits into 6B63", () => {
const items = specifierCatalogItems();
// DID (ICD-11 6B64) genuinely encompasses both possession and non-possession forms
// within one diagnosis, so its meaning must acknowledge both states.
const did = items.find(
(item) => /dissociative identity/i.test(item.disorderName) && /possession/i.test(item.label),
);
expect(did?.definition?.meaning ?? "").toMatch(/with or without|both|may occur/i);
// Trance Disorder must NOT frame possession as a with/without specifier — ICD-11
// codes possession trance as the separate diagnosis 6B63.
const trance = items.filter(
(item) => /^trance disorder/i.test(item.disorderName) && /possession/i.test(item.label),
);
expect(trance.length).toBeGreaterThanOrEqual(1);
for (const item of trance) {
expect(item.label).toMatch(/6B63|separate/i);
expect(item.definition?.meaning ?? "").toMatch(/6B62|6B63|separate diagnosis/i);
}
});

Expand Down