Skip to content

Commit ca0cfdb

Browse files
author
Daniel Schröder
committed
removed pinhole from correction method
1 parent 6f0f3da commit ca0cfdb

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

src/VisusData.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ export enum CorrectionMethod {
22
Uncorrected = "Uncorrected visual acuity",
33
Glasses = "Eye glasses, device",
44
Lenses = "Contact lenses, device",
5-
Pinhole = "Pinhole Occluder",
65
TLAuto = "trial-lenses-autorefraction",
76
TLNoCycloplegia = "trial-lenses-manifest-without-cycloplegia",
87
TLCycloplegia = "trial-lenses-manifest-with-cycloplegia",

src/visus-to-fhir.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ const CorrectionMethod2Fhir = {
1414
Uncorrected: [snomed("420050001", "Uncorrected visual acuity")],
1515
Glasses: [snomed("50121007", "Eye glasses, device")],
1616
Lenses: [snomed("57368009", "Contact lenses, device")],
17-
Pinhole: [snomed("257492003", "Pinhole Occluder")],
1817
TLAuto: [
1918
{
2019
system: "https://eyematics.org/fhir/eyematics-kds/CodeSystem/vs-va-correction-methods",
@@ -255,10 +254,7 @@ function getCorrectionMethod(
255254
let position = leftEye ? [loinc("29074-2", "Left Eye position")] : [loinc("29073-4", "Right Eye position")];
256255

257256
// uncorrected
258-
if (
259-
CorrectionMethod[correctionMethod] === CorrectionMethod.Uncorrected ||
260-
CorrectionMethod[correctionMethod] === CorrectionMethod.Pinhole
261-
) {
257+
if (CorrectionMethod[correctionMethod] === CorrectionMethod.Uncorrected) {
262258
return {
263259
id: `Correction-${bodySite}-eye`,
264260
code: {

0 commit comments

Comments
 (0)