Medplum is a healthcare platform that helps you quickly develop high-quality compliant applications.
This report presents the forensic synthetic code analysis of medplum/medplum, a TypeScript project with 2,526 GitHub stars. SynthScan v2.0 examined 876,343 lines of code across 3667 source files, recording 1404 pattern matches distributed across 15 syntactic categories. The overall adjusted score of 2.5 places this repository in the Likely human-written band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 1404 distinct pattern matches across 15 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …edplum-healthie-importer/src/list-healthie-patients.ts | 115 | async function fetchAllPatientsWithCursor( | CODE |
| LOW | …althie-importer/src/healthie/questionnaire-response.ts | 75 | export async function fetchHealthieFormAnswerGroups( | CODE |
| LOW | …althie-importer/src/healthie/questionnaire-response.ts | 125 | export function convertHealthieFormAnswerGroupToFhir( | CODE |
| LOW | …althie-importer/src/healthie/questionnaire-response.ts | 188 | export function convertHealthieTimestampToIso(healthieTimestamp: string): string { | CODE |
| LOW | …althie-importer/src/healthie/questionnaire-response.ts | 221 | function convertHealthieAnswerGroupToFhirItem(answers: HealthieFormAnswer[]): QuestionnaireResponseItem | undefined { | CODE |
| LOW | …althie-importer/src/healthie/questionnaire-response.ts | 265 | function convertHealthieAnswerValueToFhir(answer: HealthieFormAnswer): QuestionnaireResponseItemAnswer[] { | CODE |
| LOW | …um-healthie-importer/src/healthie/clinical-activity.ts | 13 | export async function fetchMostRecentMedicationDate( | CODE |
| LOW | …um-healthie-importer/src/healthie/clinical-activity.ts | 57 | export async function fetchMostRecentAllergyDate( | CODE |
| LOW | …um-healthie-importer/src/healthie/clinical-activity.ts | 95 | export async function fetchMostRecentFormAnswerGroupDate( | CODE |
| LOW | …um-healthie-importer/src/healthie/clinical-activity.ts | 141 | export async function fetchLatestClinicalUpdate( | CODE |
| LOW | …les/medplum-healthie-importer/src/healthie/document.ts | 124 | export function convertHealthieDocumentToFhir( | CODE |
| LOW | …s/medplum-healthie-importer/src/healthie/medication.ts | 96 | export function convertHealthieMedicationToFhir( | CODE |
| LOW | …les/medplum-healthie-importer/src/healthie/coverage.ts | 115 | export function convertHealthiePolicyToFhir(policy: HealthiePolicy, patientReference: Reference<Patient>): Coverage { | CODE |
| LOW | …ples/medplum-healthie-importer/src/healthie/patient.ts | 124 | export async function fetchHealthiePatientIdsPage( | CODE |
| LOW | …ples/medplum-healthie-importer/src/healthie/patient.ts | 227 | export function convertHealthiePatientToFhir(healthiePatient: HealthiePatient): Patient { | CODE |
| LOW | …les/medplum-healthie-importer/src/healthie/provider.ts | 93 | export function convertHealthieProviderToPractitioner(provider: HealthieProvider): Practitioner { | CODE |
| LOW | …les/medplum-healthie-importer/src/healthie/provider.ts | 120 | export function convertHealthieProviderToPractitionerRole( | CODE |
| LOW | …ples/medplum-healthie-importer/src/healthie/allergy.ts | 45 | export async function fetchAllergySensitivities( | CODE |
| LOW | …ples/medplum-healthie-importer/src/healthie/allergy.ts | 87 | export function convertHealthieAllergyToFhir( | CODE |
| LOW | …ples/medplum-healthie-importer/src/healthie/allergy.ts | 165 | export function mapHealthieStatusToClinicalStatus(status?: string): 'active' | 'inactive' | 'resolved' { | CODE |
| LOW | …ples/medplum-healthie-importer/src/healthie/allergy.ts | 187 | export function mapHealthieCategoryToType(category: string): AllergyIntolerance['type'] { | CODE |
| LOW | …ples/medplum-healthie-importer/src/healthie/allergy.ts | 206 | export function mapHealthieCategoryTypeToCategory( | CODE |
| LOW | …ples/medplum-healthie-importer/src/healthie/allergy.ts | 232 | export function mapHealthieSeverityToCriticality(severity?: string): AllergyIntolerance['criticality'] { | CODE |
| LOW | …ples/medplum-healthie-importer/src/healthie/allergy.ts | 255 | export function mapHealthieSeverityToReactionSeverity(severity?: string): 'mild' | 'moderate' | 'severe' | undefined { | CODE |
| LOW | examples/medplum-task-demo/src/pages/UploadDataPage.tsx | 163 | async function uploadExampleQualifications(medplum: MedplumClient, profile: Practitioner): Promise<void> { | CODE |
| LOW | …um-websocket-subscriptions-demo/src/pages/HomePage.tsx | 152 | async function createMessageForAnotherPatient(): Promise<void> { | CODE |
| LOW | examples/medplum-provider/src/utils/chargeitems.ts | 13 | export async function applyChargeItemDefinition( | CODE |
| LOW | examples/medplum-provider/src/utils/chargeitems.ts | 44 | export async function getChargeItemsForEncounter( | CODE |
| LOW | …les/medplum-provider/src/utils/communication-search.ts | 20 | export function normalizeCommunicationSearch({ | CODE |
| LOW | …ples/medplum-provider/src/utils/spaceMessaging.test.ts | 13 | function createMockStreamingResponse(chunks: string[]): Response { | CODE |
| LOW | …ples/medplum-provider/src/utils/spaceMessaging.test.ts | 37 | function createMockBufferedResponse(content: string): Response { | CODE |
| LOW | …amples/medplum-provider/src/utils/documentReference.ts | 14 | export async function fetchLabOrderRequisitionDocuments( | CODE |
| LOW | …amples/medplum-provider/src/utils/documentReference.ts | 44 | export async function resolvePresentedFormAttachments( | CODE |
| LOW | …amples/medplum-provider/src/utils/documentReference.ts | 77 | export function getHealthGorillaRequisitionId(serviceRequest: ServiceRequest): string | undefined { | CODE |
| LOW | examples/medplum-provider/src/utils/spacePersistence.ts | 73 | function buildMessageCommunication(topicId: string, message: Message, sequenceNumber: number): Communication { | CODE |
| LOW | examples/medplum-provider/src/utils/encounter.ts | 122 | async function createChargeItemFromPlanDefinition( | CODE |
| LOW | examples/medplum-provider/src/utils/encounter.ts | 168 | async function handleChargeItemsFromTasks( | CODE |
| LOW | examples/medplum-provider/src/utils/encounter.ts | 202 | async function createChargeItemFromServiceRequest( | CODE |
| LOW | examples/medplum-provider/src/utils/intake-utils.ts | 808 | function getRelatedPersonRelationshipFromCoverage(coverageRelationship: Coding): Coding | undefined { | CODE |
| LOW | examples/medplum-provider/src/utils/servicetype.ts | 14 | export function extractReferencesFromCodeableReferenceLike( | CODE |
| LOW | examples/medplum-provider/src/utils/servicetype.ts | 33 | export function isCodeableReferenceLikeTo( | CODE |
| LOW | …der/src/components/ResourceFormWithRequiredProfile.tsx | 20 | export function ResourceFormWithRequiredProfile(props: ResourceFormWithRequiredProfileProps): JSX.Element { | CODE |
| LOW | …provider/src/components/labs/LabResultDetails.test.tsx | 12 | function createMockDiagnosticReport(overrides?: Partial<DiagnosticReport>): DiagnosticReport { | CODE |
| LOW | …r/src/components/pharmacy/ScriptSurePharmacyDialog.tsx | 32 | function ScriptSureSpecialtyFilters({ value, onChange }: ScriptSureSpecialtyFiltersProps): JSX.Element { | CODE |
| LOW | …um-provider/src/components/spaces/SpacesInbox.test.tsx | 34 | function createMockStreamingResponse(content: string): Response { | CODE |
| LOW | …onents/encounter/EncounterCoverageEligibilityModal.tsx | 46 | export function EncounterCoverageEligibilityModal(props: EncounterCoverageEligibilityModalProps): JSX.Element { | CODE |
| LOW | …um-provider/src/components/meds/quantity-qualifiers.ts | 43 | export function getQuantityQualifierLabel(code: string | undefined): string | undefined { | CODE |
| LOW | …um-provider/src/components/meds/quantity-qualifiers.ts | 241 | export function inferQuantityQualifierCode(...textParts: (string | undefined)[]): string | undefined { | CODE |
| LOW | …um-provider/src/components/meds/quantity-qualifiers.ts | 254 | export function inferQuantityQualifierCodeWith( | CODE |
| LOW | …um-provider/src/components/meds/quantity-qualifiers.ts | 270 | export function mergeQuantityQualifierCatalog( | CODE |
| LOW | …vider/src/components/meds/MedicationRequestDetails.tsx | 31 | function formatQuantityWithQualifier(quantity: Quantity | undefined): string { | CODE |
| LOW | …vider/src/components/meds/MedicationRequestDetails.tsx | 357 | function getQuantityQualifierTooltip(rawQualifier: string | undefined): string | undefined { | CODE |
| LOW | …vider/src/components/meds/MedicationRequestDetails.tsx | 371 | function formatSubstitutionAllowed(allowed: boolean | undefined): string { | CODE |
| LOW | …ovider/src/components/meds/PrescriptionIFrameModal.tsx | 34 | function medicationRequestLooksSynced(mr: MedicationRequest): boolean { | CODE |
| LOW | …-provider/src/hooks/useMedicationRequestSyncPolling.ts | 51 | export function useMedicationRequestSyncPolling( | CODE |
| LOW | …amples/medplum-provider/src/hooks/useDoseSpotAccess.ts | 64 | function hasDoseSpotPractitionerRole(roles: PractitionerRole[]): boolean { | CODE |
| LOW | …ples/medplum-provider/src/pages/labs/OrderLabsPage.tsx | 44 | async function sendLabOrderToHealthGorilla(medplum: MedplumClient, labOrder: ServiceRequest): Promise<void> { | CODE |
| LOW⚡ | …rovider/src/pages/smart/SmartHealthLinkImport.utils.ts | 26 | export function getSmartHealthLinkPatient(bundle: Bundle): Patient | undefined { | CODE |
| LOW⚡ | …rovider/src/pages/smart/SmartHealthLinkImport.utils.ts | 30 | export function getSmartHealthLinkBundleEntryKey(entry: BundleEntry): string | undefined { | CODE |
| LOW⚡ | …rovider/src/pages/smart/SmartHealthLinkImport.utils.ts | 34 | export function buildSmartHealthLinkImportBundle( | CODE |
| 555 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH⚡ | packages/cli/src/aws/init.ts | 26 | print('This tool prepares the necessary prerequisites for deploying Medplum in your AWS account.'); | CODE |
| HIGH⚡ | packages/cli/src/aws/init.ts | 27 | print(''); | CODE |
| HIGH⚡ | packages/cli/src/aws/init.ts | 28 | print('Most Medplum infrastructure is deployed using the AWS CDK.'); | CODE |
| HIGH⚡ | packages/cli/src/aws/init.ts | 29 | print('However, some AWS resources must be created manually, such as email addresses and SSL certificates.'); | CODE |
| HIGH⚡ | packages/cli/src/aws/init.ts | 30 | print('This tool will help you create those resources.'); | CODE |
| HIGH⚡ | packages/cli/src/aws/init.ts | 31 | print(''); | CODE |
| HIGH⚡ | packages/cli/src/aws/init.ts | 32 | print('Upon completion, this tool will:'); | CODE |
| HIGH⚡ | packages/cli/src/aws/init.ts | 33 | print(' 1. Generate a Medplum CDK config file (i.e., medplum.demo.config.json)'); | CODE |
| HIGH⚡ | packages/cli/src/aws/init.ts | 34 | print(' 2. Optionally generate an AWS CloudFront signing key'); | CODE |
| HIGH⚡ | packages/cli/src/aws/init.ts | 35 | print(' 3. Optionally request SSL certificates from AWS Certificate Manager'); | CODE |
| HIGH⚡ | packages/cli/src/aws/init.ts | 36 | print(' 4. Optionally write server config settings to AWS Parameter Store'); | CODE |
| HIGH⚡ | packages/cli/src/aws/init.ts | 37 | print(''); | CODE |
| HIGH⚡ | packages/cli/src/aws/init.ts | 38 | print('The Medplum infra config file is an input to the Medplum CDK.'); | CODE |
| HIGH⚡ | packages/cli/src/aws/init.ts | 39 | print('The Medplum CDK will create and manage the necessary AWS resources.'); | CODE |
| HIGH⚡ | packages/cli/src/aws/init.ts | 40 | print(''); | CODE |
| HIGH⚡ | packages/cli/src/aws/init.ts | 41 | print('We will ask a series of questions to generate your infra config file.'); | CODE |
| HIGH⚡ | packages/cli/src/aws/init.ts | 42 | print('Some questions have predefined options in [square brackets].'); | CODE |
| HIGH⚡ | packages/cli/src/aws/init.ts | 43 | print('Some questions have default values in (parentheses), which you can accept by pressing Enter.'); | CODE |
| HIGH⚡ | packages/cli/src/aws/init.ts | 44 | print('Press Ctrl+C at any time to exit.'); | CODE |
| HIGH⚡ | packages/cli/src/aws/init.ts | 48 | print('It appears that you do not have AWS credentials configured.'); | CODE |
| HIGH⚡ | packages/cli/src/aws/init.ts | 49 | print('AWS credentials are not strictly required, but will enable some additional features.'); | CODE |
| HIGH⚡ | packages/cli/src/aws/init.ts | 50 | print('If you intend to use AWS credentials, please configure them now.'); | CODE |
| HIGH⚡ | packages/cli/src/aws/init.ts | 55 | print('Medplum deployments have a short environment name such as "prod", "staging", "alice", or "demo".'); | CODE |
| HIGH⚡ | packages/cli/src/aws/init.ts | 56 | print('The environment name is used in multiple places:'); | CODE |
| HIGH⚡ | packages/cli/src/aws/init.ts | 57 | print(' 1. As part of config file names (i.e., medplum.demo.config.json)'); | CODE |
| HIGH⚡ | packages/cli/src/aws/init.ts | 58 | print(' 2. As the base of CloudFormation stack names (i.e., MedplumDemo)'); | CODE |
| HIGH⚡ | packages/cli/src/aws/init.ts | 59 | print(' 3. AWS Parameter Store keys (i.e., /medplum/demo/...)'); | CODE |
| HIGH⚡ | packages/cli/src/aws/init.ts | 61 | print('Using environment name "' + config.name + '"...'); | CODE |
| HIGH⚡ | packages/cli/src/aws/init.ts | 64 | print('Medplum Infrastructure will create a config file in the current directory.'); | CODE |
| HIGH⚡ | packages/cli/src/aws/init.ts | 67 | print('Config file already exists.'); | CODE |
| HIGH⚡ | packages/cli/src/aws/init.ts | 70 | print('Using config file "' + configFileName + '"...'); | CODE |
| HIGH⚡ | packages/cli/src/aws/init.ts | 74 | print('Most Medplum resources will be created in a single AWS region.'); | CODE |
| HIGH⚡ | packages/cli/src/aws/init.ts | 79 | print('Medplum Infrastructure will use your AWS account number to create AWS resources.'); | CODE |
| HIGH⚡ | packages/cli/src/aws/init.ts | 81 | print('Using the AWS CLI, your current account ID is: ' + currentAccountId); | CODE |
| HIGH⚡ | packages/cli/src/aws/init.ts | 87 | print('Medplum will create a CloudFormation stack to manage AWS resources.'); | CODE |
| HIGH⚡ | packages/cli/src/aws/init.ts | 88 | print('AWS CloudFormation stack names '); | CODE |
| HIGH⚡ | packages/cli/src/aws/init.ts | 94 | print('Please enter the base domain name for your Medplum deployment.'); | CODE |
| HIGH⚡ | packages/cli/src/aws/init.ts | 95 | print(''); | CODE |
| HIGH⚡ | packages/cli/src/aws/init.ts | 96 | print('Medplum deploys multiple subdomains for various services.'); | CODE |
| HIGH⚡ | packages/cli/src/aws/init.ts | 97 | print(''); | CODE |
| HIGH⚡ | packages/cli/src/aws/init.ts | 98 | print('For example, "api." for the REST API and "app." for the web application.'); | CODE |
| HIGH⚡ | packages/cli/src/aws/init.ts | 99 | print('The base domain name is the common suffix for all subdomains.'); | CODE |
| HIGH⚡ | packages/cli/src/aws/init.ts | 100 | print(''); | CODE |
| HIGH⚡ | packages/cli/src/aws/init.ts | 101 | print('For example, if your base domain name is "example.com",'); | CODE |
| HIGH⚡ | packages/cli/src/aws/init.ts | 102 | print('then the REST API will be "api.example.com".'); | CODE |
| HIGH⚡ | packages/cli/src/aws/init.ts | 103 | print(''); | CODE |
| HIGH⚡ | packages/cli/src/aws/init.ts | 104 | print('The base domain should include the TLD (i.e., ".com", ".org", ".net").'); | CODE |
| HIGH⚡ | packages/cli/src/aws/init.ts | 105 | print(''); | CODE |
| HIGH⚡ | packages/cli/src/aws/init.ts | 106 | print('Note that you must own the base domain, and it must use Route53 DNS.'); | CODE |
| HIGH⚡ | packages/cli/src/aws/init.ts | 113 | print('Medplum sends transactional emails to users.'); | CODE |
| HIGH⚡ | packages/cli/src/aws/init.ts | 114 | print('For example, emails to new users or for password reset.'); | CODE |
| HIGH⚡ | packages/cli/src/aws/init.ts | 115 | print('Medplum will use the support email address to send these emails.'); | CODE |
| HIGH⚡ | packages/cli/src/aws/init.ts | 116 | print('Note that you must verify the support email address in SES.'); | CODE |
| HIGH⚡ | packages/cli/src/aws/init.ts | 120 | print('Medplum deploys a REST API for the backend services.'); | CODE |
| HIGH⚡ | packages/cli/src/aws/init.ts | 126 | print('Medplum deploys a web application for the user interface.'); | CODE |
| HIGH⚡ | packages/cli/src/aws/init.ts | 131 | print('Medplum deploys a storage service for file uploads.'); | CODE |
| HIGH⚡ | packages/cli/src/aws/init.ts | 136 | print('Medplum uses an S3 bucket to store binary content such as file uploads.'); | CODE |
| HIGH⚡ | packages/cli/src/aws/init.ts | 137 | print('Medplum will create a the S3 bucket as part of the CloudFormation stack.'); | CODE |
| HIGH⚡ | packages/cli/src/aws/init.ts | 142 | print('Medplum API servers can be deployed in multiple availability zones.'); | CODE |
| HIGH⚡ | packages/cli/src/aws/init.ts | 143 | print('This provides redundancy and high availability.'); | CODE |
| 70 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …edplum-healthie-importer/src/healthie/provider.test.ts | 36 | phone_number: '555-0100', | CODE |
| LOW | …edplum-healthie-importer/src/healthie/provider.test.ts | 111 | expect(result.telecom?.[0]).toEqual({ system: 'phone', value: '555-0100' }); | CODE |
| LOW | …edplum-healthie-importer/src/healthie/provider.test.ts | 137 | const provider: HealthieProvider = { id: 'prov-4', email: 'test@test.com' }; | CODE |
| LOW | …edplum-healthie-importer/src/healthie/provider.test.ts | 145 | const provider: HealthieProvider = { id: 'prov-5', phone_number: '555-0000' }; | CODE |
| LOW | …plum-healthie-importer/src/healthie/medication.test.ts | 164 | const result = convertHealthieMedicationToFhir(medicationWithoutDosage, { display: 'John Doe' }); | CODE |
| LOW | …plum-healthie-importer/src/healthie/medication.test.ts | 175 | const result = convertHealthieMedicationToFhir(medicationWithoutComment, { display: 'John Doe' }); | CODE |
| LOW | …plum-healthie-importer/src/healthie/medication.test.ts | 186 | const result = convertHealthieMedicationToFhir(medicationWithoutCode, { display: 'John Doe' }); | CODE |
| LOW | …plum-healthie-importer/src/healthie/medication.test.ts | 197 | const result = convertHealthieMedicationToFhir(medicationWithoutName, { display: 'John Doe' }); | CODE |
| LOW | …plum-healthie-importer/src/healthie/medication.test.ts | 209 | const result = convertHealthieMedicationToFhir(medicationWithInvalidDosage, { display: 'John Doe' }); | CODE |
| LOW | …edplum-healthie-importer/src/healthie/coverage.test.ts | 125 | expect(result.subscriber).toEqual({ display: 'John Doe' }); | CODE |
| LOW | …medplum-healthie-importer/src/healthie/patient.test.ts | 52 | name: 'John Doe', | CODE |
| LOW | …medplum-healthie-importer/src/healthie/patient.test.ts | 60 | line1: '123 Main St', | CODE |
| LOW | examples/medplum-provider/src/utils/intake-form.test.ts | 11 | phone: { valueString: '555-5555' }, | CODE |
| LOW | …ples/medplum-provider/src/components/Calendar.test.tsx | 24 | display: 'John Doe', | CODE |
| LOW | …-provider/src/components/labs/LabOrderDetails.test.tsx | 60 | display: 'John Doe', | CODE |
| LOW | …-provider/src/components/labs/LabOrderDetails.test.tsx | 454 | expect(screen.getByText('John Doe')).toBeInTheDocument(); | CODE |
| LOW | …er/src/components/schedule/AppointmentDetails.test.tsx | 337 | actor: { reference: `Patient/${patientId}`, display: 'Jane Doe' }, | CODE |
| LOW | …er/src/components/schedule/AppointmentDetails.test.tsx | 373 | expect(screen.getByText('Jane Doe')).toBeInTheDocument(); | CODE |
| LOW | …rovider/src/components/tasks/TaskDetailsModal.test.tsx | 76 | expect(screen.getByText('John Doe')).toBeInTheDocument(); | CODE |
| LOW | …-provider/src/components/tasks/TaskProperties.test.tsx | 171 | owner: { reference: 'Practitioner/prac-123', display: 'John Doe' }, | CODE |
| LOW | …-provider/src/components/tasks/TaskProperties.test.tsx | 177 | expect(screen.getByText('John Doe')).toBeInTheDocument(); | CODE |
| LOW | examples/medplum-provider/src/pages/SignInPage.test.tsx | 73 | fireEvent.change(screen.getByLabelText('Email *'), { target: { value: 'admin@example.com' } }); | CODE |
| LOW | …plum-provider/src/pages/schedule/SchedulePage.test.tsx | 557 | participant: [{ actor: { reference: 'Patient/patient-1', display: 'Jane Doe' }, status: 'accepted' }], | CODE |
| LOW | …plum-provider/src/pages/schedule/SchedulePage.test.tsx | 581 | await waitFor(() => expect(screen.getByText('Jane Doe')).toBeInTheDocument()); | CODE |
| LOW | …plum-provider/src/pages/schedule/SchedulePage.test.tsx | 583 | await user.click(screen.getByText('Jane Doe')); | CODE |
| LOW | …plum-provider/src/pages/schedule/SchedulePage.test.tsx | 603 | await waitFor(() => expect(screen.queryByText('Jane Doe')).not.toBeInTheDocument()); | CODE |
| LOW | …um-demo-bots/src/resource-usage/resource-usage.test.ts | 38 | expect(emailArgs.to).toEqual(['admin@example.com', 'admin2@example.com']); | CODE |
| LOW | …medplum-demo-bots/src/resource-usage/resource-usage.ts | 8 | const REPORT_EMAILS = ['admin@example.com', 'admin2@example.com']; | CODE |
| LOW | examples/medplum-demo-bots/src/resource-usage/README.md | 33 | const REPORT_EMAIL = 'admin@example.com'; | CODE |
| LOW | …mples/medplum-demo-bots/src/vital/order-create.test.ts | 479 | value: 'test@test.com', | CODE |
| LOW | …mples/medplum-demo-bots/src/vital/order-create.test.ts | 521 | value: 'test@test.com', | CODE |
| LOW | …mples/medplum-demo-bots/src/vital/order-result.test.ts | 202 | line: ['123 Main St'], | CODE |
| LOW | …demo-bots/src/lab-integration/send-oru-message.test.ts | 64 | line: ['123 Main Street'], | CODE |
| LOW | …-integration/src/bots/sync-patient-from-photon.test.ts | 52 | name: { first: 'John', last: 'Doe', full: 'Jane Doe' }, | CODE |
| LOW | …-integration/src/bots/sync-patient-from-photon.test.ts | 55 | phone: '555-1234', | CODE |
| LOW | …-integration/src/bots/sync-patient-from-photon.test.ts | 150 | phone: '555-1234', | CODE |
| LOW | …-integration/src/bots/sync-patient-from-photon.test.ts | 153 | street1: '123 Main St', | CODE |
| LOW | …-integration/src/bots/sync-patient-from-photon.test.ts | 170 | { system: 'phone', value: '555-1234' }, | CODE |
| LOW | …-integration/src/bots/sync-patient-from-photon.test.ts | 175 | line: ['123 Main St'], | CODE |
| LOW | …-integration/src/bots/sync-patient-from-photon.test.ts | 260 | street1: '123 Main Street', | CODE |
| LOW | …ntegration/src/bots/test-data/order-event-test-data.ts | 301 | street1: '123 Main St', | CODE |
| LOW⚡ | examples/foomedical/src/pages/HomePage.tsx | 39 | 'Lorem ipsum at porta donec ultricies ut, arcu morbi amet arcu ornare, curabitur pharetra magna tempus', | CODE |
| LOW⚡ | examples/foomedical/src/pages/HomePage.tsx | 47 | 'Lorem ipsum at porta donec ultricies ut, arcu morbi amet arcu ornare, curabitur pharetra magna tempus', | CODE |
| LOW⚡ | examples/foomedical/src/pages/HomePage.tsx | 55 | 'Lorem ipsum at porta donec ultricies ut, arcu morbi amet arcu ornare, curabitur pharetra magna tempus', | CODE |
| LOW⚡ | examples/foomedical/src/pages/HomePage.tsx | 63 | 'Lorem ipsum at porta donec ultricies ut, arcu morbi amet arcu ornare, curabitur pharetra magna tempus', | CODE |
| LOW⚡ | examples/foomedical/src/pages/HomePage.tsx | 170 | Lorem ipsum, dolor sit amet consectetur adipisicing elit. Maiores impedit perferendis suscipit eaque, iste | CODE |
| LOW⚡ | examples/foomedical/src/pages/HomePage.tsx | 170 | Lorem ipsum, dolor sit amet consectetur adipisicing elit. Maiores impedit perferendis suscipit eaque, iste | CODE |
| LOW⚡ | examples/foomedical/src/pages/HomePage.tsx | 171 | dolor cupiditate blanditiis ratione. Lorem ipsum, dolor sit amet consectetur adipisicing elit. Maiores | CODE |
| LOW⚡ | examples/foomedical/src/pages/HomePage.tsx | 171 | dolor cupiditate blanditiis ratione. Lorem ipsum, dolor sit amet consectetur adipisicing elit. Maiores | CODE |
| LOW⚡ | examples/foomedical/src/pages/HomePage.tsx | 193 | Lorem ipsum, dolor sit amet consectetur adipisicing elit. Maiores impedit perferendis suscipit eaque, | CODE |
| LOW⚡ | examples/foomedical/src/pages/HomePage.tsx | 193 | Lorem ipsum, dolor sit amet consectetur adipisicing elit. Maiores impedit perferendis suscipit eaque, | CODE |
| LOW⚡ | examples/foomedical/src/pages/HomePage.tsx | 194 | iste dolor cupiditate blanditiis ratione. Lorem ipsum, dolor sit amet consectetur adipisicing elit. | CODE |
| LOW⚡ | examples/foomedical/src/pages/HomePage.tsx | 194 | iste dolor cupiditate blanditiis ratione. Lorem ipsum, dolor sit amet consectetur adipisicing elit. | CODE |
| LOW⚡ | examples/foomedical/src/pages/landing/index.tsx | 18 | 'Lorem ipsum, dolor sit amet consectetur adipisicing elit. Maiores impedit perferendis suscipit eaque, iste dolor | CODE |
| LOW⚡ | examples/foomedical/src/pages/landing/index.tsx | 18 | 'Lorem ipsum, dolor sit amet consectetur adipisicing elit. Maiores impedit perferendis suscipit eaque, iste dolor | CODE |
| LOW⚡ | examples/foomedical/src/pages/landing/index.tsx | 23 | 'Lorem ipsum, dolor sit amet consectetur adipisicing elit. Maiores impedit perferendis suscipit eaque, iste dolor | CODE |
| LOW⚡ | examples/foomedical/src/pages/landing/index.tsx | 23 | 'Lorem ipsum, dolor sit amet consectetur adipisicing elit. Maiores impedit perferendis suscipit eaque, iste dolor | CODE |
| LOW⚡ | examples/foomedical/src/pages/landing/index.tsx | 28 | 'Lorem ipsum, dolor sit amet consectetur adipisicing elit. Maiores impedit perferendis suscipit eaque, iste dolor | CODE |
| LOW⚡ | examples/foomedical/src/pages/landing/index.tsx | 28 | 'Lorem ipsum, dolor sit amet consectetur adipisicing elit. Maiores impedit perferendis suscipit eaque, iste dolor | CODE |
| LOW⚡ | examples/foomedical/src/pages/landing/index.tsx | 33 | 'Lorem ipsum, dolor sit amet consectetur adipisicing elit. Maiores impedit perferendis suscipit eaque, iste dolor | CODE |
| 196 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | …medplum-healthie-importer/src/healthie/patient.test.ts | 201 | // Step 1: Fetch all patient IDs without filter | COMMENT |
| LOW⚡ | …medplum-healthie-importer/src/healthie/patient.test.ts | 209 | // Step 2: Get patient data with timestamps to find a middle point | COMMENT |
| LOW⚡ | …medplum-healthie-importer/src/healthie/patient.test.ts | 218 | // Step 3: Find a timestamp in the middle of the results | COMMENT |
| LOW⚡ | …medplum-healthie-importer/src/healthie/patient.test.ts | 226 | // Step 4: Re-run with the since filter | COMMENT |
| LOW⚡ | …medplum-healthie-importer/src/healthie/patient.test.ts | 231 | // Step 5: Verify the filtered results are smaller or equal to the original | COMMENT |
| LOW | …les/medplum-multilingual-demo/src/hooks/useDemoData.ts | 59 | // Step 1: Patient + Questionnaire via transaction with ifNoneExist. | COMMENT |
| LOW | …les/medplum-multilingual-demo/src/hooks/useDemoData.ts | 106 | // Step 2: Conditions — one conditional-create per condition code. | COMMENT |
| LOW⚡ | …dplum-provider/src/components/labs/LabOrderDetails.tsx | 120 | // Step 1: Order Sent - always completed if order exists | COMMENT |
| LOW⚡ | …dplum-provider/src/components/labs/LabOrderDetails.tsx | 125 | // Step 2: Lab Acknowledged - presence of accession number or LabOrderRequisition | COMMENT |
| LOW⚡ | …dplum-provider/src/components/labs/LabOrderDetails.tsx | 132 | // Step 3: Testing - DiagnosticReport.effectiveDateTime | COMMENT |
| LOW⚡ | …dplum-provider/src/components/labs/LabOrderDetails.tsx | 139 | // Step 4: Final - DiagnosticReport.issued timestamp | COMMENT |
| LOW | examples/medplum-local-k8s/cleanup-local.sh | 6 | # Step 1: Clean up Fission functions and packages (if any) | COMMENT |
| LOW⚡ | examples/medplum-local-k8s/cleanup-local.sh | 32 | # Step 2: Uninstall Helm release | COMMENT |
| LOW⚡ | examples/medplum-local-k8s/cleanup-local.sh | 36 | # Step 3: Delete Medplum app | COMMENT |
| LOW⚡ | examples/medplum-local-k8s/cleanup-local.sh | 40 | # Step 4: Delete databases | COMMENT |
| LOW⚡ | examples/medplum-local-k8s/cleanup-local.sh | 44 | # Step 5: Clean up Fission RBAC permissions | COMMENT |
| LOW⚡ | examples/medplum-local-k8s/cleanup-local.sh | 48 | # Step 6: Delete Medplum namespace | COMMENT |
| LOW⚡ | examples/medplum-local-k8s/cleanup-local.sh | 52 | # Step 7: Ask about Fission cleanup | COMMENT |
| LOW⚡ | examples/medplum-local-k8s/deploy-local.sh | 13 | # Step 1: Create namespace | COMMENT |
| LOW⚡ | examples/medplum-local-k8s/deploy-local.sh | 17 | # Step 2: Install Fission (following Medplum's recommended approach) | COMMENT |
| LOW⚡ | examples/medplum-local-k8s/deploy-local.sh | 77 | # Step 4: Create Fission RBAC permissions | COMMENT |
| LOW⚡ | examples/medplum-local-k8s/deploy-local.sh | 81 | # Step 5: Deploy databases | COMMENT |
| LOW⚡ | examples/medplum-local-k8s/deploy-local.sh | 85 | # Step 6: Wait for databases to be ready | COMMENT |
| LOW⚡ | examples/medplum-local-k8s/deploy-local.sh | 90 | # Step 7: Test DNS resolution (robust version) | COMMENT |
| LOW⚡ | examples/medplum-local-k8s/deploy-local.sh | 101 | # Step 8: Deploy Medplum server | COMMENT |
| LOW⚡ | examples/medplum-local-k8s/deploy-local.sh | 107 | # Step 9: Wait for Medplum server to be ready | COMMENT |
| LOW⚡ | examples/medplum-local-k8s/deploy-local.sh | 111 | # Step 10: Deploy Medplum app | COMMENT |
| LOW⚡ | examples/medplum-local-k8s/deploy-local.sh | 115 | # Step 11: Wait for Medplum app to be ready | COMMENT |
| LOW⚡ | examples/medplum-local-k8s/deploy-local.sh | 119 | # Step 12: Verify Fission integration | COMMENT |
| LOW⚡ | examples/medplum-local-k8s/deploy-local.sh | 127 | # Step 13: Create default Fission Node.js environment | COMMENT |
| LOW | examples/medplum-local-k8s/deploy-local.sh | 52 | # Step 3: Wait for Fission to be ready | COMMENT |
| LOW | examples/medplum-local-k8s/deploy-local.sh | 143 | # Step 14: Get Fission router ClusterIP for configuration | COMMENT |
| LOW | …amples/medplum-mso-demo/src/pages/UploadBundlePage.tsx | 32 | // Step 1: Create the patients | COMMENT |
| LOW | examples/medplum-efax-demo/README.md | 56 | // Step 1: Upload the file (creates a Binary resource) and persist it as a DocumentReference | COMMENT |
| LOW | examples/medplum-efax-demo/README.md | 70 | // Step 2: Create the recipient Organization | COMMENT |
| LOW | examples/medplum-efax-demo/README.md | 77 | // Step 3: Create the Communication | COMMENT |
| LOW | examples/medplum-efax-demo/README.md | 90 | // Step 4: Call the $send-efax operation | COMMENT |
| LOW | examples/medplum-efax-demo/src/pages/SendFaxPage.tsx | 59 | // Step 1: Upload the file and persist it as a DocumentReference (creates a Binary | COMMENT |
| LOW⚡ | examples/medplum-efax-demo/src/pages/SendFaxPage.tsx | 75 | // Step 2: Create the recipient Organization | COMMENT |
| LOW⚡ | examples/medplum-efax-demo/src/pages/SendFaxPage.tsx | 82 | // Step 3: Create the Communication, referencing the DocumentReference via | COMMENT |
| LOW | examples/medplum-efax-demo/src/pages/SendFaxPage.tsx | 105 | // Step 4: Call the $send-efax operation | COMMENT |
| LOW | packages/core/src/subscriptions/index.test.ts | 1163 | // Step 1: Add criteria and verify subscription works | COMMENT |
| LOW | packages/core/src/subscriptions/index.test.ts | 1191 | // Step 2: Remove criteria and close WebSocket (simulating component unmount) | COMMENT |
| LOW | packages/core/src/subscriptions/index.test.ts | 1214 | // Step 3: Set up a new WebSocket server and add criteria again (simulating component remount) | COMMENT |
| LOW | packages/core/src/subscriptions/index.test.ts | 1253 | // Step 4: Verify we can receive messages on the new subscription | COMMENT |
| LOW | packages/core/src/subscriptions/index.ts | 480 | // Step 1: Ensure a Subscription resource exists | COMMENT |
| LOW | packages/core/src/subscriptions/index.ts | 498 | // Step 2: Get a binding token | COMMENT |
| LOW | packages/core/src/subscriptions/index.ts | 517 | // Step 3: Verify the operation is still valid after all async work | COMMENT |
| LOW⚡ | packages/server/src/test.setup.ts | 655 | // Step 1: Generate CSR | COMMENT |
| LOW⚡ | packages/server/src/test.setup.ts | 660 | // Step 2: Sign CSR with CA | COMMENT |
| LOW⚡ | packages/server/src/cloud/aws/deploy.test.ts | 174 | // Step 1: Create a bot via admin endpoint (auto-creates ProjectMembership) | COMMENT |
| LOW⚡ | packages/server/src/cloud/aws/deploy.test.ts | 178 | // Step 2: Deploy the bot | COMMENT |
| LOW⚡ | packages/server/src/cloud/aws/deploy.test.ts | 249 | // Step 1: Create a bot via admin endpoint (auto-creates ProjectMembership) | COMMENT |
| LOW⚡ | packages/server/src/cloud/aws/deploy.test.ts | 253 | // Step 2: Deploy the bot | COMMENT |
| LOW⚡ | packages/server/src/cloud/aws/deploy.test.ts | 283 | // Step 3: Simulate releasing a new version of the lambda layer | COMMENT |
| LOW⚡ | packages/server/src/cloud/aws/deploy.test.ts | 292 | // Step 4: Simulate an error when updating the code | COMMENT |
| LOW⚡ | packages/server/src/cloud/aws/deploy.test.ts | 333 | // Step 1: Create a bot with no timeout via admin endpoint (auto-creates ProjectMembership) | COMMENT |
| LOW⚡ | packages/server/src/cloud/aws/deploy.test.ts | 336 | // Step 2: Deploy the bot without timeout ... check that default timeout was set on lambda | COMMENT |
| LOW⚡ | packages/server/src/cloud/aws/deploy.test.ts | 504 | // Step 1: Create a bot via admin endpoint (auto-creates ProjectMembership) | COMMENT |
| LOW⚡ | packages/server/src/cloud/aws/deploy.test.ts | 508 | // Step 2: Initial deploy creates the lambda | COMMENT |
| 87 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | …medplum-healthie-importer/src/healthie/patient.test.ts | 201 | // Step 1: Fetch all patient IDs without filter | COMMENT |
| LOW⚡ | …medplum-healthie-importer/src/healthie/patient.test.ts | 209 | // Step 2: Get patient data with timestamps to find a middle point | COMMENT |
| LOW⚡ | …medplum-healthie-importer/src/healthie/patient.test.ts | 218 | // Step 3: Find a timestamp in the middle of the results | COMMENT |
| LOW⚡ | …medplum-healthie-importer/src/healthie/patient.test.ts | 226 | // Step 4: Re-run with the since filter | COMMENT |
| LOW⚡ | …medplum-healthie-importer/src/healthie/patient.test.ts | 231 | // Step 5: Verify the filtered results are smaller or equal to the original | COMMENT |
| LOW | …les/medplum-multilingual-demo/src/hooks/useDemoData.ts | 59 | // Step 1: Patient + Questionnaire via transaction with ifNoneExist. | COMMENT |
| LOW | …les/medplum-multilingual-demo/src/hooks/useDemoData.ts | 106 | // Step 2: Conditions — one conditional-create per condition code. | COMMENT |
| LOW⚡ | …dplum-provider/src/components/labs/LabOrderDetails.tsx | 120 | // Step 1: Order Sent - always completed if order exists | COMMENT |
| LOW⚡ | …dplum-provider/src/components/labs/LabOrderDetails.tsx | 125 | // Step 2: Lab Acknowledged - presence of accession number or LabOrderRequisition | COMMENT |
| LOW⚡ | …dplum-provider/src/components/labs/LabOrderDetails.tsx | 132 | // Step 3: Testing - DiagnosticReport.effectiveDateTime | COMMENT |
| LOW⚡ | …dplum-provider/src/components/labs/LabOrderDetails.tsx | 139 | // Step 4: Final - DiagnosticReport.issued timestamp | COMMENT |
| LOW | examples/medplum-local-k8s/cleanup-local.sh | 6 | # Step 1: Clean up Fission functions and packages (if any) | COMMENT |
| LOW⚡ | examples/medplum-local-k8s/cleanup-local.sh | 32 | # Step 2: Uninstall Helm release | COMMENT |
| LOW⚡ | examples/medplum-local-k8s/cleanup-local.sh | 36 | # Step 3: Delete Medplum app | COMMENT |
| LOW⚡ | examples/medplum-local-k8s/cleanup-local.sh | 40 | # Step 4: Delete databases | COMMENT |
| LOW⚡ | examples/medplum-local-k8s/cleanup-local.sh | 44 | # Step 5: Clean up Fission RBAC permissions | COMMENT |
| LOW⚡ | examples/medplum-local-k8s/cleanup-local.sh | 48 | # Step 6: Delete Medplum namespace | COMMENT |
| LOW⚡ | examples/medplum-local-k8s/cleanup-local.sh | 52 | # Step 7: Ask about Fission cleanup | COMMENT |
| LOW⚡ | examples/medplum-local-k8s/deploy-local.sh | 13 | # Step 1: Create namespace | COMMENT |
| LOW⚡ | examples/medplum-local-k8s/deploy-local.sh | 17 | # Step 2: Install Fission (following Medplum's recommended approach) | COMMENT |
| LOW⚡ | examples/medplum-local-k8s/deploy-local.sh | 77 | # Step 4: Create Fission RBAC permissions | COMMENT |
| LOW⚡ | examples/medplum-local-k8s/deploy-local.sh | 81 | # Step 5: Deploy databases | COMMENT |
| LOW⚡ | examples/medplum-local-k8s/deploy-local.sh | 85 | # Step 6: Wait for databases to be ready | COMMENT |
| LOW⚡ | examples/medplum-local-k8s/deploy-local.sh | 90 | # Step 7: Test DNS resolution (robust version) | COMMENT |
| LOW⚡ | examples/medplum-local-k8s/deploy-local.sh | 101 | # Step 8: Deploy Medplum server | COMMENT |
| LOW⚡ | examples/medplum-local-k8s/deploy-local.sh | 107 | # Step 9: Wait for Medplum server to be ready | COMMENT |
| LOW⚡ | examples/medplum-local-k8s/deploy-local.sh | 111 | # Step 10: Deploy Medplum app | COMMENT |
| LOW⚡ | examples/medplum-local-k8s/deploy-local.sh | 115 | # Step 11: Wait for Medplum app to be ready | COMMENT |
| LOW⚡ | examples/medplum-local-k8s/deploy-local.sh | 119 | # Step 12: Verify Fission integration | COMMENT |
| LOW⚡ | examples/medplum-local-k8s/deploy-local.sh | 127 | # Step 13: Create default Fission Node.js environment | COMMENT |
| LOW | examples/medplum-local-k8s/deploy-local.sh | 52 | # Step 3: Wait for Fission to be ready | COMMENT |
| LOW | examples/medplum-local-k8s/deploy-local.sh | 143 | # Step 14: Get Fission router ClusterIP for configuration | COMMENT |
| LOW | …amples/medplum-mso-demo/src/pages/UploadBundlePage.tsx | 32 | // Step 1: Create the patients | COMMENT |
| LOW | examples/medplum-efax-demo/src/pages/SendFaxPage.tsx | 59 | // Step 1: Upload the file and persist it as a DocumentReference (creates a Binary | COMMENT |
| LOW⚡ | examples/medplum-efax-demo/src/pages/SendFaxPage.tsx | 75 | // Step 2: Create the recipient Organization | COMMENT |
| LOW⚡ | examples/medplum-efax-demo/src/pages/SendFaxPage.tsx | 82 | // Step 3: Create the Communication, referencing the DocumentReference via | COMMENT |
| LOW | examples/medplum-efax-demo/src/pages/SendFaxPage.tsx | 105 | // Step 4: Call the $send-efax operation | COMMENT |
| LOW | packages/core/src/subscriptions/index.test.ts | 1163 | // Step 1: Add criteria and verify subscription works | COMMENT |
| LOW | packages/core/src/subscriptions/index.test.ts | 1191 | // Step 2: Remove criteria and close WebSocket (simulating component unmount) | COMMENT |
| LOW | packages/core/src/subscriptions/index.test.ts | 1214 | // Step 3: Set up a new WebSocket server and add criteria again (simulating component remount) | COMMENT |
| LOW | packages/core/src/subscriptions/index.test.ts | 1253 | // Step 4: Verify we can receive messages on the new subscription | COMMENT |
| LOW | packages/core/src/subscriptions/index.ts | 480 | // Step 1: Ensure a Subscription resource exists | COMMENT |
| LOW | packages/core/src/subscriptions/index.ts | 498 | // Step 2: Get a binding token | COMMENT |
| LOW | packages/core/src/subscriptions/index.ts | 517 | // Step 3: Verify the operation is still valid after all async work | COMMENT |
| LOW | packages/core/src/fhirpath/utils.ts | 401 | // We need to check if both `code` and `system` are equivalent. | COMMENT |
| LOW⚡ | packages/server/src/test.setup.ts | 655 | // Step 1: Generate CSR | COMMENT |
| LOW⚡ | packages/server/src/test.setup.ts | 660 | // Step 2: Sign CSR with CA | COMMENT |
| LOW⚡ | packages/server/src/cloud/aws/deploy.test.ts | 174 | // Step 1: Create a bot via admin endpoint (auto-creates ProjectMembership) | COMMENT |
| LOW⚡ | packages/server/src/cloud/aws/deploy.test.ts | 178 | // Step 2: Deploy the bot | COMMENT |
| LOW⚡ | packages/server/src/cloud/aws/deploy.test.ts | 249 | // Step 1: Create a bot via admin endpoint (auto-creates ProjectMembership) | COMMENT |
| LOW⚡ | packages/server/src/cloud/aws/deploy.test.ts | 253 | // Step 2: Deploy the bot | COMMENT |
| LOW⚡ | packages/server/src/cloud/aws/deploy.test.ts | 283 | // Step 3: Simulate releasing a new version of the lambda layer | COMMENT |
| LOW⚡ | packages/server/src/cloud/aws/deploy.test.ts | 292 | // Step 4: Simulate an error when updating the code | COMMENT |
| LOW⚡ | packages/server/src/cloud/aws/deploy.test.ts | 333 | // Step 1: Create a bot with no timeout via admin endpoint (auto-creates ProjectMembership) | COMMENT |
| LOW⚡ | packages/server/src/cloud/aws/deploy.test.ts | 336 | // Step 2: Deploy the bot without timeout ... check that default timeout was set on lambda | COMMENT |
| LOW⚡ | packages/server/src/cloud/aws/deploy.test.ts | 504 | // Step 1: Create a bot via admin endpoint (auto-creates ProjectMembership) | COMMENT |
| LOW⚡ | packages/server/src/cloud/aws/deploy.test.ts | 508 | // Step 2: Initial deploy creates the lambda | COMMENT |
| LOW | packages/server/src/cloud/aws/deploy.test.ts | 216 | // Step 3: Deploy again to trigger the update path | COMMENT |
| LOW | packages/server/src/cloud/aws/deploy.test.ts | 309 | // Step 5: Deploy again to trigger the update path | COMMENT |
| LOW | packages/server/src/cloud/aws/deploy.test.ts | 358 | // Step 3: Update bot to have to have a timeout | COMMENT |
| 45 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | terraform/gcp/outputs.tf | 1 | # This file defines output variables for the Terraform configuration. | COMMENT |
| MEDIUM | terraform/gcp/.terraform.lock.hcl | 1 | # This file is maintained automatically by "terraform init". | COMMENT |
| MEDIUM⚡ | examples/medplum-local-k8s/deploy-local.sh | 21 | # Define the namespace for Fission | COMMENT |
| MEDIUM⚡ | examples/medplum-local-k8s/deploy-local.sh | 24 | # Create the Fission namespace | COMMENT |
| MEDIUM | scripts/deploy-bot-layer.sh | 20 | # Create a temporary directory for the layer | COMMENT |
| MEDIUM | scripts/deploy-bot-layer.sh | 39 | # Create the zip file | COMMENT |
| MEDIUM | scripts/deploy-introspection-schema.sh | 50 | # Create an invlidation file | COMMENT |
| MEDIUM | scripts/prune-branches.sh | 20 | # Create a new commit object from the tree of the current branch and the merge base, and compare it to main | COMMENT |
| MEDIUM | scripts/build-deb.sh | 57 | # Create the server config | COMMENT |
| MEDIUM | scripts/build-deb.sh | 62 | # Create the data directory | COMMENT |
| MEDIUM | scripts/build-deb.sh | 75 | # Create the systemd service definition | COMMENT |
| MEDIUM | scripts/build-deb.sh | 78 | # Create the service file | COMMENT |
| MEDIUM | scripts/build-deb.sh | 97 | # Create the nginx sites-available directory | COMMENT |
| MEDIUM | scripts/build-deb.sh | 100 | # Create the app site configuration | COMMENT |
| MEDIUM | scripts/build-deb.sh | 150 | # Create the server site configuration | COMMENT |
| MEDIUM | scripts/build-deb.sh | 190 | # Create the Debian template variables | COMMENT |
| MEDIUM | scripts/build-deb.sh | 218 | # Create the Debian config script | COMMENT |
| MEDIUM | scripts/build-deb.sh | 237 | # Create the Debian control file | COMMENT |
| MEDIUM | scripts/build-deb.sh | 259 | # Create the Debian post-install script | COMMENT |
| MEDIUM | scripts/build-deb.sh | 307 | # Create the Medplum user | COMMENT |
| MEDIUM | scripts/build-deb.sh | 326 | # Create the Debian pre-remove script | COMMENT |
| MEDIUM | packages/examples/src/graphql/mutations.ts | 10 | # Define the fields for the resource being created | COMMENT |
| MEDIUM | packages/examples/src/graphql/mutations.ts | 56 | # Define the fields for the resource being created | COMMENT |
| MEDIUM | packages/examples/src/graphql/mutations.ts | 83 | # Define the fields for the resource being created, and alias as "newPatient" | COMMENT |
| MEDIUM | packages/examples/src/graphql/mutations.ts | 129 | # Define the fields for the resource being created, and alias as "newPatient" | COMMENT |
| MEDIUM | packages/examples/src/graphql/mutations.ts | 205 | # Define the elements for the updated resources. Note that this will *overwrite* the entire resource. | COMMENT |
| MEDIUM | packages/examples/src/graphql/mutations.ts | 256 | # Define the elements for the updated resources. Note that this will *overwrite* the entire resource. | COMMENT |
| MEDIUM | packages/examples/src/api/fhir/operations/bulk-fhir.py | 108 | # Create a new connection to the host specified in the URL | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | terraform/gcp/outputs.tf | 1 | # This file defines output variables for the Terraform configuration. | COMMENT |
| LOW | terraform/gcp/service-accounts.tf | 1 | # This module sets up service accounts for the project and assigns specific roles to them. | COMMENT |
| LOW | terraform/gcp/cloud-sql.tf | 1 | # This module configures a PostgreSQL database instance on Google Cloud SQL. | COMMENT |
| LOW | terraform/gcp/cdn.tf | 1 | # This module sets up a CDN-enabled external HTTP(S) load balancer on Google Cloud Platform. | COMMENT |
| LOW | terraform/gcp/redis.tf | 1 | # This module sets up a Redis instance using Google Cloud's Memorystore service. | COMMENT |
| LOW | terraform/gcp/backend.tf | 1 | # This block serves as a technical illustration of configuring a Google Cloud Storage (GCS) backend for Terraform state | COMMENT |
| LOW | charts/values.yaml | 1 | # Default values for medplum. | COMMENT |
| LOW | examples/medplum-multilingual-demo/src/vite-env.d.ts | 1 | // SPDX-FileCopyrightText: Copyright Orangebot, Inc. and Medplum contributors | COMMENT |
| LOW | …les/medplum-client-external-idp-demo/src/vite-env.d.ts | 1 | // SPDX-FileCopyrightText: Copyright Orangebot, Inc. and Medplum contributors | COMMENT |
| LOW | examples/medplum-task-demo/src/vite-env.d.ts | 1 | // SPDX-FileCopyrightText: Copyright Orangebot, Inc. and Medplum contributors | COMMENT |
| LOW | …medplum-websocket-subscriptions-demo/src/vite-env.d.ts | 1 | // SPDX-FileCopyrightText: Copyright Orangebot, Inc. and Medplum contributors | COMMENT |
| LOW | examples/medplum-provider/src/vite-env.d.ts | 1 | // SPDX-FileCopyrightText: Copyright Orangebot, Inc. and Medplum contributors | COMMENT |
| LOW | …ples/medplum-provider/src/utils/spaceMessaging.test.ts | 321 | test('returns fallback note when loop hits max iterations and no tools ran', async () => { | COMMENT |
| LOW | …medplum-provider/src/pages/patient/MedicationsPage.tsx | 121 | const [orders, setOrders] = useState<MedicationRequest[]>([]); | COMMENT |
| LOW | examples/medplum-demo-bots/src/textract-bot.ts | 1 | // SPDX-FileCopyrightText: Copyright Orangebot, Inc. and Medplum contributors | COMMENT |
| LOW | examples/medplum-eligibility-demo/src/vite-env.d.ts | 1 | // SPDX-FileCopyrightText: Copyright Orangebot, Inc. and Medplum contributors | COMMENT |
| LOW | examples/medplum-photon-integration/src/vite-env.d.ts | 1 | // SPDX-FileCopyrightText: Copyright Orangebot, Inc. and Medplum contributors | COMMENT |
| LOW | examples/medplum-patient-intake-demo/src/vite-env.d.ts | 1 | // SPDX-FileCopyrightText: Copyright Orangebot, Inc. and Medplum contributors | COMMENT |
| LOW | examples/medplum-mso-demo/src/vite-env.d.ts | 1 | // SPDX-FileCopyrightText: Copyright Orangebot, Inc. and Medplum contributors | COMMENT |
| LOW | examples/medplum-smart-on-fhir-demo/src/vite-env.d.ts | 1 | // SPDX-FileCopyrightText: Copyright Orangebot, Inc. and Medplum contributors | COMMENT |
| LOW | examples/medplum-questionnaire-hooks/src/vite-env.d.ts | 1 | // SPDX-FileCopyrightText: Copyright Orangebot, Inc. and Medplum contributors | COMMENT |
| LOW | examples/medplum-health-gorilla-demo/src/vite-env.d.ts | 1 | // SPDX-FileCopyrightText: Copyright Orangebot, Inc. and Medplum contributors | COMMENT |
| LOW | examples/medplum-fhircast-demo/src/vite-env.d.ts | 1 | // SPDX-FileCopyrightText: Copyright Orangebot, Inc. and Medplum contributors | COMMENT |
| LOW | examples/medplum-hello-world/src/vite-env.d.ts | 1 | // SPDX-FileCopyrightText: Copyright Orangebot, Inc. and Medplum contributors | COMMENT |
| LOW | examples/foomedical/src/vite-env.d.ts | 1 | // SPDX-FileCopyrightText: Copyright Orangebot, Inc. and Medplum contributors | COMMENT |
| LOW | examples/medplum-valueset-selector/src/vite-env.d.ts | 1 | // SPDX-FileCopyrightText: Copyright Orangebot, Inc. and Medplum contributors | COMMENT |
| LOW | examples/medplum-efax-demo/src/vite-env.d.ts | 1 | // SPDX-FileCopyrightText: Copyright Orangebot, Inc. and Medplum contributors | COMMENT |
| LOW | scripts/set-bot-env.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | scripts/upgrade.sh | 81 | echo "Last completed step: $LAST_STEP" | COMMENT |
| LOW | scripts/upgrade.sh | 101 | # temporal-polyfill - version 1.0.0 is actually an old version, holding back to 0.3.0 which is the latest stable version | COMMENT |
| LOW | packages/core/src/search/ir.ts | 1 | // SPDX-FileCopyrightText: Copyright Orangebot, Inc. and Medplum contributors | COMMENT |
| LOW | packages/core/src/fhirpath/utils.ts | 121 | COMMENT | |
| LOW | …act-hooks/src/useCachedBinaryUrl/useCachedBinaryUrl.ts | 1 | // SPDX-FileCopyrightText: Copyright Orangebot, Inc. and Medplum contributors | COMMENT |
| LOW | …hooks/src/useQuestionnaireForm/useQuestionnaireForm.ts | 21 | QUESTIONNAIRE_SIGNATURE_RESPONSE_URL, | COMMENT |
| LOW | packages/graphiql/src/index.tsx | 21 | # high-quality compliant applications. Medplum includes a FHIR server, | COMMENT |
| LOW | packages/server/src/auth/mfa.test.ts | 1881 | expect(verify.status).toBe(200); | COMMENT |
| LOW | packages/server/src/fhir/operations/utils/find.test.ts | 201 | expect(slots).toEqual([ | COMMENT |
| LOW | packages/server/src/fhir/operations/utils/find.test.ts | 221 | // the frequency of unbookable times, but means that you lose daily | COMMENT |
| LOW | packages/agent/src/app.test.ts | 4241 | mockServer.stop(resolve); | COMMENT |
| LOW | packages/agent/src/app.ts | 681 | this.log.error(`Failed to open durable queue at ${path}: ${normalizeErrorString(err)}`); | COMMENT |
| LOW | packages/agent/src/app.ts | 1701 | // For a durable-queue dispatch, putting the request on the wire is the | COMMENT |
| LOW | packages/agent/src/hl7.ts | 421 | // Snapshot the message exactly as received, before any transformation | COMMENT |
| LOW | packages/agent/src/queue/durable-queue.ts | 141 | // ── Dispatch-lease orchestration (formerly DispatchLeaseManager) ── | COMMENT |
| LOW | packages/agent/src/queue/durable-queue.ts | 161 | private leaseLoopActive = false; | COMMENT |
| LOW | packages/agent/src/queue/durable-queue.ts | 241 | // Per-channel monotonic sequence counter (assignSeqNo). Single-process + | COMMENT |
| LOW | packages/agent/src/queue/durable-queue.ts | 281 | COMMENT | |
| LOW | packages/agent/src/queue/integration.test.ts | 1581 | await app.stop(); | COMMENT |
| LOW | packages/agent/src/queue/integration.test.ts | 1901 | COMMENT | |
| LOW | packages/agent/src/queue/integration.test.ts | 2061 | await appB.stop(); | COMMENT |
| LOW | packages/agent/src/queue/integration.test.ts | 2081 | // the lease row a peer's lease manager would have written, and the point under test | COMMENT |
| LOW | packages/ccda/src/templates.ts | 81 | }, | COMMENT |
| LOW | packages/ccda/src/templates.ts | 101 | // M) USCDI Data Class/Element: Assessment and Plan of Treatment: | COMMENT |
| LOW | packages/ccda/src/templates.ts | 221 | { '@_root': OID_PAYERS_SECTION }, | COMMENT |
| LOW | packages/ccda/src/systems.ts | 821 | // SOPT Codes: | COMMENT |
| LOW | packages/generator/src/jsonschema.ts | 1 | // SPDX-FileCopyrightText: Copyright Orangebot, Inc. and Medplum contributors | COMMENT |
| LOW | packages/generator/src/umls.ts | 61 | const loincStream = createWriteStream('./output/loinc.txt'); | COMMENT |
| LOW | packages/examples/src/provider/spaces-examples.ts | 1 | // SPDX-FileCopyrightText: Copyright Orangebot, Inc. and Medplum contributors | COMMENT |
| LOW | …ages/examples/src/fhir-datastore/external-documents.ts | 41 | # "id": "example-binary-id", | COMMENT |
| LOW | …ages/examples/src/fhir-datastore/external-documents.ts | 61 | # } | COMMENT |
| LOW | …ages/examples/src/fhir-datastore/external-documents.ts | 81 | COMMENT | |
| 8 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | examples/medplum-local-k8s/deploy-local.sh | 90 | # Step 7: Test DNS resolution (robust version) | COMMENT |
| MEDIUM | packages/cdk/src/backend.ts | 198 | // Instances with attached NVMe SSD (db.*d* instance classes) should utilize I/O optimized storage | COMMENT |
| MEDIUM | …ages/core/src/typeschema/__test__/us-core-patient.json | 1 | {"resourceType":"StructureDefinition","id":"us-core-patient","text":{"status":"extensions","div":"<div xmlns=\"http://ww | CODE |
| MEDIUM | …ages/core/src/typeschema/__test__/us-core-patient.json | 1 | {"resourceType":"StructureDefinition","id":"us-core-patient","text":{"status":"extensions","div":"<div xmlns=\"http://ww | CODE |
| MEDIUM | packages/core/src/typeschema/__test__/base-patient.json | 1 | {"resourceType":"StructureDefinition","id":"Patient","meta":{"lastUpdated":"2023-03-26T15:21:02.749+11:00"},"text":{"sta | CODE |
| MEDIUM | packages/core/src/typeschema/__test__/base-patient.json | 1 | {"resourceType":"StructureDefinition","id":"Patient","meta":{"lastUpdated":"2023-03-26T15:21:02.749+11:00"},"text":{"sta | CODE |
| MEDIUM⚡ | …re/src/typeschema/__test__/us-core-blood-pressure.json | 1 | {"resourceType":"StructureDefinition","id":"us-core-blood-pressure","text":{"status":"extensions","div":"<div xmlns=\"ht | CODE |
| MEDIUM⚡ | …re/src/typeschema/__test__/us-core-blood-pressure.json | 1 | {"resourceType":"StructureDefinition","id":"us-core-blood-pressure","text":{"status":"extensions","div":"<div xmlns=\"ht | CODE |
| MEDIUM⚡ | …/core/src/typeschema/__test__/body-weight-profile.json | 1 | {"resourceType":"StructureDefinition","id":"bodyweight","text":{"status":"generated","div":"<div xmlns=\"http://www.w3.o | CODE |
| MEDIUM⚡ | …/core/src/typeschema/__test__/body-weight-profile.json | 1 | {"resourceType":"StructureDefinition","id":"bodyweight","text":{"status":"generated","div":"<div xmlns=\"http://www.w3.o | CODE |
| MEDIUM | …core/src/typeschema/__test__/capability-statement.json | 1 | {"resourceType":"StructureDefinition","id":"CapabilityStatement","meta":{"lastUpdated":"2019-11-01T09:29:23.356+11:00"}, | CODE |
| MEDIUM | …core/src/typeschema/__test__/capability-statement.json | 1 | {"resourceType":"StructureDefinition","id":"CapabilityStatement","meta":{"lastUpdated":"2019-11-01T09:29:23.356+11:00"}, | CODE |
| MEDIUM | …re/src/typeschema/__test__/us-core-smoking-status.json | 6 | "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\ | CODE |
| MEDIUM | packages/core/src/fhirpath/utils.ts | 403 | // Essentially they must both be `undefined` or both the same. | COMMENT |
| MEDIUM | …/src/fhir/r4/testing/uscore-v7.0.0-smoking-status.json | 6 | "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\ | CODE |
| MEDIUM⚡ | …hir/r4/testing/uscore-v5.0.1-structuredefinitions.json | 1 | [{"resourceType":"StructureDefinition","id":"us-core-patient","url":"http://hl7.org/fhir/us/core/StructureDefinition/us- | CODE |
| MEDIUM⚡ | …hir/r4/testing/uscore-v5.0.1-structuredefinitions.json | 1 | [{"resourceType":"StructureDefinition","id":"us-core-patient","url":"http://hl7.org/fhir/us/core/StructureDefinition/us- | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …ider/src/components/insurance/CoverageRequestInbox.tsx | 238 | // ── Empty state ─────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …ider/src/components/insurance/CoverageRequestInbox.tsx | 253 | // ── Skeletons ───────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …src/components/insurance/CoverageRequestInbox.test.tsx | 22 | // ── Fixtures ────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …src/components/insurance/CoverageRequestInbox.test.tsx | 83 | // ── Helpers ─────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …src/components/insurance/CoverageRequestInbox.test.tsx | 97 | // ── Test setup ──────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …src/components/insurance/CoverageRequestInbox.test.tsx | 125 | // ── Tests ───────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …src/components/insurance/CoverageRequestInbox.test.tsx | 138 | // ── No coverage selected ──────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …src/components/insurance/CoverageRequestInbox.test.tsx | 147 | // ── Coverage detail panel ─────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …src/components/insurance/CoverageRequestInbox.test.tsx | 260 | // ── Check Eligibility button ──────────────────────────────────────────────── | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH⚡ | …re/src/typeschema/__test__/us-core-blood-pressure.json | 1 | {"resourceType":"StructureDefinition","id":"us-core-blood-pressure","text":{"status":"extensions","div":"<div xmlns=\"ht | CODE |
| HIGH⚡ | …/core/src/typeschema/__test__/body-weight-profile.json | 1 | {"resourceType":"StructureDefinition","id":"bodyweight","text":{"status":"generated","div":"<div xmlns=\"http://www.w3.o | CODE |
| HIGH⚡ | …hir/r4/testing/uscore-v5.0.1-structuredefinitions.json | 1 | [{"resourceType":"StructureDefinition","id":"us-core-patient","url":"http://hl7.org/fhir/us/core/StructureDefinition/us- | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | examples/medplum-local-k8s/status-local.sh | 5 | # Check if namespace exists | COMMENT |
| LOW | examples/medplum-local-k8s/status-local.sh | 19 | # Check if Medplum is responding | COMMENT |
| LOW | examples/medplum-local-k8s/status-local.sh | 36 | # Check if Fission namespace exists | COMMENT |
| LOW⚡ | examples/medplum-local-k8s/deploy-local.sh | 19 | # Check if Fission is already installed | COMMENT |
| LOW | examples/medplum-local-k8s/deploy-local.sh | 41 | # Check if installation was successful | COMMENT |
| LOW | scripts/prepare-release.sh | 30 | # Check if a new requiredBefore entry has been added to the data migration manifest | COMMENT |
| LOW | scripts/prepare-release.sh | 47 | # Check if a new version is provided as a command line argument and override if present | COMMENT |
| LOW | scripts/prune-branches.sh | 5 | # Check if the --dryrun option is passed | COMMENT |
| LOW | scripts/build-deb.sh | 9 | # Check if dpkg-deb is available | COMMENT |
| LOW | scripts/update-example-changes.sh | 24 | # Check if the listening repo exists | COMMENT |
| LOW | scripts/upgrade.sh | 126 | # Check if there is a PR for this branch already | COMMENT |
| LOW | .github/auto_assign.yml | 7 | # Set addAssignees to 'author' to set the PR creator as the assignee. | COMMENT |
| LOW | .github/workflows/publish-meta.yml | 63 | # Check if asset already exists in S3 (idempotent check) | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | terraform/gcp/outputs.tf | 5 | # Usage: | COMMENT |
| LOW | terraform/gcp/project-services.tf | 3 | # Usage: | COMMENT |
| LOW | terraform/gcp/service-accounts.tf | 4 | # Usage: | COMMENT |
| LOW | terraform/gcp/cloud-sql.tf | 14 | # Usage: | COMMENT |
| LOW | terraform/gcp/network.tf | 4 | # Usage: | COMMENT |
| LOW | terraform/gcp/cdn.tf | 12 | # Usage: | COMMENT |
| LOW | terraform/gcp/gke.tf | 4 | # Usage: | COMMENT |
| LOW | terraform/gcp/redis.tf | 9 | # Usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | packages/docs/docs/self-hosting/sendgrid.md | 44 | "password": "YOUR_API_KEY" | CODE |
| HIGH | packages/docs/docs/self-hosting/datadog.md | 25 | "DD_API_KEY": "YOUR_API_KEY", | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | examples/medplum-provider/src/components/utils.ts | 14 | * This is a crude approximation for demonstration purposes. | COMMENT |
| MEDIUM⚡ | …hir/r4/testing/uscore-v5.0.1-structuredefinitions.json | 1 | [{"resourceType":"StructureDefinition","id":"us-core-patient","url":"http://hl7.org/fhir/us/core/StructureDefinition/us- | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | packages/docs/docs/integration/hl7-interfacing/index.md | 59 | Some organizations will enable HL7 messages dropped as files onto an SFTP server. The Medplum bot framework supports an | CODE |