Skip to content

Commit

Permalink
chore: improve function clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
velramiir committed Sep 27, 2023
1 parent 805aaf8 commit 6f264f4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/controller/icd10.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,10 @@ export class ICD10Controller {
private static removeExtensions(
res: Fuse.FuseResult<ICodeSystem_Concept>[]
): Fuse.FuseResult<ICodeSystem_Concept>[] {
res.forEach((r) => (r.item.extension = r.item.modifierExtension = undefined));
res.forEach((r) => {
r.item.extension = undefined;
r.item.modifierExtension = undefined;
});
return res;
}
}

0 comments on commit 6f264f4

Please sign in to comment.