id: 1 unit: private init() file: src/router/routes/genericResourceRoute.ts start line: 30 end line: 296 size: 231 LOC McCabe index: 32 number of parameters: 0 id: 2 unit: export function generateServerlessRouter() file: src/app.ts start line: 51 end line: 226 size: 143 LOC McCabe index: 15 number of parameters: 3 id: 3 unit: async processTransaction() file: src/router/bundle/bundleHandler.ts start line: 108 end line: 207 size: 89 LOC McCabe index: 14 number of parameters: 5 id: 4 unit: private static async checkReferences() file: src/router/bundle/bundleParser.ts start line: 181 end line: 282 size: 86 LOC McCabe index: 14 number of parameters: 6 id: 5 unit: init() file: src/router/routes/rootRoute.ts start line: 61 end line: 140 size: 80 LOC McCabe index: 8 number of parameters: 0 id: 6 unit: export default function makeSecurity() file: src/router/metadata/cap.rest.security.template.ts start line: 8 end line: 79 size: 71 LOC McCabe index: 7 number of parameters: 2 id: 7 unit: init() file: src/router/routes/exportRoute.ts start line: 57 end line: 129 size: 66 LOC McCabe index: 6 number of parameters: 0 id: 8 unit: private static getReferences() file: src/router/bundle/bundleParser.ts start line: 316 end line: 385 size: 63 LOC McCabe index: 9 number of parameters: 1 id: 9 unit: private static async updateReferenceRequestsIfNecessary() file: src/router/bundle/bundleParser.ts start line: 123 end line: 169 size: 41 LOC McCabe index: 4 number of parameters: 3 id: 10 unit: static generateTransactionBundle() file: src/router/bundle/bundleGenerator.ts start line: 88 end line: 131 size: 41 LOC McCabe index: 5 number of parameters: 2 id: 11 unit: export default function makeRest() file: src/router/metadata/cap.rest.template.ts start line: 9 end line: 55 size: 41 LOC McCabe index: 3 number of parameters: 4 id: 12 unit: static buildInitiateExportRequest() file: src/router/routes/exportRouteHelper.ts start line: 9 end line: 49 size: 40 LOC McCabe index: 15 number of parameters: 5 id: 13 unit: async compile() file: src/implementationGuides/index.ts start line: 42 end line: 80 size: 37 LOC McCabe index: 5 number of parameters: 1 id: 14 unit: async typeSearch() file: src/router/handlers/resourceHandler.ts start line: 68 end line: 114 size: 34 LOC McCabe index: 1 number of parameters: 6 id: 15 unit: async instanceHistory() file: src/router/handlers/resourceHandler.ts start line: 142 end line: 176 size: 34 LOC McCabe index: 1 number of parameters: 7 id: 16 unit: function makeResourceObject() file: src/router/metadata/cap.rest.resource.template.ts start line: 19 end line: 53 size: 31 LOC McCabe index: 5 number of parameters: 7 id: 17 unit: static generateBundle() file: src/router/bundle/bundleGenerator.ts start line: 15 end line: 51 size: 30 LOC McCabe index: 5 number of parameters: 6 id: 18 unit: export default function makeStatement() file: src/router/metadata/cap.template.ts start line: 8 end line: 37 size: 29 LOC McCabe index: 2 number of parameters: 4 id: 19 unit: static createLinkWithQuery() file: src/router/bundle/bundleGenerator.ts start line: 53 end line: 79 size: 27 LOC McCabe index: 4 number of parameters: 6 id: 20 unit: export function makeGenericResources() file: src/router/metadata/cap.rest.resource.template.ts start line: 65 end line: 93 size: 26 LOC McCabe index: 1 number of parameters: 6 id: 21 unit: async typeHistory() file: src/router/handlers/resourceHandler.ts start line: 116 end line: 140 size: 24 LOC McCabe index: 1 number of parameters: 6 id: 22 unit: outputFormat: isString() file: src/router/routes/exportRouteHelper.ts start line: 36 end line: 60 size: 24 LOC McCabe index: 8 number of parameters: 1 id: 23 unit: private async generateResources() file: src/router/metadata/metadataHandler.ts start line: 37 end line: 63 size: 24 LOC McCabe index: 2 number of parameters: 1 id: 24 unit: export const setTenantIdMiddleware:() file: src/router/middlewares/setTenantId.ts start line: 55 end line: 81 size: 23 LOC McCabe index: 10 number of parameters: 1 id: 25 unit: public static async parseResource() file: src/router/bundle/bundleParser.ts start line: 38 end line: 62 size: 23 LOC McCabe index: 4 number of parameters: 3 id: 26 unit: async validate() file: src/router/validation/hapiFhirLambdaValidator.ts start line: 38 end line: 65 size: 22 LOC McCabe index: 3 number of parameters: 1 id: 27 unit: static generateOperationOutcomeIssue() file: src/router/operationsGenerator.ts start line: 9 end line: 31 size: 22 LOC McCabe index: 1 number of parameters: 4 id: 28 unit: async globalSearch() file: src/router/handlers/rootHandler.ts start line: 26 end line: 47 size: 22 LOC McCabe index: 1 number of parameters: 5 id: 29 unit: constructor() file: src/registry/index.ts start line: 15 end line: 40 size: 22 LOC McCabe index: 3 number of parameters: 1 id: 30 unit: private static getResourceId() file: src/router/bundle/bundleParser.ts start line: 392 end line: 416 size: 21 LOC McCabe index: 9 number of parameters: 2 id: 31 unit: private static getResourceType() file: src/router/bundle/bundleParser.ts start line: 423 end line: 446 size: 21 LOC McCabe index: 11 number of parameters: 2 id: 32 unit: async globalHistory() file: src/router/handlers/rootHandler.ts start line: 49 end line: 69 size: 21 LOC McCabe index: 1 number of parameters: 5 id: 33 unit: private static getOperation() file: src/router/bundle/bundleParser.ts start line: 71 end line: 89 size: 19 LOC McCabe index: 10 number of parameters: 1 id: 34 unit: type: isString() file: src/router/routes/exportRouteHelper.ts start line: 41 end line: 60 size: 19 LOC McCabe index: 5 number of parameters: 1 id: 35 unit: private static checkReferencesForContainedResources() file: src/router/bundle/bundleParser.ts start line: 291 end line: 309 size: 18 LOC McCabe index: 3 number of parameters: 2 id: 36 unit: async initiateExportRequests() file: src/router/routes/exportRoute.ts start line: 37 end line: 55 size: 17 LOC McCabe index: 1 number of parameters: 3 id: 37 unit: static generateSuccessfulDeleteOperation() file: src/router/operationsGenerator.ts start line: 33 end line: 48 size: 16 LOC McCabe index: 1 number of parameters: 1 id: 38 unit: public static getResourceTypeOperationsInBundle() file: src/router/bundle/bundleParser.ts start line: 98 end line: 112 size: 15 LOC McCabe index: 2 number of parameters: 1 id: 39 unit: constructor() file: src/router/validation/jsonSchemaValidator.ts start line: 21 end line: 35 size: 15 LOC McCabe index: 5 number of parameters: 1 id: 40 unit: async cancelExport() file: src/router/handlers/exportHandler.ts start line: 42 end line: 57 size: 15 LOC McCabe index: 2 number of parameters: 4 id: 41 unit: function prepareRequestContext() file: src/app.ts start line: 34 end line: 49 size: 15 LOC McCabe index: 3 number of parameters: 1 id: 42 unit: groupId: isString() file: src/router/routes/exportRouteHelper.ts start line: 42 end line: 60 size: 14 LOC McCabe index: 4 number of parameters: 1 id: 43 unit: async capabilities() file: src/router/metadata/metadataHandler.ts start line: 65 end line: 81 size: 14 LOC McCabe index: 2 number of parameters: 1 id: 44 unit: async validate() file: src/router/validation/jsonSchemaValidator.ts start line: 37 end line: 49 size: 13 LOC McCabe index: 3 number of parameters: 1 id: 45 unit: export async function makeResource() file: src/router/metadata/cap.rest.resource.template.ts start line: 95 end line: 108 size: 13 LOC McCabe index: 2 number of parameters: 2 id: 46 unit: constructor() file: src/operationDefinitions/OperationDefinitionRegistry.ts start line: 28 end line: 41 size: 13 LOC McCabe index: 2 number of parameters: 2 id: 47 unit: export const setServerUrlMiddleware:() file: src/router/middlewares/setServerUrl.ts start line: 16 end line: 27 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 48 unit: sessionId: hash() file: src/router/handlers/rootHandler.ts start line: 44 end line: 56 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 49 unit: private static isFhirStructureDefinition() file: src/implementationGuides/index.ts start line: 82 end line: 93 size: 12 LOC McCabe index: 8 number of parameters: 1 id: 50 unit: async getExportJobStatus() file: src/router/handlers/exportHandler.ts start line: 31 end line: 40 size: 10 LOC McCabe index: 1 number of parameters: 4 id: 51 unit: sessionId: hash() file: src/router/handlers/resourceHandler.ts start line: 97 end line: 107 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 52 unit: private init() file: src/router/routes/metadataRoute.ts start line: 33 end line: 43 size: 10 LOC McCabe index: 2 number of parameters: 0 id: 53 unit: private static isFhirOperationDefinition() file: src/implementationGuides/index.ts start line: 95 end line: 104 size: 10 LOC McCabe index: 6 number of parameters: 1 id: 54 unit: async processBatch() file: src/router/bundle/bundleHandler.ts start line: 62 end line: 70 size: 9 LOC McCabe index: 1 number of parameters: 5 id: 55 unit: private async checkIfRequesterHasAccessToJob() file: src/router/handlers/exportHandler.ts start line: 59 end line: 67 size: 9 LOC McCabe index: 1 number of parameters: 3 id: 56 unit: constructor() file: src/router/validation/hapiFhirLambdaValidator.ts start line: 29 end line: 36 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 57 unit: export function camelToSnakeCase() file: src/router/handlers/wellKnownUriHandler.ts start line: 4 end line: 11 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 58 unit: constructor() file: src/router/routes/exportRoute.ts start line: 29 end line: 35 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 59 unit: constructor() file: src/router/routes/genericResourceRoute.ts start line: 22 end line: 28 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 60 unit: export function makeOperation() file: src/router/metadata/cap.rest.resource.template.ts start line: 55 end line: 63 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 61 unit: static createLink() file: src/router/bundle/bundleGenerator.ts start line: 81 end line: 86 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 62 unit: constructor() file: src/router/handlers/rootHandler.ts start line: 19 end line: 24 size: 6 LOC McCabe index: 1 number of parameters: 4 id: 63 unit: private init() file: src/router/routes/wellKnownUriRoute.ts start line: 21 end line: 26 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 64 unit: export async function validateResource() file: src/router/validation/validationUtilities.ts start line: 8 end line: 13 size: 5 LOC McCabe index: 2 number of parameters: 2 id: 65 unit: export function getWellKnownUriResponse() file: src/router/handlers/wellKnownUriHandler.ts start line: 13 end line: 17 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 66 unit: async create() file: src/router/handlers/resourceHandler.ts start line: 47 end line: 52 size: 5 LOC McCabe index: 1 number of parameters: 3 id: 67 unit: async update() file: src/router/handlers/resourceHandler.ts start line: 54 end line: 59 size: 5 LOC McCabe index: 1 number of parameters: 4 id: 68 unit: constructor() file: src/router/routes/wellKnownUriRoute.ts start line: 15 end line: 19 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 69 unit: id: uuidv4() file: src/router/bundle/bundleGenerator.ts start line: 27 end line: 30 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 70 unit: constructor() file: src/router/handlers/exportHandler.ts start line: 22 end line: 25 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 71 unit: async patch() file: src/router/handlers/resourceHandler.ts start line: 61 end line: 66 size: 4 LOC McCabe index: 1 number of parameters: 4 id: 72 unit: async read() file: src/router/handlers/resourceHandler.ts start line: 178 end line: 181 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 73 unit: async vRead() file: src/router/handlers/resourceHandler.ts start line: 183 end line: 186 size: 4 LOC McCabe index: 1 number of parameters: 4 id: 74 unit: async delete() file: src/router/handlers/resourceHandler.ts start line: 188 end line: 191 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 75 unit: static getExportUrl() file: src/router/routes/exportRouteHelper.ts start line: 51 end line: 54 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 76 unit: constructor() file: src/configHandler.ts start line: 14 end line: 17 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 77 unit: export default function getComponentLogger() file: src/loggerBuilder.ts start line: 7 end line: 9 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 78 unit: async initiateExport() file: src/router/handlers/exportHandler.ts start line: 27 end line: 29 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 79 unit: interaction: makeOperation() file: src/router/metadata/cap.rest.template.ts start line: 20 end line: 23 size: 3 LOC McCabe index: 2 number of parameters: 1