Skip to content

Commit 6adbe0e

Browse files
committed
Expose lookup functions via the overall index file
1 parent 143ce49 commit 6adbe0e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/index.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ const {
6464
} = require('./helpers/conditionUtils');
6565
const { getDiseaseStatusCode, getDiseaseStatusEvidenceCode, mEpochToDate } = require('./helpers/diseaseStatusUtils');
6666
const { formatDate, formatDateTime } = require('./helpers/dateUtils');
67+
const { lowercaseLookupQuery, createLowercaseLookup, createInvertedLookup } = require('./helpers/lookupUtils');
6768
const { getConditionEntriesFromContext, getConditionsFromContext, getEncountersFromContext, getPatientFromContext } = require('./helpers/contextUtils');
6869

6970
module.exports = {
@@ -106,6 +107,8 @@ module.exports = {
106107
MCODEClient,
107108
// FHIR and resource helpers
108109
allResourcesInBundle,
110+
createLowercaseLookup,
111+
createInvertedLookup,
109112
firstEntryInBundle,
110113
firstIdentifierEntry,
111114
firstResourceInBundle,
@@ -131,6 +134,7 @@ module.exports = {
131134
isConditionCodeCancer,
132135
isConditionCancer,
133136
logOperationOutcomeInfo,
137+
lowercaseLookupQuery,
134138
mEpochToDate,
135139
// Context operations
136140
getConditionEntriesFromContext,

0 commit comments

Comments
 (0)