adding purpose-classifier data

This commit is contained in:
2026-07-29 23:45:26 -07:00
parent a0f34b89cb
commit c9d21bfc43
61 changed files with 9839 additions and 0 deletions
+152
View File
@@ -0,0 +1,152 @@
{"prompt":"Design a longitudinal clinical-record architecture that merges encounters, labs, medications, and patient corrections from multiple source systems. Cover identity, provenance, versioning, consent, late data, deletion restrictions, auditability, regional storage, and migration from source-specific tables. Deliver an RFC and rollout plan only.","purpose":"planning","secondary":null,"mixed":false,"difficulty":0.97,"slice":"core","lang":"en"}
{"prompt":"Before implementing FHIR subscriptions, outline the delivery design for filters, authorization, retry, ordering, replay, de-identification, tenant isolation, and phased adoption.","purpose":"planning","secondary":null,"mixed":false,"difficulty":0.91,"slice":"boundary","lang":"en"}
{"prompt":"Add conditional create support to `/Patient`","purpose":"backendImpl","secondary":null,"mixed":false,"difficulty":0.62,"slice":"core","lang":"en"}
{"prompt":"Interface-engine logs from the incident:\n\n```text\nsource=hospital_17 message_type=ORU^R01 control_id=MSG88217\nreceived_at=2026-07-29T22:14:02.114Z\npatient lookup mrn=004981 result=one_match internal_id=pt_81\nOBX-3=LOINC:718-7 OBX-5=13.8 units=g/dL status=F\ninsert observation version=1 success\nsame control_id redelivered at=22:14:06.801Z\nidempotency lookup result=miss shard=3\ninsert observation version=2 success\nlater lookup control_id=MSG88217 shard=7 result=two_rows\nrouter shard key changed from sender_facility to patient_id in deploy\n```\n\nDetermine why the retry crosses idempotency shards and creates a duplicate finalized observation, and whether routing or storage constraints should have prevented it.","purpose":"debugging","secondary":null,"mixed":false,"difficulty":0.86,"slice":"pasted-context","lang":"en"}
{"prompt":"Build the SwiftUI medication-history screen with grouped dates, status badges, prescriber details, refill actions, and VoiceOver-safe terminology.","purpose":"frontendImpl","secondary":null,"mixed":false,"difficulty":0.62,"slice":"core","lang":"en"}
{"prompt":"Plan and implement a consent-enforcement service for clinical data access. Begin with a design covering policy sources, purpose of use, emergency overrides, patient revocation, cache invalidation, audit evidence, regional rules, failure behavior, and migration. Then add the policy API, evaluator, decision logs, and conformance tests. Treat the policy semantics and safety analysis as primary.","purpose":"planning","secondary":"backendImpl","mixed":true,"difficulty":0.98,"slice":"mixed","lang":"en"}
{"prompt":"Set `MAX_OBSERVATIONS` to 500","purpose":"quickFix","secondary":null,"mixed":false,"difficulty":0.07,"slice":"core","lang":"en"}
{"prompt":"Extract duplicated FHIR date parsing from Patient and Observation mappers while preserving accepted precision and errors.","purpose":"refactor","secondary":null,"mixed":false,"difficulty":0.61,"slice":"core","lang":"en"}
{"prompt":"Implement `/internal/terminology/status` with code-system versions, load time, cache age, and failed expansions.","purpose":"backendImpl","secondary":null,"mixed":false,"difficulty":0.53,"slice":"boundary","lang":"en"}
{"prompt":"make the clinician screen calmer","purpose":"frontendImpl","secondary":null,"mixed":false,"difficulty":0.42,"slice":"vague-eval","lang":"en"}
{"prompt":"Find why finalized lab results occasionally revert to preliminary after an interface-engine replay.","purpose":"debugging","secondary":null,"mixed":false,"difficulty":0.75,"slice":"core","lang":"en"}
{"prompt":"Explain how `PatientMatcher` weights names, birth dates, addresses, and identifiers, including its ambiguous-match behavior. No edits.","purpose":"review","secondary":null,"mixed":false,"difficulty":0.65,"slice":"core","lang":"en"}
{"prompt":"Deployment notes for customer success:\n\n```text\nFeature: patient-requested record corrections\nPatients submit a request against one visible record item\nRequests can include explanation and attachments\nSubmitting does not alter the clinical record\nHealth-information management staff review and disposition requests\nApproved corrections create an addendum; original data remains visible to authorized users\nStatus values: submitted, under review, accepted, partially accepted, denied\nOrganizations configure response-time targets\nNotifications contain no clinical details\nEmergency contact and demographic edits still use existing workflows\n```\n\nTurn this into patient-facing release notes and an administrator setup guide. Use neutral language and distinguish requests from actual record changes.","purpose":"writing","secondary":null,"mixed":false,"difficulty":0.5,"slice":"pasted-context","lang":"en"}
{"prompt":"Move the allergy warning icon closer to its label","purpose":"frontendImpl","secondary":null,"mixed":false,"difficulty":0.13,"slice":"boundary","lang":"en"}
{"prompt":"Write an operator guide for replaying quarantined HL7 messages, including validation, deduplication, dry runs, and verification.","purpose":"writing","secondary":null,"mixed":false,"difficulty":0.42,"slice":"core","lang":"en"}
{"prompt":"Implement the patient-merge endpoint with authorization, preview, immutable audit events, and conflict handling, then document its contract and irreversible effects.","purpose":"backendImpl","secondary":"writing","mixed":true,"difficulty":0.81,"slice":"mixed","lang":"en"}
{"prompt":"Map out a migration from proprietary lab codes to LOINC, covering mapping confidence, dual coding, historical data, review queues, validation, and rollback.","purpose":"planning","secondary":null,"mixed":false,"difficulty":0.9,"slice":"core","lang":"en"}
{"prompt":"Rename `patId` to `patientId` in `ResultMapper.kt`.","purpose":"quickFix","secondary":null,"mixed":false,"difficulty":0.04,"slice":"boundary","lang":"en"}
{"prompt":"Teach the DICOM ingestion worker to resume multipart studies and reject mixed-patient series.","purpose":"backendImpl","secondary":null,"mixed":false,"difficulty":0.72,"slice":"core","lang":"en"}
{"prompt":"Polish the appointment status card","purpose":"frontendImpl","secondary":null,"mixed":false,"difficulty":0.28,"slice":"core","lang":"en"}
{"prompt":"Bump `hapi-fhir` to `8.4.0`","purpose":"quickFix","secondary":null,"mixed":false,"difficulty":0.07,"slice":"core","lang":"en"}
{"prompt":"Rename `MasterPatientIndex` to `EnterprisePatientIndex` across packages, configuration, metrics, and documentation while preserving APIs and matching behavior.","purpose":"refactor","secondary":null,"mixed":false,"difficulty":0.68,"slice":"boundary","lang":"en"}
{"prompt":"Split `ClinicalDocumentProcessor` into parsing, validation, normalization, persistence, and indexing components without changing outputs.","purpose":"refactor","secondary":null,"mixed":false,"difficulty":0.8,"slice":"core","lang":"en"}
{"prompt":"Implementation ticket:\n\n```text\nLAB-904 — specimen chain-of-custody events\nEvents: collected, labeled, handed_off, received, aliquoted, disposed\nEach event includes specimen ID, actor, location, device time, server time, and optional note\nRules:\n- events are append-only\n- device time may be offline and out of order\n- a disposed specimen cannot receive later workflow events without supervisor override\n- duplicate scanner submissions are common\n- corrections reference the incorrect event; they never delete it\n- every override requires a reason and audit event\n- expose missing handoff and invalid transition counters\n```\n\nImplement the event model, commands, idempotency, transition checks, override flow, persistence, metrics, and tests.","purpose":"backendImpl","secondary":null,"mixed":false,"difficulty":0.87,"slice":"pasted-context","lang":"en"}
{"prompt":"Investigate why the Android barcode scanner sometimes associates a specimen with the previously opened order.","purpose":"debugging","secondary":null,"mixed":false,"difficulty":0.71,"slice":"core","lang":"en"}
{"prompt":"Create the specimen timeline UI and add a short legend for custody, corrections, overrides, and delayed offline events.","purpose":"frontendImpl","secondary":"writing","mixed":true,"difficulty":0.66,"slice":"mixed","lang":"en"}
{"prompt":"Why does the document service preserve unknown CDA sections instead of dropping them? Explain current compatibility behavior.","purpose":"review","secondary":null,"mixed":false,"difficulty":0.47,"slice":"core","lang":"en"}
{"prompt":"Rewrite the local setup for running HAPI FHIR, Orthanc, Kafka, and synthetic patient fixtures.","purpose":"writing","secondary":null,"mixed":false,"difficulty":0.35,"slice":"core","lang":"en"}
{"prompt":"This validation test became flaky after parallel terminology loading:\n\n```text\nFAIL MedicationValidatorTest.rejectsInactiveCode\nsystem=http://www.nlm.nih.gov/research/umls/rxnorm code=884173\nexpected issue=code-inactive actual=valid\nloader generation=211 started=08:01:12.001\nrequest captured generation=210\ncache miss key=rxnorm:884173\nloader swapped active store generation=211 at=08:01:12.041\nlookup executed store generation=211\nrequest audit recorded terminology_generation=210\n```\n\nDetermine whether request-scoped generation pinning is broken or the test observes an unsupported consistency guarantee. The audit record and actual lookup disagree.","purpose":"debugging","secondary":null,"mixed":false,"difficulty":0.77,"slice":"boundary","lang":"en"}
{"prompt":"finish the FHIR service","purpose":"backendImpl","secondary":null,"mixed":false,"difficulty":0.5,"slice":"vague-eval","lang":"en"}
{"prompt":"Propose an architecture for de-identifying imaging studies for research, including tag policy, pixel data, burned-in text, provenance, validation, and release controls.","purpose":"planning","secondary":null,"mixed":false,"difficulty":0.94,"slice":"core","lang":"en"}
{"prompt":"Add NDJSON bulk export to the FHIR CLI","purpose":"backendImpl","secondary":null,"mixed":false,"difficulty":0.64,"slice":"core","lang":"en"}
{"prompt":"Code review excerpt:\n\n```diff\n async function getPatient(req, res) {\n- const decision = await consent.check(req.user, req.params.id, 'treatment')\n- if (!decision.allowed) return res.sendStatus(403)\n- return res.json(await patients.load(req.params.id))\n+ const patient = await patients.load(req.params.id)\n+ consent.check(req.user, patient.id, 'treatment').catch(logger.warn)\n+ return res.json(patient)\n }\n```\n\nThe author says consent failures should not block clinical workflows. Review the security, legal, failure, audit, and data-disclosure implications. No patch requested.","purpose":"review","secondary":null,"mixed":false,"difficulty":0.78,"slice":"pasted-context","lang":"en"}
{"prompt":"Schreibe eine kurze Referenz für die bestehenden FHIR-Suchparameter, einschließlich Verkettung, Includes und Paginierung. Kein Code.","purpose":"writing","secondary":null,"mixed":false,"difficulty":0.4,"slice":"boundary","lang":"de"}
{"prompt":"Build the desktop imaging-worklist with study thumbnails, modality filters, urgency, assignment, and keyboard navigation.","purpose":"frontendImpl","secondary":null,"mixed":false,"difficulty":0.68,"slice":"core","lang":"en"}
{"prompt":"Review the current audit-log event model, explain provenance and correction linking, then turn the findings into an integrator guide.","purpose":"writing","secondary":"review","mixed":true,"difficulty":0.63,"slice":"mixed","lang":"en"}
{"prompt":"Set the terminology cache TTL to 6 hours","purpose":"quickFix","secondary":null,"mixed":false,"difficulty":0.08,"slice":"core","lang":"en"}
{"prompt":"Benenne `ObsCtx` repositoryweit in `ObservationContext` um; FHIR-Felder und Laufzeitverhalten bleiben unverändert.","purpose":"refactor","secondary":null,"mixed":false,"difficulty":0.56,"slice":"boundary","lang":"de"}
{"prompt":"Consolidate measurement-unit normalization across lab and device ingestion without changing stored values.","purpose":"refactor","secondary":null,"mixed":false,"difficulty":0.63,"slice":"core","lang":"en"}
{"prompt":"Diagnose the duplicated encounter card","purpose":"debugging","secondary":null,"mixed":false,"difficulty":0.45,"slice":"core","lang":"en"}
{"prompt":"Explain how `ConsentCache` handles revocation while a batch export is already running.","purpose":"review","secondary":null,"mixed":false,"difficulty":0.62,"slice":"core","lang":"en"}
{"prompt":"Create API documentation for the existing clinical-note amendment endpoint, including status, provenance, and errors.","purpose":"writing","secondary":null,"mixed":false,"difficulty":0.39,"slice":"boundary","lang":"en"}
{"prompt":"Plan the migration from nightly patient exports to event-driven exchange, covering ordering, replay, consent changes, backfills, validation, and rollback.","purpose":"planning","secondary":null,"mixed":false,"difficulty":0.91,"slice":"core","lang":"en"}
{"prompt":"Mobile design ticket:\n\n```text\nScreen: lab result detail\nHeader: test name, value, unit, reference range, finality status\nTrend chart shown only when comparable historical results exist\nReference ranges may vary by lab, age, sex, and effective date\nAbnormal markers must not rely on color\nExplanatory text must not interpret or diagnose the result\nActions: download report, ask clinic, view source organization\nStates: corrected result, preliminary result, unavailable range, loading, offline cached\nAccessibility: chart has data table and announces source plus date\n```\n\nImplement the iOS screen and UI tests using the existing result model. Do not add clinical interpretation.","purpose":"frontendImpl","secondary":null,"mixed":false,"difficulty":0.72,"slice":"pasted-context","lang":"en"}
{"prompt":"Implement `POST /v1/consents/{id}/revoke` with version checks, cache invalidation, and audit events.","purpose":"backendImpl","secondary":null,"mixed":false,"difficulty":0.64,"slice":"boundary","lang":"en"}
{"prompt":"Remove the extra colon from the result label","purpose":"quickFix","secondary":null,"mixed":false,"difficulty":0.03,"slice":"core","lang":"en"}
{"prompt":"Fix the clipped unit label and extract the repeated value-column width into the shared result styles.","purpose":"quickFix","secondary":"refactor","mixed":true,"difficulty":0.38,"slice":"mixed","lang":"en"}
{"prompt":"Replace scattered document-status booleans with one explicit state enum while preserving transitions and FHIR output.","purpose":"refactor","secondary":null,"mixed":false,"difficulty":0.65,"slice":"core","lang":"en"}
{"prompt":"Cambia `specId` por `specimenId` solo en `ScannerState.swift`; no cambies la lógica.","purpose":"quickFix","secondary":null,"mixed":false,"difficulty":0.06,"slice":"boundary","lang":"es"}
{"prompt":"Investigate why the clinician portal briefly shows another patient's name after using browser back.","purpose":"debugging","secondary":null,"mixed":false,"difficulty":0.78,"slice":"core","lang":"en"}
{"prompt":"Summarize the current record-correction workflow for compliance reviewers using code and tests as sources.","purpose":"writing","secondary":null,"mixed":false,"difficulty":0.43,"slice":"core","lang":"en"}
{"prompt":"Develop a capacity roadmap for retaining diagnostic images for thirty years. Include storage tiers, retrieval SLAs, integrity checks, migrations, deletion exceptions, and cost gates.","purpose":"planning","secondary":null,"mixed":false,"difficulty":0.93,"slice":"core","lang":"en"}
{"prompt":"Implement idempotent medication-dispense ingestion with source-version ordering and correction support.","purpose":"backendImpl","secondary":null,"mixed":false,"difficulty":0.72,"slice":"core","lang":"en"}
{"prompt":"Create the Compose patient-search screen with demographic filters, ambiguous matches, privacy-safe previews, and TalkBack support.","purpose":"frontendImpl","secondary":null,"mixed":false,"difficulty":0.65,"slice":"core","lang":"en"}
{"prompt":"Fix `medcation` in `codes.yaml`","purpose":"quickFix","secondary":null,"mixed":false,"difficulty":0.02,"slice":"core","lang":"en"}
{"prompt":"Merge duplicate identifier-normalization paths used by registration and patient matching while preserving results.","purpose":"refactor","secondary":null,"mixed":false,"difficulty":0.65,"slice":"core","lang":"en"}
{"prompt":"Device telemetry from a bedside monitor integration:\n\n```text\ndevice=mon_881 firmware=5.7 gateway=gw_12\nsequence=148211 heart_rate=82 timestamp=11:24:01.200\nsequence=148212 heart_rate=0 quality=disconnected timestamp=11:24:01.400\nnetwork loss begins\nsequence=148900 heart_rate=79 timestamp=11:26:18.800 delivered after reconnect\nserver last_sequence=148212\nbatch range=148213..148900 count=688\nvalidator rejected entire batch reason='timestamp regression at item 391'\ndevice clock adjusted -42s by NTP during outage\nretry repeats forever\n```\n\nDetermine why one clock adjustment poisons the whole buffered batch and whether sequence order or device time should govern acceptance and retry behavior.","purpose":"debugging","secondary":null,"mixed":false,"difficulty":0.81,"slice":"pasted-context","lang":"en"}
{"prompt":"Rename `allergie_code` to `allergy_code` in the unreleased migration.","purpose":"quickFix","secondary":null,"mixed":false,"difficulty":0.06,"slice":"boundary","lang":"en"}
{"prompt":"Assess whether the research-export pseudonymization allows records from the same patient to be linked across studies unintentionally. Review only.","purpose":"review","secondary":null,"mixed":false,"difficulty":0.75,"slice":"core","lang":"en"}
{"prompt":"Restructure the clinical SDK into resources, search, subscriptions, and shared types, then write a maintainer note. Preserve public APIs.","purpose":"refactor","secondary":"writing","mixed":true,"difficulty":0.76,"slice":"mixed","lang":"en"}
{"prompt":"Plan the retirement of a legacy HL7 v2 interface, covering partner inventory, message parity, dual delivery, acknowledgements, validation, and removal gates.","purpose":"planning","secondary":null,"mixed":false,"difficulty":0.88,"slice":"core","lang":"en"}
{"prompt":"Add immutable provenance chains to transformed clinical observations.","purpose":"backendImpl","secondary":null,"mixed":false,"difficulty":0.74,"slice":"core","lang":"en"}
{"prompt":"Build the tablet care-team directory with role grouping, availability, secure contact actions, and accessible search.","purpose":"frontendImpl","secondary":null,"mixed":false,"difficulty":0.58,"slice":"core","lang":"en"}
{"prompt":"do the patient page","purpose":"frontendImpl","secondary":null,"mixed":false,"difficulty":0.4,"slice":"vague-eval","lang":"en"}
{"prompt":"Replace `PatRef` with `PatientReference` across packages while preserving serialized field names and public aliases.","purpose":"refactor","secondary":null,"mixed":false,"difficulty":0.57,"slice":"boundary","lang":"en"}
{"prompt":"Diagnose why downloaded clinical PDFs omit addenda, implement the verified document-assembly fix, and add a support note for regenerating affected exports.","purpose":"debugging","secondary":"writing","mixed":true,"difficulty":0.8,"slice":"mixed","lang":"en"}
{"prompt":"Why does the subscription service delay delivery for 30 seconds after a patient merge? Explain existing consistency behavior.","purpose":"review","secondary":null,"mixed":false,"difficulty":0.5,"slice":"boundary","lang":"en"}
{"prompt":"Track down the memory leak in the DICOM thumbnail worker after processing multiframe studies.","purpose":"debugging","secondary":null,"mixed":false,"difficulty":0.73,"slice":"core","lang":"en"}
{"prompt":"Write release notes for configurable result-notification delays, including defaults, exceptions, and old-client behavior.","purpose":"writing","secondary":null,"mixed":false,"difficulty":0.36,"slice":"core","lang":"en"}
{"prompt":"Consent redesign notes:\n\n```text\nCurrent: one organization-wide consent flag per patient\nNew need: permission by data category, purpose, recipient, and time range\nEmergency access may override treatment restrictions but never research restrictions\nRevocation should affect new reads within five minutes\nExisting exports may run for hours\nPatients need a human-readable history of decisions\nImported consent documents may conflict with portal choices\nSource authority differs by jurisdiction\nOld clients understand only allowed or denied\n```\n\nProduce an implementation-free data model and migration plan covering precedence, conflicts, emergency access, revocation, exports, compatibility, audit, and rollout.","purpose":"planning","secondary":null,"mixed":false,"difficulty":0.94,"slice":"pasted-context","lang":"en"}
{"prompt":"Give the imaging viewer a clearer toolbar hierarchy","purpose":"frontendImpl","secondary":null,"mixed":false,"difficulty":0.34,"slice":"core","lang":"en"}
{"prompt":"Turn the existing patient-matching behavior into administrator documentation, then review whether confidence thresholds and manual-review claims match the implementation.","purpose":"writing","secondary":"review","mixed":true,"difficulty":0.69,"slice":"mixed","lang":"en"}
{"prompt":"Outline a phased architecture for moving terminology lookup from embedded files to a managed service, without implementing it yet.","purpose":"planning","secondary":null,"mixed":false,"difficulty":0.84,"slice":"boundary","lang":"en"}
{"prompt":"Implement version-aware FHIR resource history with deletion tombstones and pagination.","purpose":"backendImpl","secondary":null,"mixed":false,"difficulty":0.78,"slice":"core","lang":"en"}
{"prompt":"Create an operator guide for diagnosing delayed ADT messages without exposing patient data in logs.","purpose":"writing","secondary":null,"mixed":false,"difficulty":0.41,"slice":"core","lang":"en"}
{"prompt":"Move code-system expansion out of `TerminologyController` while preserving results and cache behavior.","purpose":"refactor","secondary":null,"mixed":false,"difficulty":0.59,"slice":"core","lang":"en"}
{"prompt":"Investigate why revoked proxy access remains visible in one regional clinician portal.","purpose":"debugging","secondary":null,"mixed":false,"difficulty":0.7,"slice":"boundary","lang":"en"}
{"prompt":"Add generation-fenced terminology publication with atomic rollback.","purpose":"backendImpl","secondary":null,"mixed":false,"difficulty":0.65,"slice":"core","lang":"en"}
{"prompt":"Set the imaging upload timeout to 20 minutes","purpose":"quickFix","secondary":null,"mixed":false,"difficulty":0.08,"slice":"core","lang":"en"}
{"prompt":"Create the responsive care-plan timeline with milestones, assignments, overdue states, and accessible chronology.","purpose":"frontendImpl","secondary":null,"mixed":false,"difficulty":0.62,"slice":"core","lang":"en"}
{"prompt":"Corrige apenas `patint` para `patient` no novo título.","purpose":"quickFix","secondary":null,"mixed":false,"difficulty":0.03,"slice":"boundary","lang":"pt"}
{"prompt":"Review the bulk FHIR import path for tenant confusion, reference spoofing, oversized bundles, and partial-commit ambiguity.","purpose":"review","secondary":null,"mixed":false,"difficulty":0.76,"slice":"core","lang":"en"}
{"prompt":"Implement clinical-document export jobs and write the integration guide. Include filters, consent checks, asynchronous states, retention, examples, and permissions.","purpose":"backendImpl","secondary":"writing","mixed":true,"difficulty":0.73,"slice":"mixed","lang":"en"}
{"prompt":"Design a migration from organization-local patient IDs to a federated identity graph, including confidence, merges, splits, privacy, and rollout.","purpose":"planning","secondary":null,"mixed":false,"difficulty":0.95,"slice":"core","lang":"en"}
{"prompt":"Add resumable DICOMweb uploads with per-instance checksums and duplicate detection.","purpose":"backendImpl","secondary":null,"mixed":false,"difficulty":0.71,"slice":"core","lang":"en"}
{"prompt":"Build the desktop terminology browser with hierarchy navigation, version comparison, mappings, and keyboard controls.","purpose":"frontendImpl","secondary":null,"mixed":false,"difficulty":0.67,"slice":"core","lang":"en"}
{"prompt":"continue the consent work","purpose":"planning","secondary":null,"mixed":false,"difficulty":0.59,"slice":"vague-eval","lang":"en"}
{"prompt":"Extract resource-reference normalization into one utility while preserving canonical URLs and accepted forms.","purpose":"refactor","secondary":null,"mixed":false,"difficulty":0.57,"slice":"boundary","lang":"en"}
{"prompt":"Investigate why corrected lab results trigger two patient notifications, implement the verified event-deduplication fix, and update operator documentation.","purpose":"debugging","secondary":"writing","mixed":true,"difficulty":0.79,"slice":"mixed","lang":"en"}
{"prompt":"Assess the proposed clinical-data cache for consent revocation, emergency access, regional rules, stale demographics, and isolation. Review only.","purpose":"review","secondary":null,"mixed":false,"difficulty":0.74,"slice":"boundary","lang":"en"}
{"prompt":"Find why one interface-engine partition stops acknowledging messages after a malformed segment.","purpose":"debugging","secondary":null,"mixed":false,"difficulty":0.66,"slice":"core","lang":"en"}
{"prompt":"Draft a migration guide for partners moving from HL7 v2 results to FHIR DiagnosticReport resources.","purpose":"writing","secondary":null,"mixed":false,"difficulty":0.43,"slice":"core","lang":"en"}
{"prompt":"Data-quality incident report:\n\n```text\npipeline=medication-normalization date=2026-07-29\ninput rows=22,841,992\nmapped to RxNorm=22,102,114\nunmapped=739,878 baseline=81,220\nsource facility=fac_91 accounts for 654,118 unmapped\nraw code examples: '00093-1045-98 ', '00093104598', '00093‐1045‐98'\nnormalizer strips ASCII hyphen and spaces\nnew feed contains Unicode U+2010 hyphen\nquality gate checks total row count and null medication name, not mapping rate\npipeline published generation=418 automatically\n```\n\nDetermine why normalization and quality checks missed the format change and what evidence confirms the Unicode delimiter as the cause.","purpose":"debugging","secondary":null,"mixed":false,"difficulty":0.75,"slice":"pasted-context","lang":"en"}
{"prompt":"Add source-organization text below the result","purpose":"frontendImpl","secondary":null,"mixed":false,"difficulty":0.24,"slice":"core","lang":"en"}
{"prompt":"Restructure the de-identification pipeline and document its transform interface. Preserve outputs while separating detection, policy, transformation, validation, and release.","purpose":"refactor","secondary":"writing","mixed":true,"difficulty":0.83,"slice":"mixed","lang":"en"}
{"prompt":"Architect a national-scale immunization exchange with regional ownership, deduplication, consent, corrections, availability, and migration milestones.","purpose":"planning","secondary":null,"mixed":false,"difficulty":0.98,"slice":"boundary","lang":"en"}
{"prompt":"Implement signed provenance receipts for clinical data imports.","purpose":"backendImpl","secondary":null,"mixed":false,"difficulty":0.7,"slice":"core","lang":"en"}
{"prompt":"Write an onboarding guide for adding a new FHIR profile, including validation, search, examples, compatibility, and conformance tests.","purpose":"writing","secondary":null,"mixed":false,"difficulty":0.47,"slice":"core","lang":"en"}
{"prompt":"Consolidate patient-name formatting across portal and export services without changing displayed results.","purpose":"refactor","secondary":null,"mixed":false,"difficulty":0.57,"slice":"core","lang":"en"}
{"prompt":"Investigate why encounter updates arrive in the portal before their associated care-team records.","purpose":"debugging","secondary":null,"mixed":false,"difficulty":0.64,"slice":"boundary","lang":"en"}
{"prompt":"Add transactional research-cohort publication with immutable criteria snapshots.","purpose":"backendImpl","secondary":null,"mixed":false,"difficulty":0.72,"slice":"core","lang":"en"}
{"prompt":"Pin Orthanc to `1.12.9`","purpose":"quickFix","secondary":null,"mixed":false,"difficulty":0.06,"slice":"core","lang":"en"}
{"prompt":"Build the mobile consent-history view with purpose grouping, effective dates, revocation, downloads, and accessible summaries.","purpose":"frontendImpl","secondary":null,"mixed":false,"difficulty":0.65,"slice":"core","lang":"en"}
{"prompt":"Remplace `Observaton` par `Observation` uniquement dans le nouveau libellé.","purpose":"quickFix","secondary":null,"mixed":false,"difficulty":0.03,"slice":"boundary","lang":"fr"}
{"prompt":"Inspect the diagnostic-report download endpoint for identifier enumeration, stale authorization, range-request abuse, and cache leakage.","purpose":"review","secondary":null,"mixed":false,"difficulty":0.73,"slice":"core","lang":"en"}
{"prompt":"Implement terminology-version history and write its API documentation. Include activation, mappings, rollback, pagination, examples, and permissions.","purpose":"backendImpl","secondary":"writing","mixed":true,"difficulty":0.69,"slice":"mixed","lang":"en"}
{"prompt":"Develop a roadmap for replacing manual chart abstraction with assisted extraction, including evaluation, human review, provenance, bias checks, and rollout.","purpose":"planning","secondary":null,"mixed":false,"difficulty":0.91,"slice":"core","lang":"en"}
{"prompt":"Add bounded event replay for patient timelines with checkpointed projections.","purpose":"backendImpl","secondary":null,"mixed":false,"difficulty":0.68,"slice":"core","lang":"en"}
{"prompt":"Create the responsive clinic-location picker with distance, availability, accessibility features, map alternative, and saved choices.","purpose":"frontendImpl","secondary":null,"mixed":false,"difficulty":0.59,"slice":"core","lang":"en"}
{"prompt":"fix the result issue","purpose":"debugging","secondary":null,"mixed":false,"difficulty":0.52,"slice":"vague-eval","lang":"en"}
{"prompt":"Replace `TermSvc` with `TerminologyService` across packages while preserving configuration and APIs.","purpose":"refactor","secondary":null,"mixed":false,"difficulty":0.55,"slice":"boundary","lang":"en"}
{"prompt":"Diagnose why research exports contain revoked records, implement the verified consent-checkpoint fix, and add a compliance-facing incident note.","purpose":"debugging","secondary":"writing","mixed":true,"difficulty":0.87,"slice":"mixed","lang":"en"}
{"prompt":"Why does the patient matcher retain rejected candidate pairs? Explain the current audit and model-evaluation rationale.","purpose":"review","secondary":null,"mixed":false,"difficulty":0.47,"slice":"boundary","lang":"en"}
{"prompt":"Track down intermittent corrupt thumbnails for compressed ultrasound studies.","purpose":"debugging","secondary":null,"mixed":false,"difficulty":0.7,"slice":"core","lang":"en"}
{"prompt":"Write a troubleshooting guide for missing clinical documents, covering source delivery, validation, consent, indexing, and merges.","purpose":"writing","secondary":null,"mixed":false,"difficulty":0.43,"slice":"core","lang":"en"}
{"prompt":"Security review packet:\n\n```text\nFeature: clinician break-glass access\nTrigger: user chooses emergency access and enters free-text reason\nScope: one patient, all treatment data, 60 minutes\nNo manager approval required before access\nPatient and privacy office receive notification within 24 hours\nRepeated use enters weekly review report\nAccess cannot reveal specially restricted research data\nSession continues if notification service is unavailable\nCurrent UI preselects the most recently viewed patient\nAudit stores reason, user, patient, time, and viewed resources\n```\n\nReview the workflow for accidental use, target binding, scope, duration, notification failure, reason quality, auditing, and abuse detection. Do not implement.","purpose":"review","secondary":null,"mixed":false,"difficulty":0.81,"slice":"pasted-context","lang":"en"}
{"prompt":"Add a loading skeleton to the care timeline","purpose":"frontendImpl","secondary":null,"mixed":false,"difficulty":0.23,"slice":"core","lang":"en"}
{"prompt":"Plan and implement organization-managed retention policies for clinical messages. First define legal holds, category rules, patient access, backups, deletion evidence, conflicts, and rollout; then add policy storage and enforcement jobs.","purpose":"planning","secondary":"backendImpl","mixed":true,"difficulty":0.95,"slice":"mixed","lang":"en"}
{"prompt":"Outline an architecture for near-real-time public-health reporting with corrections, provenance, de-identification, regional outages, and phased adoption.","purpose":"planning","secondary":null,"mixed":false,"difficulty":0.94,"slice":"boundary","lang":"en"}
{"prompt":"Implement FHIR `_history` pagination with snapshot-consistent cursors.","purpose":"backendImpl","secondary":null,"mixed":false,"difficulty":0.7,"slice":"core","lang":"en"}
{"prompt":"Escribe una guía para integrar resultados de laboratorio, con validación, códigos, correcciones y pruebas.","purpose":"writing","secondary":null,"mixed":false,"difficulty":0.4,"slice":"core","lang":"es"}
{"prompt":"Move consent-purpose mapping out of the export worker without changing access decisions.","purpose":"refactor","secondary":null,"mixed":false,"difficulty":0.59,"slice":"core","lang":"en"}
{"prompt":"Investigate why the Android app shows stale appointment availability after changing clinics.","purpose":"debugging","secondary":null,"mixed":false,"difficulty":0.58,"slice":"boundary","lang":"en"}
{"prompt":"Add atomic clinical-code mapping publication with preview and rollback.","purpose":"backendImpl","secondary":null,"mixed":false,"difficulty":0.66,"slice":"core","lang":"en"}
{"prompt":"Remove the obsolete `legacy_mrn` toggle","purpose":"quickFix","secondary":null,"mixed":false,"difficulty":0.04,"slice":"core","lang":"en"}
{"prompt":"Build the patient-document viewer with section navigation, source metadata, addenda, print, and accessible reading order.","purpose":"frontendImpl","secondary":null,"mixed":false,"difficulty":0.65,"slice":"core","lang":"en"}
{"prompt":"`Patiet details` を `Patient details` に直して。新しい見出しだけです。","purpose":"quickFix","secondary":null,"mixed":false,"difficulty":0.03,"slice":"boundary","lang":"ja"}
{"prompt":"Review the SMART-on-FHIR launch path for audience validation, patient-context substitution, replay, and stale scopes.","purpose":"review","secondary":null,"mixed":false,"difficulty":0.77,"slice":"core","lang":"en"}
{"prompt":"Implement consent-decision history and write its API guide. Include inputs, outcome, policy version, pagination, redaction, examples, and permissions.","purpose":"backendImpl","secondary":"writing","mixed":true,"difficulty":0.71,"slice":"mixed","lang":"en"}
{"prompt":"Plan a disaster-recovery strategy for clinical exchange, including interfaces, queues, terminology, keys, replay, drills, and RTO tiers.","purpose":"planning","secondary":null,"mixed":false,"difficulty":0.93,"slice":"core","lang":"en"}
{"prompt":"Add content-hash deduplication to imported clinical documents with provenance preservation.","purpose":"backendImpl","secondary":null,"mixed":false,"difficulty":0.65,"slice":"core","lang":"en"}
{"prompt":"Create the desktop patient-merge review UI with side-by-side demographics, source evidence, conflicts, and confirmation.","purpose":"frontendImpl","secondary":null,"mixed":false,"difficulty":0.69,"slice":"core","lang":"en"}
{"prompt":"continue the data cleanup","purpose":"refactor","secondary":null,"mixed":false,"difficulty":0.43,"slice":"vague-eval","lang":"en"}
{"prompt":"Rename `ClinDoc` to `ClinicalDocument` across the monorepo while preserving serialized resource names.","purpose":"refactor","secondary":null,"mixed":false,"difficulty":0.59,"slice":"boundary","lang":"en"}
{"prompt":"Investigate why patient merges break old document links, implement the verified alias fix, and update migration documentation.","purpose":"debugging","secondary":"writing","mixed":true,"difficulty":0.8,"slice":"mixed","lang":"en"}
{"prompt":"Assess the proposed offline clinician cache for shared devices, consent revocation, encryption, stale data, and logout cleanup.","purpose":"review","secondary":null,"mixed":false,"difficulty":0.75,"slice":"boundary","lang":"en"}
{"prompt":"Find why the FHIR subscription worker emits updates out of version order after reconnecting.","purpose":"debugging","secondary":null,"mixed":false,"difficulty":0.7,"slice":"core","lang":"en"}
{"prompt":"Draft a support guide for resolving duplicate patient records without losing provenance.","purpose":"writing","secondary":null,"mixed":false,"difficulty":0.42,"slice":"core","lang":"en"}
{"prompt":"Pipeline error output:\n\n```text\njob=research-export cohort=co_119 snapshot=2026-07-29T00:00Z\neligible patients=18,442\nexported patients=18,438\nmissing=4\nall missing have merge events after snapshot time\ncohort membership resolved against snapshot\npatient alias resolution queried current table\nold IDs map to new canonical IDs created after snapshot\nresource query uses snapshot and cannot find new canonical IDs\njob records missing as source_deleted and completes successfully\n```\n\nDetermine how mixing snapshot-time membership with current alias resolution loses four patients and why the completion rule misclassifies them as deleted.","purpose":"debugging","secondary":null,"mixed":false,"difficulty":0.79,"slice":"pasted-context","lang":"en"}
{"prompt":"Add effective-date text to the consent card","purpose":"frontendImpl","secondary":null,"mixed":false,"difficulty":0.25,"slice":"core","lang":"en"}
{"prompt":"Restructure the terminology loader and document its provider interface. Preserve lookup results while separating fetch, parse, validate, index, and activate.","purpose":"refactor","secondary":"writing","mixed":true,"difficulty":0.79,"slice":"mixed","lang":"en"}
{"prompt":"Architect a multi-region clinical terminology service with immutable versions, tenant overlays, availability, audit, and migration milestones.","purpose":"planning","secondary":null,"mixed":false,"difficulty":0.94,"slice":"boundary","lang":"en"}
{"prompt":"Implement signed export manifests with resource counts, policy versions, and content digests.","purpose":"backendImpl","secondary":null,"mixed":false,"difficulty":0.69,"slice":"core","lang":"en"}
{"prompt":"Write an onboarding guide for adding a new HL7 message type, including parsing, acknowledgements, mappings, fixtures, and monitoring.","purpose":"writing","secondary":null,"mixed":false,"difficulty":0.45,"slice":"core","lang":"en"}
{"prompt":"Consolidate clinical-date formatting across portal and document exports without changing displayed values.","purpose":"refactor","secondary":null,"mixed":false,"difficulty":0.57,"slice":"core","lang":"en"}
{"prompt":"Investigate why a corrected encounter diagnosis remains in search suggestions.","purpose":"debugging","secondary":null,"mixed":false,"difficulty":0.63,"slice":"boundary","lang":"en"}
{"prompt":"Add transactionally consistent patient timeline projections with replay checkpoints.","purpose":"backendImpl","secondary":null,"mixed":false,"difficulty":0.72,"slice":"core","lang":"en"}
{"prompt":"Set the subscription retry limit to 12","purpose":"quickFix","secondary":null,"mixed":false,"difficulty":0.07,"slice":"core","lang":"en"}
{"prompt":"Build the mobile proxy-access manager with relationship labels, expiry, revoke, invite, and accessible confirmations.","purpose":"frontendImpl","secondary":null,"mixed":false,"difficulty":0.63,"slice":"core","lang":"en"}
{"prompt":"把 `Medcation history` 改成 `Medication history`,不要修改 key。","purpose":"quickFix","secondary":null,"mixed":false,"difficulty":0.03,"slice":"boundary","lang":"zh"}
{"prompt":"Inspect the research cohort query endpoint for inference attacks, overly precise counts, authorization gaps, and expensive predicates.","purpose":"review","secondary":null,"mixed":false,"difficulty":0.76,"slice":"core","lang":"en"}
{"prompt":"Implement patient-alias history and write its API documentation. Include merges, splits, effective dates, pagination, examples, and permissions.","purpose":"backendImpl","secondary":"writing","mixed":true,"difficulty":0.7,"slice":"mixed","lang":"en"}