diff --git a/src/controller/icd10.ts b/src/controller/icd10.ts index b0f44a3..00ea70a 100644 --- a/src/controller/icd10.ts +++ b/src/controller/icd10.ts @@ -62,7 +62,10 @@ export class ICD10Controller { private static removeExtensions( res: Fuse.FuseResult[] ): Fuse.FuseResult[] { - res.forEach((r) => (r.item.extension = r.item.modifierExtension = undefined)); + res.forEach((r) => { + r.item.extension = undefined; + r.item.modifierExtension = undefined; + }); return res; } }