Skip to content

Commit

Permalink
chore: fix eslint issue
Browse files Browse the repository at this point in the history
  • Loading branch information
njogz committed Nov 20, 2024
1 parent bcd7b5b commit 140a11e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shared-libs/cht-fhir/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export const isPatient = (doc: any, filterExpression: string): boolean => {
};

const applyMapping = (fhirPatient: FHIRPatient, fhirField: string, value: any) => {
const pathSegments = fhirField.split(/[\.\[\]]/).filter(segment => segment);
const pathSegments = fhirField.split(/[.[\]]/).filter(segment => segment);
let current: any = fhirPatient;

pathSegments.forEach((segment, index) => {
Expand Down

0 comments on commit 140a11e

Please sign in to comment.