Skip to content

Commit f31590a

Browse files
committed
fixing type in variable name
1 parent 859a833 commit f31590a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/helpers/patientUtils.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -164,9 +164,9 @@ function maskMRN(bundle) {
164164
patient.resource.id = masked;
165165
const subjects = fhirpath.evaluate(bundle, `Bundle.entry.resource.subject.where(reference='urn:uuid:${mrn}')`);
166166
const individuals = fhirpath.evaluate(bundle, `Bundle.entry.resource.individual.where(reference='urn:uuid:${mrn}')`);
167-
const mrnOccurances = subjects.concat(individuals);
168-
for (let i = 0; i < mrnOccurances.length; i += 1) {
169-
mrnOccurances[i].reference = `urn:uuid:${masked}`;
167+
const mrnOccurrances = subjects.concat(individuals);
168+
for (let i = 0; i < mrnOccurrances.length; i += 1) {
169+
mrnOccurrances[i].reference = `urn:uuid:${masked}`;
170170
}
171171
}
172172

0 commit comments

Comments
 (0)