From 2f5686c3a1149862324bf11300aafad82ab3aa57 Mon Sep 17 00:00:00 2001 From: GAJ3T Date: Tue, 13 Oct 2026 15:54:55 -0400 Subject: [PATCH] consolidating Generator into this repo --- PHI.Data.Generator/.gitattributes | 63 + PHI.Data.Generator/.gitignore | 363 ++ PHI.Data.Generator/AddKeywordCatalog.sql | 33 + .../Contracts/CompleteTextRequest.cs | 10 + .../Contracts/GenerationRunResponse.cs | 9 + .../Contracts/KeywordLoadResponse.cs | 9 + .../TrainingItemKeywordBackfillResponse.cs | 11 + .../Contracts/TrainingItemsResetResponse.cs | 3 + .../RLHF.Generator.Api/Program.cs | 296 ++ .../Properties/launchSettings.json | 23 + .../RLHF.Generator.Api.csproj | 22 + .../RLHF.Generator.Api/appsettings.json | 28 + .../CaseInsensitiveLmValidationTests.cs | 126 + .../CommittedBatchGenerationTests.cs | 742 +++ .../GenerationEndpointAwaitingTests.cs | 314 ++ .../GenerationThroughputLoggingTests.cs | 416 ++ .../KeywordCatalogPhase1Tests.cs | 324 ++ .../ProductionProviderIsolationTests.cs | 76 + .../RLHF.Generator.Tests.csproj | 28 + .../TestSqliteProvider.cs | 11 + PHI.Data.Generator/RLHF.Generator.slnx | 5 + .../RLHF.Generator/Data/Categories.zip | Bin 0 -> 68392 bytes .../Data/Categories/MEDICAL_ALLERGY.txt | 779 +++ .../Data/Categories/MEDICAL_DIAGNOSIS.txt | 1299 +++++ .../Categories/MEDICAL_FAMILY_HISTORY.txt | 6 + .../Data/Categories/MEDICAL_MEDICATION.txt | 4213 +++++++++++++++++ .../Data/Categories/MEDICAL_MENTAL_HEALTH.txt | 154 + .../Data/Categories/MEDICAL_OTHER.txt | 271 ++ .../Categories/MEDICAL_PHYSICAL_HEALTH.txt | 694 +++ .../Data/Categories/MEDICAL_PROCEDURE.txt | 115 + .../Data/Categories/MEDICAL_SUBSTANCE_USE.txt | 272 ++ .../Data/Categories/MEDICAL_SYMPTOM.txt | 781 +++ .../Data/Categories/MEDICAL_TEST.txt | 536 +++ .../Data/Categories/MEDICAL_TREATMENT.txt | 444 ++ .../Categories_Grammatical_Forms_Audited.zip | Bin 0 -> 70523 bytes .../RLHF.Generator/Data/Patterns.zip | Bin 0 -> 38790 bytes .../Patterns/MEDICAL_ALLERGY.negative.txt | 561 +++ .../Patterns/MEDICAL_ALLERGY.positive.txt | 306 ++ .../Patterns/MEDICAL_DIAGNOSIS.negative.txt | 75 + .../Patterns/MEDICAL_DIAGNOSIS.positive.txt | 46 + .../MEDICAL_FAMILY_HISTORY.negative.txt | 53 + .../MEDICAL_FAMILY_HISTORY.positive.txt | 62 + .../Patterns/MEDICAL_MEDICATION.negative.txt | 174 + .../Patterns/MEDICAL_MEDICATION.positive.txt | 276 ++ .../MEDICAL_MENTAL_HEALTH.negative.txt | 379 ++ .../MEDICAL_MENTAL_HEALTH.positive.txt | 227 + .../Data/Patterns/MEDICAL_OTHER.negative.txt | 379 ++ .../Data/Patterns/MEDICAL_OTHER.positive.txt | 327 ++ .../MEDICAL_PHYSICAL_HEALTH.negative.txt | 379 ++ .../MEDICAL_PHYSICAL_HEALTH.positive.txt | 251 + .../Patterns/MEDICAL_PROCEDURE.negative.txt | 330 ++ .../Patterns/MEDICAL_PROCEDURE.positive.txt | 207 + .../MEDICAL_SUBSTANCE_USE.negative.txt | 379 ++ .../MEDICAL_SUBSTANCE_USE.positive.txt | 393 ++ .../Patterns/MEDICAL_SYMPTOM.negative.txt | 432 ++ .../Patterns/MEDICAL_SYMPTOM.positive.txt | 401 ++ .../Data/Patterns/MEDICAL_TEST.negative.txt | 324 ++ .../Data/Patterns/MEDICAL_TEST.positive.txt | 37 + .../Patterns/MEDICAL_TREATMENT.negative.txt | 360 ++ .../Patterns/MEDICAL_TREATMENT.positive.txt | 367 ++ .../RLHF.Generator/Data/Subjects.txt | 4 + .../Generation/GenerationOptions.cs | 14 + .../Generation/GenerationRunResult.cs | 9 + .../Generation/TrainingGenerationService.cs | 1127 +++++ .../Keywords/KeywordLoadService.cs | 115 + .../TrainingItemKeywordBackfillService.cs | 235 + .../RLHF.Generator/LmStudio/LmStudioClient.cs | 382 ++ .../LmStudio/LmStudioOptions.cs | 22 + .../RLHF.Generator/LmStudio/SentenceTenses.cs | 43 + .../RLHF.Generator/Persistence/Category.cs | 10 + .../Persistence/GenerationRun.cs | 34 + .../Persistence/GenerationRunStatuses.cs | 18 + .../RLHF.Generator/Persistence/Keyword.cs | 16 + .../Persistence/KeywordVariant.cs | 12 + .../20260724081401_InitialCreate.Designer.cs | 139 + .../20260724081401_InitialCreate.cs | 93 + ...045229_DurableGenerationResume.Designer.cs | 229 + .../20260726045229_DurableGenerationResume.cs | 145 + ...260727025048_AddKeywordCatalog.Designer.cs | 323 ++ .../20260727025048_AddKeywordCatalog.cs | 122 + .../RlhfGeneratorDbContextModelSnapshot.cs | 320 ++ .../Persistence/RlhfGeneratorDbContext.cs | 117 + ...RlhfGeneratorDesignTimeDbContextFactory.cs | 47 + .../Persistence/TrainingItem.cs | 22 + .../Persistence/TrainingItemResetService.cs | 27 + .../RLHF.Generator/RLHF.Generator.csproj | 24 + .../TrainingData/TrainingCategories.cs | 54 + .../TrainingCategoryDefinition.cs | 3 + .../TrainingData/TrainingCategoryValue.cs | 19 + .../TrainingData/TrainingDataReader.cs | 225 + .../TrainingData/TrainingSubjects.cs | 14 + README.md | 4 +- 92 files changed, 23167 insertions(+), 2 deletions(-) create mode 100644 PHI.Data.Generator/.gitattributes create mode 100644 PHI.Data.Generator/.gitignore create mode 100644 PHI.Data.Generator/AddKeywordCatalog.sql create mode 100644 PHI.Data.Generator/RLHF.Generator.Api/Contracts/CompleteTextRequest.cs create mode 100644 PHI.Data.Generator/RLHF.Generator.Api/Contracts/GenerationRunResponse.cs create mode 100644 PHI.Data.Generator/RLHF.Generator.Api/Contracts/KeywordLoadResponse.cs create mode 100644 PHI.Data.Generator/RLHF.Generator.Api/Contracts/TrainingItemKeywordBackfillResponse.cs create mode 100644 PHI.Data.Generator/RLHF.Generator.Api/Contracts/TrainingItemsResetResponse.cs create mode 100644 PHI.Data.Generator/RLHF.Generator.Api/Program.cs create mode 100644 PHI.Data.Generator/RLHF.Generator.Api/Properties/launchSettings.json create mode 100644 PHI.Data.Generator/RLHF.Generator.Api/RLHF.Generator.Api.csproj create mode 100644 PHI.Data.Generator/RLHF.Generator.Api/appsettings.json create mode 100644 PHI.Data.Generator/RLHF.Generator.Tests/CaseInsensitiveLmValidationTests.cs create mode 100644 PHI.Data.Generator/RLHF.Generator.Tests/CommittedBatchGenerationTests.cs create mode 100644 PHI.Data.Generator/RLHF.Generator.Tests/GenerationEndpointAwaitingTests.cs create mode 100644 PHI.Data.Generator/RLHF.Generator.Tests/GenerationThroughputLoggingTests.cs create mode 100644 PHI.Data.Generator/RLHF.Generator.Tests/KeywordCatalogPhase1Tests.cs create mode 100644 PHI.Data.Generator/RLHF.Generator.Tests/ProductionProviderIsolationTests.cs create mode 100644 PHI.Data.Generator/RLHF.Generator.Tests/RLHF.Generator.Tests.csproj create mode 100644 PHI.Data.Generator/RLHF.Generator.Tests/TestSqliteProvider.cs create mode 100644 PHI.Data.Generator/RLHF.Generator.slnx create mode 100644 PHI.Data.Generator/RLHF.Generator/Data/Categories.zip create mode 100644 PHI.Data.Generator/RLHF.Generator/Data/Categories/MEDICAL_ALLERGY.txt create mode 100644 PHI.Data.Generator/RLHF.Generator/Data/Categories/MEDICAL_DIAGNOSIS.txt create mode 100644 PHI.Data.Generator/RLHF.Generator/Data/Categories/MEDICAL_FAMILY_HISTORY.txt create mode 100644 PHI.Data.Generator/RLHF.Generator/Data/Categories/MEDICAL_MEDICATION.txt create mode 100644 PHI.Data.Generator/RLHF.Generator/Data/Categories/MEDICAL_MENTAL_HEALTH.txt create mode 100644 PHI.Data.Generator/RLHF.Generator/Data/Categories/MEDICAL_OTHER.txt create mode 100644 PHI.Data.Generator/RLHF.Generator/Data/Categories/MEDICAL_PHYSICAL_HEALTH.txt create mode 100644 PHI.Data.Generator/RLHF.Generator/Data/Categories/MEDICAL_PROCEDURE.txt create mode 100644 PHI.Data.Generator/RLHF.Generator/Data/Categories/MEDICAL_SUBSTANCE_USE.txt create mode 100644 PHI.Data.Generator/RLHF.Generator/Data/Categories/MEDICAL_SYMPTOM.txt create mode 100644 PHI.Data.Generator/RLHF.Generator/Data/Categories/MEDICAL_TEST.txt create mode 100644 PHI.Data.Generator/RLHF.Generator/Data/Categories/MEDICAL_TREATMENT.txt create mode 100644 PHI.Data.Generator/RLHF.Generator/Data/Categories_Grammatical_Forms_Audited.zip create mode 100644 PHI.Data.Generator/RLHF.Generator/Data/Patterns.zip create mode 100644 PHI.Data.Generator/RLHF.Generator/Data/Patterns/MEDICAL_ALLERGY.negative.txt create mode 100644 PHI.Data.Generator/RLHF.Generator/Data/Patterns/MEDICAL_ALLERGY.positive.txt create mode 100644 PHI.Data.Generator/RLHF.Generator/Data/Patterns/MEDICAL_DIAGNOSIS.negative.txt create mode 100644 PHI.Data.Generator/RLHF.Generator/Data/Patterns/MEDICAL_DIAGNOSIS.positive.txt create mode 100644 PHI.Data.Generator/RLHF.Generator/Data/Patterns/MEDICAL_FAMILY_HISTORY.negative.txt create mode 100644 PHI.Data.Generator/RLHF.Generator/Data/Patterns/MEDICAL_FAMILY_HISTORY.positive.txt create mode 100644 PHI.Data.Generator/RLHF.Generator/Data/Patterns/MEDICAL_MEDICATION.negative.txt create mode 100644 PHI.Data.Generator/RLHF.Generator/Data/Patterns/MEDICAL_MEDICATION.positive.txt create mode 100644 PHI.Data.Generator/RLHF.Generator/Data/Patterns/MEDICAL_MENTAL_HEALTH.negative.txt create mode 100644 PHI.Data.Generator/RLHF.Generator/Data/Patterns/MEDICAL_MENTAL_HEALTH.positive.txt create mode 100644 PHI.Data.Generator/RLHF.Generator/Data/Patterns/MEDICAL_OTHER.negative.txt create mode 100644 PHI.Data.Generator/RLHF.Generator/Data/Patterns/MEDICAL_OTHER.positive.txt create mode 100644 PHI.Data.Generator/RLHF.Generator/Data/Patterns/MEDICAL_PHYSICAL_HEALTH.negative.txt create mode 100644 PHI.Data.Generator/RLHF.Generator/Data/Patterns/MEDICAL_PHYSICAL_HEALTH.positive.txt create mode 100644 PHI.Data.Generator/RLHF.Generator/Data/Patterns/MEDICAL_PROCEDURE.negative.txt create mode 100644 PHI.Data.Generator/RLHF.Generator/Data/Patterns/MEDICAL_PROCEDURE.positive.txt create mode 100644 PHI.Data.Generator/RLHF.Generator/Data/Patterns/MEDICAL_SUBSTANCE_USE.negative.txt create mode 100644 PHI.Data.Generator/RLHF.Generator/Data/Patterns/MEDICAL_SUBSTANCE_USE.positive.txt create mode 100644 PHI.Data.Generator/RLHF.Generator/Data/Patterns/MEDICAL_SYMPTOM.negative.txt create mode 100644 PHI.Data.Generator/RLHF.Generator/Data/Patterns/MEDICAL_SYMPTOM.positive.txt create mode 100644 PHI.Data.Generator/RLHF.Generator/Data/Patterns/MEDICAL_TEST.negative.txt create mode 100644 PHI.Data.Generator/RLHF.Generator/Data/Patterns/MEDICAL_TEST.positive.txt create mode 100644 PHI.Data.Generator/RLHF.Generator/Data/Patterns/MEDICAL_TREATMENT.negative.txt create mode 100644 PHI.Data.Generator/RLHF.Generator/Data/Patterns/MEDICAL_TREATMENT.positive.txt create mode 100644 PHI.Data.Generator/RLHF.Generator/Data/Subjects.txt create mode 100644 PHI.Data.Generator/RLHF.Generator/Generation/GenerationOptions.cs create mode 100644 PHI.Data.Generator/RLHF.Generator/Generation/GenerationRunResult.cs create mode 100644 PHI.Data.Generator/RLHF.Generator/Generation/TrainingGenerationService.cs create mode 100644 PHI.Data.Generator/RLHF.Generator/Keywords/KeywordLoadService.cs create mode 100644 PHI.Data.Generator/RLHF.Generator/Keywords/TrainingItemKeywordBackfillService.cs create mode 100644 PHI.Data.Generator/RLHF.Generator/LmStudio/LmStudioClient.cs create mode 100644 PHI.Data.Generator/RLHF.Generator/LmStudio/LmStudioOptions.cs create mode 100644 PHI.Data.Generator/RLHF.Generator/LmStudio/SentenceTenses.cs create mode 100644 PHI.Data.Generator/RLHF.Generator/Persistence/Category.cs create mode 100644 PHI.Data.Generator/RLHF.Generator/Persistence/GenerationRun.cs create mode 100644 PHI.Data.Generator/RLHF.Generator/Persistence/GenerationRunStatuses.cs create mode 100644 PHI.Data.Generator/RLHF.Generator/Persistence/Keyword.cs create mode 100644 PHI.Data.Generator/RLHF.Generator/Persistence/KeywordVariant.cs create mode 100644 PHI.Data.Generator/RLHF.Generator/Persistence/Migrations/20260724081401_InitialCreate.Designer.cs create mode 100644 PHI.Data.Generator/RLHF.Generator/Persistence/Migrations/20260724081401_InitialCreate.cs create mode 100644 PHI.Data.Generator/RLHF.Generator/Persistence/Migrations/20260726045229_DurableGenerationResume.Designer.cs create mode 100644 PHI.Data.Generator/RLHF.Generator/Persistence/Migrations/20260726045229_DurableGenerationResume.cs create mode 100644 PHI.Data.Generator/RLHF.Generator/Persistence/Migrations/20260727025048_AddKeywordCatalog.Designer.cs create mode 100644 PHI.Data.Generator/RLHF.Generator/Persistence/Migrations/20260727025048_AddKeywordCatalog.cs create mode 100644 PHI.Data.Generator/RLHF.Generator/Persistence/Migrations/RlhfGeneratorDbContextModelSnapshot.cs create mode 100644 PHI.Data.Generator/RLHF.Generator/Persistence/RlhfGeneratorDbContext.cs create mode 100644 PHI.Data.Generator/RLHF.Generator/Persistence/RlhfGeneratorDesignTimeDbContextFactory.cs create mode 100644 PHI.Data.Generator/RLHF.Generator/Persistence/TrainingItem.cs create mode 100644 PHI.Data.Generator/RLHF.Generator/Persistence/TrainingItemResetService.cs create mode 100644 PHI.Data.Generator/RLHF.Generator/RLHF.Generator.csproj create mode 100644 PHI.Data.Generator/RLHF.Generator/TrainingData/TrainingCategories.cs create mode 100644 PHI.Data.Generator/RLHF.Generator/TrainingData/TrainingCategoryDefinition.cs create mode 100644 PHI.Data.Generator/RLHF.Generator/TrainingData/TrainingCategoryValue.cs create mode 100644 PHI.Data.Generator/RLHF.Generator/TrainingData/TrainingDataReader.cs create mode 100644 PHI.Data.Generator/RLHF.Generator/TrainingData/TrainingSubjects.cs diff --git a/PHI.Data.Generator/.gitattributes b/PHI.Data.Generator/.gitattributes new file mode 100644 index 0000000..1ff0c42 --- /dev/null +++ b/PHI.Data.Generator/.gitattributes @@ -0,0 +1,63 @@ +############################################################################### +# Set default behavior to automatically normalize line endings. +############################################################################### +* text=auto + +############################################################################### +# Set default behavior for command prompt diff. +# +# This is need for earlier builds of msysgit that does not have it on by +# default for csharp files. +# Note: This is only used by command line +############################################################################### +#*.cs diff=csharp + +############################################################################### +# Set the merge driver for project and solution files +# +# Merging from the command prompt will add diff markers to the files if there +# are conflicts (Merging from VS is not affected by the settings below, in VS +# the diff markers are never inserted). Diff markers may cause the following +# file extensions to fail to load in VS. An alternative would be to treat +# these files as binary and thus will always conflict and require user +# intervention with every merge. To do so, just uncomment the entries below +############################################################################### +#*.sln merge=binary +#*.csproj merge=binary +#*.vbproj merge=binary +#*.vcxproj merge=binary +#*.vcproj merge=binary +#*.dbproj merge=binary +#*.fsproj merge=binary +#*.lsproj merge=binary +#*.wixproj merge=binary +#*.modelproj merge=binary +#*.sqlproj merge=binary +#*.wwaproj merge=binary + +############################################################################### +# behavior for image files +# +# image files are treated as binary by default. +############################################################################### +#*.jpg binary +#*.png binary +#*.gif binary + +############################################################################### +# diff behavior for common document formats +# +# Convert binary document formats to text before diffing them. This feature +# is only available from the command line. Turn it on by uncommenting the +# entries below. +############################################################################### +#*.doc diff=astextplain +#*.DOC diff=astextplain +#*.docx diff=astextplain +#*.DOCX diff=astextplain +#*.dot diff=astextplain +#*.DOT diff=astextplain +#*.pdf diff=astextplain +#*.PDF diff=astextplain +#*.rtf diff=astextplain +#*.RTF diff=astextplain diff --git a/PHI.Data.Generator/.gitignore b/PHI.Data.Generator/.gitignore new file mode 100644 index 0000000..9491a2f --- /dev/null +++ b/PHI.Data.Generator/.gitignore @@ -0,0 +1,363 @@ +## Ignore Visual Studio temporary files, build results, and +## files generated by popular Visual Studio add-ons. +## +## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore + +# User-specific files +*.rsuser +*.suo +*.user +*.userosscache +*.sln.docstates + +# User-specific files (MonoDevelop/Xamarin Studio) +*.userprefs + +# Mono auto generated files +mono_crash.* + +# Build results +[Dd]ebug/ +[Dd]ebugPublic/ +[Rr]elease/ +[Rr]eleases/ +x64/ +x86/ +[Ww][Ii][Nn]32/ +[Aa][Rr][Mm]/ +[Aa][Rr][Mm]64/ +bld/ +[Bb]in/ +[Oo]bj/ +[Oo]ut/ +[Ll]og/ +[Ll]ogs/ + +# Visual Studio 2015/2017 cache/options directory +.vs/ +# Uncomment if you have tasks that create the project's static files in wwwroot +#wwwroot/ + +# Visual Studio 2017 auto generated files +Generated\ Files/ + +# MSTest test Results +[Tt]est[Rr]esult*/ +[Bb]uild[Ll]og.* + +# NUnit +*.VisualState.xml +TestResult.xml +nunit-*.xml + +# Build Results of an ATL Project +[Dd]ebugPS/ +[Rr]eleasePS/ +dlldata.c + +# Benchmark Results +BenchmarkDotNet.Artifacts/ + +# .NET Core +project.lock.json +project.fragment.lock.json +artifacts/ + +# ASP.NET Scaffolding +ScaffoldingReadMe.txt + +# StyleCop +StyleCopReport.xml + +# Files built by Visual Studio +*_i.c +*_p.c +*_h.h +*.ilk +*.meta +*.obj +*.iobj +*.pch +*.pdb +*.ipdb +*.pgc +*.pgd +*.rsp +*.sbr +*.tlb +*.tli +*.tlh +*.tmp +*.tmp_proj +*_wpftmp.csproj +*.log +*.vspscc +*.vssscc +.builds +*.pidb +*.svclog +*.scc + +# Chutzpah Test files +_Chutzpah* + +# Visual C++ cache files +ipch/ +*.aps +*.ncb +*.opendb +*.opensdf +*.sdf +*.cachefile +*.VC.db +*.VC.VC.opendb + +# Visual Studio profiler +*.psess +*.vsp +*.vspx +*.sap + +# Visual Studio Trace Files +*.e2e + +# TFS 2012 Local Workspace +$tf/ + +# Guidance Automation Toolkit +*.gpState + +# ReSharper is a .NET coding add-in +_ReSharper*/ +*.[Rr]e[Ss]harper +*.DotSettings.user + +# TeamCity is a build add-in +_TeamCity* + +# DotCover is a Code Coverage Tool +*.dotCover + +# AxoCover is a Code Coverage Tool +.axoCover/* +!.axoCover/settings.json + +# Coverlet is a free, cross platform Code Coverage Tool +coverage*.json +coverage*.xml +coverage*.info + +# Visual Studio code coverage results +*.coverage +*.coveragexml + +# NCrunch +_NCrunch_* +.*crunch*.local.xml +nCrunchTemp_* + +# MightyMoose +*.mm.* +AutoTest.Net/ + +# Web workbench (sass) +.sass-cache/ + +# Installshield output folder +[Ee]xpress/ + +# DocProject is a documentation generator add-in +DocProject/buildhelp/ +DocProject/Help/*.HxT +DocProject/Help/*.HxC +DocProject/Help/*.hhc +DocProject/Help/*.hhk +DocProject/Help/*.hhp +DocProject/Help/Html2 +DocProject/Help/html + +# Click-Once directory +publish/ + +# Publish Web Output +*.[Pp]ublish.xml +*.azurePubxml +# Note: Comment the next line if you want to checkin your web deploy settings, +# but database connection strings (with potential passwords) will be unencrypted +*.pubxml +*.publishproj + +# Microsoft Azure Web App publish settings. Comment the next line if you want to +# checkin your Azure Web App publish settings, but sensitive information contained +# in these scripts will be unencrypted +PublishScripts/ + +# NuGet Packages +*.nupkg +# NuGet Symbol Packages +*.snupkg +# The packages folder can be ignored because of Package Restore +**/[Pp]ackages/* +# except build/, which is used as an MSBuild target. +!**/[Pp]ackages/build/ +# Uncomment if necessary however generally it will be regenerated when needed +#!**/[Pp]ackages/repositories.config +# NuGet v3's project.json files produces more ignorable files +*.nuget.props +*.nuget.targets + +# Microsoft Azure Build Output +csx/ +*.build.csdef + +# Microsoft Azure Emulator +ecf/ +rcf/ + +# Windows Store app package directories and files +AppPackages/ +BundleArtifacts/ +Package.StoreAssociation.xml +_pkginfo.txt +*.appx +*.appxbundle +*.appxupload + +# Visual Studio cache files +# files ending in .cache can be ignored +*.[Cc]ache +# but keep track of directories ending in .cache +!?*.[Cc]ache/ + +# Others +ClientBin/ +~$* +*~ +*.dbmdl +*.dbproj.schemaview +*.jfm +*.pfx +*.publishsettings +orleans.codegen.cs + +# Including strong name files can present a security risk +# (https://github.com/github/gitignore/pull/2483#issue-259490424) +#*.snk + +# Since there are multiple workflows, uncomment next line to ignore bower_components +# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622) +#bower_components/ + +# RIA/Silverlight projects +Generated_Code/ + +# Backup & report files from converting an old project file +# to a newer Visual Studio version. Backup files are not needed, +# because we have git ;-) +_UpgradeReport_Files/ +Backup*/ +UpgradeLog*.XML +UpgradeLog*.htm +ServiceFabricBackup/ +*.rptproj.bak + +# SQL Server files +*.mdf +*.ldf +*.ndf + +# Business Intelligence projects +*.rdl.data +*.bim.layout +*.bim_*.settings +*.rptproj.rsuser +*- [Bb]ackup.rdl +*- [Bb]ackup ([0-9]).rdl +*- [Bb]ackup ([0-9][0-9]).rdl + +# Microsoft Fakes +FakesAssemblies/ + +# GhostDoc plugin setting file +*.GhostDoc.xml + +# Node.js Tools for Visual Studio +.ntvs_analysis.dat +node_modules/ + +# Visual Studio 6 build log +*.plg + +# Visual Studio 6 workspace options file +*.opt + +# Visual Studio 6 auto-generated workspace file (contains which files were open etc.) +*.vbw + +# Visual Studio LightSwitch build output +**/*.HTMLClient/GeneratedArtifacts +**/*.DesktopClient/GeneratedArtifacts +**/*.DesktopClient/ModelManifest.xml +**/*.Server/GeneratedArtifacts +**/*.Server/ModelManifest.xml +_Pvt_Extensions + +# Paket dependency manager +.paket/paket.exe +paket-files/ + +# FAKE - F# Make +.fake/ + +# CodeRush personal settings +.cr/personal + +# Python Tools for Visual Studio (PTVS) +__pycache__/ +*.pyc + +# Cake - Uncomment if you are using it +# tools/** +# !tools/packages.config + +# Tabs Studio +*.tss + +# Telerik's JustMock configuration file +*.jmconfig + +# BizTalk build output +*.btp.cs +*.btm.cs +*.odx.cs +*.xsd.cs + +# OpenCover UI analysis results +OpenCover/ + +# Azure Stream Analytics local run output +ASALocalRun/ + +# MSBuild Binary and Structured Log +*.binlog + +# NVidia Nsight GPU debugger configuration file +*.nvuser + +# MFractors (Xamarin productivity tool) working folder +.mfractor/ + +# Local History for Visual Studio +.localhistory/ + +# BeatPulse healthcheck temp database +healthchecksdb + +# Backup folder for Package Reference Convert tool in Visual Studio 2017 +MigrationBackup/ + +# Ionide (cross platform F# VS Code tools) working folder +.ionide/ + +# Fody - auto-generated XML schema +FodyWeavers.xsd \ No newline at end of file diff --git a/PHI.Data.Generator/AddKeywordCatalog.sql b/PHI.Data.Generator/AddKeywordCatalog.sql new file mode 100644 index 0000000..7c57884 --- /dev/null +++ b/PHI.Data.Generator/AddKeywordCatalog.sql @@ -0,0 +1,33 @@ +BEGIN TRANSACTION; +ALTER TABLE [dbo].[TrainingItem] ADD [KeywordId] int NULL; + +CREATE TABLE [dbo].[Keyword] ( + [Id] int NOT NULL IDENTITY, + [CategoryId] int NOT NULL, + [Value] nvarchar(450) NOT NULL, + CONSTRAINT [PK_Keyword] PRIMARY KEY ([Id]), + CONSTRAINT [FK_Keyword_Category_CategoryId] FOREIGN KEY ([CategoryId]) REFERENCES [dbo].[Category] ([Id]) ON DELETE NO ACTION +); + +CREATE TABLE [dbo].[KeywordVariant] ( + [Id] int NOT NULL IDENTITY, + [ParentId] int NOT NULL, + [Value] nvarchar(450) NOT NULL, + CONSTRAINT [PK_KeywordVariant] PRIMARY KEY ([Id]), + CONSTRAINT [FK_KeywordVariant_Keyword_ParentId] FOREIGN KEY ([ParentId]) REFERENCES [dbo].[Keyword] ([Id]) ON DELETE CASCADE +); + +CREATE INDEX [IX_TrainingItem_KeywordId] ON [dbo].[TrainingItem] ([KeywordId]); + +CREATE UNIQUE INDEX [IX_Keyword_CategoryId_Value] ON [dbo].[Keyword] ([CategoryId], [Value]); + +CREATE UNIQUE INDEX [IX_KeywordVariant_ParentId_Value] ON [dbo].[KeywordVariant] ([ParentId], [Value]); + +ALTER TABLE [dbo].[TrainingItem] ADD CONSTRAINT [FK_TrainingItem_Keyword_KeywordId] FOREIGN KEY ([KeywordId]) REFERENCES [dbo].[Keyword] ([Id]) ON DELETE NO ACTION; + +INSERT INTO [__EFMigrationsHistory] ([MigrationId], [ProductVersion]) +VALUES (N'20260727025048_AddKeywordCatalog', N'10.0.8'); + +COMMIT; +GO + diff --git a/PHI.Data.Generator/RLHF.Generator.Api/Contracts/CompleteTextRequest.cs b/PHI.Data.Generator/RLHF.Generator.Api/Contracts/CompleteTextRequest.cs new file mode 100644 index 0000000..ec903d8 --- /dev/null +++ b/PHI.Data.Generator/RLHF.Generator.Api/Contracts/CompleteTextRequest.cs @@ -0,0 +1,10 @@ +using System.ComponentModel.DataAnnotations; + +namespace RLHF.Generator.Api.Contracts; + +public sealed record CompleteTextRequest( + [property: Required] string Text, + string? Tense = null, + bool? IsFragment = null, + string? ProtectedMedicalTerm = null, + IReadOnlyList? AllowedMedicalForms = null); \ No newline at end of file diff --git a/PHI.Data.Generator/RLHF.Generator.Api/Contracts/GenerationRunResponse.cs b/PHI.Data.Generator/RLHF.Generator.Api/Contracts/GenerationRunResponse.cs new file mode 100644 index 0000000..929e8f0 --- /dev/null +++ b/PHI.Data.Generator/RLHF.Generator.Api/Contracts/GenerationRunResponse.cs @@ -0,0 +1,9 @@ +namespace RLHF.Generator.Api.Contracts; + +public sealed record GenerationRunResponse( + Guid RunId, + string Status, + int RowsCommittedThisRequest, + int TotalCommittedRows, + int TotalExpectedRows, + bool Resumed); \ No newline at end of file diff --git a/PHI.Data.Generator/RLHF.Generator.Api/Contracts/KeywordLoadResponse.cs b/PHI.Data.Generator/RLHF.Generator.Api/Contracts/KeywordLoadResponse.cs new file mode 100644 index 0000000..969583a --- /dev/null +++ b/PHI.Data.Generator/RLHF.Generator.Api/Contracts/KeywordLoadResponse.cs @@ -0,0 +1,9 @@ +namespace RLHF.Generator.Api.Contracts; + +public sealed record KeywordLoadResponse( + int SourceKeywordCount, + int SourceVariantCount, + int ExistingKeywordCount, + int ExistingVariantCount, + int InsertedKeywordCount, + int InsertedVariantCount); \ No newline at end of file diff --git a/PHI.Data.Generator/RLHF.Generator.Api/Contracts/TrainingItemKeywordBackfillResponse.cs b/PHI.Data.Generator/RLHF.Generator.Api/Contracts/TrainingItemKeywordBackfillResponse.cs new file mode 100644 index 0000000..d79a0f8 --- /dev/null +++ b/PHI.Data.Generator/RLHF.Generator.Api/Contracts/TrainingItemKeywordBackfillResponse.cs @@ -0,0 +1,11 @@ +namespace RLHF.Generator.Api.Contracts; + +public sealed record TrainingItemKeywordBackfillResponse( + bool DryRun, + int TotalTrainingItemCount, + int AlreadyAssignedCount, + int ProcessedCount, + int UniqueMatchCount, + int UpdatedCount, + int UnmatchedCount, + int AmbiguousCount); \ No newline at end of file diff --git a/PHI.Data.Generator/RLHF.Generator.Api/Contracts/TrainingItemsResetResponse.cs b/PHI.Data.Generator/RLHF.Generator.Api/Contracts/TrainingItemsResetResponse.cs new file mode 100644 index 0000000..43a7fcc --- /dev/null +++ b/PHI.Data.Generator/RLHF.Generator.Api/Contracts/TrainingItemsResetResponse.cs @@ -0,0 +1,3 @@ +namespace RLHF.Generator.Api.Contracts; + +public sealed record TrainingItemsResetResponse(bool Reset); \ No newline at end of file diff --git a/PHI.Data.Generator/RLHF.Generator.Api/Program.cs b/PHI.Data.Generator/RLHF.Generator.Api/Program.cs new file mode 100644 index 0000000..5ef0d5e --- /dev/null +++ b/PHI.Data.Generator/RLHF.Generator.Api/Program.cs @@ -0,0 +1,296 @@ +using Microsoft.EntityFrameworkCore; +using Microsoft.OpenApi; +using Scalar.AspNetCore; +using RLHF.Generator.Api.Contracts; +using RLHF.Generator.Generation; +using RLHF.Generator.Keywords; +using RLHF.Generator.LmStudio; +using RLHF.Generator.Persistence; +using RLHF.Generator.TrainingData; + +var builder = WebApplication.CreateBuilder(args); + +string connectionString = builder.Configuration.GetConnectionString("RLHFGenerator") + ?? throw new InvalidOperationException("Connection string 'RLHFGenerator' was not found."); + +builder.Services.AddDbContext(options => + options.UseSqlServer(connectionString)); + +LmStudioOptions lmStudioOptions; +try +{ + lmStudioOptions = builder.Configuration + .GetSection(LmStudioOptions.SectionName) + .Get() + ?? throw new InvalidOperationException(); +} +catch (Exception exception) +{ + throw new InvalidOperationException( + $"Configuration section '{LmStudioOptions.SectionName}' is missing or invalid.", + exception); +} + +builder.Services.AddSingleton(lmStudioOptions); +builder.Services.AddHttpClient((serviceProvider, httpClient) => + httpClient.Timeout = TimeSpan.FromSeconds( + serviceProvider.GetRequiredService().TimeoutSeconds)); + +GenerationOptions generationOptions; +try +{ + generationOptions = builder.Configuration + .GetSection(GenerationOptions.SectionName) + .Get() + ?? throw new InvalidOperationException(); +} +catch (Exception exception) +{ + throw new InvalidOperationException( + $"Configuration section '{GenerationOptions.SectionName}' is missing or invalid.", + exception); +} + +builder.Services.AddSingleton(generationOptions); +builder.Services.AddSingleton( + new TrainingDataReader(Path.Combine(AppContext.BaseDirectory, "Data"))); +builder.Services.AddScoped(); +builder.Services.AddScoped(); +builder.Services.AddScoped(); +builder.Services.AddScoped(); +builder.Services.AddEndpointsApiExplorer(); +builder.Services.AddSwaggerGen(options => +{ + options.SwaggerDoc( + "v1", + new OpenApiInfo + { + Title = "RLHF Generator API", + Version = "v1", + Description = "Generates balanced RLHF training data from category and pattern files using SQL Server and LM Studio." + }); +}); + +var app = builder.Build(); + +if (app.Environment.IsDevelopment()) +{ + app.UseSwagger(); + + app.UseSwaggerUI(options => + { + options.SwaggerEndpoint( + "/swagger/v1/swagger.json", + "RLHF Generator API v1"); + + options.RoutePrefix = "swagger"; + options.DocumentTitle = "RLHF Generator API - Swagger"; + }); + + app.MapScalarApiReference(options => + { + options + .WithTitle("RLHF Generator API") + .WithOpenApiRoutePattern( + "/swagger/{documentName}/swagger.json"); + }); +} + +app.MapGet("/", () => "RLHF Generator API") + .WithName("GetApiRoot") + .WithSummary("Get API status") + .WithDescription("Returns a simple response confirming that the RLHF Generator API is running.") + .WithTags("System") + .Produces(StatusCodes.Status200OK, "text/plain"); + +app.MapPost( + "/api/lm-studio/complete", + async (CompleteTextRequest? request, LmStudioClient client, CancellationToken cancellationToken) => + { + if (request is null + || string.IsNullOrWhiteSpace(request.Text) + || request.IsFragment is null) + { + return Results.BadRequest(); + } + + if (!SentenceTenses.TryNormalize(request.Tense, out string? normalizedTense)) + { + return Results.BadRequest(); + } + + bool hasProtectedMedicalTerm = request.ProtectedMedicalTerm is not null; + bool hasAllowedMedicalForms = request.AllowedMedicalForms is not null; + if (hasProtectedMedicalTerm != hasAllowedMedicalForms) + { + return Results.BadRequest( + "ProtectedMedicalTerm and AllowedMedicalForms must either both be provided or both be omitted."); + } + + string? protectedMedicalTerm = null; + IReadOnlyList? allowedMedicalForms = null; + if (hasProtectedMedicalTerm) + { + protectedMedicalTerm = request.ProtectedMedicalTerm!.Trim(); + if (protectedMedicalTerm.Length == 0) + { + return Results.BadRequest("ProtectedMedicalTerm cannot be empty or whitespace."); + } + + if (request.AllowedMedicalForms!.Count == 0) + { + return Results.BadRequest("AllowedMedicalForms must contain at least one form."); + } + + string[] trimmedForms = new string[request.AllowedMedicalForms.Count]; + HashSet uniqueForms = new(StringComparer.OrdinalIgnoreCase); + for (int index = 0; index < request.AllowedMedicalForms.Count; index++) + { + string? form = request.AllowedMedicalForms[index]; + if (string.IsNullOrWhiteSpace(form)) + { + return Results.BadRequest( + $"AllowedMedicalForms[{index}] cannot be null, empty, or whitespace."); + } + + string trimmedForm = form.Trim(); + if (!uniqueForms.Add(trimmedForm)) + { + return Results.BadRequest( + $"AllowedMedicalForms contains duplicate form '{trimmedForm}'."); + } + + trimmedForms[index] = trimmedForm; + } + + if (!string.Equals( + protectedMedicalTerm, + trimmedForms[0], + StringComparison.OrdinalIgnoreCase)) + { + return Results.BadRequest( + "ProtectedMedicalTerm must exactly match the first AllowedMedicalForms value."); + } + + allowedMedicalForms = trimmedForms; + } + + string completion = await client.CompleteAsync( + request.Text, + normalizedTense, + request.IsFragment.Value, + protectedMedicalTerm: protectedMedicalTerm, + allowedMedicalForms: allowedMedicalForms, + cancellationToken: cancellationToken); + return Results.Text(completion, "text/plain"); + }) + .WithName("CompleteTextWithLmStudio") + .WithSummary("Complete text with LM Studio") + .WithDescription("Returns completed text without writing to the database. Tense is optional and supports past, present, and future. isFragment is required: true means a notes-field fragment with an omitted singular subject; false means the input contains its explicit subject.") + .WithTags("LM Studio") + .Accepts("application/json") + .Produces(StatusCodes.Status200OK, "text/plain") + .Produces(StatusCodes.Status400BadRequest) + .Produces(StatusCodes.Status500InternalServerError); + +app.MapPost( + "/api/keywords/load", + async (KeywordLoadService service, CancellationToken cancellationToken) => + { + KeywordLoadResult result = await service.LoadAsync(cancellationToken); + return Results.Ok(new KeywordLoadResponse( + result.SourceKeywordCount, + result.SourceVariantCount, + result.ExistingKeywordCount, + result.ExistingVariantCount, + result.InsertedKeywordCount, + result.InsertedVariantCount)); + }) + .WithName("LoadKeywords") + .WithSummary("Load keyword catalog") + .WithDescription("Additively and idempotently loads missing keywords and variants from category files. Does not backfill TrainingItem rows.") + .WithTags("Keywords") + .Produces(StatusCodes.Status200OK, "application/json") + .Produces(StatusCodes.Status500InternalServerError); + +app.MapPost( + "/api/training-items/backfill-keywords", + async ( + TrainingItemKeywordBackfillService service, + CancellationToken cancellationToken, + bool dryRun = true, + int batchSize = TrainingItemKeywordBackfillService.DefaultBatchSize) => + { + if (batchSize is < 1 or > TrainingItemKeywordBackfillService.MaximumBatchSize) + { + return Results.BadRequest( + $"batchSize must be between 1 and {TrainingItemKeywordBackfillService.MaximumBatchSize}."); + } + + try + { + TrainingItemKeywordBackfillResult result = await service.BackfillAsync( + dryRun, + batchSize, + cancellationToken); + return Results.Ok(new TrainingItemKeywordBackfillResponse( + result.DryRun, + result.TotalTrainingItemCount, + result.AlreadyAssignedCount, + result.ProcessedCount, + result.UniqueMatchCount, + result.UpdatedCount, + result.UnmatchedCount, + result.AmbiguousCount)); + } + catch (KeywordsNotLoadedException exception) + { + return Results.Conflict(exception.Message); + } + }) + .WithName("BackfillTrainingItemKeywords") + .WithSummary("Backfill training-item keywords") + .WithDescription("Matches existing TrainingItem.Value text and assigns KeywordId only for one unique concept. Unmatched and ambiguous rows remain null, dry-run is the default, and generated text is not modified.") + .WithTags("Keywords") + .Produces(StatusCodes.Status200OK, "application/json") + .Produces(StatusCodes.Status400BadRequest) + .Produces(StatusCodes.Status409Conflict) + .Produces(StatusCodes.Status500InternalServerError); + +app.MapPost( + "/api/generation/run", + async (TrainingGenerationService service, CancellationToken cancellationToken) => + { + GenerationRunResult result = await service.GenerateAsync(cancellationToken); + return Results.Ok(new GenerationRunResponse( + result.RunId, + result.Status, + result.RowsCommittedThisRequest, + result.TotalCommittedRows, + result.TotalExpectedRows, + result.Resumed)); + }) + .WithName("RunTrainingGeneration") + .WithSummary("Generate training items") + .WithDescription("Starts or resumes compatible deterministic generation. Committed batches remain durable, and the HTTP request remains open until generation succeeds, is cancelled, or fails.") + .WithTags("Training Generation") + .Produces(StatusCodes.Status200OK, "application/json") + .Produces(StatusCodes.Status500InternalServerError); + +app.MapPost( + "/api/training-items/reset", + async (TrainingItemResetService service, CancellationToken cancellationToken) => + { + await service.ResetAsync(cancellationToken); + return Results.Ok(new TrainingItemsResetResponse(true)); + }) + .WithName("ResetTrainingItems") + .WithSummary("Reset training items") + .WithDescription("Truncates TrainingItem, resets its identity, and clears generation-run checkpoints. Category data is not changed.") + .WithTags("Training Generation") + .Produces(StatusCodes.Status200OK, "application/json") + .Produces(StatusCodes.Status500InternalServerError); + +app.Run(); + +public partial class Program; \ No newline at end of file diff --git a/PHI.Data.Generator/RLHF.Generator.Api/Properties/launchSettings.json b/PHI.Data.Generator/RLHF.Generator.Api/Properties/launchSettings.json new file mode 100644 index 0000000..7bd2ad7 --- /dev/null +++ b/PHI.Data.Generator/RLHF.Generator.Api/Properties/launchSettings.json @@ -0,0 +1,23 @@ +{ + "$schema": "https://json.schemastore.org/launchsettings.json", + "profiles": { + "http": { + "commandName": "Project", + "dotnetRunMessages": true, + "launchBrowser": true, + "applicationUrl": "http://localhost:5257", + "environmentVariables": { + "ASPNETCORE_ENVIRONMENT": "Development" + } + }, + "https": { + "commandName": "Project", + "dotnetRunMessages": true, + "launchBrowser": true, + "applicationUrl": "https://localhost:7034;http://localhost:5257", + "environmentVariables": { + "ASPNETCORE_ENVIRONMENT": "Development" + } + } + } +} \ No newline at end of file diff --git a/PHI.Data.Generator/RLHF.Generator.Api/RLHF.Generator.Api.csproj b/PHI.Data.Generator/RLHF.Generator.Api/RLHF.Generator.Api.csproj new file mode 100644 index 0000000..d7bec1a --- /dev/null +++ b/PHI.Data.Generator/RLHF.Generator.Api/RLHF.Generator.Api.csproj @@ -0,0 +1,22 @@ + + + + net10.0 + enable + enable + + + + + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + + + + \ No newline at end of file diff --git a/PHI.Data.Generator/RLHF.Generator.Api/appsettings.json b/PHI.Data.Generator/RLHF.Generator.Api/appsettings.json new file mode 100644 index 0000000..d41a641 --- /dev/null +++ b/PHI.Data.Generator/RLHF.Generator.Api/appsettings.json @@ -0,0 +1,28 @@ +{ + "ConnectionStrings": { + "RLHFGenerator": "Data Source=.;Initial Catalog=RLHFGenerator;Integrated Security=True;Persist Security Info=False;Pooling=False;MultipleActiveResultSets=False;Connect Timeout=300;Encrypt=True;TrustServerCertificate=True;Command Timeout=0" + }, + "LmStudio": { + "ChatCompletionsUrl": "http://localhost:1234/v1/chat/completions", + "ModelName": "qwen/qwen3.5-9b", + "SystemPrompt": "You are a deterministic English sentence and notes-fragment normalization engine. Treat each request as stateless and use only the one system message and one user message supplied for that request. Return only the corrected sentence or fragment on one line and nothing else. Do not return quotation marks around the complete response, explanations, labels, metadata, Markdown, JSON, code fences, alternatives, or commentary. The user message contains an Is fragment line, optional Protected subject, optional Protected medical term, optional Allowed medical forms, optional Requested tense, and a Sentence line. These instruction lines are metadata only and must never appear in the response. Resolve every bracketed template expression and return no unresolved square brackets. Preserve the original medical concept, the original subject when present, the assertion polarity, and whether the text describes a real person, a hypothetical example, research, education, fiction, history, negation, or an actual medical fact. Do not add facts or change positive meaning to negative meaning or negative meaning to positive meaning. Improve grammar and natural wording as needed. You may correct capitalization, diacritical marks, punctuation, articles, verb agreement, grammatical number, attributive noun forms, conventional spelling, and minor grammatical structure. When Is fragment is true, the Sentence is a notes-field fragment with an omitted singular third-person subject equivalent to a member or patient. Use that implied subject only to determine subject-verb agreement, auxiliaries, verb forms, and tense. Never add, return, expose, or invent the implied subject. Preserve the response as a subjectless fragment. When Is fragment is false, preserve the explicit subject and its meaning while making natural grammatical corrections. Resolve bracketed pipe-separated alternatives such as [is|are|was|were], [has|have|had], or another [option1|option2|...] form using the explicit subject when Is fragment is false and the implied singular subject when Is fragment is true. Exact [a|an] expressions are resolved before the request and will not be supplied. When no tense is requested, use explicit temporal context when present; otherwise use natural present tense. When a tense is requested, rewrite the verb phrase and surrounding auxiliaries as needed to produce natural English in that tense. Requested tense takes precedence over literal bracket options. For a fragment in present tense, use singular third-person grammar such as is and has. For a fragment in past tense, use singular past grammar such as was and had. For a fragment in future tense, use constructions such as will be, will have, or will followed by the appropriate base verb. Protected medical term identifies the canonical concept. Allowed medical forms lists surface forms for that same concept. Use an allowed medical form when appropriate, including the form that produces the most natural grammar and ordinary usage, but do not replace the medical concept with a different condition, medication, allergen, procedure, test, treatment, symptom, or unrelated concept. When Is fragment is true, never invent or append a predicate, condition, state, event, or other semantic content that is not present in the Sentence. Apply Requested tense only to a verb or auxiliary already present in the fragment. If the fragment contains no verb or auxiliary that can be placed into the requested tense, ignore Requested tense and return the fragment without inventing a predicate. Never add phrases such as is present, was present, will be present, is reported, was reported, occurred, existed, or any equivalent invented wording. Return one line with no unresolved bracketed alternatives.", + "Temperature": 0.0, + "TopP": 1.0, + "MaxTokens": 96, + "Seed": 42, + "TimeoutSeconds": 300 + }, + "Generation": { + "RandomSeed": 42, + "MaxDegreeOfParallelism": 8, + "SaveBatchSize": 24, + "ProgressLogIntervalSeconds": 5 + }, + "Logging": { + "LogLevel": { + "Default": "Information", + "Microsoft.AspNetCore": "Warning" + } + }, + "AllowedHosts": "*" +} diff --git a/PHI.Data.Generator/RLHF.Generator.Tests/CaseInsensitiveLmValidationTests.cs b/PHI.Data.Generator/RLHF.Generator.Tests/CaseInsensitiveLmValidationTests.cs new file mode 100644 index 0000000..3ee48dd --- /dev/null +++ b/PHI.Data.Generator/RLHF.Generator.Tests/CaseInsensitiveLmValidationTests.cs @@ -0,0 +1,126 @@ +using System.Net; +using System.Reflection; +using System.Runtime.ExceptionServices; +using System.Text.Json; +using RLHF.Generator.Generation; +using RLHF.Generator.LmStudio; +using RLHF.Generator.TrainingData; +using Xunit; + +namespace RLHF.Generator.Tests; + +public sealed class CaseInsensitiveLmValidationTests +{ + [Theory] + [InlineData("Member received a varicose vein diagnosis.")] + [InlineData("Member taught a class about Legg-Calvé-Perthes disease.")] + [InlineData("She reported an allergy to shellfish.")] + [InlineData("The member does not have a penicillin allergy.")] + [InlineData("allergic to honeybees")] + [InlineData("history of a heart attack")] + [InlineData("Helpful information about allergies")] + public void NaturalCorrections_PassStructuralValidation(string returnedValue) + { + ValidateResponse(returnedValue); + } + + [Theory] + [InlineData("")] + [InlineData(" ")] + [InlineData("Member has an allergy.\rFollow-up is required.")] + [InlineData("Member has an allergy.\nFollow-up is required.")] + [InlineData("Member has [a|an] peanut allergy.")] + [InlineData("Member has an allergy to [x].")] + [InlineData("\"Member has a peanut allergy.\"")] + [InlineData("'Member has a peanut allergy.'")] + [InlineData("```Member has a peanut allergy.```")] + [InlineData("```text\nMember has a peanut allergy.\n```")] + [InlineData("{\"text\":\"Member has a peanut allergy.\"}")] + [InlineData("[\"Member has a peanut allergy.\"]")] + [InlineData("Output: Member has a peanut allergy.")] + [InlineData("result: Member has a peanut allergy.")] + [InlineData("Completed text: Member has a peanut allergy.")] + [InlineData("CORRECTED SENTENCE: Member has a peanut allergy.")] + public void StructurallyInvalidOutput_IsRejected(string returnedValue) + { + Assert.Throws(() => ValidateResponse(returnedValue)); + } + + [Theory] + [InlineData("The result: Member has a peanut allergy.")] + [InlineData("Member said, \"I have a peanut allergy.\"")] + [InlineData("Member's allergy is documented.")] + [InlineData("Object {value} is discussed without square brackets.")] + public void OrdinarySentenceSyntax_IsNotTreatedAsAWrapper(string returnedValue) + { + ValidateResponse(returnedValue); + } + + [Fact] + public async Task LmStudioClient_TrimsOnlySurroundingWhitespace() + { + const string generatedText = " Member has a peanut allergy. "; + LmStudioOptions options = new() + { + ChatCompletionsUrl = "http://localhost/v1/chat/completions", + ModelName = "test-model", + SystemPrompt = "test prompt", + Temperature = 0, + TopP = 1, + MaxTokens = 32, + Seed = 42, + TimeoutSeconds = 30 + }; + using HttpClient httpClient = new(new FixedResponseHandler(generatedText)); + LmStudioClient client = new(httpClient, options); + + string result = await client.CompleteAsync( + "Member has a peanut allergy.", + tense: null, + isFragment: false); + + Assert.Equal("Member has a peanut allergy.", result); + } + + private static void ValidateResponse(string returnedValue) + { + MethodInfo validateMethod = typeof(TrainingGenerationService).GetMethod( + "ValidateLmStudioResponse", + BindingFlags.Static | BindingFlags.NonPublic)!; + + InvokeUnwrapped( + validateMethod, + [returnedValue, TrainingCategories.All[0], true]); + } + + private static object? InvokeUnwrapped(MethodInfo method, object?[] arguments) + { + try + { + return method.Invoke(null, arguments); + } + catch (TargetInvocationException exception) when (exception.InnerException is not null) + { + ExceptionDispatchInfo.Capture(exception.InnerException).Throw(); + throw; + } + } + + private sealed class FixedResponseHandler(string content) : HttpMessageHandler + { + protected override Task SendAsync( + HttpRequestMessage request, + CancellationToken cancellationToken) + { + string responseBody = JsonSerializer.Serialize(new + { + choices = new[] { new { message = new { content } } } + }); + HttpResponseMessage response = new(HttpStatusCode.OK) + { + Content = new StringContent(responseBody) + }; + return Task.FromResult(response); + } + } +} \ No newline at end of file diff --git a/PHI.Data.Generator/RLHF.Generator.Tests/CommittedBatchGenerationTests.cs b/PHI.Data.Generator/RLHF.Generator.Tests/CommittedBatchGenerationTests.cs new file mode 100644 index 0000000..9e2e4cb --- /dev/null +++ b/PHI.Data.Generator/RLHF.Generator.Tests/CommittedBatchGenerationTests.cs @@ -0,0 +1,742 @@ +using System.Net; +using System.Text.Json; +using Microsoft.Data.Sqlite; +using Microsoft.EntityFrameworkCore; +using Microsoft.EntityFrameworkCore.Diagnostics; +using Microsoft.Extensions.Logging; +using Microsoft.Extensions.Logging.Abstractions; +using RLHF.Generator.Generation; +using RLHF.Generator.LmStudio; +using RLHF.Generator.Persistence; +using RLHF.Generator.TrainingData; +using Xunit; + +namespace RLHF.Generator.Tests; + +public sealed class CommittedBatchGenerationTests +{ + [Fact] + public async Task SuccessfulLargeRun_CommitsConfiguredBatchesAndFinalPartialBatch() + { + await using GenerationFixture fixture = await GenerationFixture.CreateAsync(1_001); + BatchObservationInterceptor observer = new(); + await using ServiceInstance instance = fixture.CreateService(interceptor: observer); + + GenerationRunResult result = await instance.Service.GenerateAsync(); + + Assert.Equal(2_024, result.TotalCommittedRows); + Assert.Equal(2_024, result.RowsCommittedThisRequest); + Assert.False(result.Resumed); + Assert.Equal(Enumerable.Repeat(10, 202).Append(4), observer.CommittedBatchSizes); + Assert.Equal(2_024, await fixture.CountRowsAsync()); + } + + [Fact] + public async Task SeparateConnection_ObservesCommittedBatchBeforeRunCompletes() + { + await using GenerationFixture fixture = await GenerationFixture.CreateAsync( + 1, + requiresLmStudio: true); + GatedLmStudioHandler handler = new(allowBeforeGate: 12); + await using ServiceInstance instance = fixture.CreateService(handler); + + Task generationTask = instance.Service.GenerateAsync(); + await handler.GateReached.WaitAsync(TimeSpan.FromSeconds(10)); + int visibleRowCount = await fixture.WaitForVisibleRowsAsync(); + + Assert.Equal(10, visibleRowCount); + Assert.False(generationTask.IsCompleted); + + handler.Release(); + GenerationRunResult result = await generationTask; + Assert.Equal(24, result.TotalCommittedRows); + } + + [Fact] + public async Task LmStudioCapitalization_IsStoredExactlyAsReturned() + { + await using GenerationFixture fixture = await GenerationFixture.CreateAsync( + 1, + requiresLmStudio: true); + fixture.ReplaceFirstCategoryValues("klippel-trenaunay syndrome"); + CapitalizingLmStudioHandler handler = new(); + await using ServiceInstance instance = fixture.CreateService(handler); + + await instance.Service.GenerateAsync(); + + IReadOnlyList storedValues = await fixture.GetValuesAsync(); + Assert.NotEmpty(handler.CapitalizedResponses); + Assert.All( + handler.CapitalizedResponses, + returnedValue => Assert.Contains(returnedValue, storedValues)); + } + + [Fact] + public async Task FailureAfterOneThousandCommittedRows_ResumesWithoutDuplicates() + { + await using GenerationFixture fixture = await GenerationFixture.CreateAsync(1_001); + BatchFaultInterceptor failure = BatchFaultInterceptor.BeforeSave(103); + await using (ServiceInstance failedInstance = fixture.CreateService(interceptor: failure)) + { + await Assert.ThrowsAsync( + () => failedInstance.Service.GenerateAsync()); + } + + GenerationRun failedRun = await fixture.GetSingleRunAsync(); + Assert.Equal(GenerationRunStatuses.Failed, failedRun.Status); + Assert.Equal(1_010, failedRun.TotalCommittedRowCount); + Assert.Equal(1_009, failedRun.LastCommittedPlanOrdinal); + Assert.Equal(1_010, await fixture.CountRowsAsync()); + + await using ServiceInstance resumedInstance = fixture.CreateService(); + GenerationRunResult resumed = await resumedInstance.Service.GenerateAsync(); + + Assert.True(resumed.Resumed); + Assert.Equal(1_014, resumed.RowsCommittedThisRequest); + Assert.Equal(2_024, resumed.TotalCommittedRows); + Assert.Equal(0, await fixture.CountDuplicateRecordKeysAsync()); + Assert.Equal(2_024, await fixture.CountDistinctOrdinalsAsync(resumed.RunId)); + } + + [Fact] + public async Task Cancellation_PreservesCommittedRowsAndPermitsResume() + { + await using GenerationFixture fixture = await GenerationFixture.CreateAsync(1_001); + using CancellationTokenSource cancellation = new(); + BatchFaultInterceptor failure = BatchFaultInterceptor.CancelBeforeSave(4, cancellation); + await using (ServiceInstance failedInstance = fixture.CreateService(interceptor: failure)) + { + await Assert.ThrowsAnyAsync( + () => failedInstance.Service.GenerateAsync(cancellation.Token)); + } + + GenerationRun cancelledRun = await fixture.GetSingleRunAsync(); + Assert.Equal(GenerationRunStatuses.Cancelled, cancelledRun.Status); + Assert.Equal(20, cancelledRun.TotalCommittedRowCount); + Assert.Equal(20, await fixture.CountRowsAsync()); + + await using ServiceInstance resumedInstance = fixture.CreateService(); + GenerationRunResult resumed = await resumedInstance.Service.GenerateAsync(); + Assert.True(resumed.Resumed); + Assert.Equal(2_024, resumed.TotalCommittedRows); + Assert.Equal(0, await fixture.CountDuplicateRecordKeysAsync()); + } + + [Fact] + public async Task LmStudioTimeout_PreservesCommittedBatchAndPermitsResume() + { + await AssertLmFailureResumesAsync(new TimeoutAfterResponsesHandler(12)); + } + + [Fact] + public async Task InvalidLmStudioOutput_PreservesCommittedBatchAndPermitsResume() + { + await AssertLmFailureResumesAsync(new InvalidOutputAfterResponsesHandler(12)); + } + + [Fact] + public async Task FailedBatch_DoesNotAdvanceCheckpointOrLeaveInsertedRows() + { + await using GenerationFixture fixture = await GenerationFixture.CreateAsync(20); + BatchFaultInterceptor failure = BatchFaultInterceptor.AfterSave(3); + await using ServiceInstance instance = fixture.CreateService(interceptor: failure); + + await Assert.ThrowsAsync( + () => instance.Service.GenerateAsync()); + + GenerationRun run = await fixture.GetSingleRunAsync(); + Assert.Equal(10, run.TotalCommittedRowCount); + Assert.Equal(9, run.LastCommittedPlanOrdinal); + Assert.Equal(10, await fixture.CountRowsAsync()); + } + + [Fact] + public async Task ChangedInputFiles_RejectUnsafeResume() + { + await using GenerationFixture fixture = await CreateFailedFixtureAsync(); + fixture.AppendFirstCategoryValue("changed-input"); + await using ServiceInstance instance = fixture.CreateService(); + + InvalidOperationException exception = await Assert.ThrowsAsync( + () => instance.Service.GenerateAsync()); + + Assert.Contains("Unsafe resume", exception.Message, StringComparison.Ordinal); + Assert.Equal(10, await fixture.CountRowsAsync()); + } + + [Fact] + public async Task ChangedRelevantConfiguration_RejectsUnsafeResume() + { + await using GenerationFixture fixture = await CreateFailedFixtureAsync(); + LmStudioOptions changedOptions = fixture.CreateLmStudioOptions(); + changedOptions.MaxTokens++; + await using ServiceInstance instance = fixture.CreateService( + lmStudioOptions: changedOptions); + + InvalidOperationException exception = await Assert.ThrowsAsync( + () => instance.Service.GenerateAsync()); + + Assert.Contains("Unsafe resume", exception.Message, StringComparison.Ordinal); + Assert.Equal(10, await fixture.CountRowsAsync()); + } + + [Fact] + public async Task CompletedRun_IsNotResumedAsIncomplete() + { + await using GenerationFixture fixture = await GenerationFixture.CreateAsync(1); + await using (ServiceInstance firstInstance = fixture.CreateService()) + { + GenerationRunResult first = await firstInstance.Service.GenerateAsync(); + Assert.False(first.Resumed); + } + + await using ServiceInstance secondInstance = fixture.CreateService(); + GenerationRunResult second = await secondInstance.Service.GenerateAsync(); + + Assert.False(second.Resumed); + Assert.Equal(2, await fixture.CountRunsAsync()); + Assert.Equal(48, await fixture.CountRowsAsync()); + Assert.Equal(0, await fixture.CountDuplicateRecordKeysAsync()); + } + + private static async Task AssertLmFailureResumesAsync(HttpMessageHandler failureHandler) + { + await using GenerationFixture fixture = await GenerationFixture.CreateAsync( + 1, + requiresLmStudio: true); + await using (ServiceInstance failedInstance = fixture.CreateService(failureHandler)) + { + await Assert.ThrowsAnyAsync( + () => failedInstance.Service.GenerateAsync()); + } + + GenerationRun failedRun = await fixture.GetSingleRunAsync(); + Assert.Equal(GenerationRunStatuses.Failed, failedRun.Status); + Assert.Equal(12, failedRun.TotalCommittedRowCount); + Assert.Equal(12, await fixture.CountRowsAsync()); + + await using ServiceInstance resumedInstance = fixture.CreateService( + new SuccessfulLmStudioHandler()); + GenerationRunResult resumed = await resumedInstance.Service.GenerateAsync(); + Assert.True(resumed.Resumed); + Assert.Equal(24, resumed.TotalCommittedRows); + Assert.Equal(0, await fixture.CountDuplicateRecordKeysAsync()); + } + + private static async Task CreateFailedFixtureAsync() + { + GenerationFixture fixture = await GenerationFixture.CreateAsync(20); + BatchFaultInterceptor failure = BatchFaultInterceptor.BeforeSave(3); + await using ServiceInstance instance = fixture.CreateService(interceptor: failure); + await Assert.ThrowsAsync( + () => instance.Service.GenerateAsync()); + return fixture; + } +} + +internal sealed class GenerationFixture : IAsyncDisposable +{ + private readonly string _rootDirectory; + private readonly string _databasePath; + private readonly string _connectionString; + + private GenerationFixture(string rootDirectory, string databasePath) + { + _rootDirectory = rootDirectory; + _databasePath = databasePath; + _connectionString = $"Data Source={databasePath};Pooling=False"; + } + + public string DataDirectory => Path.Combine(_rootDirectory, "Data"); + + public static async Task CreateAsync( + int firstCategoryValueCount, + bool requiresLmStudio = false) + { + string rootDirectory = Path.Combine( + Path.GetTempPath(), + $"RLHF.Generator.Tests-{Guid.NewGuid():N}"); + Directory.CreateDirectory(rootDirectory); + GenerationFixture fixture = new( + rootDirectory, + Path.Combine(rootDirectory, "generation.db")); + fixture.WriteTrainingData(firstCategoryValueCount, requiresLmStudio); + await fixture.CreateDatabaseAsync(); + return fixture; + } + + public ServiceInstance CreateService( + HttpMessageHandler? handler = null, + SaveChangesInterceptor? interceptor = null, + GenerationOptions? generationOptions = null, + LmStudioOptions? lmStudioOptions = null, + ILogger? logger = null, + TimeProvider? timeProvider = null) + { + DbContextOptionsBuilder builder = new(); + builder.UseSqlite(_connectionString); + if (interceptor is not null) + { + builder.AddInterceptors(interceptor); + } + + RlhfGeneratorDbContext dbContext = new(builder.Options); + LmStudioOptions resolvedLmOptions = lmStudioOptions ?? CreateLmStudioOptions(); + HttpClient httpClient = new(handler ?? new SuccessfulLmStudioHandler()) + { + Timeout = TimeSpan.FromSeconds(resolvedLmOptions.TimeoutSeconds) + }; + TrainingGenerationService service = new( + new TrainingDataReader(DataDirectory), + new LmStudioClient(httpClient, resolvedLmOptions), + dbContext, + generationOptions ?? CreateGenerationOptions(), + resolvedLmOptions, + logger ?? NullLogger.Instance, + timeProvider); + return new ServiceInstance(dbContext, httpClient, service); + } + + public GenerationOptions CreateGenerationOptions() => new() + { + RandomSeed = 42, + MaxDegreeOfParallelism = 4, + SaveBatchSize = 10, + ProgressLogIntervalSeconds = 5 + }; + + public LmStudioOptions CreateLmStudioOptions() => new() + { + ChatCompletionsUrl = "http://localhost/v1/chat/completions", + ModelName = "test-model", + SystemPrompt = "test-system-prompt", + Temperature = 0, + TopP = 1, + MaxTokens = 32, + Seed = 42, + TimeoutSeconds = 30 + }; + + public void AppendFirstCategoryValue(string value) => File.AppendAllText( + Path.Combine(DataDirectory, "Categories", "MEDICAL_ALLERGY.txt"), + $"{Environment.NewLine}{value}"); + + public void ReplaceFirstCategoryValues(params string[] values) => File.WriteAllLines( + Path.Combine(DataDirectory, "Categories", "MEDICAL_ALLERGY.txt"), + values); + + public async Task CountRowsAsync() + { + await using RlhfGeneratorDbContext context = CreateContext(); + return await context.TrainingItems.CountAsync(); + } + + public async Task CountRunsAsync() + { + await using RlhfGeneratorDbContext context = CreateContext(); + return await context.GenerationRuns.CountAsync(); + } + + public async Task> GetValuesAsync() + { + await using RlhfGeneratorDbContext context = CreateContext(); + return await context.TrainingItems + .AsNoTracking() + .Select(item => item.Value) + .ToListAsync(); + } + + public async Task GetSingleRunAsync() + { + await using RlhfGeneratorDbContext context = CreateContext(); + return await context.GenerationRuns.AsNoTracking().SingleAsync(); + } + + public async Task CountDuplicateRecordKeysAsync() + { + await using RlhfGeneratorDbContext context = CreateContext(); + return await context.TrainingItems + .Where(item => item.RecordKey != null) + .GroupBy(item => item.RecordKey) + .CountAsync(group => group.Count() > 1); + } + + public async Task CountDistinctOrdinalsAsync(Guid runId) + { + await using RlhfGeneratorDbContext context = CreateContext(); + return await context.TrainingItems + .Where(item => item.GenerationRunId == runId) + .Select(item => item.PlanOrdinal) + .Distinct() + .CountAsync(); + } + + public async Task WaitForVisibleRowsAsync() + { + using CancellationTokenSource timeout = new(TimeSpan.FromSeconds(10)); + while (!timeout.IsCancellationRequested) + { + int count = await CountRowsAsync(); + if (count > 0) + { + return count; + } + + await Task.Delay(20, timeout.Token); + } + + throw new TimeoutException("No committed batch became visible."); + } + + public async ValueTask DisposeAsync() + { + SqliteConnection.ClearAllPools(); + await Task.Yield(); + Directory.Delete(_rootDirectory, true); + } + + private RlhfGeneratorDbContext CreateContext() + { + DbContextOptions options = + new DbContextOptionsBuilder() + .UseSqlite(_connectionString) + .Options; + return new RlhfGeneratorDbContext(options); + } + + private async Task CreateDatabaseAsync() + { + await using SqliteConnection connection = new(_connectionString); + await connection.OpenAsync(); + await using SqliteCommand command = connection.CreateCommand(); + command.CommandText = + """ + PRAGMA foreign_keys = ON; + CREATE TABLE Category ( + Id INTEGER NOT NULL PRIMARY KEY, + Name TEXT NOT NULL + ); + CREATE TABLE GenerationRun ( + Id TEXT NOT NULL PRIMARY KEY, + Status TEXT NOT NULL, + RandomSeed INTEGER NOT NULL, + InputFingerprint TEXT NOT NULL, + ConfigurationFingerprint TEXT NOT NULL, + CurrentCategoryId INTEGER NULL, + CurrentIsPositive INTEGER NULL, + LastCommittedPlanOrdinal INTEGER NOT NULL, + TotalExpectedRowCount INTEGER NOT NULL, + TotalCommittedRowCount INTEGER NOT NULL, + StartedAt TEXT NOT NULL, + LastCheckpointAt TEXT NOT NULL, + CompletedAt TEXT NULL, + FailureType TEXT NULL, + FailureMessage TEXT NULL, + FOREIGN KEY (CurrentCategoryId) REFERENCES Category (Id) ON DELETE RESTRICT + ); + CREATE TABLE TrainingItem ( + Id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, + GenerationRunId TEXT NULL, + PlanOrdinal INTEGER NULL, + RecordKey TEXT NULL, + CategoryId INTEGER NOT NULL, + KeywordId INTEGER NULL, + IsPositive INTEGER NOT NULL, + Value TEXT NOT NULL, + FOREIGN KEY (GenerationRunId) REFERENCES GenerationRun (Id) ON DELETE RESTRICT, + FOREIGN KEY (CategoryId) REFERENCES Category (Id) ON DELETE RESTRICT + ); + CREATE UNIQUE INDEX IX_TrainingItem_RecordKey + ON TrainingItem (RecordKey) WHERE RecordKey IS NOT NULL; + CREATE UNIQUE INDEX IX_TrainingItem_GenerationRunId_PlanOrdinal + ON TrainingItem (GenerationRunId, PlanOrdinal) + WHERE GenerationRunId IS NOT NULL AND PlanOrdinal IS NOT NULL; + """; + await command.ExecuteNonQueryAsync(); + + foreach (TrainingCategoryDefinition category in TrainingCategories.All) + { + command.Parameters.Clear(); + command.CommandText = "INSERT INTO Category (Id, Name) VALUES ($id, $name);"; + command.Parameters.AddWithValue("$id", category.Id); + command.Parameters.AddWithValue("$name", category.Name); + await command.ExecuteNonQueryAsync(); + } + } + + private void WriteTrainingData(int firstCategoryValueCount, bool requiresLmStudio) + { + string categoriesDirectory = Path.Combine(DataDirectory, "Categories"); + string patternsDirectory = Path.Combine(DataDirectory, "Patterns"); + Directory.CreateDirectory(categoriesDirectory); + Directory.CreateDirectory(patternsDirectory); + File.WriteAllLines(Path.Combine(DataDirectory, "Subjects.txt"), TrainingSubjects.All); + + foreach (TrainingCategoryDefinition category in TrainingCategories.All) + { + int valueCount = category.Id == 1 ? firstCategoryValueCount : 1; + File.WriteAllLines( + Path.Combine(categoriesDirectory, $"{category.Name}.txt"), + Enumerable.Range(1, valueCount).Select(index => $"value-{category.Id}-{index}")); + string subject = requiresLmStudio ? "[sub] " : string.Empty; + File.WriteAllText( + Path.Combine(patternsDirectory, $"{category.Name}.positive.txt"), + $"{subject}confirms [x]"); + File.WriteAllText( + Path.Combine(patternsDirectory, $"{category.Name}.negative.txt"), + $"{subject}denies [x]"); + } + } +} + +internal sealed class ServiceInstance : IAsyncDisposable +{ + private readonly RlhfGeneratorDbContext _dbContext; + private readonly HttpClient _httpClient; + + public ServiceInstance( + RlhfGeneratorDbContext dbContext, + HttpClient httpClient, + TrainingGenerationService service) + { + _dbContext = dbContext; + _httpClient = httpClient; + Service = service; + } + + public TrainingGenerationService Service { get; } + + public async ValueTask DisposeAsync() + { + await _dbContext.DisposeAsync(); + _httpClient.Dispose(); + } +} + +internal sealed class BatchObservationInterceptor : SaveChangesInterceptor +{ + public List CommittedBatchSizes { get; } = []; + + public override ValueTask SavedChangesAsync( + SaveChangesCompletedEventData eventData, + int result, + CancellationToken cancellationToken = default) + { + int batchSize = eventData.Context!.ChangeTracker + .Entries() + .Count(entry => entry.State == EntityState.Unchanged); + if (batchSize > 0) + { + CommittedBatchSizes.Add(batchSize); + } + + return base.SavedChangesAsync(eventData, result, cancellationToken); + } +} + +internal sealed class BatchFaultInterceptor : SaveChangesInterceptor +{ + private readonly int _failureCall; + private readonly bool _failAfterSave; + private readonly CancellationTokenSource? _cancellation; + private int _saveCallCount; + private bool _failed; + + private BatchFaultInterceptor( + int failureCall, + bool failAfterSave, + CancellationTokenSource? cancellation) + { + _failureCall = failureCall; + _failAfterSave = failAfterSave; + _cancellation = cancellation; + } + + public static BatchFaultInterceptor BeforeSave(int failureCall) => + new(failureCall, false, null); + + public static BatchFaultInterceptor AfterSave(int failureCall) => + new(failureCall, true, null); + + public static BatchFaultInterceptor CancelBeforeSave( + int failureCall, + CancellationTokenSource cancellation) => + new(failureCall, false, cancellation); + + public override ValueTask> SavingChangesAsync( + DbContextEventData eventData, + InterceptionResult result, + CancellationToken cancellationToken = default) + { + int call = Interlocked.Increment(ref _saveCallCount); + if (!_failed && !_failAfterSave && call == _failureCall) + { + _failed = true; + if (_cancellation is not null) + { + _cancellation.Cancel(); + throw new OperationCanceledException(_cancellation.Token); + } + + throw new InvalidOperationException("Injected batch persistence failure."); + } + + return base.SavingChangesAsync(eventData, result, cancellationToken); + } + + public override ValueTask SavedChangesAsync( + SaveChangesCompletedEventData eventData, + int result, + CancellationToken cancellationToken = default) + { + if (!_failed && _failAfterSave && _saveCallCount == _failureCall) + { + _failed = true; + throw new InvalidOperationException("Injected failure before batch commit."); + } + + return base.SavedChangesAsync(eventData, result, cancellationToken); + } +} + +internal class SuccessfulLmStudioHandler : HttpMessageHandler +{ + protected override async Task SendAsync( + HttpRequestMessage request, + CancellationToken cancellationToken) + { + string sentence = await ReadSentenceAsync(request, cancellationToken); + return CreateResponse(sentence); + } + + protected static async Task ReadSentenceAsync( + HttpRequestMessage request, + CancellationToken cancellationToken) + { + string requestBody = await request.Content!.ReadAsStringAsync(cancellationToken); + using JsonDocument requestJson = JsonDocument.Parse(requestBody); + string userContent = requestJson.RootElement + .GetProperty("messages")[1] + .GetProperty("content") + .GetString()!; + return userContent + .Split('\n') + .Single(line => line.StartsWith("Sentence: ", StringComparison.Ordinal))[10..]; + } + + protected static HttpResponseMessage CreateResponse(string content) + { + string responseBody = JsonSerializer.Serialize(new + { + choices = new[] { new { message = new { content } } } + }); + return new HttpResponseMessage(HttpStatusCode.OK) + { + Content = new StringContent(responseBody) + }; + } +} + +internal sealed class GatedLmStudioHandler : SuccessfulLmStudioHandler +{ + private readonly int _allowBeforeGate; + private readonly TaskCompletionSource _gateReached = + new(TaskCreationOptions.RunContinuationsAsynchronously); + private readonly TaskCompletionSource _release = + new(TaskCreationOptions.RunContinuationsAsynchronously); + private int _requestCount; + + public GatedLmStudioHandler(int allowBeforeGate) + { + _allowBeforeGate = allowBeforeGate; + } + + public Task GateReached => _gateReached.Task; + + public void Release() => _release.TrySetResult(); + + protected override async Task SendAsync( + HttpRequestMessage request, + CancellationToken cancellationToken) + { + if (Interlocked.Increment(ref _requestCount) > _allowBeforeGate) + { + _gateReached.TrySetResult(); + await _release.Task.WaitAsync(cancellationToken); + } + + string sentence = await ReadSentenceAsync(request, cancellationToken); + return CreateResponse(sentence); + } +} + +internal sealed class CapitalizingLmStudioHandler : SuccessfulLmStudioHandler +{ + private readonly System.Collections.Concurrent.ConcurrentBag + _capitalizedResponses = []; + + public IReadOnlyCollection CapitalizedResponses => _capitalizedResponses; + + protected override async Task SendAsync( + HttpRequestMessage request, + CancellationToken cancellationToken) + { + string sentence = await ReadSentenceAsync(request, cancellationToken); + string returnedValue = sentence.Replace( + "klippel-trenaunay syndrome", + "Klippel-Trenaunay syndrome", + StringComparison.Ordinal); + if (!string.Equals(sentence, returnedValue, StringComparison.Ordinal)) + { + _capitalizedResponses.Add(returnedValue); + } + + return CreateResponse(returnedValue); + } +} + +internal sealed class TimeoutAfterResponsesHandler : SuccessfulLmStudioHandler +{ + private readonly int _successfulResponses; + private int _requestCount; + + public TimeoutAfterResponsesHandler(int successfulResponses) + { + _successfulResponses = successfulResponses; + } + + protected override async Task SendAsync( + HttpRequestMessage request, + CancellationToken cancellationToken) + { + if (Interlocked.Increment(ref _requestCount) > _successfulResponses) + { + throw new TaskCanceledException("Injected LM Studio timeout."); + } + + string sentence = await ReadSentenceAsync(request, cancellationToken); + return CreateResponse(sentence); + } +} + +internal sealed class InvalidOutputAfterResponsesHandler : SuccessfulLmStudioHandler +{ + private readonly int _successfulResponses; + private int _requestCount; + + public InvalidOutputAfterResponsesHandler(int successfulResponses) + { + _successfulResponses = successfulResponses; + } + + protected override async Task SendAsync( + HttpRequestMessage request, + CancellationToken cancellationToken) + { + int requestNumber = Interlocked.Increment(ref _requestCount); + string sentence = await ReadSentenceAsync(request, cancellationToken); + return CreateResponse(requestNumber > _successfulResponses + ? $"\"{sentence}\"" + : sentence); + } +} diff --git a/PHI.Data.Generator/RLHF.Generator.Tests/GenerationEndpointAwaitingTests.cs b/PHI.Data.Generator/RLHF.Generator.Tests/GenerationEndpointAwaitingTests.cs new file mode 100644 index 0000000..f0dabc9 --- /dev/null +++ b/PHI.Data.Generator/RLHF.Generator.Tests/GenerationEndpointAwaitingTests.cs @@ -0,0 +1,314 @@ +using System.Net.Http.Json; +using System.Text.Json; +using Microsoft.AspNetCore.Hosting; +using Microsoft.AspNetCore.Mvc.Testing; +using Microsoft.AspNetCore.TestHost; +using Microsoft.Data.Sqlite; +using Microsoft.EntityFrameworkCore; +using Microsoft.Extensions.DependencyInjection; +using Microsoft.Extensions.DependencyInjection.Extensions; +using RLHF.Generator.Api.Contracts; +using RLHF.Generator.Generation; +using RLHF.Generator.LmStudio; +using RLHF.Generator.Persistence; +using RLHF.Generator.TrainingData; +using Xunit; + +namespace RLHF.Generator.Tests; + +public sealed class GenerationEndpointAwaitingTests +{ + [Fact] + public async Task ManualEndpoint_AcceptsCaseInsensitiveCanonicalFormMatch() + { + await using EndpointFixture fixture = new(); + fixture.Handler.ReleaseResponses(); + using HttpClient client = fixture.Factory.CreateClient(); + + using HttpResponseMessage response = await client.PostAsJsonAsync( + "/api/lm-studio/complete", + new CompleteTextRequest( + "She received a Klippel-Trenaunay syndrome diagnosis.", + IsFragment: false, + ProtectedMedicalTerm: "klippel-trenaunay syndrome", + AllowedMedicalForms: ["Klippel-Trenaunay syndrome"])); + + response.EnsureSuccessStatusCode(); + Assert.Equal( + "She received a Klippel-Trenaunay syndrome diagnosis.", + await response.Content.ReadAsStringAsync()); + } + + [Fact] + public async Task ManualEndpoint_RejectsCaseInsensitiveDuplicateForms() + { + await using EndpointFixture fixture = new(); + using HttpClient client = fixture.Factory.CreateClient(); + + using HttpResponseMessage response = await client.PostAsJsonAsync( + "/api/lm-studio/complete", + new CompleteTextRequest( + "Member is taking Aleve.", + IsFragment: false, + ProtectedMedicalTerm: "Aleve", + AllowedMedicalForms: ["Aleve", "aleve"])); + + Assert.Equal(System.Net.HttpStatusCode.BadRequest, response.StatusCode); + } + + [Fact] + public async Task RunEndpoint_AwaitsGenerationAndCommitBeforeResponding() + { + await using EndpointFixture fixture = new(); + using HttpClient client = fixture.Factory.CreateClient(); + + Task responseTask = client.PostAsync( + "/api/generation/run", + null); + await fixture.Handler.RequestStarted.WaitAsync(TimeSpan.FromSeconds(10)); + + Assert.False(responseTask.IsCompleted); + + fixture.Handler.ReleaseResponses(); + using HttpResponseMessage response = await responseTask; + response.EnsureSuccessStatusCode(); + GenerationRunResponse? result = + await response.Content.ReadFromJsonAsync(); + + Assert.NotNull(result); + Assert.NotEqual(Guid.Empty, result.RunId); + Assert.Equal(GenerationRunStatuses.Completed, result.Status); + Assert.Equal(24, result.TotalCommittedRows); + Assert.Equal(24, result.RowsCommittedThisRequest); + Assert.Equal(24, result.TotalExpectedRows); + Assert.False(result.Resumed); + Assert.Equal( + 24, + await fixture.DbContext.TrainingItems.AsNoTracking().CountAsync()); + } + + private sealed class EndpointFixture : IAsyncDisposable + { + private readonly string _dataDirectory; + private readonly SqliteConnection _connection; + + public EndpointFixture() + { + _dataDirectory = CreateTrainingData(); + _connection = new SqliteConnection("Data Source=:memory:"); + _connection.Open(); + CreateDatabase(_connection); + + DbContextOptions dbOptions = + new DbContextOptionsBuilder() + .UseSqlite(_connection) + .Options; + DbContext = new RlhfGeneratorDbContext(dbOptions); + Handler = new GatedLmStudioHandler(); + Factory = new AtomicGenerationApiFactory( + dbOptions, + _dataDirectory, + Handler); + } + + public RlhfGeneratorDbContext DbContext { get; } + + public GatedLmStudioHandler Handler { get; } + + public WebApplicationFactory Factory { get; } + + public async ValueTask DisposeAsync() + { + await Factory.DisposeAsync(); + await DbContext.DisposeAsync(); + await _connection.DisposeAsync(); + Directory.Delete(_dataDirectory, true); + } + + private static void CreateDatabase(SqliteConnection connection) + { + using SqliteCommand command = connection.CreateCommand(); + command.CommandText = + """ + CREATE TABLE Category ( + Id INTEGER NOT NULL PRIMARY KEY, + Name TEXT NOT NULL + ); + CREATE TABLE TrainingItem ( + Id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, + GenerationRunId TEXT NULL, + PlanOrdinal INTEGER NULL, + RecordKey TEXT NULL, + CategoryId INTEGER NOT NULL, + KeywordId INTEGER NULL, + IsPositive INTEGER NOT NULL, + Value TEXT NOT NULL, + FOREIGN KEY (GenerationRunId) REFERENCES GenerationRun (Id) ON DELETE RESTRICT, + FOREIGN KEY (CategoryId) REFERENCES Category (Id) ON DELETE RESTRICT + ); + CREATE TABLE GenerationRun ( + Id TEXT NOT NULL PRIMARY KEY, + Status TEXT NOT NULL, + RandomSeed INTEGER NOT NULL, + InputFingerprint TEXT NOT NULL, + ConfigurationFingerprint TEXT NOT NULL, + CurrentCategoryId INTEGER NULL, + CurrentIsPositive INTEGER NULL, + LastCommittedPlanOrdinal INTEGER NOT NULL, + TotalExpectedRowCount INTEGER NOT NULL, + TotalCommittedRowCount INTEGER NOT NULL, + StartedAt TEXT NOT NULL, + LastCheckpointAt TEXT NOT NULL, + CompletedAt TEXT NULL, + FailureType TEXT NULL, + FailureMessage TEXT NULL, + FOREIGN KEY (CurrentCategoryId) REFERENCES Category (Id) ON DELETE RESTRICT + ); + CREATE INDEX IX_TrainingItem_CategoryId ON TrainingItem (CategoryId); + CREATE UNIQUE INDEX IX_TrainingItem_RecordKey + ON TrainingItem (RecordKey) WHERE RecordKey IS NOT NULL; + CREATE UNIQUE INDEX IX_TrainingItem_GenerationRunId_PlanOrdinal + ON TrainingItem (GenerationRunId, PlanOrdinal) + WHERE GenerationRunId IS NOT NULL AND PlanOrdinal IS NOT NULL; + """; + command.ExecuteNonQuery(); + + foreach (TrainingCategoryDefinition category in TrainingCategories.All) + { + command.Parameters.Clear(); + command.CommandText = + "INSERT INTO Category (Id, Name) VALUES ($id, $name);"; + command.Parameters.AddWithValue("$id", category.Id); + command.Parameters.AddWithValue("$name", category.Name); + command.ExecuteNonQuery(); + } + } + + private static string CreateTrainingData() + { + string dataDirectory = Path.Combine( + Path.GetTempPath(), + $"RLHF.Generator.EndpointTests-{Guid.NewGuid():N}"); + string categoriesDirectory = Path.Combine(dataDirectory, "Categories"); + string patternsDirectory = Path.Combine(dataDirectory, "Patterns"); + Directory.CreateDirectory(categoriesDirectory); + Directory.CreateDirectory(patternsDirectory); + File.WriteAllLines( + Path.Combine(dataDirectory, "Subjects.txt"), + TrainingSubjects.All); + + foreach (TrainingCategoryDefinition category in TrainingCategories.All) + { + File.WriteAllText( + Path.Combine(categoriesDirectory, $"{category.Name}.txt"), + $"value-{category.Id}"); + File.WriteAllText( + Path.Combine(patternsDirectory, $"{category.Name}.positive.txt"), + "[sub] confirms [x]"); + File.WriteAllText( + Path.Combine(patternsDirectory, $"{category.Name}.negative.txt"), + "[sub] denies [x]"); + } + + return dataDirectory; + } + } + + private sealed class AtomicGenerationApiFactory : WebApplicationFactory + { + private readonly DbContextOptions _dbOptions; + private readonly string _dataDirectory; + private readonly GatedLmStudioHandler _handler; + + public AtomicGenerationApiFactory( + DbContextOptions dbOptions, + string dataDirectory, + GatedLmStudioHandler handler) + { + _dbOptions = dbOptions; + _dataDirectory = dataDirectory; + _handler = handler; + } + + protected override void ConfigureWebHost(IWebHostBuilder builder) + { + builder.ConfigureTestServices(services => + { + services.RemoveAll(); + services.RemoveAll>(); + services.AddScoped(_ => new RlhfGeneratorDbContext(_dbOptions)); + + services.RemoveAll(); + services.AddSingleton(new TrainingDataReader(_dataDirectory)); + + GenerationOptions generationOptions = new() + { + RandomSeed = 42, + MaxDegreeOfParallelism = 4, + SaveBatchSize = 10, + ProgressLogIntervalSeconds = 5 + }; + services.RemoveAll(); + services.AddSingleton(generationOptions); + + LmStudioOptions lmStudioOptions = new() + { + ChatCompletionsUrl = "http://localhost/v1/chat/completions", + ModelName = "endpoint-test", + SystemPrompt = "endpoint-test", + Temperature = 0, + TopP = 1, + MaxTokens = 32, + Seed = 42, + TimeoutSeconds = 30 + }; + services.RemoveAll(); + services.AddSingleton(lmStudioOptions); + services.RemoveAll(); + services.AddSingleton( + new LmStudioClient(new HttpClient(_handler), lmStudioOptions)); + }); + } + } + + private sealed class GatedLmStudioHandler : HttpMessageHandler + { + private readonly TaskCompletionSource _requestStarted = + new(TaskCreationOptions.RunContinuationsAsynchronously); + private readonly TaskCompletionSource _release = + new(TaskCreationOptions.RunContinuationsAsynchronously); + + public Task RequestStarted => _requestStarted.Task; + + public void ReleaseResponses() => _release.TrySetResult(); + + protected override async Task SendAsync( + HttpRequestMessage request, + CancellationToken cancellationToken) + { + _requestStarted.TrySetResult(); + await _release.Task.WaitAsync(cancellationToken); + + string requestBody = await request.Content!.ReadAsStringAsync(cancellationToken); + using JsonDocument requestJson = JsonDocument.Parse(requestBody); + string userContent = requestJson.RootElement + .GetProperty("messages")[1] + .GetProperty("content") + .GetString()!; + string sentence = userContent + .Split('\n') + .Single(line => line.StartsWith("Sentence: ", StringComparison.Ordinal))[10..]; + string responseBody = JsonSerializer.Serialize(new + { + choices = new[] + { + new { message = new { content = sentence } } + } + }); + return new HttpResponseMessage(System.Net.HttpStatusCode.OK) + { + Content = new StringContent(responseBody) + }; + } + } +} \ No newline at end of file diff --git a/PHI.Data.Generator/RLHF.Generator.Tests/GenerationThroughputLoggingTests.cs b/PHI.Data.Generator/RLHF.Generator.Tests/GenerationThroughputLoggingTests.cs new file mode 100644 index 0000000..741ff7f --- /dev/null +++ b/PHI.Data.Generator/RLHF.Generator.Tests/GenerationThroughputLoggingTests.cs @@ -0,0 +1,416 @@ +using System.Collections.Concurrent; +using Microsoft.Extensions.Logging; +using RLHF.Generator.Generation; +using Xunit; + +namespace RLHF.Generator.Tests; + +public sealed class GenerationThroughputLoggingTests +{ + [Fact] + public async Task PeriodicLog_ReportsRatesCommitsConcurrencyEtaAndStopsAfterSuccess() + { + await using GenerationFixture fixture = await GenerationFixture.CreateAsync( + 8, + requiresLmStudio: true); + ManualTimeProvider timeProvider = new(); + TestLogger logger = new(); + CoordinatedLmStudioHandler handler = new( + allowBeforeGate: 4, + blockedRequestTarget: 4); + await using ServiceInstance instance = fixture.CreateService( + handler, + logger: logger, + timeProvider: timeProvider); + + Task generationTask = instance.Service.GenerateAsync(); + await handler.TargetBlockedRequestsReached.WaitAsync(TimeSpan.FromSeconds(10)); + timeProvider.Advance(TimeSpan.FromSeconds(5)); + TestLogEntry periodic = await logger.WaitForAsync( + entry => entry.Message.StartsWith("Generation progress:", StringComparison.Ordinal)); + + Assert.Contains("4/38", periodic.Message, StringComparison.Ordinal); + Assert.Contains("session 4", periodic.Message, StringComparison.Ordinal); + Assert.Contains("items/s current", periodic.Message, StringComparison.Ordinal); + Assert.Contains("items/s average", periodic.Message, StringComparison.Ordinal); + Assert.Contains("committed 0", periodic.Message, StringComparison.Ordinal); + Assert.Contains("LM active 4/4", periodic.Message, StringComparison.Ordinal); + Assert.Contains("LM peak 4", periodic.Message, StringComparison.Ordinal); + Assert.Contains("ETA ", periodic.Message, StringComparison.Ordinal); + + handler.Release(); + GenerationRunResult result = await generationTask; + Assert.Equal(38, result.TotalCommittedRows); + Assert.Contains(logger.Entries, entry => + entry.Message.StartsWith("Generation execution started:", StringComparison.Ordinal)); + TestLogEntry final = Assert.Single(logger.Entries, entry => + entry.Message.StartsWith("Generation execution completed:", StringComparison.Ordinal)); + Assert.Contains("session processed 38", final.Message, StringComparison.Ordinal); + Assert.Contains("committed 38", final.Message, StringComparison.Ordinal); + Assert.Contains("LM active 0", final.Message, StringComparison.Ordinal); + Assert.Contains("LM peak 4", final.Message, StringComparison.Ordinal); + + int progressLogCount = logger.Entries.Count(entry => + entry.Message.StartsWith("Generation progress:", StringComparison.Ordinal)); + timeProvider.Advance(TimeSpan.FromMinutes(1)); + await Task.Yield(); + Assert.Equal( + progressLogCount, + logger.Entries.Count(entry => + entry.Message.StartsWith("Generation progress:", StringComparison.Ordinal))); + } + + [Fact] + public async Task DirectItems_NeverIncrementLmActivity() + { + await using GenerationFixture fixture = await GenerationFixture.CreateAsync(1); + TestLogger logger = new(); + await using ServiceInstance instance = fixture.CreateService(logger: logger); + + await instance.Service.GenerateAsync(); + + TestLogEntry final = Assert.Single(logger.Entries, entry => + entry.Message.StartsWith("Generation execution completed:", StringComparison.Ordinal)); + Assert.Contains("session processed 24", final.Message, StringComparison.Ordinal); + Assert.Contains("LM active 0", final.Message, StringComparison.Ordinal); + Assert.Contains("LM peak 0", final.Message, StringComparison.Ordinal); + } + + [Fact] + public async Task FailedLmItems_AreNotProcessedAndReporterStops() + { + await using GenerationFixture fixture = await GenerationFixture.CreateAsync( + 8, + requiresLmStudio: true); + ManualTimeProvider timeProvider = new(); + TestLogger logger = new(); + await using ServiceInstance instance = fixture.CreateService( + new InvalidOutputAfterResponsesHandler(0), + logger: logger, + timeProvider: timeProvider); + + await Assert.ThrowsAsync( + () => instance.Service.GenerateAsync()); + + TestLogEntry final = Assert.Single(logger.Entries, entry => + entry.Message.StartsWith("Generation execution interrupted:", StringComparison.Ordinal)); + Assert.Equal(LogLevel.Warning, final.Level); + Assert.Contains("session processed 0", final.Message, StringComparison.Ordinal); + Assert.Contains("committed 0", final.Message, StringComparison.Ordinal); + Assert.Contains("LM active 0", final.Message, StringComparison.Ordinal); + Assert.Matches("LM peak [1-4]", final.Message); + int logCount = logger.Entries.Count; + timeProvider.Advance(TimeSpan.FromMinutes(1)); + await Task.Yield(); + Assert.Equal(logCount, logger.Entries.Count); + } + + [Fact] + public async Task Cancellation_DecrementsLmActivityAndStopsReporter() + { + await using GenerationFixture fixture = await GenerationFixture.CreateAsync( + 8, + requiresLmStudio: true); + ManualTimeProvider timeProvider = new(); + TestLogger logger = new(); + CoordinatedLmStudioHandler handler = new( + allowBeforeGate: 0, + blockedRequestTarget: 4); + await using ServiceInstance instance = fixture.CreateService( + handler, + logger: logger, + timeProvider: timeProvider); + using CancellationTokenSource cancellation = new(); + + Task generationTask = instance.Service.GenerateAsync(cancellation.Token); + await handler.TargetBlockedRequestsReached.WaitAsync(TimeSpan.FromSeconds(10)); + await cancellation.CancelAsync(); + await Assert.ThrowsAnyAsync(() => generationTask); + + TestLogEntry final = Assert.Single(logger.Entries, entry => + entry.Message.StartsWith("Generation execution interrupted:", StringComparison.Ordinal)); + Assert.Contains("session processed 0", final.Message, StringComparison.Ordinal); + Assert.Contains("LM active 0", final.Message, StringComparison.Ordinal); + Assert.Contains("LM peak 4", final.Message, StringComparison.Ordinal); + int logCount = logger.Entries.Count; + timeProvider.Advance(TimeSpan.FromMinutes(1)); + await Task.Yield(); + Assert.Equal(logCount, logger.Entries.Count); + } + + [Fact] + public async Task Resume_LogStartsSessionAtZeroAndRetainsCommittedProgress() + { + await using GenerationFixture fixture = await GenerationFixture.CreateAsync( + 20, + requiresLmStudio: true); + BatchFaultInterceptor failure = BatchFaultInterceptor.BeforeSave(3); + await using (ServiceInstance failed = fixture.CreateService(interceptor: failure)) + { + await Assert.ThrowsAsync( + () => failed.Service.GenerateAsync()); + } + + ManualTimeProvider timeProvider = new(); + TestLogger logger = new(); + CoordinatedLmStudioHandler handler = new( + allowBeforeGate: 0, + blockedRequestTarget: 4); + await using ServiceInstance resumed = fixture.CreateService( + handler, + logger: logger, + timeProvider: timeProvider); + + Task resumedTask = resumed.Service.GenerateAsync(); + await handler.TargetBlockedRequestsReached.WaitAsync(TimeSpan.FromSeconds(10)); + timeProvider.Advance(TimeSpan.FromSeconds(5)); + TestLogEntry periodic = await logger.WaitForAsync(entry => + entry.Message.StartsWith("Generation progress:", StringComparison.Ordinal)); + Assert.Contains("10/62", periodic.Message, StringComparison.Ordinal); + Assert.Contains("session 0", periodic.Message, StringComparison.Ordinal); + Assert.Contains("committed 10", periodic.Message, StringComparison.Ordinal); + + handler.Release(); + await resumedTask; + + TestLogEntry start = Assert.Single(logger.Entries, entry => + entry.Message.StartsWith("Generation execution started:", StringComparison.Ordinal)); + Assert.Contains("already committed 10", start.Message, StringComparison.Ordinal); + TestLogEntry final = Assert.Single(logger.Entries, entry => + entry.Message.StartsWith("Generation execution completed:", StringComparison.Ordinal)); + Assert.Contains("session processed 52", final.Message, StringComparison.Ordinal); + Assert.Contains("committed 62", final.Message, StringComparison.Ordinal); + } + + [Fact] + public async Task FailedCommit_DoesNotAdvanceLoggedCommittedCount() + { + await using GenerationFixture fixture = await GenerationFixture.CreateAsync(20); + TestLogger logger = new(); + BatchFaultInterceptor failure = BatchFaultInterceptor.BeforeSave(2); + await using ServiceInstance instance = fixture.CreateService( + interceptor: failure, + logger: logger); + + await Assert.ThrowsAsync( + () => instance.Service.GenerateAsync()); + + TestLogEntry final = Assert.Single(logger.Entries, entry => + entry.Message.StartsWith("Generation execution interrupted:", StringComparison.Ordinal)); + Assert.Contains("committed 0", final.Message, StringComparison.Ordinal); + Assert.Equal(0, await fixture.CountRowsAsync()); + } + + [Fact] + public async Task NonPositiveProgressInterval_IsRejected() + { + await using GenerationFixture fixture = await GenerationFixture.CreateAsync(1); + GenerationOptions options = fixture.CreateGenerationOptions(); + options.ProgressLogIntervalSeconds = 0; + + InvalidOperationException exception = Assert.Throws( + () => fixture.CreateService(generationOptions: options)); + + Assert.Contains("ProgressLogIntervalSeconds", exception.Message, StringComparison.Ordinal); + } +} + +internal sealed class CoordinatedLmStudioHandler : SuccessfulLmStudioHandler +{ + private readonly int _allowBeforeGate; + private readonly int _blockedRequestTarget; + private readonly TaskCompletionSource _targetBlockedRequestsReached = + new(TaskCreationOptions.RunContinuationsAsynchronously); + private readonly TaskCompletionSource _release = + new(TaskCreationOptions.RunContinuationsAsynchronously); + private int _requestCount; + private int _blockedRequestCount; + + public CoordinatedLmStudioHandler(int allowBeforeGate, int blockedRequestTarget) + { + _allowBeforeGate = allowBeforeGate; + _blockedRequestTarget = blockedRequestTarget; + } + + public Task TargetBlockedRequestsReached => _targetBlockedRequestsReached.Task; + + public void Release() => _release.TrySetResult(); + + protected override async Task SendAsync( + HttpRequestMessage request, + CancellationToken cancellationToken) + { + if (Interlocked.Increment(ref _requestCount) > _allowBeforeGate) + { + if (Interlocked.Increment(ref _blockedRequestCount) == _blockedRequestTarget) + { + _targetBlockedRequestsReached.TrySetResult(); + } + + await _release.Task.WaitAsync(cancellationToken); + } + + string sentence = await ReadSentenceAsync(request, cancellationToken); + return CreateResponse(sentence); + } +} + +internal sealed record TestLogEntry(LogLevel Level, string Message); + +internal sealed class TestLogger : ILogger +{ + private readonly ConcurrentQueue _entries = new(); + private readonly SemaphoreSlim _logged = new(0); + + public IReadOnlyCollection Entries => _entries.ToArray(); + + public IDisposable? BeginScope(TState state) where TState : notnull => null; + + public bool IsEnabled(LogLevel logLevel) => true; + + public void Log( + LogLevel logLevel, + EventId eventId, + TState state, + Exception? exception, + Func formatter) + { + _entries.Enqueue(new TestLogEntry(logLevel, formatter(state, exception))); + _logged.Release(); + } + + public async Task WaitForAsync(Func predicate) + { + using CancellationTokenSource timeout = new(TimeSpan.FromSeconds(10)); + while (true) + { + TestLogEntry? match = Entries.FirstOrDefault(predicate); + if (match is not null) + { + return match; + } + + await _logged.WaitAsync(timeout.Token); + } + } +} + +internal sealed class ManualTimeProvider : TimeProvider +{ + private readonly object _sync = new(); + private readonly List _timers = []; + private long _timestamp; + + public override long TimestampFrequency => TimeSpan.TicksPerSecond; + + public override long GetTimestamp() => Volatile.Read(ref _timestamp); + + public override ITimer CreateTimer( + TimerCallback callback, + object? state, + TimeSpan dueTime, + TimeSpan period) + { + ManualTimer timer = new(this, callback, state, dueTime, period); + lock (_sync) + { + _timers.Add(timer); + } + + return timer; + } + + public void Advance(TimeSpan duration) + { + List<(TimerCallback Callback, object? State)> callbacks = []; + lock (_sync) + { + _timestamp += duration.Ticks; + foreach (ManualTimer timer in _timers.ToArray()) + { + timer.CollectCallbacks(_timestamp, callbacks); + } + } + + foreach ((TimerCallback callback, object? state) in callbacks) + { + callback(state); + } + } + + private void Remove(ManualTimer timer) + { + lock (_sync) + { + _timers.Remove(timer); + } + } + + private sealed class ManualTimer : ITimer + { + private readonly ManualTimeProvider _provider; + private readonly TimerCallback _callback; + private readonly object? _state; + private long _nextTimestamp; + private long _periodTicks; + private bool _disposed; + + public ManualTimer( + ManualTimeProvider provider, + TimerCallback callback, + object? state, + TimeSpan dueTime, + TimeSpan period) + { + _provider = provider; + _callback = callback; + _state = state; + Change(dueTime, period); + } + + public bool Change(TimeSpan dueTime, TimeSpan period) + { + if (_disposed) + { + return false; + } + + _nextTimestamp = dueTime == Timeout.InfiniteTimeSpan + ? long.MaxValue + : _provider.GetTimestamp() + dueTime.Ticks; + _periodTicks = period == Timeout.InfiniteTimeSpan + ? 0 + : period.Ticks; + return true; + } + + public void Dispose() + { + _disposed = true; + _provider.Remove(this); + } + + public ValueTask DisposeAsync() + { + Dispose(); + return ValueTask.CompletedTask; + } + + public void CollectCallbacks( + long timestamp, + List<(TimerCallback Callback, object? State)> callbacks) + { + while (!_disposed && timestamp >= _nextTimestamp) + { + callbacks.Add((_callback, _state)); + if (_periodTicks <= 0) + { + _nextTimestamp = long.MaxValue; + break; + } + + _nextTimestamp += _periodTicks; + } + } + } +} \ No newline at end of file diff --git a/PHI.Data.Generator/RLHF.Generator.Tests/KeywordCatalogPhase1Tests.cs b/PHI.Data.Generator/RLHF.Generator.Tests/KeywordCatalogPhase1Tests.cs new file mode 100644 index 0000000..3be0a3c --- /dev/null +++ b/PHI.Data.Generator/RLHF.Generator.Tests/KeywordCatalogPhase1Tests.cs @@ -0,0 +1,324 @@ +using Microsoft.Data.SqlClient; +using Microsoft.Data.Sqlite; +using Microsoft.EntityFrameworkCore; +using RLHF.Generator.Keywords; +using RLHF.Generator.Persistence; +using RLHF.Generator.TrainingData; +using Xunit; + +namespace RLHF.Generator.Tests; + +public sealed class KeywordCatalogPhase1Tests +{ + [Fact] + public async Task Model_ContainsNullableKeywordRelationshipAndRequiredIndexes() + { + await using KeywordFixture fixture = await KeywordFixture.CreateAsync(); + await using RlhfGeneratorDbContext context = fixture.CreateContext(); + Microsoft.EntityFrameworkCore.Metadata.IEntityType keyword = + context.Model.FindEntityType(typeof(Keyword))!; + Microsoft.EntityFrameworkCore.Metadata.IEntityType variant = + context.Model.FindEntityType(typeof(KeywordVariant))!; + Microsoft.EntityFrameworkCore.Metadata.IEntityType trainingItem = + context.Model.FindEntityType(typeof(TrainingItem))!; + + Assert.Contains( + keyword.GetIndexes(), + index => index.IsUnique + && index.Properties.Select(property => property.Name) + .SequenceEqual([nameof(Keyword.CategoryId), nameof(Keyword.Value)])); + Assert.Contains( + variant.GetIndexes(), + index => index.IsUnique + && index.Properties.Select(property => property.Name) + .SequenceEqual([nameof(KeywordVariant.ParentId), nameof(KeywordVariant.Value)])); + Assert.True(trainingItem.FindProperty(nameof(TrainingItem.KeywordId))!.IsNullable); + Assert.Contains( + trainingItem.GetIndexes(), + index => !index.IsUnique + && index.Properties.Single().Name == nameof(TrainingItem.KeywordId)); + Assert.Contains( + keyword.GetForeignKeys(), + foreignKey => foreignKey.PrincipalEntityType.ClrType == typeof(Category) + && foreignKey.PrincipalToDependent?.Name == nameof(Category.Keywords) + && foreignKey.DeleteBehavior == DeleteBehavior.Restrict); + Assert.Contains( + variant.GetForeignKeys(), + foreignKey => foreignKey.PrincipalEntityType.ClrType == typeof(Keyword) + && foreignKey.DeleteBehavior == DeleteBehavior.Cascade); + Assert.Contains( + trainingItem.GetForeignKeys(), + foreignKey => foreignKey.PrincipalEntityType.ClrType == typeof(Keyword) + && foreignKey.DeleteBehavior == DeleteBehavior.Restrict); + } + + [Fact] + public async Task Load_IsAdditiveCaseInsensitiveAndIdempotent() + { + await using KeywordFixture fixture = await KeywordFixture.CreateAsync(); + fixture.WriteCategoryValues( + TrainingCategories.MedicalDiagnosis, + "Café-au-lait spot|cafe au lait spot"); + await using RlhfGeneratorDbContext context = fixture.CreateContext(); + context.Keywords.Add(new Keyword + { + CategoryId = TrainingCategories.MedicalDiagnosis.Id, + Value = "CAFÉ-AU-LAIT SPOT" + }); + await context.SaveChangesAsync(); + + KeywordLoadService service = new(context, new TrainingDataReader(fixture.DataDirectory)); + KeywordLoadResult first = await service.LoadAsync(); + KeywordLoadResult second = await service.LoadAsync(); + + Assert.Equal(TrainingCategories.All.Count, first.SourceKeywordCount); + Assert.Equal(1, first.SourceVariantCount); + Assert.Equal(TrainingCategories.All.Count - 1, first.InsertedKeywordCount); + Assert.Equal(1, first.ExistingKeywordCount); + Assert.Equal(1, first.InsertedVariantCount); + Assert.Equal(0, second.InsertedKeywordCount); + Assert.Equal(0, second.InsertedVariantCount); + Assert.Equal(TrainingCategories.All.Count, await context.Keywords.CountAsync()); + Keyword reused = await context.Keywords.SingleAsync(keyword => + keyword.CategoryId == TrainingCategories.MedicalDiagnosis.Id); + KeywordVariant variant = Assert.Single(await context.KeywordVariants.ToListAsync()); + Assert.Equal(reused.Id, variant.ParentId); + Assert.False(string.Equals( + reused.Value, + variant.Value, + StringComparison.OrdinalIgnoreCase)); + } + + [Fact] + public async Task Backfill_DryRunApplyAndRerun_HandleNormalizationBoundariesAndAmbiguity() + { + await using KeywordFixture fixture = await KeywordFixture.CreateAsync(); + await using RlhfGeneratorDbContext context = fixture.CreateContext(); + Keyword cafe = new() + { + CategoryId = TrainingCategories.MedicalDiagnosis.Id, + Value = "café-au-lait spot", + Variants = [new KeywordVariant { Value = "cafe au lait spot" }] + }; + Keyword pain = new() + { + CategoryId = TrainingCategories.MedicalDiagnosis.Id, + Value = "pain" + }; + Keyword chestPain = new() + { + CategoryId = TrainingCategories.MedicalDiagnosis.Id, + Value = "chest pain" + }; + Keyword sharedOne = new() + { + CategoryId = TrainingCategories.MedicalDiagnosis.Id, + Value = "shared surface" + }; + Keyword sharedTwo = new() + { + CategoryId = TrainingCategories.MedicalDiagnosis.Id, + Value = "different canonical", + Variants = [new KeywordVariant { Value = "shared surface" }] + }; + context.Keywords.AddRange(cafe, pain, chestPain, sharedOne, sharedTwo); + await context.SaveChangesAsync(); + Guid generationRunId = Guid.NewGuid(); + TrainingItem alreadyAssigned = new() + { + GenerationRunId = generationRunId, + PlanOrdinal = 42, + RecordKey = new string('a', 64), + CategoryId = TrainingCategories.MedicalDiagnosis.Id, + KeywordId = pain.Id, + IsPositive = false, + Value = "Existing assigned metadata" + }; + context.TrainingItems.AddRange( + CreateItem("The CAFE AU LAIT SPOT is unchanged."), + CreateItem("There is chest pain."), + CreateItem("There is chest pain and a café-au-lait spot."), + CreateItem("A shared surface is present."), + CreateItem("The painting is unchanged."), + new TrainingItem + { + CategoryId = TrainingCategories.MedicalAllergy.Id, + IsPositive = true, + Value = "Pain is mentioned in another category." + }, + alreadyAssigned); + await context.SaveChangesAsync(); + + TrainingItemKeywordBackfillService service = new(context); + TrainingItemKeywordBackfillResult dryRun = await service.BackfillAsync(batchSize: 5); + Assert.Equal(7, dryRun.TotalTrainingItemCount); + Assert.Equal(1, dryRun.AlreadyAssignedCount); + Assert.Equal(6, dryRun.ProcessedCount); + Assert.Equal(2, dryRun.UniqueMatchCount); + Assert.Equal(2, dryRun.UnmatchedCount); + Assert.Equal(2, dryRun.AmbiguousCount); + Assert.Equal(0, dryRun.UpdatedCount); + Assert.Equal(1, await context.TrainingItems.CountAsync(item => item.KeywordId != null)); + + TrainingItemKeywordBackfillResult applied = await service.BackfillAsync(false, 5); + Assert.Equal(2, applied.UpdatedCount); + Assert.Equal(3, await context.TrainingItems.CountAsync(item => item.KeywordId != null)); + TrainingItem preserved = await context.TrainingItems.SingleAsync( + item => item.Id == alreadyAssigned.Id); + Assert.Equal(pain.Id, preserved.KeywordId); + Assert.Equal(generationRunId, preserved.GenerationRunId); + Assert.Equal(42, preserved.PlanOrdinal); + Assert.Equal(new string('a', 64), preserved.RecordKey); + Assert.False(preserved.IsPositive); + Assert.Equal("Existing assigned metadata", preserved.Value); + + TrainingItemKeywordBackfillResult rerun = await service.BackfillAsync(false, 5); + Assert.Equal(3, rerun.AlreadyAssignedCount); + Assert.Equal(4, rerun.ProcessedCount); + Assert.Equal(0, rerun.UpdatedCount); + } + + [Fact] + public async Task Backfill_RejectsMissingCatalogAndInvalidBatchSize() + { + await using KeywordFixture fixture = await KeywordFixture.CreateAsync(); + await using RlhfGeneratorDbContext context = fixture.CreateContext(); + TrainingItemKeywordBackfillService service = new(context); + + await Assert.ThrowsAsync(() => service.BackfillAsync()); + await Assert.ThrowsAsync(() => service.BackfillAsync(batchSize: 0)); + } + + [Fact] + public void DesignTimeFactory_UsesOnlyGuardedSqlServerCatalog() + { + RlhfGeneratorDesignTimeDbContextFactory factory = new(); + using RlhfGeneratorDbContext context = factory.CreateDbContext([]); + string connectionString = context.Database.GetConnectionString()!; + SqlConnectionStringBuilder connection = new(connectionString); + + Assert.True(context.Database.IsSqlServer()); + Assert.Equal( + RlhfGeneratorDesignTimeDbContextFactory.DesignTimeDatabaseName, + connection.InitialCatalog); + InvalidOperationException productionException = Assert.Throws( + () => RlhfGeneratorDesignTimeDbContextFactory.ValidateDatabaseName("RLHFGenerator")); + Assert.Contains( + "forbidden from using the production RLHFGenerator database", + productionException.Message, + StringComparison.Ordinal); + Assert.Throws( + () => RlhfGeneratorDesignTimeDbContextFactory.ValidateDatabaseName("anything-else")); + } + + private static TrainingItem CreateItem(string value) => new() + { + CategoryId = TrainingCategories.MedicalDiagnosis.Id, + IsPositive = true, + Value = value + }; +} + +internal sealed class KeywordFixture : IAsyncDisposable +{ + private readonly string _rootDirectory; + private readonly string _connectionString; + + private KeywordFixture(string rootDirectory) + { + _rootDirectory = rootDirectory; + _connectionString = $"Data Source={Path.Combine(rootDirectory, "keywords.db")};Pooling=False"; + } + + public string DataDirectory => Path.Combine(_rootDirectory, "Data"); + + public static async Task CreateAsync() + { + string rootDirectory = Path.Combine( + Path.GetTempPath(), + $"RLHF.Generator.Keywords.Tests-{Guid.NewGuid():N}"); + Directory.CreateDirectory(Path.Combine(rootDirectory, "Data", "Categories")); + KeywordFixture fixture = new(rootDirectory); + foreach (TrainingCategoryDefinition category in TrainingCategories.All) + { + fixture.WriteCategoryValues(category, $"value-{category.Id}"); + } + + await fixture.CreateDatabaseAsync(); + return fixture; + } + + public RlhfGeneratorDbContext CreateContext() + { + DbContextOptions options = + new DbContextOptionsBuilder() + .UseSqlite(_connectionString) + .Options; + return new RlhfGeneratorDbContext(options); + } + + public void WriteCategoryValues(TrainingCategoryDefinition category, string content) => + File.WriteAllText( + Path.Combine(DataDirectory, "Categories", $"{category.Name}.txt"), + content); + + public async ValueTask DisposeAsync() + { + SqliteConnection.ClearAllPools(); + await Task.Yield(); + Directory.Delete(_rootDirectory, true); + } + + private async Task CreateDatabaseAsync() + { + await using SqliteConnection connection = new(_connectionString); + await connection.OpenAsync(); + await using SqliteCommand command = connection.CreateCommand(); + command.CommandText = + """ + PRAGMA foreign_keys = ON; + CREATE TABLE Category ( + Id INTEGER NOT NULL PRIMARY KEY, + Name TEXT NOT NULL + ); + CREATE TABLE Keyword ( + Id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, + CategoryId INTEGER NOT NULL, + Value TEXT NOT NULL, + FOREIGN KEY (CategoryId) REFERENCES Category (Id) ON DELETE RESTRICT + ); + CREATE UNIQUE INDEX IX_Keyword_CategoryId_Value ON Keyword (CategoryId, Value); + CREATE TABLE KeywordVariant ( + Id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, + ParentId INTEGER NOT NULL, + Value TEXT NOT NULL, + FOREIGN KEY (ParentId) REFERENCES Keyword (Id) ON DELETE CASCADE + ); + CREATE UNIQUE INDEX IX_KeywordVariant_ParentId_Value + ON KeywordVariant (ParentId, Value); + CREATE TABLE TrainingItem ( + Id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, + GenerationRunId TEXT NULL, + PlanOrdinal INTEGER NULL, + RecordKey TEXT NULL, + CategoryId INTEGER NOT NULL, + KeywordId INTEGER NULL, + IsPositive INTEGER NOT NULL, + Value TEXT NOT NULL, + FOREIGN KEY (CategoryId) REFERENCES Category (Id) ON DELETE RESTRICT, + FOREIGN KEY (KeywordId) REFERENCES Keyword (Id) ON DELETE RESTRICT + ); + CREATE INDEX IX_TrainingItem_KeywordId ON TrainingItem (KeywordId); + """; + await command.ExecuteNonQueryAsync(); + + foreach (TrainingCategoryDefinition category in TrainingCategories.All) + { + command.Parameters.Clear(); + command.CommandText = "INSERT INTO Category (Id, Name) VALUES ($id, $name);"; + command.Parameters.AddWithValue("$id", category.Id); + command.Parameters.AddWithValue("$name", category.Name); + await command.ExecuteNonQueryAsync(); + } + } +} \ No newline at end of file diff --git a/PHI.Data.Generator/RLHF.Generator.Tests/ProductionProviderIsolationTests.cs b/PHI.Data.Generator/RLHF.Generator.Tests/ProductionProviderIsolationTests.cs new file mode 100644 index 0000000..0459f9f --- /dev/null +++ b/PHI.Data.Generator/RLHF.Generator.Tests/ProductionProviderIsolationTests.cs @@ -0,0 +1,76 @@ +using Microsoft.AspNetCore.Mvc.Testing; +using Microsoft.EntityFrameworkCore; +using Microsoft.Extensions.DependencyInjection; +using RLHF.Generator.Persistence; +using Xunit; + +namespace RLHF.Generator.Tests; + +public sealed class ProductionProviderIsolationTests +{ + [Fact] + public void ProductionDependencyInjection_UsesSqlServerProvider() + { + using WebApplicationFactory factory = new(); + using IServiceScope scope = factory.Services.CreateScope(); + RlhfGeneratorDbContext dbContext = scope.ServiceProvider + .GetRequiredService(); + DbContextOptions options = scope.ServiceProvider + .GetRequiredService>(); + + Assert.Equal( + "Microsoft.EntityFrameworkCore.SqlServer", + dbContext.Database.ProviderName); + Assert.Contains( + "Initial Catalog=RLHFGenerator", + dbContext.Database.GetConnectionString(), + StringComparison.OrdinalIgnoreCase); + Assert.Contains( + options.Extensions, + extension => extension.GetType().Name.Contains( + "SqlServerOptionsExtension", + StringComparison.Ordinal)); + Assert.DoesNotContain( + options.Extensions, + extension => extension.GetType().Name.Contains( + "SqliteOptionsExtension", + StringComparison.Ordinal)); + } + + [Fact] + public void SqlitePackages_AreReferencedOnlyByTestProject() + { + DirectoryInfo repository = FindRepositoryRoot(); + FileInfo[] projectFiles = repository.GetFiles( + "*.csproj", + SearchOption.AllDirectories); + FileInfo testProject = Assert.Single( + projectFiles, + file => file.Directory!.Name == "RLHF.Generator.Tests"); + + Assert.Contains( + "Sqlite", + File.ReadAllText(testProject.FullName), + StringComparison.OrdinalIgnoreCase); + foreach (FileInfo productionProject in projectFiles.Except([testProject])) + { + Assert.DoesNotContain( + "Sqlite", + File.ReadAllText(productionProject.FullName), + StringComparison.OrdinalIgnoreCase); + } + } + + private static DirectoryInfo FindRepositoryRoot() + { + DirectoryInfo? directory = new(AppContext.BaseDirectory); + while (directory is not null + && !File.Exists(Path.Combine(directory.FullName, "RLHF.Generator.slnx"))) + { + directory = directory.Parent; + } + + return directory + ?? throw new DirectoryNotFoundException("Repository root was not found."); + } +} \ No newline at end of file diff --git a/PHI.Data.Generator/RLHF.Generator.Tests/RLHF.Generator.Tests.csproj b/PHI.Data.Generator/RLHF.Generator.Tests/RLHF.Generator.Tests.csproj new file mode 100644 index 0000000..2fa2629 --- /dev/null +++ b/PHI.Data.Generator/RLHF.Generator.Tests/RLHF.Generator.Tests.csproj @@ -0,0 +1,28 @@ + + + + net10.0 + enable + enable + false + true + + + + + + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + + + + + + + \ No newline at end of file diff --git a/PHI.Data.Generator/RLHF.Generator.Tests/TestSqliteProvider.cs b/PHI.Data.Generator/RLHF.Generator.Tests/TestSqliteProvider.cs new file mode 100644 index 0000000..597dcf4 --- /dev/null +++ b/PHI.Data.Generator/RLHF.Generator.Tests/TestSqliteProvider.cs @@ -0,0 +1,11 @@ +using System.Runtime.CompilerServices; +using SQLitePCL; + +namespace RLHF.Generator.Tests; + +internal static class TestSqliteProvider +{ + [ModuleInitializer] + internal static void Initialize() => + raw.SetProvider(new SQLite3Provider_winsqlite3()); +} \ No newline at end of file diff --git a/PHI.Data.Generator/RLHF.Generator.slnx b/PHI.Data.Generator/RLHF.Generator.slnx new file mode 100644 index 0000000..8c3aa4a --- /dev/null +++ b/PHI.Data.Generator/RLHF.Generator.slnx @@ -0,0 +1,5 @@ + + + + + diff --git a/PHI.Data.Generator/RLHF.Generator/Data/Categories.zip b/PHI.Data.Generator/RLHF.Generator/Data/Categories.zip new file mode 100644 index 0000000000000000000000000000000000000000..4c8bd32b8b6702b1c623691f6bdd53084c5fa510 GIT binary patch literal 68392 zcmZsCLy#~GtmN3XZQHhO+qP}nwr$(CZQC>7{%`ADwrX=oa_Ag`>QpO81B0Ld{EuPe ze(C(*)y`Vy_qhn{Ce}mY2%L3Z?{_1e6DuFv$iEIU&Q-~%fGHn zmd6COqP64HGQXrdY%0`FIfo|8LAobG8-uTAj)A~G)cLc!5vBMuA-$%}V&ktaRIljA zZms34O+=cz1CaI2ASu%64^!qWH5`!NV3@d(bc++;MwWY0YrOS~d~(nHR!VhO!y&KI z0reP9Bsj?cWK`IJQJcGt0~~+nd%vw*O=k14Nlgj!?A}&ls=$A^Pyt4<{iN1aM z=@v`LtKH2r?()^fn=2BHsYmf zq0abm)i4)E`J{pog!$;B)u8N87ic#fV}?z- z_LW=#_I5>g@?7A)nG%~9WvNg55NaFczk2n*ua`!!h%agxCWQ_KvG5tu{XrOv_`CX} zyLks`{3|3c8N0I+WCds3$e>BMjn|HSJw*jGWIPXeCFAqghzeUYHU?xGReLy;M`w1C z;@7TjyzA`vfqAg9bRx$u4RX9(xQ{SMldsnrf@t(h&@_oH@#4%vaUHOkMF*GJKSuM5 zbcF2D*+Br^K#=5Ru?CoNKcP0o$w44uK_%xv@&sKQ92YoK09D@V4q&B2srSR<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xEN;%8uBWRPGuePoSZgzQ~Ls46&xFr0&7HE;`V*cP)@Wk9T(^vo2>Z@{C|Gt-kAWef1!N1deYb(G zz+#_^r=z={f3RmTx{Y?8z>D39u(2rC|8XbKFL!`g6~)F|&RA`9bM*D}iH!H~3=Z)R z!tm%?o{a>ptquDXqjX}%1g}U2hJQyH7!*;gT?QP9!QxR!0Ec+``=R?(lg-(Wj|iWl z-l&8ew)*pMSc!JO5^{_RM{XkMQBVp(y3_w0P1KGxo30nyI6mxStvW-Tku-b^RRUX;a zw>n#ivK4j59CJbY`}7cffoq(053NSV+EDK05Z@?asU7T literal 0 HcmV?d00001 diff --git a/PHI.Data.Generator/RLHF.Generator/Data/Categories/MEDICAL_ALLERGY.txt b/PHI.Data.Generator/RLHF.Generator/Data/Categories/MEDICAL_ALLERGY.txt new file mode 100644 index 0000000..24543f7 --- /dev/null +++ b/PHI.Data.Generator/RLHF.Generator/Data/Categories/MEDICAL_ALLERGY.txt @@ -0,0 +1,779 @@ +abacavir +ace inhibitor | ace inhibitors +acetaminophen | Tylenol | Paracetamol +acrylate | acrylates +adalimumab | Humira +adhesive agent +adhesive tape +albumen +albumin +alder pollen +alfentanil +allopurinol | Zyloprim +allura red +almond | almonds +almond oil +alpha-gal | galactose alpha 1 3 galactose +alpha-lactalbumin +alteplase +alternaria mold | alternaria +aluminum | aluminium +amidoamine +amikacin +aminoglycoside | aminoglycosides +amoxicillin +amoxicillin + clavulanate | Augmentin | amoxicillin clavulanate +ampicillin +ampicillin + sulbactam | Unasyn | ampicillin sulbactam +anchovy | anchovies +anesthesia medication | anesthesia medications +animal dander | animal dandruff +animal hair | animal fur +anise oil +annatto +ant sting | ant stings +ant venom +anthralin +anti-seizure medication | anti-seizure medications | anticonvulsant | anticonvulsants +antibiotic | antibiotics +apixaban | Eliquis +apple | apples +apple juice +articaine +ash pollen +aspartame | Nutrasweet +aspergillus mold | aspergillus +aspirin | acetylsalicylic acid +atracurium +azelaic acid +azilsartan +azithromycin | Zpak | Z-Pak | Zithromax +aztreonam +bacitracin +baker's yeast +balsam of peru +banana | bananas +barley +bean | beans +bee | bees +bee sting | bee stings +bee venom +bee venom protein +beef +bell pepper | bell peppers +benazepril +benzalkonium chloride +benzoate +benzocaine +benzoyl peroxide +benzylpenicillin +bermuda grass +bermuda grass pollen +beta-lactam | beta-lactams +beta-lactoglobulin +birch pollen +bird dander +bird feather | bird feathers +black rubber mix +bleomycin +blueberry | blueberries +bone cement +bovine insulin +brass +brazil nut | brazil nuts +brewer's yeast +buckwheat +budesonide +buffalo milk +bumblebee | bumble bee | bumblebees | bumble bees +bupivacaine | Marcaine +buprenorphine +buprenorphine + naloxone | Suboxone +butorphanol +cabazitaxel +camel milk +candesartan +canola +canola oil +capecitabine +capsicum +capsicum pepper +captopril +carbamate mix +carbamazepine | Tegretol +carbaryl +carboplatin +carmine +carob +carrot | carrots +casein +caseinate +cashew | cashews | cashew nut | cashew nuts +cat | cats +cat allergen | cat fur | cat hair | cat dander +catgut suture +cattle dander +cedar pollen +cefaclor +cefadroxil +cefazolin | Ancef +cefdinir | Omnicef +cefditoren +cefepime | Maxipime +cefixime +cefotaxime +cefotetan +cefoxitin +cefpodoxime +cefprozil +ceftaroline +ceftazidime | Fortaz +ceftazidime + avibactam | ceftazidime avibactam +ceftibuten +ceftolozane +ceftolozane + tazobactam | ceftolozane tazobactam +ceftriaxone | Rocephin +cefuroxime | Ceftin +celecoxib | Celebrex +celeriac | celery root +celery +cephalexin | Keflex +cephalosporin | cephalosporins +cephalothin +cephradine +cereal | cereals +cetuximab +cheese +chemotherapy +chemotherapy drug | chemotherapy drugs +cherry | cherries +chestnut | chestnuts +chicken | chickens +chicken egg | chicken eggs | hen's egg | hens' eggs +chickpea | chickpeas +chili pepper | chili peppers | chile pepper | chile peppers +chloramphenicol +chlorhexidine +chloroprocaine +chlorpromazine +chocolate +chromate +chromium +cinnamon +ciprofloxacin | Cipro +cisatracurium +cisplatin +citrate +citrus +citrus fruit | citrus fruits +cladosporium mold | cladosporium +clam | clams +clarithromycin | Biaxin +clavulanate +clavulanic acid +clindamycin | Cleocin +clove +cobalt +cobalt chloride +cocaine +cocamide dea +cocamidopropyl betaine +cochineal +cockroach | cockroaches | roach | roaches +cockroach allergen | cockroach protein +cockroach debris +cocoa butter +coconut | coconuts +cod | cods +codeine +colistin +colophony +contrast media | contrast dye | radiographic contrast | x-ray contrast +copper +coriander +corn +corn protein +cornmeal +cotton fiber +cottonwood pollen +cow dander +cow fur +cow hair +cow milk | cow's milk +cow milk protein | cow's milk protein +crab | crabs +crustacean | crustaceans +cumin +curry powder +cuttlefish | cuttlefishes +cyanoacrylate +cyclophosphamide +cypress +cypress pollen +cypress tree pollen +dabigatran | Pradaxa +dairy | dairy products +dalbavancin +dalteparin +daptomycin +date | dates +daunorubicin +delafloxacin +demeclocycline +dental acrylic +dental resin +desflurane +diatrizoate +diclofenac | Voltaren +dicloxacillin +diflunisal +dimethicone +dimethylaminopropylamine +diphenhydramine +disperse blue dye +disperse dye +divalproex +docetaxel | Taxotere +dog | dogs +dog allergen | dog fur | dog hair | dog dander +doripenem +down feathers | down feather +doxorubicin +doxycycline | Vibramycin +droperidol +duck | ducks +dust +dust mite | dust mites | house dust mite | house dust mites +dust mite protein +dye +edoxaban +efavirenz +egg | eggs +egg protein +egg white | egg whites +elm pollen +enalapril | Vasotec +enoxaparin | Lovenox +epoxy +epoxy resin +equal sweetener +ertapenem +erythromycin | Ery-Tab +ethanolamine +ethylene oxide +etodolac +etomidate +etoposide +eucalyptus oil +fava bean | fava beans | faba bean | faba beans | broad bean | broad beans +feather | feathers +febuxostat +fentanyl | Duragesic +ferric carboxymaltose +fescue pollen +fidaxomicin +fig | figs +filbert | filberts +finfish | fin fish +fire ant | fire ants +fire ant sting | fire ant stings +fire ant venom +fish | fishes +fish derived omega 3 fatty acid +fish oil | fish omega 3 | omega 3 fish oil +fish protein +flaxseed | flax seed | flax seeds +flea | fleas +flea bite | flea bites +flea saliva +flour +flower and weed pollen +flower pollen +flucloxacillin +fluoroquinolone | fluoroquinolones +fluorouracil +flurbiprofen +fondaparinux +food coloring +food dye | food colour +formaldehyde +formalin +fosfomycin +fosinopril +fosphenytoin +fragrance | fragrances +fragrance mix +fruit +fungal antigen | fungus antigen +fungal spores | fungal spore +fungus | fungi +gabapentin +gadobenate dimeglumine +gadobutrol | Gadovist +gadolinium contrast +gadopentetate | Magnevist +gadopentetate dimeglumine +gadoterate meglumine +gadoteridol +gadoxetate disodium +garlic +gelatin +gemcitabine +gemifloxacin +general anesthetic | general anesthetics +gentamicin +gerbil dander +ginger +glue +glutamate +gluten +goat milk | goat's milk +gold +gold sodium thiosulfate +goose | geese +grain +grapefruit | grapefruits +grass | grasses +grass pollen | grass pollens +guinea pig dander +hair dye | hair color | hair colour | hair coloring | hair colouring +haloperidol +hamster dander +hazelnut | hazelnuts +hemp seed +heparin +herbs and spices +hickory nut | hickory nuts +hickory pollen +honeybee | honey bee | honeybees | honey bees +hornet | hornets +hornet sting | hornet stings +hornet venom +horse | horses +horse dander +horse fur +horse hair +horsefly | horseflies +hot pepper | hot peppers +house dust | household dust | indoor dust +human insulin +hydrocodone +hydrocodone + acetaminophen | Norco | Vicodin +hydromorphone | Dilaudid +ibuprofen | Advil | Motrin +ifosfamide +imipenem +imipenem + cilastatin | imipenem cilastatin +indomethacin | Indocin +infliximab | Remicade +insect bite | insect bites +insect debris +insect saliva +insect salivary substance +insect sting | insect stings +insect venom +insulin +iodinated contrast | iodinated contrast media +iodine +iodixanol | Visipaque +iohexol | Omnipaque +iopamidol | Isovue +iopromide +iothalamate +ioversol +ipilimumab +irbesartan +irinotecan +iron +iron dextran +iron sucrose +isoflurane +johnson grass +johnson grass pollen +juniper pollen +kamut +kanamycin +ketamine +ketoprofen +ketorolac | Toradol +kiwi | kiwis | kiwifruit +kiwi fruit | kiwi fruits +lacosamide +lactose +lamb's quarters +lamb's quarters pollen +lamotrigine | Lamictal +lanolin +lanolin alcohol +latex | natural rubber latex | rubber latex | latex rubber +legume | legumes +lemon | lemons +lentil | lentils +lentil protein +levetiracetam | Keppra +levofloxacin | Levaquin +lidocaine | Xylocaine | Lignocaine +lime | limes +lincomycin +linezolid | Zyvox +Lisinopril | Zestril | Prinivil +lobster | lobsters +local anesthetic | local anesthetics +losartan +lupin | lupine +lupin flour | lupine flour +lupin seed | lupin seeds | lupine seed | lupine seeds +macadamia nut | macadamia nuts +macrolide | macrolides +maize +mammalian meat +mammalian milk +mammalian milk based food +mandarin | mandarins +mango | mangoes | mangos | mango fruit +maple pollen +marine crustacean +mci +mci/mi +meat +mefenamic acid +melon | melons +meloxicam | Mobic +meperidine | Demerol | Pethidine +mepivacaine +mercapto mix +mercaptobenzothiazole +meropenem +meropenem + vaborbactam | meropenem vaborbactam +metabisulfite | metabisulphite +methacrylate | methacrylates +methadone +methicillin +methohexital +methotrexate +methyl methacrylate +methylbenzethonium chloride +methylchloroisothiazolinone +methylisothiazolinone +metoclopramide +metrizoate +metronidazole | Flagyl +milk +milk product | milk products +milk protein +millet +minocycline +mite allergen +mite protein +mivacurium +moexipril +mold | molds | mould | moulds +mold spores | mold spore | mould spores | mould spore +mollusk | mollusks | mollusc | molluscs +monoclonal antibody | monoclonal antibodies +Morphine +mosquito | mosquitoes | mosquitos +mosquito bite | mosquito bites +mosquito saliva +mouse allergen +mouse dander +mouse epithelium +mouse skin protein +mouse urine protein | mouse urine proteins +moxifloxacin | Avelox +MSG | monosodium glutamate +mucor +mugwort +mugwort pollen +mulberry pollen +mushroom | mushrooms +mussel +mustard +mustard seed | mustard seeds +myroxylon pereirae +nabumetone +nafcillin +nalbuphine +naproxen | Aleve | Naprosyn +neomycin +nettle pollen +nevirapine +nickel +nitrofurantoin | Macrobid | Macrodantin +nitrous oxide +nivolumab | Opdivo +norfloxacin +NSAID | nsaids | nonsteroidal anti-inflammatory drugs | nonsteroidal anti-inflammatory drug +nut | nuts +nutmeg +nuts and seeds | nut and seed | nut and seeds +oak pollen +oat +oat protein +octopus | octopuses +ofloxacin +olive pollen +olive tree +olive tree pollen +olmesartan +omalizumab +ondansetron +onion +opiate | opiates +opioid | opioids +orange | oranges +orchard grass +orchard grass pollen +organochlorine pesticide +organophosphate insecticide +oritavancin +ovalbumin +ovomucoid +oxacillin +oxaliplatin +oxaprozin +oxcarbazepine +oxycodone +oxycodone + acetaminophen | Percocet +oxymorphone +oyster | oysters +paclitaxel | Taxol +pancuronium +paprika +paraben | parabens +paraffin +paromomycin +pea | peas +pea protein +peach | peaches +peanut | peanuts | groundnut | groundnuts | ground nut | ground nuts +pecan | pecans +pecan pollen +PEG | macrogol | polyethylene glycol | PEG 3350 +pellitory pollen +pembrolizumab | Keytruda +penicillin | penicillins +penicillin g +penicillin v +penicillium mold | penicillium +pentazocine +perfume | perfumes +perindopril +PET dander +PET fur +PET hair +phenobarbital | Luminal +phenoxymethylpenicillin +phenytoin | Dilantin +pickle +pig meat +pignoli +pigweed +pigweed pollen +pine nut | pine nuts +pineapple +pinon nut | pinon nuts +piper pepper +piperacillin +piperacillin + tazobactam | Zosyn | piperacillin tazobactam +piroxicam +pistachio | pistachios | pistachio nut | pistachio nuts +plantain pollen +podophyllum resin +pollen | pollens +polycarbonate dental material +polymyxin b +polysorbate 20 +polysorbate 80 +polyvinyl alcohol +poplar pollen +poppy seed | poppy seeds +porcine insulin +pork +potassium dichromate +potato +poultry +povidone-iodine +PPD | paraphenylenediamine | para-phenylenediamine +prawn | prawns +pregabalin +prilocaine +primidone +procaine | Novocain | Novocaine +prochlorperazine +promethazine +propofol | Diprivan +propylene glycol +protamine | protamine sulfate +pulse | pulses | pulse vegetable | pulse vegetables +pyrethroid insecticide +quaternium-15 +quinapril +quinoa +quinolone | quinolones +rabbit +rabbit dander +rabbit fur +rabbit hair +rabbit meat +ragweed +ragweed pollen | ragweed pollens +ramipril | Altace +raspberry | raspberries +rat dander +rat urine protein +red dye +red dye 40 +red meat +remifentanil +rhizopus +rice +rifabutin +rifampin | rifampicin +rifapentine +rituximab | Rituxan +rivaroxaban | Xarelto +rocuronium +ropivacaine +rosin +rubber | natural rubber +rye +ryegrass pollen +sagebrush pollen +salicylate | salicylates +salmon +sardine | sardines +scallop | scallops +scorpion | scorpions +scorpion sting | scorpion stings +scorpion venom +seafood | sea food +seasonal pollen +seed +sesame +sesame protein +sesame seed | sesame seeds +sevoflurane +sheep milk | sheep's milk +shellfish | shell fish | shellfishes +shrimp | shrimps +shrub pollen +silicon +silicone +silk +silk suture +silver +sodium benzoate +soy | soya | soybean | soy bean | soy beans | soya bean | soya beans | soybeans +soy protein | soya protein | soybean protein +spelt +spider | spiders +spider bite | spider bites +spider venom +squid | squids +stinging insect venom +strawberry | strawberries +streptomycin +succinylcholine | suxamethonium +sufentanil +sulbactam +sulfa +sulfa drug | sulfa drugs +sulfacetamide +sulfadiazine +sulfadoxine +sulfamethoxazole +sulfamethoxazole + trimethoprim | Septra | Bactrim | Cotrimoxazole | Co-Trimoxazole | trimethoprim sulfamethoxazole +sulfasalazine +sulfisoxazole +sulfite | sulfites | sulphite | sulphites +sulfonamide | sulfonamides +sulfonamide antibiotic | sulfonamide antibiotics +sulfur +sulfur dioxide | sulphur dioxide +sulindac +sunflower oil +sunflower seed | sunflower seeds +surgical glue +swine meat +sycamore pollen +tahini +tangerine | tangerines +tapentadol +tartrazine +tazobactam +tea tree oil +tedizolid +teicoplanin +telavancin +telmisartan +tenecteplase +terpene +tetracaine +tetracycline +tetracycline antibiotics | tetracycline antibiotic +textile dye +thiopental +thiuram +thiuram mix +ticarcillin +ticarcillin + clavulanate | ticarcillin clavulanate +tick | ticks +tick bite | tick bites +tick saliva +tilapia +timothy grass +timothy grass pollen +tinidazole +tixocortol pivalate +tobramycin +tomato | tomatoes +topiramate +topotecan +tramadol | Ultram +trandolapril +trastuzumab | Herceptin +tree and shrub pollen +tree nut | tree nuts +tree pollen | tree pollens +tree resin +trimethoprim +trout +tuna | tuna fish +turkey | turkeys +valproic acid +valsartan +vancomycin | Vancocin +vanilla +vecuronium +vinblastine +vincristine +wall pellitory +wall pellitory pollen +walnut | walnuts | walnut nut +warfarin | Coumadin +wasp | wasps +wasp sting | wasp stings +wasp venom +watermelon +weed pollen | weed pollens +wheat +wheat gluten +whey +whey isolate +whey protein +white paraffin +willow pollen +wood +wool +wool alcohol | wool alcohols +wormwood +wormwood pollen +yeast +yellow dye +yellow dye 5 +yellow jacket sting | yellow jacket stings +yellow jacket venom +yellow paraffin +yellowjacket | yellow jacket | yellowjackets | yellow jackets +zonisamide diff --git a/PHI.Data.Generator/RLHF.Generator/Data/Categories/MEDICAL_DIAGNOSIS.txt b/PHI.Data.Generator/RLHF.Generator/Data/Categories/MEDICAL_DIAGNOSIS.txt new file mode 100644 index 0000000..1fe46d3 --- /dev/null +++ b/PHI.Data.Generator/RLHF.Generator/Data/Categories/MEDICAL_DIAGNOSIS.txt @@ -0,0 +1,1299 @@ +22q11.2 deletion syndrome | DiGeorge syndrome | velocardiofacial syndrome +abdominal aortic aneurysm +absence seizure +acanthosis nigricans +achalasia | esophageal achalasia | cardiospasm +achilles tendinitis +achilles tendon rupture +acl injury +acne +acne inversa +acoustic neuroma +acromegaly | excess growth hormone +actinic keratosis +acute coronary syndrome +acute flaccid myelitis | AFM +acute inflammatory demyelinating polyneuropathy | AIDP +acute kidney injury | acute renal failure | acute kidney failure | AKI +acute liver failure +acute lymphoblastic leukemia | acute lymphocytic leukemia | acute lymphoid leukemia | ALL +acute myeloid leukemia | acute myelogenous leukemia | AML +acute radiation syndrome | radiation sickness +acute respiratory distress syndrome | ARDS +acute sinusitis +Addison's disease | primary adrenal insufficiency +adenomyosis +adhesive capsulitis | frozen shoulder +adjustment disorders | adjustment disorder +adnexal tumors | adnexal tumor +adrenal cancer +adrenal mass +adrenoleukodystrophy +age spots | age spot | liver spots | liver spot | solar lentigines | solar lentigo +AIDS | acquired immunodeficiency syndrome +airplane ear | barotitis media +albinism +alcohol intolerance +alcohol poisoning +alcoholic hepatitis | alcohol-associated hepatitis +allergic rhinitis | hay fever +alopecia +alpha-gal syndrome +alzheimer's disease +ambiguous genitalia +amblyopia | lazy eye +ameloblastoma +amenorrhea +amnesia +amnestic syndrome +ampullary cancer +amyloidosis | amyloid disease +amyotrophic lateral sclerosis | ALS | Lou Gehrig's disease +anal cancer +anal fissure +anal fistula +anaphylaxis +anemia +aneurysms | aneurysm +angelman syndrome +angiitis +angina | angina pectoris +angiosarcoma +ankle fracture | broken ankle +ankle sprain +ankylosing spondylitis +anorexia +anorexia nervosa +anorgasmia +anterior cruciate ligament injury +anthrax +antibiotic-associated colitis +antibiotic-associated diarrhea +antiphospholipid syndrome | APS +aortic aneurysm +aortic coarctation +aortic dissection +aortic valve disease +aortic valve regurgitation +aortic valve stenosis +aphasia +aplastic anemia +appendicitis +apraxia of speech +argentine hemorrhagic fever +arm fracture | broken arm +arrhythmia | dysrhythmia | heart arrhythmia +arteriovenous fistula +arteriovenous malformation +arthritis +asbestosis +ascariasis +aseptic necrosis +aspergillosis +asthma +asthma attack +astigmatism +astrocytoma +ataxia +atelectasis +atherosclerosis | hardening of the arteries +athlete's foot | tinea pedis | ringworm of the foot +atopic dermatitis | eczema +atrial fibrillation | AFib | A-fib +atrial flutter +atrial septal defect | ASD +atrial tachycardia +atrioventricular canal defect +atrioventricular nodal reentry tachycardia | AVNRT +atrioventricular septal defect +atrophic vaginitis +attention-deficit/hyperactivity disorder | ADHD +atypical hyperplasia of the breast +auditory processing disorder | central auditory processing disorder +autoimmune hepatitis +autoimmune pancreatitis +autonomic neuropathy +avascular necrosis | osteonecrosis | AVN +avian influenza | bird flu +bacterial vaginosis +Baker cyst | popliteal cyst +baldness +barber's itch +barotrauma +barrett's esophagus +bartholin's abscess +bartholin's cyst +basal cell carcinoma +basal joint arthritis +bed-wetting | nocturnal enuresis | nighttime incontinence +bedbugs +bee sting +behcet's disease +bell's palsy +benign adrenal tumors | benign adrenal tumor +benign paroxysmal positional vertigo | BPPV +benign peripheral nerve tumor +benign prostatic hyperplasia | BPH | enlarged prostate +beta thalassemia +bicuspid aortic valve +bile duct cancer | cholangiocarcinoma +bile reflux +binge eating disorder +black hairy tongue +blackheads | blackhead +bladder cancer +bladder exstrophy +bladder infection +bladder inflammation +bladder stones | bladder stone | bladder calculi | bladder calculus +Blastocystis infection | blastocystosis +blepharitis +blocked tear duct +blocked ureter +body dysmorphic disorder | BDD +body lice +body odor and sweating +boils and carbuncles | carbuncles and boils +bone cancer +bone metastasis +bone spurs | bone spur | osteophytes | osteophyte +botulism +bowel obstruction +brachial plexus injury +bradycardia +bradycardia-tachycardia syndrome +brain aneurysm | cerebral aneurysm +brain arteriovenous malformation | brain AVM +brain metastases | brain metastasis +brain tumor | brain tumour | child brain tumor +breast cancer +breast cysts | breast cyst +breast infection +breast pain | mastalgia +broken blood vessel in eye +broken collarbone +bronchiolitis +bronchitis +brucellosis +brugada syndrome +bruxism | teeth grinding | tooth grinding +Buerger disease | thromboangiitis obliterans +bulimia nervosa +bullous pemphigoid +bundle branch block +bunions | bunion +burn | burns | burn injury +burning mouth syndrome | BMS | glossodynia | stomatodynia +bursitis +C. difficile infection | C. diff infection | Clostridioides difficile infection +calciphylaxis +cancer +canker sore | aphthous ulcer | aphthous stomatitis +carbon monoxide poisoning +carcinoid syndrome +carcinoid tumor | carcinoid tumors +carcinoma of unknown primary +cardiogenic shock +cardiomegaly | enlarged heart +cardiomyopathy +cardiovascular disease +carotid artery disease +carotid artery stenosis +carotid insufficiency +carpal tunnel syndrome +Castleman disease | angiofollicular lymph node hyperplasia | giant lymph node hyperplasia +cataracts | cataract +cavernous malformations | cavernous malformation +celiac disease | coeliac disease | nontropical sprue | gluten-sensitive enteropathy +celiac trunk compression syndrome +cellulite +cellulitis +central nervous system vascular malformations | central nervous system vascular malformation +central sleep apnea +cerebral palsy +cerebrospinal fluid leak | CSF leak +cervical cancer +cervical dystonia | spasmodic torticollis +cervical osteoarthritis +cervical spondylosis +cervicitis +Chagas disease | American trypanosomiasis +Charcot-Marie-Tooth disease | hereditary motor and sensory neuropathy | peroneal muscular atrophy +chemical dependency +chemo brain +Chiari malformation | Arnold-Chiari malformation +chickenpox | varicella +chilblains | chilblain +child maltreatment condition +chlamydia +cholecystitis | inflamed gallbladder +cholera +cholestasis of pregnancy +chondrosarcoma +chordoma +choroid plexus carcinoma +chronic adrenal insufficiency +chronic compartment syndrome +chronic cough +chronic daily headaches | chronic daily headache +chronic exertional compartment syndrome +chronic fatigue syndrome +chronic granulomatous disease +chronic kidney disease | CKD +chronic kidney failure | chronic renal failure +chronic lymphocytic leukemia | CLL +chronic lymphocytic thyroiditis +chronic myeloid leukemia | chronic myelogenous leukemia | CML +chronic obstructive pulmonary disease | COPD +chronic pelvic pain +chronic sinusitis +chronic traumatic encephalopathy +chronic vulvar pain +cirrhosis +claudication +cleft lip and cleft palate +clinical depression +clubfoot +cluster headache +coarctation of the aorta +coccidioidomycosis +cold sore | fever blister +cold urticaria | cold allergy +colic +colon cancer +colon polyps | colon polyp +colonic ischemia +color blindness | color vision deficiency | poor color vision +colorectal cancer +columnar epithelium lined lower esophagus +coma +common cold +common variable immunodeficiency | CVID +common warts | common wart +complex regional pain syndrome | CRPS +compulsive overeating +compulsive sexual behavior +concussion +condylomata acuminata +congenital adrenal hyperplasia +congenital diaphragmatic hernia | CDH +congenital heart disease | congenital heart defect +congenital hip dislocation +congenital megacolon +congenital mitral valve anomalies | congenital mitral valve anomaly +congenital myasthenic syndromes | congenital myasthenic syndrome +congenital plagiocephaly +congestive heart failure +conjoined twins +conjunctivitis +constipation +contact dermatitis +corns and calluses | calluses and corns +coronary artery disease +coronary microvascular disease +corticobasal degeneration (corticobasal syndrome) +costochondritis | costosternal syndrome | costosternal chondrodynia +cough headaches | cough headache +COVID-19 | coronavirus disease 2019 +covid-19-associated multisystem inflammatory syndrome +cradle cap +cranial arteritis +craniopharyngioma +craniosynostosis +creutzfeldt-jakob disease | CJD +crohn's disease +croup +cryoglobulinemia +cryptorchidism +curvature of the penis +curvature of the spine +Cushing syndrome | hypercortisolism +cutaneous b-cell lymphoma +cutaneous T-cell lymphoma | CTCL +cyclic vomiting syndrome +cyclothymic disorder | cyclothymia +cystic fibrosis +cystitis +cystocele | anterior vaginal prolapse | bladder prolapse | prolapsed bladder +cytomegalovirus infection | CMV infection +dandruff +de Quervain tenosynovitis | de Quervain's tenosynovitis +decreased tear production +deep vein thrombosis | DVT +dehydration | hypohydration +delayed ejaculation +delayed sleep-wake phase disorder | delayed sleep phase syndrome | DSPS | DSWPD +delirium +dementia +dengue fever +dengue hemorrhagic fever +depersonalization-derealization disorder +depression (major depressive disorder) +dermatitis +dermatofibrosarcoma protuberans | DFSP +dermatographism | dermatographia | skin writing +dermatomyositis +dermatophytosis +desmoid tumors | desmoid tumor +desmoplastic small round cell tumor | DSRCT +detached retina +developmental dysplasia of the hip | DDH +deviated septum +devic's disease +diabetes +diabetes insipidus +diabetes mellitus +diabetic coma +diabetic hypoglycemia +diabetic ketoacidosis +diabetic nephropathy (kidney disease) +diabetic neuropathy +diabetic retinopathy +diaper rash +diarrhea +difficulty speaking +difficulty swallowing +dilated cardiomyopathy +diphtheria +dislocated shoulder +dissecting aneurysm +dissociative disorders | dissociative disorder +diverticulitis +double-outlet right ventricle +double uterus +Down syndrome | trisomy 21 +dry age-related macular degeneration | dry macular degeneration +dry eye | keratoconjunctivitis sicca +dry skin +dry socket | alveolar osteitis +ductal carcinoma in situ | DCIS +dumping syndrome +dupuytren contracture +dural arteriovenous fistulas | dural arteriovenous fistula +dwarfism +dysarthria +dyshidrotic eczema | dyshidrosis | pompholyx +dyslexia +dysmenorrhea | painful periods | painful period | menstrual cramps | menstrual cramp +dyspareunia | painful intercourse +dysphagia +dysphonia +dysthymia +dystonia +ear infection (middle ear) +early puberty +earwax blockage | cerumen impaction +eating disorders | eating disorder +ebstein anomaly +ectopic heartbeat +ectopic pregnancy +ectropion +edema +ehlers-danlos syndrome +ehrlichiosis and anaplasmosis +eisenmenger syndrome +embryonal tumors | embryonal tumor +emphysema +encephalitis +encopresis +end-stage renal disease | end-stage kidney disease | ESRD +endocardial cushion defect +endocarditis +endometrial cancer +endometrial polyps | endometrial polyp +endometriosis +enlarged spleen (splenomegaly) +enlarged thyroid +enterocele | small bowel prolapse | small intestine prolapse +entropion +eosinophilic esophagitis +eosinophilic fasciitis +eosinophilic granulomatosis with polyangiitis | EGPA | Churg-Strauss syndrome +ependymoma +epidermoid cysts | epidermoid cyst +epidermolysis bullosa +epididymitis +epiglottitis +epilepsy +epithelioid sarcoma +erectile dysfunction | impotence +escherichia coli infection +esophageal cancer +esophageal spasms | esophageal spasm +esophageal varices | esophageal varix +esophagitis +essential tremor +esthesioneuroblastoma | olfactory neuroblastoma +ewing sarcoma +exercise headaches | exercise headache +exercise-induced asthma +extrasystole +eye floaters | eye floater | floaters | floater +eye melanoma | ocular melanoma +eyelid inflammation +eyestrain +facial palsy +factitious disorder +factor v leiden +fallen arches | fallen arch +familial adenomatous polyposis | FAP +familial hypercholesterolemia | FH +familial mediterranean fever +familial paroxysmal peritonitis +farsightedness | hyperopia +febrile seizure +fecal incontinence | bowel incontinence +female infertility +female sexual dysfunction +fetal alcohol syndrome +fetal macrosomia +fibroadenoma +fibrocystic breasts | fibrocystic breast +fibromuscular dysplasia +fibromyalgia +fifth disease | erythema infectiosum | slapped cheek disease +flatfeet +floor of the mouth cancer +fluid around the heart +focal segmental glomerulosclerosis | FSGS +folate deficiency anemia +folliculitis +food poisoning | foodborne illness +foot drop | drop foot +foot fracture | broken foot +foramen ovale +frontal lobe epilepsy | frontal lobe seizures | frontal lobe seizure +frontotemporal dementia +frontotemporal lobar degeneration +frostbite +fuchs dystrophy +functional dyspepsia +functional neurological disorder | FND | conversion disorder +galactorrhea +gallbladder cancer +gallbladder inflamation +gallstones | gallstone +gambling disorder | pathological gambling | compulsive gambling +ganglion cyst +gangrene +gastritis +gastroesophageal reflux disease | GERD | acid reflux | infant acid reflux +gastrointestinal bleeding +gastrointestinal stromal tumor (gist) +gastroparesis | delayed gastric emptying +Gaucher disease | glucocerebrosidase deficiency +gender dysphoria | gender identity disorder +generalized anxiety disorder | GAD +genital herpes +genital warts | genital wart +geographic tongue | benign migratory glossitis +germ cell tumors | germ cell tumor +gestational diabetes +giant cell arteritis +giardia infection (giardiasis) +gilbert syndrome +gingivitis | gum disease +glaucoma +glioblastoma | glioblastoma multiforme | GBM +glioma +glomerulonephritis +goiter +golfer's elbow | medial epicondylitis +gonorrhea +gout | gouty arthritis +granuloma annulare +granulomatosis with polyangiitis | GPA | Wegener's granulomatosis +graves' disease +grief +gross hematuria +group b strep disease +growing pains | growing pain +growth hormone excess +growth plate fractures | growth plate fracture +guillain-barre syndrome +gynecomastia | enlarged breasts in men +H. pylori infection | Helicobacter pylori infection +H1N1 flu | swine flu +h3n2v flu +hair loss +hair-pulling disorder +hairy cell leukemia +hairy tongue +halitosis +hammertoe and mallet toe +hamstring injury +hand-foot-and-mouth disease +hand fracture | broken hand +hangovers | hangover +hantavirus pulmonary syndrome +hashimoto's disease +head and neck cancers | head and neck cancer +head lice | pediculosis capitis +health anxiety +hearing loss +heart defect +heart disease +heart failure +heart murmur +heart valve disease +heartburn +heat exhaustion +heat rash +heat syncope +heatstroke +hemangioma +hematuria +hemifacial spasm +hemochromatosis +hemolytic uremic syndrome (hus) +hemophilia +hemorrhoids | hemorrhoid | haemorrhoids | haemorrhoid | piles +henoch-schonlein purpura +hepatitis A | hep A | HAV infection +hepatitis B | hep B | HBV infection +hepatitis C | hep C | HCV infection +hepatocellular carcinoma | HCC +hepatomegaly | enlarged liver +hepatopulmonary syndrome +hereditary hemochromatosis +hereditary hemorrhagic telangiectasia +herniated disc | slipped disc | ruptured disc +herpes zoster | shingles +hiatal hernia +hiccups | hiccup +hidradenitis suppurativa +high cholesterol | hypercholesterolemia +high-flow priapism +hilar cholangiocarcinoma | Klatskin tumor +hip dysplasia +hip fracture | broken hip +hip labral tear +hirschsprung's disease +hirsutism | excess facial hair +histoplasmosis +HIV | human immunodeficiency virus +hives | urticaria +hives with angioedema +hoarding disorder | compulsive hoarding +hoarse voice +Hodgkin lymphoma | Hodgkin's lymphoma | Hodgkin disease | Hodgkin's disease +Horner syndrome | Horner-Bernard syndrome +HPV infection +human papillomavirus infection +Huntington's disease | Huntington disease | Huntington chorea +hurthle cell cancer +hutchinson-gilford progeria syndrome +hydrocele +hydrocephalus +hydronephrosis +hypercalcemia +hypereosinophilic syndrome +hyperglycemia in diabetes +hyperhidrosis | excessive sweating +hyperoxaluria and oxalosis +hyperparathyroidism +hypersexuality +hypertension | high blood pressure +hyperthyroidism | overactive thyroid +hypertrophic cardiomyopathy +hypoactive sexual desire disorder +hypoglycemia | low blood sugar +hyponatremia +hypoparathyroidism +hypopituitarism +hypoplastic left heart syndrome +hypospadias +hypotension | low blood pressure +hypothermia | low body temperature +hypothyroidism | underactive thyroid +idiopathic arthritis +idiopathic hypersomnia +idiopathic intracranial hypertension | IIH | pseudotumor cerebri +IgA nephropathy | Berger disease +iga vasculitis +illness anxiety disorder | hypochondria | hypochondriasis +immune thrombocytopenia | ITP | immune thrombocytopenic purpura +impacted wisdom teeth +impaired glucose tolerance +impetigo +inborn error of metabolism +incompetent cervix +indigestion | dyspepsia +infant jaundice +infant reflux +infantile hemangioma +infectious arthritis +infectious diseases | infectious disease +infectious mononucleosis | mononucleosis | mono | kissing disease +infertility +inflammatory bowel disease | IBD +inflammatory breast cancer +influenza | flu +ingrown hair +ingrown toenails | ingrown toenail +inguinal hernia +inherited metabolic disorders | inherited metabolic disorder +insomnia +insulin resistance syndrome +intermittent claudication +intermittent explosive disorder +interstitial cystitis | painful bladder syndrome +interstitial lung disease +intestinal ischemia +intestinal lipodystrophy +intestinal obstruction +intracranial hematoma +intracranial venous malformations | intracranial venous malformation +intraductal carcinoma +intrahepatic cholestasis of pregnancy +intussusception +invasive lobular carcinoma +iritis +iron deficiency anemia +iron overload +irritable bowel syndrome | IBS +ischemic bone necrosis +ischemic colitis +ischemic priapism +islet cell cancer +jaw tumors and cysts +jellyfish stings | jellyfish sting +jet lag disorder +jock itch | tinea cruris +juvenile idiopathic arthritis +kaposi sarcoma +Kawasaki disease | mucocutaneous lymph node syndrome +keloid scar +keratitis +keratoconus +keratosis pilaris | KP +kidney cancer | renal cancer +kidney cysts | kidney cyst +kidney infection +kidney stones | kidney stone | renal calculi | renal calculus | nephrolithiasis +kleptomania | compulsive stealing | pathological stealing +klinefelter syndrome +klippel-trenaunay syndrome +knee bursitis | bursitis of the knee +knee effusion | water on the knee +kyphosis | round back | hunchback +lactation mastitis +lactose intolerance | lactase deficiency +laryngitis +lassa fever +lead poisoning +left ventricular hypertrophy +leg fracture | broken leg +legg-calve-perthes disease +Legionnaires' disease | legionellosis +leiomyosarcoma +leukemia +leukoplakia +lewy body dementia +lice +lichen planus +lichen sclerosus +lichen simplex chronicus +lip cancer +lipoma +liposarcoma +listeriosis | Listeria infection +liver cancer +liver disease +liver hemangioma +lobular carcinoma in situ | LCIS +lockjaw +long COVID | post-acute sequelae of SARS-CoV-2 infection | PASC +long qt syndrome +loss of bladder control +low-flow priapism +low sex drive +low sperm count +lung cancer +lupus nephritis +lyme disease +lymphadenitis +lymphedema +lymphoma +lymphoplasmacytic lymphoma +Lynch syndrome | hereditary nonpolyposis colorectal cancer | HNPCC +mad cow disease +major depressive disorder +malaria +male breast cancer +male hypogonadism +male infertility +malignant fibrous histiocytoma +malignant hyperthermia +malignant peripheral nerve sheath tumors | malignant peripheral nerve sheath tumor +mallet toe and hammertoe +mammary duct ectasia +manic-depressive illness +marfan syndrome +mastitis +mcad deficiency +measles | rubeola +medial tibial stress syndrome +median arcuate ligament syndrome | MALS | Dunbar syndrome | celiac artery compression syndrome +medication-overuse headache | rebound headache +medulloblastoma +megacolon +megaloblastic anemia +melanoma | malignant melanoma +meniere's disease +meningioma +meningitis +meniscus tear +menopause +menorrhagia | heavy menstrual bleeding | excessive menstrual bleeding +mental illness +meralgia paresthetica +Merkel cell carcinoma | neuroendocrine carcinoma of the skin +mesenteric ischemia +mesenteric lymphadenitis | mesenteric adenitis +mesothelioma +metabolic dysfunction-associated steatotic liver disease | MASLD | nonalcoholic fatty liver disease | NAFLD +metabolic syndrome +metachromatic leukodystrophy +metastatic prostate cancer +metatarsalgia +methicillin-resistant staphylococcus aureus infection +microcephaly +microscopic colitis +microscopic hematuria +migraine +migraine with aura +mild cognitive impairment (mci) +miliaria +milk intolerance +miscarriage +mitral valve disease +mitral valve prolapse | Barlow syndrome | click-murmur syndrome | floppy valve syndrome +mitral valve regurgitation +mitral valve stenosis +mittelschmerz +mixed connective tissue disease +MOG antibody-associated disease | MOGAD +molar pregnancy +molluscum contagiosum +monoclonal gammopathy of undetermined significance | MGUS +mood disorders | mood disorder +morphea | localized scleroderma +morton's neuroma +mosquito bites | mosquito bite +mouth cancer +movement disorders | movement disorder +moyamoya disease +MRSA infection +multiple endocrine neoplasia type 1 | MEN1 | Wermer syndrome +multiple endocrine neoplasia type 2 | MEN2 +multiple myeloma +multiple sclerosis | MS +multiple system atrophy | MSA | Shy-Drager syndrome +multisystem inflammatory syndrome in children (mis-c) +mumps +muscle strains | muscle strain +muscular dystrophy +myalgic encephalomyelitis/chronic fatigue syndrome | ME/CFS +myasthenia gravis | MG +myelodysplastic syndromes | myelodysplastic syndrome +myelofibrosis | idiopathic myelofibrosis | agnogenic myeloid metaplasia +myocardial infarction | heart attack +myocardial ischemia | cardiac ischemia +myocarditis +myoclonus +myofascial pain syndrome +myxofibrosarcoma +nail fungus | onychomycosis | toenail fungus +narcissistic personality disorder +narcolepsy +nasal and paranasal tumors | nasal and paranasal tumor +nasal polyps | nasal polyp +nasopharyngeal carcinoma +nearsightedness | myopia +nephrogenic systemic fibrosis +nephrotic syndrome +neurilemmoma +neurinomatosis +neuroblastoma +neurocardiogenic syncope +neurodermatitis | scratch dermatitis +neuroendocrine tumors | neuroendocrine tumor +neurofibroma +neurofibromatosis type 1 +neurofibrosarcoma +neuromyelitis optica spectrum disorder | NMOSD | neuromyelitis optica | NMO +nevus | mole | moles +nicotine dependence | nicotine addiction +niemann-pick disease +nightmare disorder +noise-related hearing loss +non-Hodgkin lymphoma | non-Hodgkin's lymphoma +nonallergic rhinitis +nonischemic priapism +nonmelanoma skin cancer +nonulcer dyspepsia +noonan syndrome +norovirus infection +nose fracture | broken nose | fractured nose +nymphomania +obesity +obsessive-compulsive disorder | OCD +obstetric cholestasis +obstructive sleep apnea | OSA +occupational asthma +ocular albinism +ocular rosacea +oculocutaneous albinism +oculosympathetic palsy +odontogenic tumors and cysts +oligodendroglioma +oppositional defiant disorder | ODD +optic neuritis +oral cancer +oral lichen planus +oral thrush | oral candidiasis +orchitis +orthostatic hypotension | postural hypotension +osteoarthritis | degenerative arthritis +osteochondritis dissecans +osteomyelitis | bone infection +osteoporosis +osteosarcoma | osteogenic sarcoma +otitis externa | outer ear infection | swimmer's ear +otitis media +ovarian cancer +ovarian cysts | ovarian cyst +ovarian hyperstimulation syndrome | OHSS +overactive bladder | OAB +oxyphil cell carcinoma +paget's disease of bone +paget's disease of the breast +pancreas inflammation +pancreatic cancer +pancreatic cysts | pancreatic cyst +pancreatic neuroendocrine tumors | pancreatic neuroendocrine tumor +pancreatitis | inflamed pancreas +panic attacks and panic disorder +paraganglioma +paraneoplastic neurologic syndrome | paraneoplastic neurologic disorder +parkinson's disease +parotid tumors | parotid tumor +partial anomalous pulmonary venous return | PAPVR +parvovirus infection +patellar tendinitis | jumper's knee +patellofemoral pain syndrome +patent ductus arteriosus | PDA +patent foramen ovale +pectus excavatum | funnel chest | sunken chest +pelvic inflammatory disease | PID +pelvic organ prolapse +pemphigus +peptic ulcer +perforated eardrum | ruptured eardrum | tympanic membrane perforation +pericardial effusion +pericarditis | pericardial inflammation +perimenopause +periodontitis | periodontal disease +peripheral artery disease | PAD +peripheral nerve injuries | peripheral nerve injury +peripheral nerve tumors | peripheral nerve tumor +peripheral neuropathy +peripheral vascular disease | PVD +peritonitis +pernicious anemia +pernio +persistent depressive disorder +personality disorders | personality disorder +pertussis +pes planus +petit mal seizure +peyronie disease +pharyngitis +phenylketonuria | PKU +pheochromocytoma +phlebitis +pick's disease +pilonidal cyst +pilonidal dimple +pimples | pimple +pinched nerve +pineoblastoma +pink eye (conjunctivitis) +pinworm infection +pituitary adenoma +pituitary insufficiency +pituitary tumors | pituitary tumor +pityriasis rosea +pityriasis versicolor +placenta accreta +placenta previa +placental abruption +plague +plantar fasciitis +plantar neuroma +plantar warts | plantar wart +pleurisy | pleuritis +pneumonia +pneumonitis +pneumothorax | collapsed lung +poems syndrome +poison ivy rash +polio +polycystic kidney disease | PKD +polycystic ovary syndrome | PCOS | Stein-Leventhal syndrome +polycythemia vera | primary polycythemia +polyhydramnios +polymorphous light eruption +polymyalgia rheumatica +polymyositis +popliteal artery aneurysm +popliteal artery entrapment syndrome | PAES +porphyria +post-cardiac injury syndrome | Dressler syndrome | post-myocardial infarction syndrome +post-chemotherapy cognitive impairment +post-concussion syndrome | persistent post-concussive symptoms +post-polio syndrome +post-traumatic stress disorder | PTSD +post-vasectomy pain syndrome | PVPS +posterior cortical atrophy +postherpetic neuralgia +postpartum depression +postpartum preeclampsia +pouchitis +Prader-Willi syndrome | Prader-Labhart-Willi syndrome +precocious puberty +prediabetes +preeclampsia +preexcitation syndrome +pregnancy-related hypertension +premature birth +premature ejaculation +premature puberty +premature ventricular contractions | premature ventricular contraction | PVCs | PVC +premenstrual syndrome | PMS +presbycusis +presbyopia +prescription drug abuse +pressure ulcer | pressure sore | bedsore +preterm labor +priapism +prickly heat +primary biliary cholangitis | primary biliary cirrhosis +primary ciliary dyskinesia | PCD | immotile cilia syndrome | Kartagener syndrome +primary immunodeficiency +primary lateral sclerosis | PLS +primary ovarian insufficiency | premature ovarian insufficiency | premature ovarian failure +primary progressive aphasia +primary sclerosing cholangitis +proctitis +progeria +progressive supranuclear palsy | PSP | Steele-Richardson-Olszewski syndrome +prolactinoma +prolonged grief disorder | complicated grief | complicated bereavement +prostate cancer +prostate gland enlargement +prostatitis +pruritis ani +pruritus | itchy skin +pseudobulbar affect | PBA | uncontrollable laughter and crying +pseudocholinesterase deficiency +pseudogout +pseudomembranous colitis +psoriasis +psoriatic arthritis +pubic lice | crabs +pulmonary atresia +pulmonary edema +pulmonary embolism +pulmonary fibrosis | interstitial pulmonary fibrosis +pulmonary hypertension +pulmonary valve disease +pulmonary valve stenosis +pyelonephritis +pyloric stenosis +pyoderma gangrenosum +rabies +radiation enteritis +Ramsay Hunt syndrome | herpes zoster oticus +rapid gastric emptying +raynaud's disease +reactive arthritis +reactive attachment disorder +rectal cancer +rectal inflammation +rectal prolapse +rectal ulcer +rectocele | posterior vaginal prolapse +rectovaginal fistula +recurrent breast cancer +recurrent oral ulcers | recurrent oral ulcer +reiter's syndrome +rem sleep behavior disorder +renal artery stenosis +residual limb pain +respiratory syncytial virus infection | RSV +restless legs syndrome | RLS +retinal detachment +retinal diseases | retinal disease +retinoblastoma +retractile testicle +retrograde ejaculation +rett syndrome +reye's syndrome +rhabdomyosarcoma +rheumatic fever +rheumatoid arthritis | RA +rib fracture | broken rib | broken ribs | fractured rib +rickets +rift valley fever +ringworm of the body | tinea corporis +road rage +rosacea +roseola +rotator cuff injury +rotavirus +rubella | German measles | three-day measles +rumination syndrome +runner's knee +ruptured spleen +sacral dimple +sacroiliitis +salivary gland tumors | salivary gland tumor +salmonellosis | Salmonella infection +sarcoidosis +sarcoma +scabies +scalp ringworm | tinea capitis +scarlet fever | scarlatina +schizoaffective disorder +schizoid personality disorder +schizophrenia +schizotypal personality disorder +schwannoma +schwannomatosis +sciatica +scleroderma +sclerosing cholangitis +sclerosing mesenteritis +scoliosis +scorpion sting +scrotal masses | scrotal mass +seasonal affective disorder | SAD +seasonal allergy +sebaceous carcinoma +sebaceous cysts | sebaceous cyst +seborrheic dermatitis +seborrheic keratosis +secondary brain cancer +secondary hypertension +seizure disorder +seizures | seizure +selective iga deficiency +sepsis +septic arthritis +serotonin syndrome +severe acute respiratory syndrome | SARS +sex headaches | sex headache +sexual obsession +sexually transmitted infection | STI | sexually transmitted disease | STD +shaken baby syndrome +shigella infection +shin splints | shin splint +short bowel syndrome +shoulder dislocation +sick sinus syndrome +sickle cell anemia +sin nombre virus infection +sinus headaches | sinus headache +sjogren's syndrome +skin cancer +sleep apnea +sleepwalking | somnambulism +small bowel cancer +small intestinal bacterial overgrowth | SIBO +small vessel disease +smallpox | variola +social anxiety disorder | social phobia +soft palate cancer +soft tissue sarcoma +solar keratosis +solitary fibrous tumor +solitary rectal ulcer syndrome +spermatocele | spermatic cyst +spider bites | spider bite +spina bifida +spinal arteriovenous malformation (avm) +spinal cord injury | SCI +spinal cord tumor +spinal curvature +spinal headaches | spinal headache +spinal stenosis +splenomegaly +spontaneous coronary artery dissection | SCAD +sprained ankle +sprains | sprain +squamous cell carcinoma of the skin +stammering +staph infections | staph infection +Stevens-Johnson syndrome | SJS +still disease +stomach cancer | gastric cancer +stomach polyps | stomach polyp +stool holding +strawberry hemangioma +strep throat +stress fractures | stress fracture +stress incontinence +stretch marks | stretch mark +stroke | cerebrovascular accident | CVA +stuttering +stye | hordeolum +subarachnoid hemorrhage +subconjunctival hemorrhage (broken blood vessel in eye) +subfertility +substance use disorder | drug addiction +sudden cardiac arrest +sudden infant death syndrome | SIDS | crib death +sun allergy +sun poisoning +sunburn +supraventricular tachycardia | SVT +swimmer's itch | cercarial dermatitis +synostosis +synovial sarcoma +syphilis +syringomyelia +systemic lupus erythematosus | SLE | lupus +systemic mastocytosis +systemic sclerosis +tachycardia +takayasu's arteritis +Takotsubo cardiomyopathy | broken heart syndrome | stress cardiomyopathy | apical ballooning syndrome +tapeworm infection +tay-sachs disease +temporal arteritis +temporal lobe seizure +temporomandibular disorder | TMD | TMJ disorder +tendinitis +tennis elbow | lateral epicondylitis | lateral epicondylosis +tension headache +testicular cancer +testicular torsion +testosterone deficiency | low testosterone +tetanus +tetralogy of fallot +thalassemia | thalassaemia | Cooley's anemia | Mediterranean anemia +thoracic aortic aneurysm +thoracic outlet syndrome +throat cancer +thrombocytopenia | low platelet count +thrombocytosis +thrombophlebitis +thumb arthritis +thunderclap headaches | thunderclap headache +thyroid cancer +thyroid gland enlargement +thyroid nodules | thyroid nodule +tinea barbae +tinea versicolor +tinnitus | ringing in the ear +toe fracture | broken toe +toe walking | idiopathic toe walking +tongue cancer +tongue-tie | ankyloglossia +tonic-clonic seizure | grand mal seizure +tonsil cancer +tonsillitis +tooth abscess +tooth decay | dental cavities | dental cavity | cavities | cavity +torn meniscus +total anomalous pulmonary venous return | TAPVR +tourette syndrome +toxic epidermal necrolysis +toxic hepatitis +toxic shock syndrome +toxoplasmosis +trachoma +transient global amnesia +transient ischemic attack | TIA +transposition of the great arteries | TGA +transverse myelitis +traumatic brain injury | TBI +traveler's diarrhea +trichinosis +trichomoniasis +tricuspid atresia +tricuspid valve disease +tricuspid valve regurgitation +trigeminal neuralgia | tic douloureux +trigger finger | stenosing tenosynovitis +triple X syndrome | trisomy X | XXX syndrome +truncus arteriosus +tuberculosis | TB +tuberous sclerosis +turner syndrome +type 1 diabetes +type 2 diabetes +typhoid fever +ulcerative colitis +umbilical hernia +undescended testicle +undifferentiated pleomorphic sarcoma +ureteral cancer +ureteral obstruction +urethral stricture +urinary incontinence +urinary tract infection | UTI +uterine cancer +uterine fibroids | uterine fibroid | uterine leiomyoma | uterine myoma +uterine polyps | uterine polyp +uterine prolapse | prolapsed uterus +uterus didelphys +uveitis +vaginal agenesis +vaginal atrophy +vaginal cancer +vaginal fistula +vaginal yeast infection | vaginal candidiasis +vaginitis +valley fever +valvular heart disease +variant Creutzfeldt-Jakob disease | vCJD +varicocele +varicose veins | varicose vein | varicosities | varicosity +vascular dementia +vascular rings | vascular ring +vasculitis +vasomotor rhinitis +vasovagal syncope +venereal warts | venereal wart +ventricular fibrillation | V-fib +ventricular septal defect | VSD +ventricular tachycardia +vertebral tumor +vesicoureteral reflux +vestibular schwannoma +vexas syndrome +viral gastroenteritis | stomach flu | gastroenteritis +viral hemorrhagic fevers | viral hemorrhagic fever +vitamin deficiency anemia +vitiligo +vocal cord paralysis | vocal fold paralysis +von willebrand disease +vulvar cancer +vulvodynia +waldenstrom macroglobulinemia +wet age-related macular degeneration | wet macular degeneration +whiplash +whipple's disease +white blood cell disorders | white blood cell disorder +whiteheads | whitehead +whooping cough +Wilms tumor | nephroblastoma +Wilson's disease | hepatolenticular degeneration +Wolff-Parkinson-White syndrome | WPW +wrist fracture | broken wrist +x-linked agammaglobulinemia +zenker's diverticulum +zollinger-ellison syndrome diff --git a/PHI.Data.Generator/RLHF.Generator/Data/Categories/MEDICAL_FAMILY_HISTORY.txt b/PHI.Data.Generator/RLHF.Generator/Data/Categories/MEDICAL_FAMILY_HISTORY.txt new file mode 100644 index 0000000..2ec5e4e --- /dev/null +++ b/PHI.Data.Generator/RLHF.Generator/Data/Categories/MEDICAL_FAMILY_HISTORY.txt @@ -0,0 +1,6 @@ +brother has asthma +family medical history | FHx | family hx | family health history +father has type 2 diabetes +maternal grandfather had heart disease +mother had breast cancer +sister was diagnosed with multiple sclerosis diff --git a/PHI.Data.Generator/RLHF.Generator/Data/Categories/MEDICAL_MEDICATION.txt b/PHI.Data.Generator/RLHF.Generator/Data/Categories/MEDICAL_MEDICATION.txt new file mode 100644 index 0000000..c2fbfaa --- /dev/null +++ b/PHI.Data.Generator/RLHF.Generator/Data/Categories/MEDICAL_MEDICATION.txt @@ -0,0 +1,4213 @@ +abacavir | Ziagen +abacavir + dolutegravir + lamivudine | Triumeq +abaloparatide | Tymlos +Abanta +abatacept | Orencia +abciximab | Reopro +Abecma +abemaciclib | Verzenio +abiraterone | Yonsa | Zytiga +abiraterone + niraparib | Akeega +Ablysinol +abobotulinumtoxina | Dysport +Abraxane +abrocitinib | Cibinqo +Abrysvo +Absorica +acalabrutinib | Calquence +Acam2000 +acamprosate +Acanya +Acarbose +Accolate +Accrufer +acebutolol +aceclidine | Vizz +acetaminophen +acetaminophen + butalbital | Butapap | Allzital +acetaminophen + butalbital + caffeine + codeine | Fioricet with Codeine +acetaminophen + hydrocodone | Anexsia +acetaminophen + ibuprofen | Combogesic +acetaminophen + oxycodone | Oxycet | Percocet +acetazolamide +acetic acid +acetic acid + hydrocortisone | Vosol Hc +acetohydroxamic acid | Lithostat +acetylcholine | Miochol-E +acetylcysteine | Acetadote +Achromycin V +Aciphex +acitretin +aclidinium | Tudorza +aclidinium + formoterol | Duaklir +Acoltremon +acoramidis +Actemra +Acthar +Acthib +Acthrel +Acticlate +Actigall +Actimmune +Activella +Actonel +Actoplus Met +Acular +Acuvail +acyclovir | Zovirax +acyclovir + hydrocortisone | Xerese +Aczone +Adacel +adagrasib | Krazati +Adakveo +adalimumab | Hulio | Humira | Idacio | Cyltezo | Hadlima | Hyrimoz | Yuflyma | Yusimry | Abrilada | Amjevita | Simlandi +adapalene | Differin +adapalene + benzoyl peroxide | Epiduo +adapalene + benzoyl peroxide + clindamycin | Cabtreo +Adasuve +Adbry +Adcetris +Adcirca +Adderall +Addyi +adefovir +Adempas +adenosine +adenovirus type 4 and type 7 vaccine, live +Adipex-P +Adlyxin +Admelog +ado-trastuzumab emtansine | Kadcyla +Adquey +Adrenaclick +Adrenalin +Adstiladrin +aducanumab +Aduhelm +Advair +Advate +Adynovate +Adzenys +Adzynma +afamelanotide +afatinib | Gilotrif +aficamten +Afinitor +Afirmelle +aflibercept | Eylea +Afluria +Afrezza +Afstyla +agalsidase beta | Fabrazyme +Agamree +aggrastat +Agrylin +Ahzantive +Aimovig +Airduo Respiclick +Ajovy +Aklief +Akovaz +Akpentolate +Akten +Akynzeo +Ala-Cort +Ala-Scalp +albendazole +Albuked +albumin +Albuminex +Alburx +Albutein +albuterol | ProAir | Ventolin | Proventil | ProAir RespiClick +albuterol + budesonide | Airsupra +albuterol + ipratropium | Combivent +alcaine +alclometasone +aldactazide +aldesleukin | Proleukin +Aldurazyme +alectinib | Alecensa +alemtuzumab | Campath | Lemtrada +alendronate | Fosamax +alendronate + vitamin d | Fosamax Plus D +alfentanil | Alfenta +Alferon N +alfuzosin | Uroxatral +alglucosidase alfa | Myozyme | Lumizyme +Alhemo +Alimta +Alinia +alirocumab | Praluent +aliskiren | Tekturna +alitretinoin | Panretin +Alkindi +Allocord +allopurinol | Aloprim | Lopurin | Zyloprim +almotriptan +alogliptin | Nesina +alogliptin + metformin | Kazano +alogliptin + pioglitazone | Oseni +Alora +alosetron | Lotronex +alpelisib | Piqray +alpha-1-proteinase inhibitor +alpha-tocopherol +Alphagan P +Alphanate +Alphanine +Alphanine Hp +Alphanine Sd +alprazolam | Xanax +Alprolix +alprostadil | Edex | Caverject +Alrex +Altavera +alteplase | Activase | Cathflo Activase +Altreno +Altuviiio +Alunbrig +Alvaiz +Alvesco +Alvimopan +Alyacen +Alyftrek +Alyglo +Alymsys +Amabelz +amantadine | Gocovri +Ambelvist +Ambisome +ambrisentan | Letairis +amcinonide +Amidate +amifampridine | Firdapse +amifostine | Ethyol +amikacin | Arikayce +amiloride | Midamor +amino acids +aminoacetic acid +aminocaproic acid | Amicar +aminolevulinic acid | Ameluz | Gleolan | Levulan +Aminophylline +aminosalicylic acid +Aminosyn +Aminosyn Ii +amiodarone | Pacerone +amisulpride +Amitiza +amitriptyline +amivantamab +amivantamab and hyaluronidase +amlodipine | Norvasc +amlodipine + atorvastatin | Caduet +amlodipine + olmesartan | Azor +Ammonia N-13 +ammonium +Amnesteem +Amondys 45 +amoxapine +amoxicillin | Amoxil +amoxicillin + clavulanate | Augmentin +amphadase +amphetamine +Amphotericin B +ampicillin +Ampicillin Trihydrate +Ampyra +amrinone +Amrix +Amtagvi +Amvuttra +Amzeeq +anacaulase +Anafranil +anagrelide +Anakinra +Anaprox +Anascorp +anastrozole | Arimidex +Anavip +Ancobon +Andembry +Androgel +Anectine +Angeliq +Angiomax +angiotensin ii +angiotensin ll +Anidulafungin +anifrolumab +Anktiva +Annovera +Anoro +ansuvimab +Antara +Anthim +Anthrasil +anthrax immune globulin +anthrax vaccine +Anti-Inhibitor Coagulant Complex +anti-thymocyte globulin +antithrombin iii +Antivert +Anusol Hc +Anzupgo +apalutamide +Aphexda +Apidra +apixaban | Eliquis +Aplenzin +Apokyn +apomorphine +Aponvie +apraclonidine +Apremilast +aprepitant | Emend | Cinvanti +Apretude +Apriso +aprocitentan +Aptensio +Aptiom +Aptivus +Aqneursa +Aquasol A +Aqvesme +Arakoda +Aralast +Aranelle +Aranesp +Arava +Arazlo +Arbli +Arcalyst +Aredia +Arestin +Arexvy +arformoterol +Argatroban +arginine +arimoclomol +aripiprazole | Abilify | Aristada +Aripiprazole Lauroxil +Arixtra +Armlupeg +Armodafinil +Arnuity +Aromasin +Arranon +Arsenic Trioxide +Artemether +Artesunate +Arthrotec +articaine +Artiss +Arynta +Arzerra +Asceniv +asciminib +Asclera +Ascor +asenapine +asfotase alfa +Ashlyna +Asmanex +asparaginase +asparaginase erwinia chrysanthemi +Asparlas +aspirin +Astagraf +Astepro +Atacand +Atacand Hct +atacicept +atazanavir +Atelvia +atenolol | Tenormin +atezolizumab +atezolizumab and hyaluronidase +Atgam +Atmeksi +Atogepant +atoltivimab +atoltivimab + maftivimab + odesivimab +atomoxetine +Atoncy +Atorvaliq +atorvastatin | Lipitor +Atovaquone +atracurium +Atralin +atrasentan +atropine +Atrovent +Attruby +Atzumi +Aubagio +Aucatzyl +Augtyro +Aukelso +Auranofin +Aurlumyn +Aurovela +Aurovela Fe +Auryxia +Austedo +Autoplex +Auvelity +Auvi-Q +avacincaptad pegol +Avacopan +Avage +avalglucosidase alfa +Avalide +avanafil +Avance Nerve Graft +avapritinib +Avapro +Avastin +avatrombopag +Aveed +Avelox +avelumab +Averi +Avgemsi +Aviane +avibactam +Avita +Avlayah +Avmapki Fakzynja Co-Pack +Avodart +Avonex +Avopef +Avsola +Avtozma +avutometinib +Avycaz +Avzivi +Awiqli +axatilimab +axitinib +Axtle +Ayuna +Ayvakit +azacitidine +Azactam +Azasan +Azasite +azathioprine +azelaic acid +azelastine +Azelastine Hydrochrloride +Azelex +Azilect +Azilsartan Kamedoxomil +azilsartan medoxomil +azithromycin | Zithromax +Azmiro +Azopt +Azstarys +aztreonam +azulfidine +Azulfidine En-Tabs +Babybig +Bacitracin Zinc +baclofen | Lioresal +Bactocill +Bafiertam +Balcoltra +Balfaxar +Baloxavir Marboxil +balsalazide +Balversa +Balziva +Banzel +Baqsimi +Baraclude +Barhemsys +baricitinib +Basaglar +basiliximab +Bavencio +Baxdela +baxdrostat +Baxfendy +Baygam +Bayhep B +Bayrab +Bayrho-D +Baytet +bazedoxifene +Bcg Live +bcg vaccine +Becaplermin +beclomethasone | Qvar +bedaquiline +Beizray +Bekyree +Belantamab Mafodotin-Blmf +belatacept +Belbuca +Beleodaq +belimumab +belinostat +Belrapzo +Belsomra +belumosudil +Belzutifan +bempedoic acid +benazepril +bendamustine +Bendeka +Benefix +Benicar +Benicar Hct +Benlysta +benoxinate +benralizumab +benzamycin +benzgalantamine +benznidazole +Benzonatate +Benzoyl Peroxide +benzphetamine +benztropine +Benzylpenicilloyl Polylysine +Beovu +Bepotastine Besilate +Bepreve +Beqalzi +Beractant +berahyaluronidase alfa +berdazimer +Beremagene Geperpavec-Svdt +Berinert +berotralstat dihydrochloride +besifloxacin +Besivance +Besponsa +Besremi +Beta-Val +Betadine +Betagan +Betaine +betamethasone +Betapace +Betapace Af +Betaseron +betaxolol +bethanechol +Bethkis +Betimol +Betoptic +Betoptic S +bevacizumab | Mvasi | Zirabev | Vegzelma +Bevespi +bexagliflozin +Bexarotene +Bexsero +Beyaz +Beyfortus +bezlotoxumab +bicalutamide +Bicillin C-R +Bicillin L-A +Bicnu +bictegravir +Bidil +Bijuva +Biktarvy +Bildyos +Bilprevda +bimatoprost +bimekizumab +Bimzelx +binimetinib +Bioclate +Biorphen +Biothrax +biotin +Birch Triterpenes +bismuth subcitrate +Bismuth Subsalicylate +bisoprolol +bisoprolol + hydrochlorothiazide | Ziac +Bivalirudin +Bivigam +Bizengri +Bkemv +black widow antivenom +Blenrep +bleomycin +blinatumomab +Blincyto +Blisovi Fe +Bludigo +Blujepa +Bomyntra +Boncresa +Bondlido +Bonjesta +Bonsity +Bontril Pdm +Boostrix +Bortezomib +Bosaya +bosentan +Bosulif +bosutinib +Botox +Botox Cosmetic +Botulinum Toxin Type B +botulism antitoxin | Bat +botulism immune globulin +Braftovi +Bravelle +Brekiya +bremelanotide +Brensocatib +Brentuximab Vedotin +Brenzavvy +Brethine +Brevibloc +brevital +Brexafemme +brexpiprazole +Breyanzi +Breyna +Breztri +Bridion +Briellyn +brigatinib +Brilinta +brimonidine +brincidofovir +Brineura +Brinsupri +Brinzolamide +Brisdelle +Briumvi +Brivaracetam +Briviact +Brixadi +brodalumab +brolucizumab +bromfenac +bromocriptine +brompheniramine +Bromsite +Bronchitol +Brukinsa +Bryhali +Brynovin +Bucapsol +budesonide | Entocort | Pulmicort +budesonide + formoterol | Symbicort +Bulevirtide-Gmod +bumetanide | Bumex +Buminate +bupivacaine +buprenorphine | Butrans +buprenorphine + naloxone | Suboxone +bupropion | Wellbutrin +bupropion hydrobromide +burosumab +buspirone +Busulfan +Busulfex +butalbital +butenafine +butoconazole +butorphanol +Byetta +Byfavo +Bylvay +Bynfezia +Byooviz +Byqlovi +Bysanti +Bystolic +c1 esterase inhibitor +cabazitaxel +Cabenuva +Cabergoline +Cablivi +Cabometyx +cabotegravir +cabozantinib +Cabozantinib S-Malate +Cafcit +caffeine +Calaspargase Pegol-Mknl +Calcifediol +calcipotriene +Calcitonin Salmon +Calcitriol +calcium oxybate +Caldolor +Calfactant +Cambia +Camcevi +Camcevi Etm +Camila +Camptosar +Camzyos +canagliflozin +canakinumab +Canasa +Candesartan Cilexetil +Candin +Cangrelor +Cannabidiol +Cantharidin +Capecitabine +Capivasertib +caplacizumab +Caplyta +capmatinib +Caprelsa +capromab pendetide +Capsaicin +captopril +Capvaxive +Carac +Carafate +Carbachol +Carbaglu +carbamazepine | Tegretol +Carbatrol +Carbidopa +carbinoxamine +Carbon Dioxide +carboplatin +carboprost tromethamine +Cardamyst +Cardene +Cardioplegic +Cardizem Cd +Cardura +Carfilzomib +carglumic acid +cariprazine +carisoprodol | Soma +carmustine +Carnitor +Carnitor Sf +Carospir +carteolol +Cartia Xt +carvedilol | Coreg +Carvykti +Casgevy +Casimersen +Casodex +caspofungin +Casporyn Hc +Cataflam +Catapres-Tts +Cavhanza +Cayston +cedazuridine +Cefaclor +cefadroxil +cefazolin +Cefdinir +cefepime +cefiderocol +Cefixime +Cefotan +cefotetan +cefoxitin +Cefpodoxime Proxetil +Cefprozil +Ceftaroline Fosamil +ceftazidime +ceftobiprole medocaril +ceftolozane +ceftriaxone +cefuroxime +Cefuroxime Axetil +celecoxib | Celebrex +Celestone Soluspan +cellcept +Celontin +cemiplimab +Cenegermin-Bkbj +Cenobamate +cephalexin +Ceprotin +Cequa +Cerdelga +Cerebyx +Cerezyme +ceritinib +cerliponase alfa +certolizumab pegol | Cimzia +cerubidine +Cervidil +cetirizine +Cetraxal +cetrorelix +cetrotide +cetuximab | Erbitux +cevimeline | Evoxac +Chabelina Fe +Chemet +Chenodiol +chikungunya vaccine +Chlorambucil +chlordiazepoxide +chlorhexidine +chloroprocaine +chloroquine +chlorothiazide +chlorpheniramine +Chlorpheniramine Polistirex +chlorpromazine +Chlorthalidone +Chlorzoxazone +Cholbam +Cholecalciferol +cholera vaccine +cholestyramine +cholic acid +choline fenofibrate +choriogonadotropin alfa +Chorionic Gonadotropin +chromic +ciclesonide +Ciclopirox +cidofovir +cilastatin +Cilostazol +Cimduo +cimetidine +cinacalcet +Cinryze +cipaglucosidase alfa +Cipepofol +Cipro Hc +Ciprodex +ciprofloxacin | Cipro | Ciloxan +cisatracurium +cisplatin +citalopram | Celexa +citalopram hydrobromide +citric acid +Cladribine +Clarinex-D +clarithromycin +clascoterone +clavulanate +clemastine +Clenpiq +clesrovimab +Clevecord +clevidipine | Cleviprex +clidinium +Cligavyx +Climara Pro +clindamycin | Cleocin | Cleocin T | Clindagel +clindamycin + benzoyl peroxide | Duac +Clindesse +clobazam | Onfi +clobetasol | Clobex +Clocortolone Pivalate +Cloderm +Clofarabine +clomiphene +clomipramine +clonazepam | Klonopin +clonidine +clopidogrel | Plavix +Clopidogrel Bisulfate +clorazepate dipotassium +Clotic +clotrimazole +clozapine | Clozaril +Coagadex +coagulation factor x +Coartem +Cobenfy +cobicistat +cobimetinib +cocaine +codeine +Col-Probenecid +Colazal +colchicine | Colcrys +colesevelam +Colestid +colestipol +colistimethate +colistin +collagenase +Collagenase Clostridium Histolyticum +Collagenase Clostridium Histolyticum-Aaes +Colocort +Columvi +Coly-Mycin S +Combigan +Combipatch +Cometriq +Comirnaty +Complera +Compro +Comtan +concizumab +Conexxence +conivaptan +conjugated estrogens | Premarin +Contepo +Contrave +Conzip +Copiktra +Copper +Copper Histidinate +coral snake antivenom +Cordcyte +Cordran +Corifact +Corphedra +Cortenema +Corticotropin +Cortifoam +Corvert +Cosela +cosibelimab +Cosopt +Cosyntropin +Cotellic +Cotempla +COVID-19 vaccine +Crenessity +Cresemba +Crexont +Crinecerfont +Crinone +Crisaborole +crizanlizumab +crizotinib +Crofab +Crofelemer +cromolyn +Crotalidae antivenom +Crotamiton +Crotan +crovalimab +Cryselle +Crysvita +Ctexli +cupric +Cuprimine +Curosurf +Cutaquig +Cuvitru +Cuvposa +Cuvrior +Cyanocobalamin +Cyanokit +Cyclessa +cyclobenzaprine +Cyclogyl +Cyclomydril +cyclopentolate +Cyclophosphamide +Cycloserine +Cycloset +Cyclosporine +Cyfendus +Cyklokapron +Cyonanz +cyproheptadine +Cyramza +Cystadane +Cystadrops +Cystagon +Cystaran +cysteamine +cysteine +Cytarabine +Cytogam +cytomegalovirus immune globulin +Cytoxan +dabigatran | Pradaxa +dabigatran etexilate +dabrafenib +Dacarbazine +daclizumab +dactinomycin +dalbavancin +dalfampridine +Dalfopristin +dalteparin | Fragmin +Dalvance +Danazol +Danicopan +dantrium +dantrolene +Danyelza +Danziten +dapagliflozin | Farxiga +Dapsone +Daptacel +daptomycin +Daraprim +daratumumab | Darzalex +daratumumab and hyaluronidase +darbepoetin alfa +Darbepoetin Alpha +daridorexant +darifenacin hydrobromide +darolutamide +darunavir +darunavir and cobicistat +darunavir and ritonavir +Darunavir Ethanolate +dasatinib | Sprycel +Dasetta +Datopotamab Deruxtecan-Dlnk +Datroway +daunorubicin +Daurismo +Dawnzera +daxibotulinumtoxina +Daxxify +Daybue +Daysee +Daytrana +Dayvigo +Decitabine +Decnupaz +defactinib +Defencath +Deferasirox +Deferiprone +deferoxamine | Desferal +defibrotide +Defitelio +Deflazacort +degarelix +Dehydrated Alcohol +delafloxacin meglumine +Delestrogen +delgocitinib +Delstrigo +demeclocycline +Demser +denavir +dengue tetravalent vaccine +Dengvaxia +Denileukin Diftitox +Denileukin Diftitox-Cxdl +denosumab | Prolia +deoxycholic acid +depemokimab +Depen +Depo-Estradiol +Depo-Medrol +Depo-Subq Provera +depo-testosterone +Derma-Smoothe +Dermabet +Dermotic +Descovy +desflurane +desipramine +desloratadine | Clarinex +Desmoda +desmopressin | DDAVP +Desogestrel +desonide +Desowen +desoximetasone +desvenlafaxine +deucravacitinib +deuruxolitinib +Deutetrabenazine +deutivacaftor +dexamethasone +Dexasporin +dexchlorpheniramine +Dexedrine +Dexilant +dexlansoprazole +dexmedetomidine +dexmethylphenidate | Focalin +Dexpanthenol +dexrazoxane +Dextenza +dextroamphetamine +Dextroamphetamine Saccharate +dextromethorphan hydrobromide +dextrose +Dexycu +Dhivy +diabeta +Diacomit +Dianeal +diastat +diazepam | Valium +Diazoxide +Diazoxide Choline +Dichlorphenamide +Diclegis +diclofenac +Diclofenac Epolamine +dicloxacillin +dicyclomine +Dienogest +diethylpropion +Difamilast +difelikefalin +difenoxin +Dificid +Diflorasone Diacetate +Diflunisal +difluprednate | Durezol +Digifab +digoxin | Lanoxin +digoxin immune Fab +dihydroergotamine +Dilaudid-Hp +diltiazem | Cardizem +Dimenhydrinate +dimercaprol | Bal +dimethyl +Dimethyl Sulfoxide +Dinoprostone +dinutuximab +Diovan Hct +Dipentum +diphenhydramine +diphenoxylate +diphtheria & tetanus toxoids & acellular pertussis vaccine +Diprolene +Dipyridamole +diroximel +disopyramide +Disulfiram +divalproex | Depakote +Divigel +dobutamine +docetaxel +Docivyx +Dofetilide +Dojolvi +Dolishale +dolutegravir +donanemab +donepezil | Aricept +donidalorsen +dopamine +Dopram +Doptelet +Doral +Doravirine +dordaviprone +dornase alfa +Doryx +dorzolamide +dostarlimab +Dotarem +Dovato +Dovonex +doxapram +doxazosin +Doxecitine +doxepin +Doxercalciferol +doxorubicin | Doxil +Doxribtimine +doxycycline | Doxy +Doxycycline Hyclate +doxylamine +Drizalma +Dronabinol +dronedarone +droperidol +drospirenone +Droxidopa +DTaP-HepB-IPV vaccine +DTaP-IPV-Hib-HepB vaccine +DTaP-IPV-Hib vaccine +DTaP-IPV vaccine +Duavee +Ducord +Duetact +dulaglutide | Trulicity +Dulera +duloxetine | Cymbalta +Duobrii +Duodote +Duopa +dupilumab | Dupixent +Duraclon +Duramorph +durlobactam +durvalumab +Durysta +dutasteride +duvelisib +Duvoid +Duvyzat +Dyanavel +dyclonine +Dyclopro +Dymista +dyrenium +E.E.S. +Ebanga +Ebglyss +ebola zaire vaccine +Ec-Naprosyn +ecallantide +Echothiophate Iodide +econazole +Ecoza +eculizumab +Edaravone +Edarbi +Edarbyclor +Edecrin +edetate +Edluar +edoxaban +Edurant +Efavirenz +efbemalenograstim alfa +Effient +efgartigimod alfa +efgartigimod alfa and hyaluronidase +efinaconazole +eflapegrastim +eflornithine +Egaten +Egrifta +Egrifta Sv +Egrifta Wr +Ekterly +elacestrant +Elafibranor +elagolix +elagolix + estradiol + norethindrone +Elahere +elamipretide +elapegademase +elaprase +Elcys +Elelyso +Elestrin +eletriptan hydrobromide +Elevidys +elexacaftor + tezacaftor + ivacaftor +Elfabrio +Elidel +Eligard +eliglustat +Elimite +Elinest +Elinzanetant +Elitek +Ellence +Elmiron +Eloctate +elosulfase alfa +elotuzumab +elranatamab +Elrexfio +Elspar +Eltrombopag Choline +Eltrombopag Olamine +Eluryng +Eluxadoline +elvitegravir +Elyxyb +Elzonris +emapalumab +Emblaveo +Emerphed +Emflaza +emicizumab +empagliflozin | Jardiance +Empaveli +Empliciti +Emrelis +Emrosi +Emsam +emtricitabine | Emtriva +Emverm +Emzahh +enalapril | Vasotec +Enalaprilat +enasidenib +Enbumyst +Encelto +encorafenib +Endari +Endometrin +Enflonsia +Enfortumab Vedotin-Ejfv +Engerix-B +Enhertu +Enilloring +Enjaymo +enlicitide +Ennumo +Enoby +enoxaparin | Lovenox +Enpresse +Ensacove +ensartinib +Ensifentrine +ensitrelvir +Enskyce +Enspryng +Enstilar +entacapone +entecavir +entrectinib +Entresto +Envarsus +enzalutamide +Enzeevu +Eohilia +Epaned +Epclusa +epcoritamab +ephedrine +Epidiolex +Epifoam +epinastine +epinephrine | EpiPen +Epioxa +EpiPen Jr. +epirubicin +Epitol +Epkinly +eplerenone +eplontersen +epoetin alfa | Epogen | Procrit | Retacrit +epoprostenol +Eprontia +Epsolay +eptifibatide +eptinezumab +Epysqli +Equetro +eravacycline dihydrochloride +Eraxis +erdafitinib +Erelzi +erenumab +Ergocalciferol +Ergomar +ergotamine +eribulin +Erivedge +Erleada +erlotinib +Ermeza +Errin +Ertaczo +ertapenem +ertugliflozin +Ervebo +Ery-Tab +Eryc +Eryped +Erythra-Derm +Erythrocin +erythromycin +Erythromycin Ethylsuccinate +Erythromycin Lactobionate +Erzofri +Esbriet +escitalopram | Lexapro +esketamine +eslicarbazepine +esmolol +esomeprazole | Nexium +Esperoct +Estarylla +estazolam +Estetrol +estradiol | Climara | Estrace +Estring +Estrogel +estropipate | Ogen +eszopiclone | Lunesta +etanercept | Enbrel | Enbrel Mini +etelcalcetide +Eteplirsen +ethacrynate +ethacrynic acid +ethambutol +Ethamolin +Ethanolamine Oleate +Ethinyl Estradiol +Ethosuximide +Ethynodiol Diacetate +Eticovo +Etodolac +Etomidate +Etonogestrel +Etopophos +etoposide +Etrasimod Arginine +Etravirine +Etripamil +Eucrisa +Eurax +Evamist +Evarrest +Evdi +Evekeo +Evenity +everolimus +evinacumab +Evithrom +Evkeeza +evolocumab | Repatha +Evomela +Evotaz +Evrysdi +Exdensur +Exelderm +Exelon +Exemestane +Exenatide Synthetic +Exforge +Exforge Hct +Exjade +Exondys 51 +Exparel +Exxua +Eydenzelt +Eysuvis +Ezetimibe +Fabhalta +Fabior +factor IX +factor ix complex +factor VII +factor VIII | Jivi +factor XIII +factor xiii concentrate +Falmina +Fam-Trastuzumab Deruxtecan-Nxki +famciclovir +famotidine +Fanapt +faricimab +Fasenra +Favlyxa +febuxostat +fedratinib +Feiba +Felbamate +Felbatol +Feldene +felodipine +Femara +Femhrt +Femlyv +Femring +fenfluramine +fenofibrate +fenofibric acid +fenoprofen +Fensolvi +fentanyl +Ferabright +ferric +Ferric Carboxymaltose +Ferric Derisomaltose +ferric hexacyanoferrate +Ferric Maltol +Ferric Oxyhydroxide +Ferriprox +Ferrlecit +ferrous +ferumoxytol | Feraheme +Fesilty +fesoterodine +Fetroja +Fetzima +fexinidazole +Fezolinetant +Fiasp +fibrin sealant +fibrinogen +fibrinogen concentrate +Fibryga +Fidaxomicin +filgrastim | Zarxio | Neupogen | Nivestym +Filkri +Filspari +Filsuvez +Finacea +finafloxacin +finasteride +finerenone +fingolimod | Gilenya +fingolimod lauryl +Fintepla +Finzala +Firazyr +Firmagon +Firvanq +Fish Oil +Fish Oil Triglycerides +fitusiran +Flagyl I.v. +Flarex +Flavalta +flavoxate +flebogamma +Flebogamma Dif +flecainide +Flector +Fleqsuvy +Flexbumin +Flibanserin +Flolipid +Flovent +floxuridine +Fluad +Fluarix +Flublok +Flucelvax +fluconazole | Diflucan +Flucytosine +fludarabine +fludrocortisone +Flulaval +Flumazenil +Flumist +Flunisolide +fluocinolone acetonide | Flac +fluocinonide +fluorescein +fluorometholone | Fml +fluorouracil | Efudex +fluoxetine +fluphenazine +Flurandrenolide +flurazepam +flurbiprofen +flutamide +fluticasone +fluticasone furoate +fluticasone + vilanterol | Breo +fluvastatin +fluvoxamine +Fluzone +Focinvez +folic acid +Follistim +follitropin alfa +follitropin beta +Folotyn +Fomepizole +fondaparinux +Forane +Forfivo +formoterol +Forzinity +fosamprenavir +Fosaprepitant Dimeglumine +Foscarbidopa +foscarnet +foscavir +fosdenopterin hydrobromide +fosfomycin +fosfomycin tromethamine +fosinopril +Foslevodopa +fosnetupitant +fosphenytoin +Fosrenol +fostamatinib +fostemsavir tromethamine +Fotivda +Foundayo +fremanezumab +Frindovyx +frovatriptan +fruquintinib +Fruzaqla +fulvestrant | Faslodex +Fulvicin P +Fulvicin-U +Furadantin +Furoscix +furosemide +futibatinib +Fyarro +Fyavolv +Fycompa +Fylnetra +Fyremadel +gabapentin | Neurontin +Gabapentin Enacarbil +Gabitril +Gablofen +gadoxetate +Galafold +galantamine hydrobromide +galcanezumab | Emgality +galsulfase +Galzin +Gamastan S +Gamifant +Gammagard +Gammagard S +Gammaked +Gammaplex +Gamunex-C +ganaxolone +ganciclovir +ganirelix +garadacimab +Gardasil 9 +Gastrocrom +gatifloxacin +Gattex +Gavreto +Gazyva +gedatolisib +gefitinib +gemcitabine +Gemfibrozil +Gemmily +Gemtesa +Gemtuzumab Ozogamicin +Generlac +Gengraf +Genosyl +Genotropin +gentamicin +Genvoya +Geodon +gepirone +gepotidacin +Giapreza +gilteritinib +Gimoti +givinostat +Givlaari +givosiran +glasdegib +Glassia +glatiramer | Copaxone +Glatopa +glecaprevir +Gleostine +Gliadel +glimepiride +glipizide | Glucotrol +glofitamab +Gloperba +glucagon +glucarpidase +Gluconolactone +Glutathione Disulfide +glyburide +Glycerol Phenylbutyrate +Glycine +glycopyrrolate | Robinul +glycopyrronium +Glydo +Glyrx +Glyxambi +golimumab +Golodirsen +Golytely +Gomekli +Gonal-F +Gonal-F Rff +Goprelto +goserelin +Grafapex +Gralise +Gramicidin +granisetron +Granix +Grastek +Gris-Peg +griseofulvin +guanfacine +guselkumab +Gvoke +gynazole-1 +H.P. Acthar +Haegarda +Hailey +Hailey Fe +Halaven +halcinonide +Halcion +halobetasol +Haloette +Halog +haloperidol +Harliku +Harvoni +Havrix +Heather +Hemabate +Hemacord +Hemady +Hemangeol +Hemgenix +Hemiclor +Hemlibra +Hemofil M +Hepagam B +heparin +hepatitis a & hepatitis b vaccine +hepatitis A vaccine +hepatitis a vaccine inactivated +hepatitis b immune globulin +hepatitis B vaccine +Hepcludex +Heplisav-B +Hepzato +Herceptin Hylecta +Hernexeos +Hetlioz +Hexachlorophene +hexaminolevulinate +Hib vaccine +Hiberix +Hicon +Hiprex +Histatrol +histrelin +Hizentra +Homatropine Methylbromide +Horizant +HPV vaccine | human papillomavirus vaccine +Humalog Mix +Humate-P +Humatrope +Humulin R U +hyaluronidase +Hycamtin +Hycodan +hydralazine +Hydrea +hydrochlorothiazide | Microzide +hydrocodone +Hydrocodone Polistirex +hydrocortisone | Cortef +Hydrocortisone Butyrate +hydromorphone | Dilaudid +Hydroquinone +Hydroxocobalamin +hydroxychloroquine | Plaquenil +Hydroxyurea +hydroxyzine | Vistaril +hydroxyzine pamoate +Hyftor +hylenex +Hympavzi +Hyperhep B S +Hyperrab +Hyperrho S +Hypertet +Hyprho-D +Hyqvia +Hyrnuo +Hyzaar +ibalizumab +ibandronate +Ibrance +ibrexafungerp +Ibritumomab Tiuxetan +ibrutinib +Ibsrela +Ibtrozi +ibuprofen +Ibuprofen Lysine +ibutilide +icatibant +Iclevia +Iclusig +Icodextrin +Icosapent Ethyl +icotrokinra +Icotyde +Idamycin +idarubicin +idarucizumab +idelalisib +Idelvion +Idhifa +Idose Tr +idursulfase +Idvynso +ifosfamide | Ifex +Igalmi +Iheezo +Ilaris +Ilevro +iloperidone +iloprost +Ilumya +Iluvien +Imaavy +imatinib | Gleevec +Imbruvica +Imcivree +Imdelltra +imetelstat +Imfinzi +imiglucerase +Imipenem +imipramine +imipramine pamoate +imiquimod +Imjudo +Imkeldi +imlunestrant +Imlygic +Immgolis +Immgolis Intri +Immphentiv +immune globulin +Imovax Rabies +Impavido +Impoyz +Imuldosa +Imuran +Imvexxy +inamrinone +inavolisib +Inbrija +Incassia +inclisiran +Incobotulinumtoxina +Increlex +Incruse +Indapamide +indigotindisulfonate +Indocin +Indomethacin +inebilizumab +Infanrix +Infasurf +Infed +infliximab | Ixifi | Remicade | Inflectra | Renflexis +influenza vaccine +influenza virus vaccine +Infumorph +Infuvite +Infuvite Adult +Ingrezza +Injectafer +Inlexzo +Inluriyo +Inlyta +Inmazeb +Innopran +Inomax +Inotuzumab Ozogamicin +Inpefa +Inqovi +Inrebic +Inspra +insulin +insulin aspart | NovoLog +insulin aspart protamine +insulin aspart protamine and insulin aspart +insulin aspart-szjj +insulin aspart-xjhz +insulin degludec | Tresiba +insulin degludec and liraglutide +insulin detemir | Levemir +insulin glargine | Lantus | Toujeo +insulin glargine-aglr +insulin glargine-aldy +insulin glargine and lixisenatide +insulin glargine-yfgn +insulin glulisine +insulin icodec +insulin icodec-abae +insulin lispro | Humalog +insulin lispro-aabc +insulin lispro protamine +insulin lispro protamine and insulin lispro +Intelence +interferon alfa-2b +interferon alfa-n3 +interferon beta-1a +interferon beta-1b +interferon gamma-1b +Intrarosa +Intron A +Introvale +Intuniv +Invanz +Inveltys +Invokamet +Invokana +Inzirqo +iopidine +ipilimumab +ipratropium +iptacopan +Iqirvo +irbesartan +Iressa +irinotecan +Iron Dextran +Iron Sucrose +isatuximab +isavuconazonium +Isentress +Isibloom +islatravir +islelizumab +Isocarboxazid +isoflurane +Isoniazid +isoproterenol +Isopto Atropine +Isopto Carpine +Isordil +Isosorbide Dinitrate +Isosorbide Mononitrate +isotretinoin | Claravis +isradipine +Istalol +Istodax +Istradefylline +Isturisa +Itovebi +itraconazole +Itvisma +ivabradine +ivacaftor +ivacaftor + tezacaftor +Iveegam +ivermectin +ivosidenib +Ivra +Iwilfin +Ixabepilone +ixazomib +ixekizumab +Ixempra +Ixiaro +Ixinity +Iyuzeh +Izervay +Jadenu +Jaimiess +Jakafi +Jalyn +Jantoven +Janumet +Japanese encephalitis vaccine +Jascayd +Jatenzo +Javadin +Jaypirca +Jaythari +Jelmyto +Jemperli +Jencycla +Jentadueto +Jetrea +Jeuveau +Jevtana +Jobevne +Joenja +Jornay Pm +Journavx +Jubbonti +Jubereq +Jublia +Juluca +Junel +Junel Fe +Juxtapid +Jylamvo +Jynarque +Jynneos +Kaitlib Fe +Kalbitor +Kaletra +Kalexate +Kalliga +Kalydeco +Kanuma +Kapspargo +Karbinal +Kariva +Katerzia +Kcentra +Kebilidi +Kedbumin +Kedrab +Kelnor +Kenalog +Kengreal +Kepivance +Kerendia +Kesimpta +Ketalar +ketamine +ketoconazole +ketoprofen +ketorolac tromethamine +Ketozole +Keveyis +Kevzara +Keytruda Qlex +Khapzory +Khindivi +Kimmtrak +Kimyrsa +Kineret +Kinrix +Kionex +Kirsty +Kisqali +Kisqali Femara Co-Pack +Kisunla +Kitabis +Kitprozy +Klaron +Klayesta +Klisyri +Klor-Con +Klor-Con M10 +Klor-Con M15 +Klor-Con M20 +Kloxxado +Koate +Komzifti +Konvomep +Korlym +Korsuva +Koselugo +Kovaltry +Kovanaze +Kresladi +Krintafel +Krystexxa +Kurvelo +Kuvan +Kybella +Kygevvi +Kyleena +Kymriah +Kyprolis +Kyxata +Kyzatrex +L-Glutamine +labetalol +Lacosamide +Lactated Ringer's +lactic acid +Lactitol +Lactulose +Lamictal Cd +lamivudine | Epivir +lamotrigine | Lamictal +Lampit +Lamzede +lanadelumab +landiolol +Langlara +Lanorinal +lanreotide +lansoprazole +lanthanum +Lantidra +Lapatinib Ditosylate +Larin +Larin Fe +laronidase +Larotid +larotrectinib +Laryng-o-jet +Lasix Onyu +latanoprost +Latanoprostene Bunod +Latisse +Lazcluze +lazertinib +lebrikizumab +lecanemab +ledipasvir +lefamulin +Leflunomide +lemborexant +lenacapavir +lenalidomide | Revlimid +leniolisib +Lenmeldy +lenvatinib +Lenvima +Leqembi +Leqembi Iqlik +Leqselvi +Leqvio +Leribane +Lerochol +Lerodalcibep-Liga +Lescol +Lessina +letermovir +letibotulinumtoxina +Letrozole +Letybo +leucovorin +Leukeran +Leukine +leuprolide +Levacetylleucine +levalbuterol | Xopenex +levetiracetam | Keppra +Levo-T +levobunolol +Levocarnitine +levocetirizine +levocetirizine dihydrochloride +Levodopa +levofloxacin +levoketoconazole +Levolet +levoleucovorin +levomefolate +levomilnacipran +Levonest +Levonorgestrel +Levophed +Levora +levorphanol +levothyroxine | Levoxyl | Synthroid +Lialda +Librax +librium +Libtayo +Licart +lidocaine +Lidocaine Viscous +Lidoderm +Lifitegrast +Lifyorli +Lignospan +Lignospan Standard +Likmez +Liletta +linaclotide +linagliptin +Lincocin +lincomycin +Linerixibat +linezolid | Zyvox +linvoseltamab +Linzess +liothyronine | Cytomel +lipase +Lipofen +liraglutide | Saxenda | Victoza +lisdexamfetamine | Vyvanse +Lisdexamfetamine Dimesylate +lisinopril | Zestril +Litfulo +lithium | Lithobid +Livalo +Livdelzi +Livmarli +Livtencity +lixisenatide +Lo Junel Fe +Lo Loestrin Fe +Lo-Malmorede +Lo Simpesse +Lo-Zumandimine +Loargys +Locholest +Locholest Light +Locoid +Locoid Lipocream +Lodoco +Lodosyn +lofexidine +Logilia +Lokelma +Lomaira +lomitapide +Lomotil +lomustine +lonafarnib +lonapegsomatropin +Loncastuximab Tesirine-Lpyl +Lonsurf +loperamide +Lopid +lopinavir +Lopressor Hct +Loprox +Loqtorzi +lorazepam | Ativan +Lorbrena +Loreev +lorlatinib +Loryna +losartan | Cozaar +Loseasonique +Lotemax +Lotensin +Lotensin Hct +Loteprednol Etabonate +Lotilaner +lovastatin +Lovaza +Low-Ogestrel +loxapine +Lubiprostone +Lucemyra +luliconazole | Luzu +lumacaftor +Lumakras +lumasiran +lumateperone +Lumefantrine +Lumi-Sporyn +Lumigan +Lumoxiti +Lumryz +Lumvoa +Lunsotogene Parvec-Cwha +Lunsumio +Lunsumio Velo +Lupkynis +Lupron +lurasidone | Latuda +Lurbinectedin +luspatercept +Lusutrombopag +Luvox +Luxturna +Lybalvi +Lyfgenia +Lymphir +Lynavoy +Lynkuet +Lynozyfic +Lynparza +Lypqozet +Lysodren +Lysteda +Lytgobi +Lyumjev +M-M-R II +Maci +macitentan +Macrodantin +mafenide +maftivimab +magnesium oxide +magnesium oxybate +Malarone +Malathion +Malmorede +manganese +Mannitol +maralixibat +Maraviroc +marcaine +marcaine hydrochloride with epinephrine +Margenza +margetuximab +maribavir +Marinol +Marlissa +Marplan +marstacimab +Matulane +mavacamten +Mavenclad +Mavorixafor +Mavyret +Maxalt +Maxidex +Maxitrol +Maxzide +Mayzent +mebendazole +mecamylamine +mecasermin +mechlorethamine +meclizine +meclofenamate +Medium Chain Triglycerides +Medrol +medroxyprogesterone | Depo-Provera +mefenamic acid +mefloquine +megestrol +Mekinist +Mektovi +Melamisa +meloxicam +melphalan +memantine +Menactra +meningococcal group b vaccine +meningococcal vaccine +Menopur +Menostar +Menotropins +Menquadfi +Mentax +Menveo +meperidine | Demerol +mepivacaine +mepolizumab +Meprobamate +Mepron +Mepsevii +Mercaptopurine +Merilog +Meropenem +Merzee +Mesalamine +Mesna +Mesnex +Mestinon +Metadate Cd +metaproterenol +metaraminol +Metaxalone +metformin +methacholine +methadone +Methadose +methamphetamine | Desoxyn +Methazolamide +methenamine | Urex +Methenamine Hippurate +methimazole +methocarbamol | Robaxin +methohexital +methotrexate | Trexall +Methoxsalen +methoxy polyethylene glycol-epoetin beta +methscopolamine +Methsuximide +Methyldopa +Methylene Blue +methylergonovine +Methylin +methylnaltrexone +methylphenidate | Ritalin | Concerta +methylprednisolone +methyltestosterone +metoclopramide +Metolazone +metopirone +metoprolol | Toprol | Lopressor +Metreleptin +Metrocream +Metrogel +Metrolotion +metronidazole | Flagyl +Metyrapone +Metyrosine +mexiletine +Miacalcin +Mibelas Fe +micafungin +Micardis Hct +miconazole +Micort-Hc +Micrhogam +midazolam +midodrine +Midostaurin +Miebo +Mifeprex +mifepristone +migalastat +Migergot +Miglitol +miglustat +Migranal +Mili +milnacipran +Milophene +milrinone +milsaperidone +miltefosine +Minipress +Minivelle +Minocin +minocycline +Minoxidil +Minzoya +miostat +Miplyffa +mirabegron | Myrbetriq +Mirapex +Mircera +mirdametinib +Mirena +mirikizumab +mirtazapine | Remeron +Mirvaso +Mirvetuximab Soravtansine-Gynx +misoprostol | Cytotec +mitapivat +Mitigare +Mitigo +mitomycin +Mitosol +Mitotane +mitoxantrone +Miudella +MMR vaccine +MMRV vaccine +Mnexspike +Modafinil +Modeyso +moexipril +mogamulizumab +molindone +momelotinib dihydrochloride +mometasone furoate +monistat +Monjuvi +Mono-Linyah +Monodox +Monoferric +Monoket +monomethyl +montelukast | Singulair +morphine +mosunetuzumab +Motegrity +motixafortide +Motofen +Motpoly +Movantik +Moviprep +Moxetumomab Pasudotox-Tdfk +moxidectin +moxifloxacin +Mozobil +Mresvia +Ms Contin +Mulpleta +Multaq +Multrys +mupirocin +Myalept +Myambutol +Mycamine +Mycapssa +Mycobutin +mycophenolate +mycophenolate mofetil +Mydayis +Mydriacyl +Myfembree +Myfortic +Myhibbin +Myleran +Mylotarg +Myobloc +Myorisan +Myqorzo +Mysoline +Mytesi +Myxredlin +Nabi-Hb +Nabumetone +nadolol +nafarelin +nafcillin +naftifine +Naftin +Naglazyme +nalbuphine +naldemedine +Nallpen +nalmefene +naloxegol +naloxone +naltrexone +Namzaric +Naprelan +naproxen | Naprosyn +naratriptan +Nardil +Naropin +narsoplimab +Natacyn +natalizumab +natamycin +Natazia +nateglinide +Natesto +Natpara +Natroba +navepegritide +Navitrux +naxitamab +Nayzilam +nebivolol +Nebupent +necitumumab +nedosiran +nefazodone +Neffy +Nelarabine +nelfinavir +nembutal +Nemluvio +nemolizumab +Neo-Synalar +neomycin +neoprofen +Neoral +Neosporin G.u. Irrigant +Neostigmine Methylsulfate +Nepafenac +Nerandomilast +neratinib +Nereus +Nerlynx +nesacaine +Nesacaine-Mpf +netarsudil +Netarsudil Dimesylate +Netupitant +Neupro +Nevanac +nevirapine +Nexavar +Nexesta Fe +Nexiclon +Nexletol +Nexlizet +Nexobrid +Nexplanon +nexterone +Nextstellis +Nexviazyme +Ngenla +Niacin +Niacinamide +Niacor +nicardipine +nicotine +Nicotrol +nifedipine +Nifurtimox +Nikki +Niktimvo +nilotinib +nilotinib d-tartrate +nilstat +nilutamide +nimodipine +Ninlaro +nintedanib | Ofev +Nintedanib Esylate +Nipent +nipocalimab +Nipride +niraparib +nirmatrelvir +nirogacestat hydrobromide +nirsevimab +nisoldipine +Nitazoxanide +Nithiodote +Nitisinone +Nitric Oxide +Nitro-Dur +nitrofurantoin | Macrobid +nitroglycerin | Nitrostat +Nitrolingual +Nitromist +Nitrous Oxide +Nityr +nivolumab | Opdivo +nivolumab and hyaluronidase +nivolumab and relatlimab +nizatidine +nogapendekin alfa inbakicept +Nor-Qd +Norditropin +Norditropin Flexpro +Norelgestromin +norepinephrine +norethindrone +Norgestimate +Norgestrel +Noritate +Norliqva +Norminest Fe +Normocarb Hf +Normosol-R +Norpace +Norpramin +Northera +Nortrel +nortriptyline +Nourianz +Novarel +Novoeight +Novolog Mix +Novoseven +Novoseven Rt +noxafil +Noxafil Powdermix +Noxivent +Nplate +Nubeqa +Nucala +Nucynta +Nuedexta +Nufymco +Nulibry +Nulojix +Nulytely +Nulytely-Flavored +Numbrino +Nuplazid +Nurtec +nusinersen +Nutropin +Nuvaring +Nuvaxovid +Nuvessa +Nuvigil +Nuwiq +Nuzolvence +Nuzyra +Nylia +Nymalize +Nypozi +nystatin +Nystop +obiltoxaximab +obinutuzumab +Obizur +ocrelizumab +ocrelizumab and hyaluronidase +Ocrevus +Ocrevus Zunovo +Ocriplasmin +Octagam +Octaplas +octreotide +Ocuflox +Odactra +Odefsey +odesivimab +Odevixibat +Odomzo +ofatumumab +ofloxacin +Ogsiveo +Ohtuvayre +Ojemda +Ojjaara +olanzapine | Zyprexa +olanzapine pamoate +olaparib +olezarsen +olipudase alfa +Olive Oil +olmesartan medoxomil +olodaterol +olopatadine +Olpruva +olsalazine +Olumiant +olutasidenib +Omacor +omadacycline +omalizumab | Xolair +omaveloxolone +omega-3-acid ethyl esters +Omega-3acid Ethyl Esters +omeprazole | Prilosec +Omidenepag Isopropyl +Omidria +Omisirge +Omlonti +Omlyclo +Omnaris +Omnihib +Omnipred +Omnitrope +Omvoh +Onabotulinumtoxina +Onapgo +Oncaspar +ondansetron +Onexton +Ongentys +Onivyde +Onpattro +Onsura +Ontak +Ontralfy +Onureg +Onyda +Onzetra Xsail +Opdivo Qvantig +Opdualag +Opfolda +Opicapone +Opipza +Opsumit +Opsynvi +Opuviz +Opvee +Opzelura +Orabloc +Oracea +Oralair +Orapred +Oraqix +Oraverse +Oravig +Orbactiv +Orenitram +Orfadin +orforglipron +Orgovyx +Oriahnn +Orilissa +Oritavancin Diphosphate +Orkambi +Orladeyo +orlistat +Orlynvah +Ormalvi +orphenadrine +Orphengesic +Orserdu +Ortho Tri-Cyclen +Orvaten +oseltamivir | Tamiflu +Osenvelt +osilodrostat +osimertinib +Osmitrol +ospemifene +Osphena +Ospomyv +Osvyrti +Otarmeni +oteseconazole +Otezla +Oticair +Otovel +Otulfi +Ovidrel +Ovral Fe +oxacillin +oxaliplatin +oxaprozin | Coxanto +oxazepam +Oxcarbazepine +Oxervate +oxiconazole +oxistat +Oxlumo +Oxsoralen-Ultra +Oxtellar +oxybutynin +oxycodone | Oxycontin +oxygen +oxymetazoline +oxymorphone +oxytocin +Oxytrol +ozanimod +Oziltus +Ozobax +Ozurdex +paclitaxel +pacritinib +Padcev +pafolacianine +palbociclib +Palforzia +Palifermin +paliperidone | Invega +palivizumab +palonosetron +palopegteriparatide +Palovarotene +Palsonify +paltusotine +Palynziq +pamidronate +Pancreaze +pancrelipase | Creon +pancuronium +Panhematin +panitumumab +pantoprazole | Protonix +Panzyga +Papzimeos +Paragard T 380a +parathyroid hormone +Paricalcitol +Parlodel +Parnate +paromomycin +paroxetine | Paxil +Parsabiv +Paser +Pasireotide Diaspartate +pasireotide pamoate +patiromer sorbitex +patisiran +Pavblu +Paxlovid +pazopanib +Pediapred +Pediarix +Pedmark +Pedvaxhib +pegaspargase +Pegasys +Pegcetacoplan +pegfilgrastim | Udenyca | Fulphila | Neulasta | Nyvepria | Ziextenzo +Peginterferon Alfa-2a +Peginterferon Alfa-2b +Peginterferon Beta-1a +Pegintron +pegloticase +pegulicianine +pegunigalsidase alfa +pegvaliase +Pegvisomant +pegzilarginase +Pemazyre +pembrolizumab | Keytruda +pembrolizumab and berahyaluronidase alfa +pemetrexed +pemetrexed dipotassium +Pemfexy +pemigatinib +Penbraya +penciclovir +Penicillamine +penicillin g +Penicillin G Benzathine +penicillin g procaine +penicillin v +Penicillin-Vk +Penmenvy +penpulimab +Pentacel +Pentam +Pentamidine Isethionate +Pentasa +pentazocine +pentobarbital +Pentolair +pentosan polysulfate +pentostatin +Pentoxifylline +peramivir +perampanel +Perfluorohexyloctane +Perforomist +Peridex +Perindopril Erbumine +Periogard +Perjeta +Permethrin +Perphenazine +pertuzumab +pertuzumab + trastuzumab + hyaluronidase +Pertzye +pexidartinib +Pfizerpen +Pheburane +phendimetrazine +phenelzine +phenobarbital +phenoxybenzamine +phentermine +phentolamine +phenylephrine +Phenytek +phenytoin | Dilantin +Phesgo +Phexx +Philith +Phospholine Iodide +Photofrin +Photrexa Viscous +Phyrago +Phytonadione +Piasky +pibrentasvir +Pifeltro +pilocarpine +pimavanserin +pimecrolimus +Pimozide +Pimtrea +pindolol +pioglitazone | Actos +piperacillin +Pirfenidone +Piroxicam +pirtobrutinib +pitavastatin +Pitocin +pitolisant +Pivekimab Sunirine-Pvzy +pivmecillinam +Pivya +Pizensy +Plasbumin +plasma protein fraction +Plasmanate +plasminogen +plecanatide | Trulance +Plegisol +Plegridy +Plenvu +Plerixafor +Pliaglis +plozasiran +pneumococcal vaccine +Pneumovax 23 +Podofilox +Poherdy +Pokonza +Polatuzumab Vedotin-Piiq +Polidocanol +polio vaccine | Ipol +poliovirus vaccine inactivated +Polivy +Polmon +polocaine +Polocaine-Mpf +Polyethylene Glycol 3350 +polymyxin b +Pomalidomide +Pomalyst +Pombiliti +ponatinib +ponesimod +Ponlimsi +Ponstel +Ponvory +poractant alfa +porcine secretin +porfimer +Portia +Portrazza +posaconazole +Posfrea +potassium oxybate +potassium phosphate +potassium phosphates +Poteligeo +Povidone-Iodine +pozelimab +prabotulinumtoxina +Pralatrexate +pralidoxime +pralsetinib +pramipexole dihydrochloride +Pramosone +pramoxine +prasterone +prasugrel +pravastatin +Praxbind +Praziquantel +prazosin +Precedex +Pred Mild +Prednicarbate +prednisolone | Pred +prednisone +pregabalin | Lyrica +Pregnyl +Prelone +premphase +Prempro +Prepidil +Pretomanid +Prevacid +Prevalite +Prevnar 20 +Prevymis +Prexxartan +Prezcobix +Prezista +Prialt +Priftin +prilocaine | Citanest +primaquine +Primaxin +Primidone +Priorix +Pristiq +Privigen +Probalan +Probenecid +procainamide +procarbazine +Procardia +prochlorperazine +Prochlorperazine Edisylate +Procomp +Proctofoam Hc +Procysbi +Profilnine +Profilnine Hp +Profilnine Ht +Profilnine Sd +progesterone +Proglycem +Prograf +proguanil +Prolastin +Prolastin-C +Prolensa +Promacta +promethazine +Promethazine Dm +Promethazine Plain +Promethegan +prometrium +propafenone +proparacaine +Propecia +propofol | Diprivan +propranolol | Inderal +Propylthiouracil +Proquad +Proscar +Prostin Vr +protamine +protein c concentrate +prothrombin complex concentrate +protopam +Protopic +protriptyline +Provayblue +Provenge +Provera +Provigil +Provocholine +prucalopride +pseudoephedrine +Pulmicort Respules +Pulmozyme +Purified Cortrophin +Purinethol +Purixan +Pylera +Pyquvi +Pyrazinamide +pyridostigmine +Pyridoxine +Pyrimethamine +Pyrukynd +Pyzchiva +Qalsody +Qamzova +Qbrelis +Qbrexza +Qelbree +Qfitlia +Qinlock +Qivigy +Qlosi +Qnasl +Qoliana +Qsymia +Quadracel +Quartette +Quasense +quazepam +Qudexy +Quelicin +quetiapine | Seroquel +Quillichew +Quillivant +quinapril +quinidine +quinine +Quinupristin +Quiofic +quizartinib dihydrochloride +Qulipta +Qutenza +Quviviq +Quzyttir +Qwo +R-Gene 10 +Rabavert +rabeprazole +rabies immune globulin +rabies vaccine +Radicava +Ragwitek +Raldesy +raloxifene | Evista +raltegravir +ramelteon +ramipril +ramucirumab +ranibizumab | Cimerli | Lucentis +ranitidine +Ranluspec +ranolazine +Rapamune +Rapiblyk +Rapivab +rasagiline +rasburicase +Rasuvo +Ravicti +ravulizumab +raxibacumab +Rayaldee +Rebif +Rebinyn +Reblozyl +Rebyota +Recarbrio +Reclast +recombinant ADAMTS13 +Recombinate +Recombivax +Recombivax Hb +Recorlev +Recothrom +Redemplo +Regadenoson +Regenecyte +Reglan +Regonol +regorafenib +Regranex +regular insulin | Humulin R +Relacorilant +relatlimab +Relebactam +Relenza +Releuko +Relexxii +Relgaabi +Relistor +Relpax +Relugolix +remdesivir +Remestemcel-l-rknd +remibrutinib +remifentanil +remimazolam +Remodulin +Renacidin +Renagel +Renova +repaglinide +Repository Corticotropin +repotrectinib +Reprexain +reslizumab | Cinqair +Resmetirom +Resniben +respiratory syncytial virus vaccine +Restasis +retavase +reteplase +Retevmo +Rethymic +retifanlimab +Retin-A +Retin-A Micro +retrovir +Revatio +Revcovi +revefenacin +Revonto +Revtorpyk +Revuforj +revumenib +Rexulti +Reyataz +rezafungin +Rezdiffra +Rezenopy +Rezlidhia +Rezurock +Rezvoglar +Rezzayo +Rhapsido +Rhinocort +Rho(D) immune globulin +Rhofade +Rhogam +Rhophylac +Rhopressa +Riastap +Ribavirin +ribociclib +Riboflavin +riboflavin 5'-phosphate +Ridaura +Rifabutin +Rifadin +Rifampin +Rifapentine +rifaximin | Xifaxan +rilonacept +rilpivirine +Riluzole +rilzabrutinib +Rimabotulinumtoxinb +Rimactane +rimantadine +rimegepant +Rimso-50 +Ringer's +Rinvoq +Riociguat +ripretinib +risankizumab | Skyrizi +Risdiplam +risedronate +risperidone | Risperdal | Risperdal Consta +ritlecitinib +ritonavir | Norvir +Rituxan Hycela +rituximab | Riabni | Rituxan | Truxima | Ruxience +rituximab and hyaluronidase +rivaroxaban | Xarelto +rivastigmine +Rivfloza +Rixubis +Rizafilm +rizatriptan +Rocaltrol +Rocklatan +rocuronium +roflumilast | Daliresp +rolapitant +Rolvedon +Romidepsin +Romiplostim +romosozumab +Romvimza +Ropeginterferon Alfa-2b-njft +ropinirole +ropivacaine +rosuvastatin | Crestor +Rotarix +Rotateq +rotavirus vaccine +Rotigotine +Rowasa +Roxicodone +Roxybond +rozanolixizumab +Rozerem +Rozlytrek +RSV vaccine +Rubraca +Rucaparib Camsylate +Ruconest +Rufinamide +Rukobia +ruxolitinib +Ryaltris +Ryanodex +Rybrevant +Rydapt +Rykindo +Rylaze +Ryoncil +Ryplazim +Rystiggo +Rytary +Rytelo +Ryzneuta +Ryzumvi +Sabril +Sacituzumab Govitecan-Hziy +sacrosidase +Sacubitril +safinamide +Safyral +Saizen +Salagen +Salmeterol Xinafoate +Samidorphan L-Malate +Samsca +Sancuso +Sandimmune +sandostatin +Santyl +Saphnelo +Saphris +sapropterin dihydrochloride +Sarclisa +Sarclisa Escena +sarecycline +Sargramostim +sarilumab +satralizumab +Savaysa +Savella +saxagliptin +Scandonest Plain +Scemblix +Scenesse +Scopolamine +scorpion antivenom +Sdamlo +Seasonale +Seasonique +sebelipase alfa +sebetralstat +secnidazole +secretin synthetic +Secuado +secukinumab | Cosentyx +segesterone +Segluromet +Seladelpar Lysine +Selarsdi +selegiline +selenious acid +Selenium Sulfide +Selexipag +Selinexor +selpercatinib +selumetinib +Selzentry +semaglutide | Wegovy | Ozempic | Rybelsus +Semglee +sensorcaine +Sephience +Sepiapterin +septocaine +serdexmethylphenidate +Serevent +Sernivo +seromycin +Serostim +sertaconazole +sertraline | Zoloft +Setlakin +setmelanotide +sevabertinib +sevelamer +Sevenfact +sevoflurane +Seysara +Sezaby +Sfrowasa +Sheur +shingles vaccine | zoster vaccine +Shingrix +sibeprenlimab +Signifor +Siklos +sildenafil | Viagra +Silenor +Siliq +Silodosin +siltuximab +Silvadene +silver sulfadiazine | Ssd +Simbrinza +Simliya +Simpesse +Simponi +Simponi Aria +Simulect +simvastatin | Zocor +Sincalide +Sinecatechins +Sinemet +Sinuva +siponimod +sirolimus +Sirturo +sitagliptin | Januvia +Sivextro +Skyclarys +Skyla +Skysona +Skytrofa +Slynd +smallpox and mpox vaccine +smallpox vaccine +Soaanz +sodium ascorbate +sodium bicarbonate +sodium ferric gluconate complex +sodium glycerophosphate +sodium nitrite +sodium nitroprusside +sodium oxybate +sodium phenylacetate +sodium phenylbutyrate +sodium phosphate +sodium phosphates +sodium picosulfate +sodium polystyrene sulfonate | Sps +sodium tetradecyl +sodium thiosulfate +sodium zirconium cyclosilicate +Sofdra +sofosbuvir +sofpironium +Sogroya +Sohonos +Sojourn +solifenacin +Soliqua +Soliris +Solosec +solriamfetol +Soltamox +Solu-Cortef +Solu-Medrol +Somapacitan-Beco +Somatrogon-Ghla +Somatropin +Somatuline +Somavert +Sonazine +sonidegib +Sonrotoclax +Soolantra +sorafenib +Sorbitol +Sorilux +Sorine +sotagliflozin +sotalol +sotatercept +Sotorasib +Sotradecol +Sotyktu +Sotylize +Sovaldi +Sovuna +Soybean Oil +sparsentan +spesolimab +Spevigo +Spikevax +Spinosad +Spinraza +spironolactone | Aldactone +Sporanox +Spravato +Sprintec +Spritam +Sprix +Stalevo +Starjemza +Steglatro +Steglujan +Stendra +Steqeyma +Sterile Water +Steritalc +Stie-Cort +Stimufend +Stiolto +Stiripentol +Stivarga +Stoboclo +Strensiq +streptomycin +Stribild +Striverdi +Stromectol +Sublimaze +Sublocade +Subvenite +Succimer +succinylcholine +Sucraid +Sucralfate +Sufenta +sufentanil +Suflave +sugammadex +Sular +sulbactam +sulconazole +sulfacetamide +Sulfadiazine +sulfamethoxazole +sulfamethoxazole + trimethoprim | Bactrim +Sulfamylon +sulfasalazine +Sulfatrim +Sulindac +Sulopenem Etzadroxil +sumatriptan | Imitrex +sumycin +sunitinib +Sunlenca +Sunosi +sunvozertinib +Supprelin +Suprane +Suprax +Suprep Bowel Prep +Survanta +Sustol +Susvimo +Sutab +Sutent +sutimlimab +suvorexant +Suzetrigine +Syeda +Syfovre +Sylatron +Sylvant +Symbravo +Symdeko +Symfi +Symjepi +Sympazan +Symproic +Symtuza +Symvess +Synagis +Synalar +Synarel +Synercid +Synjardy +Syprine +Tabrecta +Tachosil +Taclonex +tacrolimus +tadalafil | Alyq | Cialis +Tadliq +Tafamidis +tafasitamab +tafenoquine +Tafinlar +tafluprost +Tagraxofusp-Erzs +Tagrisso +Takhzyro +talazoparib +Talc +Taletrectinib Adipate +Talicia +taliglucerase alfa +talquetamab +Taltz +Talvey +Talzenna +tamoxifen +tamsulosin +tapentadol +Tapinarof +targretin +tarlatamab +Tarpeyo +Tascenso +Tasigna +tasimelteon +Tasmar +taurolidine +Tavaborole +Tavalisse +Tavneos +Taxotere +Taytulla +Tazarotene +tazemetostat hydrobromide +Tazicef +tazobactam +Tazorac +Tazverik +tbo-filgrastim +Tdap vaccine +Tebentafusp-Tebn +tebipenem pivoxil hydrobromide +Tecartus +Tecelra +Tecentriq +Tecentriq Hybreza +Tecfidera +teclistamab +Tecovirimat +Tecvayli +tedizolid +teduglutide +Teflaro +telavancin +Telisotuzumab Vedotin-Tllv +telmisartan +Telotristat Etiprate +temazepam | Restoril +Tembexa +Temodar +Temozolomide +temsirolimus +tenapanor +tenecteplase +Tenivac +tenofovir alafenamide +tenofovir disoproxil | Viread +Tepadina +Tepezza +teplizumab +Tepmetko +tepotinib +teprotumumab +Tepylute +terazosin +terbinafine +terbutaline +terconazole +Teriflunomide +Teril +teriparatide | Forteo +terlipressin +Terlivaz +tesamorelin +Tessalon +Testim +Testopel +testosterone +Testosterone Undecanoate +Tetanus and Diphtheria Toxoids Adsorbed +tetanus immune globulin +Tetrabenazine +tetracaine +tetracycline +tetrahydrozoline +Tevimbra +Texacort +tezacaftor +tezepelumab +Tezspire +Thalidomide +Thalitone +Thalomid +Theo-24 +Theophylline +Thermazene +Thiamine +Thioguanine +Thiola +thioridazine +Thiotepa +Thiothixene +thonzonium +Thrombate Iii +thrombin +thrombin-jmi +Thrombocoll +thymoglobulin +Thyquidity +Thyro-Tabs +Thyrogen +thyrotropin alfa +tiagabine +Tiazac +Tibsovo +Ticagrelor +Tice Bcg +tick-borne encephalitis vaccine +Ticovac +Tigan +tigecycline +Tiglutik +Tikosyn +tildrakizumab +timolol +Timoptic +Timoptic-Xe +Tindamax +tinidazole +Tiocystin +Tiopronin +tiotropium | Spiriva +tipiracil +tipranavir +Tirbanibulin +tirofiban +Tirosint +Tirosint-Sol +tirzepatide | Mounjaro +tislelizumab +Tisotumab Vedotin-Tftv +Tivdak +Tivicay +tividenofusp alfa +tivozanib +tizanidine +Tlando +tnkase +Tobradex +tobramycin | Tobi +Tobrex +tocilizumab +tofacitinib | Xeljanz +Tofersen +Tofidence +Tolak +Tolcapone +tolmetin +Tolsura +tolterodine | Detrol +tolvaptan +Tonmya +Topicort +topiramate | Topamax +topotecan +toremifene +toripalimab +Torisel +torsemide +Tosymra +Toujeo Max +Toviaz +tovorafenib +Tpoxx +Trabectedin +Tracleer +Tradipitant +Tradjenta +tralokinumab +tramadol +trametinib +Trametinib Dimethyl Sulfoxide +trandolapril +tranexamic acid +Transderm Scop +Tranxene +tranylcypromine +trastuzumab | Ogivri | Herzuma | Hercessi | Kanjinti | Herceptin | Ontruzant | Trazimera +trastuzumab and hyaluronidase +Travatan Z +travoprost +trazodone +Treanda +Trelegy +Trelstar +tremelimumab +Tremfya +Treosulfan +treprostinil +Treprostinil Diolamine +Tretinoin +Tretten +Treximet +Tri-Estarylla +Tri-Legest Fe +Tri-Linyah +Tri-lo-estarylla +Tri-lo-linyah +Tri-lo-mili +Tri Lo Sprintec +Tri-Luma +Tri-Mili +Tri-Norinyl +Tri-Sprintec +Triacin-C +triamcinolone acetonide +Triamterene +triazolam +Tribenzor +triclabendazole +Triderm +trientine +Trientine Tetrahydrochloride +Triesence +Trifarotene +trifluoperazine +trifluridine +Triheptanoin +trihexyphenidyl +Trijardy +Trikafta +trilaciclib dihydrochloride +Trileptal +Trilyte +Trimbow +trimethobenzamide +trimethoprim +trimipramine +triprolidine +Triptodur +triptorelin pamoate +Trisenox +Trivora +Trodelvy +trofinetide +Trogarzo +Trokendi +tromethamine | Tham +Tropicacyl +Tropicamide +trospium +Trudhesa +Trumenba +Truqap +Trutakna +Truvada +Tryngolza +Trypan Blue +Tryptyr +Tryvio +tucatinib +Tukysa +Turalio +Turqoz +Tuxarin +Twinrix +Twirla +Twyneo +Tyblume +Tydemy +Tyenne +Tygacil +Tykerb +Typhim Vi +typhoid vaccine +typhoid vi polysaccharide vaccine +Tyruko +Tyrvaya +Tysabri +Tyvaso +Tyzavan +Tyzine +Tzield +ublituximab +ubrogepant | Ubrelvy +Uceris +ulipristal | Ella +Uloric +Ulspira +Ultane +Ultiva +Ultomiris +Ultravate +umeclidinium +Unasyn +Unithroid +Unituxin +Unloxcyt +upadacitinib +Uplizna +Upneeq +Uptravi +Uridine Triacetate +Urocit-K +Urofollitropin +Ursodiol +ustekinumab | Stelara +Utebzi +Uvadex +Uzedy +Vabomere +Vaborbactam +Vabysmo +vaccinia immune globulin | CNJ-016 +vadadustat +Vafseo +Vagifem +valacyclovir | Valtrex +valbenazine +Valchlor +Valcyte +valganciclovir +Valnac +valproate +valproic acid +valrubicin +valsartan | Diovan +Valstar +Valtoco +vamorolone +vancocin +vancomycin +vandazole +vandetanib +Vanflyta +Vanos +Vanrafia +vanzacaftor +Vaprisol +Vaqta +vardenafil +varenicline | Chantix +Varibar Thin +varicella virus vaccine +varicella zoster immune globulin +Varithena +Varivax +Varizig +Varubi +Vascepa +Vaseretic +vasopressin +Vasostrict +Vaxchora +Vaxelis +Vaxneuvance +Vectibix +Vectical +vecuronium +vedolizumab | Entyvio +Veklury +velaglucerase alfa +Velcade +Veletri +Veligrotug-Vvze +Velivet +velmanase alfa +velpatasvir +Velphoro +Velsipity +Veltane +Veltassa +Veltin +Vemlidy +vemurafenib +Venclexta +Venetoclax +venlafaxine | Effexor +Venofer +Venxxiva +Veopoz +Veozah +vepdegestrant +Vepesid +Veppanu +verapamil +Verard +Veregen +Verelan +Verelan Pm +Vericiguat +Verkazia +Verquvo +Versacloz +Verteporfin +vestronidase alfa +Vevye +Vfend +Vibativ +Vibegron +Viberzi +vibisone +Vidaza +Vienva +Vigabatrin +Vigadrone +Vigafyde +Vigamox +Vigpoder +Viibryd +Vijoice +Vilanterol Trifenatate +vilazodone +viloxazine +Viltepso +Viltolarsen +Vimizim +Vimkunya +Vimpat +vimseltinib +vinblastine +vincristine +vinorelbine +Viokace +Viorele +viracept +Viroptic +Vismodegib +Vistaseal +Vistogard +Visudyne +vitamin a +vitamin B1 +vitamin B6 +vitamin C +vitamin d +vitamin d2 | Drisdol +vitamin E +vitamin k +vitamin k1 +Vitrakvi +vitrase +vivacaine +Vivelle +Vivelle-Dot +Vivimusta +Vivitrol +Vivjoa +Vivotif +Vocabria +Voclosporin +Vogelxo +Volnea +von willebrand factor +von willebrand factor complex +Vonjo +vonoprazan +Vonvendi +Voquezna +Voquezna Dual +Voquezna Triple +Voranigo +vorasidenib +Voraxaze +voriconazole +vorinostat +vortioxetine | Trintellix +vortioxetine hydrobromide +Vosevi +vosoritide +Votrient +Vowst +voxilaprevir +Voxzogo +Voydeya +Voyxact +Vpriv +Vraylar +Vtama +Vumerity +Vusion +vutrisiran +Vyalev +Vybrique +Vyduo +Vyepti +Vyfemla +Vyjuvek +Vykat +Vykoura +Vyleesi +Vyloy +Vyndamax +Vyondys 53 +Vyscoxa +Vytorin +Vyvgart +Vyvgart Hytrulo +Vyxeos +Vyzulta +Wainua +Wakix +warfarin +Waskyra +Wayrilz +Welchol +Welireg +Wera +Wezlana +White Petrolatum +Wilate +Winlevi +Winrevair +Winrho Sd +Winrho Sdf +Wixela Inhub +Wynzora +Wyost +Xacduro +Xaciato +Xadago +Xalatan +Xalkori +xanomeline +Xatmep +Xbryk +Xcopri +Xdemvy +Xelstrym +Xembify +Xenazine +Xenical +Xenleta +Xenpozyme +Xeomin +Xerava +Xermelo +Xgeva +Xhance +Xiaflex +Xifyrm +Xigduo +Xiidra +Xipere +Xocova +Xofluza +Xolremdi +Xospata +Xphozah +Xpovio +Xromi +Xtampza +Xtandi +Xtoro +Xtrenbo +Xulane +Xultophy +Xuriden +xylocaine +Xylocaine with Epinephrine +Xyntha +Xyosted +Xyrem +Xywav +Yaela +Yargesa +Yartemlea +Yasmin +Yaz +Ycanth +yellow fever vaccine +Yervoy +Yesafili +Yescarta +Yesintek +Yeztugo +Yf-Vax +Yimmugo +Yondelis +Yorvipath +Yupelri +Yutiq +Yutrepia +Yuvezzi +Yuviwel +zafirlukast +Zaleplon +Zaltrap +Zanaflex +zanamivir +zanidatamab +zanubrutinib +Zarontin +zavegepant +Zavesca +Zavzpret +Zaynich +Zegfrovy +Zejula +Zelapar +Zelboraf +Zelsuvmi +Zelvysia +Zemaira +Zembrace Symtouch +Zemplar +Zenatane +zenocutuzumab +Zenpep +Zepbound +Zeposia +Zepzelca +Zerbaxa +Zerviate +Zestoretic +Zetia +Zevalin +Zevaskyn +Zevtera +Ziana +ziconotide +Zidebactam +zidovudine +ziftomenib +Ziihera +Zilbrysq +Zileuton +Zilretta +zilucoplan +Zilxi +Zimhi +Zinbryta +zinc +Zinc Oxide +Zingo +Zinplava +Zioptan +ziprasidone +Zipsor +Zirgan +Zituvimet +Zituvio +ziv-aflibercept +Zokinvy +Zoladex +zolbetuximab +zoledronic acid +Zolgensma +Zoliflodacin +Zolinza +zolmitriptan +zolpidem | Ambien +Zolymbus +Zomacton +Zometa +Zomig +Zonalon +Zonegran +zongertinib +Zonisade +Zonisamide +Zorbtive +Zortress +Zoryve +Zosyn | piperacillin + tazobactam +Ztalmy +Ztlido +Zubsolv +Zumandimine +Zunveyl +zuranolone +Zurnai +Zurzuvae +Zusduri +Zyclara +Zycubo +Zydelig +Zykadia +Zylet +Zymaxid +Zymfentra +Zynlonta +Zynrelef +Zynteglo +Zynyz +Zyogreen +Zypitamag diff --git a/PHI.Data.Generator/RLHF.Generator/Data/Categories/MEDICAL_MENTAL_HEALTH.txt b/PHI.Data.Generator/RLHF.Generator/Data/Categories/MEDICAL_MENTAL_HEALTH.txt new file mode 100644 index 0000000..c041298 --- /dev/null +++ b/PHI.Data.Generator/RLHF.Generator/Data/Categories/MEDICAL_MENTAL_HEALTH.txt @@ -0,0 +1,154 @@ +acrophobia +acute stress reaction +ADHD | attention-deficit/hyperactivity disorder +adjustment disorder +adjustment insomnia +adult-onset fluency disorder +agoraphobia +amnestic disorder +androphobia +anorexia nervosa +antisocial personality disorder +anxiety disorder +arachnophobia +asperger's syndrome +autistic disorder +avoidant personality disorder +avoidant/restrictive food intake disorder +binge eating disorder +bipolar disorder +bipolar ii disorder +body dysmorphic disorder +borderline personality disorder +brief psychotic disorder +bulimia nervosa +catatonia +childhood-onset fluency disorder +claustrophobia +conduct disorder +conversion disorder +cyclothymic disorder +delirium +delusional disorder +dementia +dependent personality disorder +depersonalization-derealization disorder | depersonalization-derealization syndrome +depression +depressive episode +developmental coordination disorder | specific developmental disorder of motor function +disinhibited attachment disorder of childhood +disorder of written expression +disruptive mood dysregulation disorder +dissociative amnesia +dissociative disorder +dissociative fugue +dissociative identity disorder +dual role transvestism +dyspareunia +dysthymia | persistent depressive disorder +eating disorder +encopresis +enuresis +erectile dysfunction | male erectile disorder +excoriation (skin-picking) disorder +exhibitionism +expressive language disorder +factitious disorder imposed on another +factitious disorder imposed on self +fear of blood +fear of bridges +fear of flying +fear of injections and transfusions +fear of injury +fear of thunderstorms +female orgasmic disorder +female sexual arousal disorder +fetishism +frotteurism +gambling disorder | pathological gambling +gender identity disorder | gender identity disorders +gender identity disorder of childhood +generalized anxiety disorder +gynephobia +histrionic personality disorder +hoarding disorder +hypersomnia +hypoactive sexual desire disorder +hypochondriasis +impulse control disorder +insomnia +insufficient sleep syndrome +intellectual disability +intermittent explosive disorder +kleptomania +major depressive disorder +male orgasmic disorder +manic episode +mathematics disorder | dyscalculia +mild neurocognitive disorder +mixed receptive-expressive language disorder +mood disorder +mood disorder due to medical condition +narcissistic personality disorder +night terrors | sleep terrors +nightmare disorder +obsessive-compulsive disorder | mixed obsessional thoughts and acts +obsessive-compulsive personality disorder +oppositional defiant disorder +orgasmic disorder +panic disorder +paradoxical insomnia +paranoid personality disorder +paraphilia +pedophilia +personality change +personality disorder +pervasive developmental disorder +phonological disorder +pica +post-traumatic stress disorder | PTSD +postpartum depression +postpartum psychosis | puerperal psychosis +premature ejaculation +premenstrual dysphoric disorder +prolonged grief disorder +pseudobulbar affect +psychological pain disorder +psychophysiologic insomnia +psychotic disorder +pyromania +reactive attachment disorder of childhood +rumination disorder +sadomasochism +schizoaffective disorder +schizoid personality disorder +schizophrenia +schizophreniform disorder +schizotypal disorder +selective mutism +separation anxiety disorder +sexual arousal disorder +sexual aversion disorder +sexual dysfunction +sexual masochism +sexual sadism +shared psychotic disorder +sleep disorder +social phobia +social pragmatic communication disorder +somatization disorder +somatoform disorder +somnambulism | sleepwalking +specific phobia +specific reading disorder | dyslexia +speech and language delay +stereotyped movement disorder +tic disorder +tourette's disorder +transient tic disorder +transsexualism +transvestic fetishism +trichotillomania +vaginismus +vascular dementia +voyeurism diff --git a/PHI.Data.Generator/RLHF.Generator/Data/Categories/MEDICAL_OTHER.txt b/PHI.Data.Generator/RLHF.Generator/Data/Categories/MEDICAL_OTHER.txt new file mode 100644 index 0000000..08ce097 --- /dev/null +++ b/PHI.Data.Generator/RLHF.Generator/Data/Categories/MEDICAL_OTHER.txt @@ -0,0 +1,271 @@ +A- blood type | blood type a- +A+ blood type | blood type a+ +AB- blood type | blood type ab- +AB+ blood type | blood type ab+ +able to ambulate +activity limitation +activity restriction | activity restrictions +adl assistance | needs assistance with activities of daily living +ADL dependence | dependent for activities of daily living +ADLs | activities of daily living +advance care plan | advance care planning +advance directive +ambulates independently +ambulates with assistance +ambulatory status +appendix removed | no appendix +artificial joint +asbestos exposure +assist x1 | one-person assist +assist x2 | two-person assist +assistance with bathing +assistance with dressing +assistance with feeding +assistance with grooming +assistance with toileting +assistance with transfers +assistive device +asymptomatic HIV status +B- blood type | blood type b- +B+ blood type | blood type b+ +bedbound +BiPAP +bladder removed | no bladder +blood exposure +blood pressure | BP | blood pressure reading | blood pressure measurement +blood type | blood group | ABO blood type | ABO type | ABO blood group +bloodborne pathogen exposure +body mass index | BMI | body mass index measurement | BMI measurement | BMI reading +body temperature | temperature reading +bone marrow donor +bone marrow recipient +breast removed | mastectomy history +breastfeeding | lactating +cane +caregiver assistance +caregiver stress +carrier of infectious disease +central line | central venous catheter +cervix removed | no cervix +CGM | continuous glucose monitor +chemical exposure +childbearing status +cochlear implant +code status +cognitive assistance +colon removed | no colon +colonization status +colostomy +comfort measures only +communicable disease exposure +contraceptive status +cornea donor +cornea recipient +COVID-19 exposure | covid exposure +CPAP +crutches | crutch +cystostomy +dental implant +dialysis catheter +dialysis dependent | dialysis-dependent status +dialysis status +diastolic blood pressure | diastolic BP | diastolic blood pressure reading | diastolic blood pressure measurement +DNI | do not intubate | DNI status +DNR | do not resuscitate | no code | DNR status +due date | estimated due date +environmental exposure +eye removed | missing eye +fall precautions | fall precaution +fall risk +fallopian tube removed | no fallopian tube +feeding tube | gastrostomy tube | PEG tube +fertility status +first trimester +flu exposure +food insecurity +full code +full weight-bearing +fully vaccinated | fully immunized +functional impairment +functional limitation +functional status +gallbladder removed | no gallbladder +gastrostomy +genetic carrier +genetic mutation +genetic predisposition +genetic risk +genetic susceptibility +gestational age +goals of care +gravida +head circumference +hearing aid +heart donor +heart-lung donor +heart-lung recipient +heart rate | pulse rate +heart recipient +height | body height | patient height +hepatitis B carrier +hepatitis C carrier +hepatitis exposure +hereditary cancer risk +hip prosthesis +HIV exposure +homelessness +housing instability +ileostomy status | presence of ileostomy +immunization declined +immunization due +immunization exemption +immunization history | vaccination history | immunization record | vaccination record | immunization hx | vaccination hx +immunization not carried out +immunization overdue +immunization status | vaccination status +immunization up to date +immunosuppressed status +implanted cardiac device | cardiac implant +implanted defibrillator | cardiac defibrillator +implanted device +implanted port +independent activities of daily living +infectious disease exposure +instrumental activities of daily living | iadls +insulin pump +intestine donor +intestine recipient +IUD | intrauterine device +IVC filter +jejunostomy +joint prosthesis +kidney donor +kidney recipient +kidney removed | missing kidney +knee prosthesis +larynx removed | no larynx +lead exposure +lifting restriction | lifting restrictions +limb removed | limb amputation +liver donor +liver recipient +LMP | last menstrual period +lung donor +lung recipient +lung removed | missing lung +LVAD | left ventricular assist device | ventricular assist device | VAD +mechanical heart valve | artificial heart valve | heart valve prosthesis +medical clearance +medical device +medical history | PMH | medical hx | patient history | past medical history | personal medical history +medical restriction +menopausal status +menstrual status +mobility aid +mobility assistance +mobility limitation +mobility restriction +mold exposure +MRSA carrier | MRSA colonization +needlestick exposure | needle-stick exposure +needs caregiver assistance +nephrostomy tube | nephrostomy +non-weight bearing | NWB +nonambulatory | unable to ambulate +not pregnant +number of live births +number of pregnancies +nutrition status +O- blood type | blood type o- +O+ blood type | blood type o+ +occupational exposure +organ donor status +organ recipient status +orthopedic brace +ovary removed | no ovary +oxygen dependent | oxygen-dependent status +oxygen equipment +oxygen saturation | SpO2 | pulse oximetry reading | blood oxygen saturation | pulse oximetry measurement | SpO2 reading | SpO2 measurement +pacemaker | cardiac pacemaker +pain score | pain level | pain rating +pancreas donor +pancreas recipient +parity +partial code +partial weight-bearing | PWB +partially vaccinated | partially immunized +peripheral IV +pesticide exposure +PICC line +port-a-cath +postmenopausal +postpartum status +pregnancy intent +pregnant | pregnancy status +prenatal status +prostate removed | no prostate +prosthetic device +prosthetic limb +radiation exposure +range-of-motion limitation | ROM limitation +respiratory rate | breathing rate +resting heart rate +return to work restriction +rh negative +rh positive +rh status +second trimester +sedentary restriction +sexual history +skin donor +skin recipient +sleep pattern +social history | social hx | Soc hx | SHx +social isolation +spinal cord stimulator +spleen removed | no spleen +stem cell donor +stem cell recipient +stent +stomach removed | no stomach +supplemental oxygen | home oxygen +surgical drain +systolic blood pressure | systolic BP | systolic blood pressure reading | systolic blood pressure measurement +tb exposure +testicle removed | missing testicle +third trimester +thyroid removed | no thyroid +tonsils removed | no tonsils +toxic exposure +tracheostomy +transfer assistance +transportation insecurity +trying to conceive +tuberculosis exposure +underimmunized +unknown blood type +unvaccinated | unimmunized +urinary catheter | Foley catheter +urostomy +uses assistive device +uterus removed | hysterectomy history +vaccinated +vaccine booster due +vaccine declined +vaccine refusal +vaccine series complete +vaccine series incomplete +vascular graft +ventilator | ventilator dependent +vital sign | vital signs +VRE carrier | VRE colonization +waist circumference +walker +WBAT | weight bearing as tolerated +weeks gestation | weeks pregnant +weight | body weight | patient weight +weight-bearing restriction +wheelchair +wheelchair dependent | wheelchair-bound +work restriction | work restrictions +workplace exposure diff --git a/PHI.Data.Generator/RLHF.Generator/Data/Categories/MEDICAL_PHYSICAL_HEALTH.txt b/PHI.Data.Generator/RLHF.Generator/Data/Categories/MEDICAL_PHYSICAL_HEALTH.txt new file mode 100644 index 0000000..a3ba8f7 --- /dev/null +++ b/PHI.Data.Generator/RLHF.Generator/Data/Categories/MEDICAL_PHYSICAL_HEALTH.txt @@ -0,0 +1,694 @@ +22q11.2 deletion syndrome | DiGeorge syndrome | velocardiofacial syndrome +abdominal aortic aneurysm | AAA +abscess +acanthosis nigricans +achalasia | esophageal achalasia | cardiospasm +acid and chemical burns +acne +acoustic neuroma +acromegaly | excess growth hormone +actinic keratosis | actinic keratoses +actinomycosis +acute bronchitis +acute cholecystitis +acute flaccid myelitis +acute kidney injury | AKI +acute lymphoblastic leukemia | acute lymphocytic leukemia | acute lymphoblastic leukaemia | acute lymphocytic leukaemia +acute myeloid leukemia | acute myeloid leukaemia +acute pancreatitis +acute respiratory distress syndrome | ARDS +Addison's disease | primary adrenal insufficiency +adenomyosis +adhesive capsulitis | frozen shoulder +age-related macular degeneration | AMD +albinism +alcohol poisoning +alcohol-related liver disease | ARLD +allergic rhinitis | hay fever +allergies | allergy +altitude sickness +amblyopia | lazy eye +amyloidosis | amyloid disease +anal cancer +anal fissure +anal fistula +anaphylaxis +androgen insensitivity syndrome +aneurysm +angina | angina pectoris +angioedema +animal bite | animal bites +ankle fracture | broken ankle +ankylosing spondylitis +antiphospholipid syndrome | APS +aphasia +appendicitis +arm fracture | broken arm +arrhythmia | dysrhythmia | heart arrhythmia +arthritis +asbestosis +aspergillosis +asthma +astigmatism +ataxia +atherosclerosis | hardening of the arteries +athlete's foot | tinea pedis | ringworm of the foot +atopic dermatitis | atopic eczema +atrial fibrillation +auditory processing disorder | central auditory processing disorder +autoimmune disease | autoimmune disorder +autosomal dominant polycystic kidney disease +autosomal recessive polycystic kidney disease +avian influenza | bird flu +bacterial vaginosis +Baker cyst | popliteal cyst +balanitis +Barrett's esophagus | Barrett's oesophagus +bartholin's cyst +bedbugs +behçet's disease +bell's palsy +benign brain tumor | benign brain tumour +benign prostate enlargement +benign prostatic hyperplasia | BPH | enlarged prostate +bilharzia +birth defect | birth defects +birthmark | birthmarks +black eye +bladder cancer +bladder pain syndrome +bladder stones | bladder stone | bladder calculi | bladder calculus +blepharitis +blindness +blister | blisters +blood clot | blood clots +blood clotting disorder +bone cancer +bone cyst +botulism +bowel cancer +bowel polyps | bowel polyp +bowen's disease +brain abscess +brain aneurysm | cerebral aneurysm +brain cancer +brain hemorrhage | brain haemorrhage +brain tumor | brain tumour +breast abscess +breast cancer +broken collarbone +broken finger +bronchiectasis +bronchiolitis +bronchitis +brucellosis +brugada syndrome +bullous pemphigoid +bunion | bunions +burn | burns +burns and scalds +bursitis +C. difficile infection | C. diff infection | Clostridioides difficile infection +cancer +carbon monoxide poisoning +cardiac arrest +cardiomyopathy +cardiovascular disease +carpal tunnel syndrome +cataract | cataracts +catarrh +cavernoma +celiac disease | coeliac disease +cellulitis +cerebral palsy +cervical cancer +cervical spondylosis +Charcot-Marie-Tooth disease | hereditary motor and sensory neuropathy | peroneal muscular atrophy +chest infection +Chiari malformation | Arnold-Chiari malformation +chickenpox | varicella +chilblains | chilblain +chipped tooth +chlamydia +cholangiocarcinoma | bile duct cancer +cholera +cholesteatoma +chronic disease +chronic illness +chronic kidney disease | CKD +chronic lymphocytic leukemia | chronic lymphocytic leukaemia +chronic myeloid leukemia | chronic myeloid leukaemia +chronic obstructive pulmonary disease | COPD +chronic pain +chronic pancreatitis +chronic traumatic encephalopathy +cirrhosis +cleft lip +cleft lip and palate +cleft palate +clubfoot +cluster headache | cluster headaches +coccyx pain +cold sore | cold sores +colic +colon cancer +color blindness | colour blindness | color vision deficiency | colour vision deficiency +common cold +compartment syndrome +complex regional pain syndrome | CRPS +concussion +congenital heart disease | congenital heart defect +congenital hip dislocation +conjunctivitis +constipation +contact dermatitis +corns and calluses | calluses and corns +coronary artery disease | CAD +corticobasal degeneration +costochondritis | costosternal syndrome | costosternal chondrodynia +COVID-19 | coronavirus disease 2019 +cracked tooth +cradle cap +craniosynostosis +creutzfeldt-jakob disease +crohn's disease +croup +cushing's syndrome +cuts and grazes +cyclical vomiting syndrome +cyclospora +cystic fibrosis +cystitis +cytomegalovirus infection | CMV infection +dandruff +deafness +deep vein thrombosis | DVT +dehydration | hypohydration +dengue +dental abscess +detached retina +developmental dysplasia of the hip | DDH +diabetes +diabetes in pregnancy +diabetes insipidus +diabetic ketoacidosis | DKA +diabetic neuropathy +diabetic retinopathy +differences in sex development +diphtheria +discoid eczema +dislocated kneecap +dislocated shoulder +diverticular disease +diverticulitis +Down syndrome | trisomy 21 +dupuytren's contracture +dwarfism +dysarthria +dysentery +dyshidrotic eczema | dyshidrosis | pompholyx +dystonia +ear infection | ear infections +early menopause +early puberty +earwax build-up +ebola virus disease +ectopic pregnancy +ectropion +edwards syndrome +ehlers-danlos syndrome | ehlers-danlos syndromes +ejaculation problems | ejaculation problem +encephalitis +endocarditis +endometrial cancer +endometriosis +epidermolysis bullosa +epididymitis +epiglottitis +epilepsy +erectile dysfunction | impotence +erythema multiforme +erythema nodosum +erythrocytosis +erythromelalgia +esophageal atresia | oesophageal atresia +esophageal cancer | oesophageal cancer +esophageal fistula | oesophageal fistula +eye cancer +eye injury | eye injuries +farsightedness | long-sightedness | hyperopia +febrile seizure | febrile seizures +fecal incontinence | bowel incontinence +female genital mutilation +fetal alcohol spectrum disorder +fibromyalgia +flat feet +flat head syndrome +food allergy +food intolerance +food poisoning | foodborne illness +foot drop | drop foot +frostbite +gallbladder cancer +gallstone | gallstones +ganglion cyst +gangrene +gastritis +gastroesophageal reflux disease | gastro-oesophageal reflux disease | GERD | GORD +gastroparesis | delayed gastric emptying +genital herpes +genital warts | genital wart +gestational diabetes +giant cell arteritis +giardiasis +gilbert's syndrome +glandular fever +glaucoma +glomerulonephritis +glue ear +goiter | goitre +gonorrhea | gonorrhoea +gout | gouty arthritis +granuloma annulare +granulomatosis with polyangiitis | GPA +group b strep +growing pains | growing pain +guillain-barré syndrome +gum disease +gynecomastia | gynaecomastia +Haemophilus influenzae type b infection | Hib infection +hamstring injury +hand foot and mouth disease +hantavirus +head injury +head lice | pediculosis capitis +hearing impairment +hearing loss +heart block +heart disease +heart failure | CHF +heart murmur +heart rhythm problems | heart rhythm problem +heart valve disease +heartburn +heartburn and acid reflux +heat exhaustion +heat rash +heatstroke +heavy periods | heavy period +hemochromatosis | haemochromatosis +hemolytic disease of the fetus and newborn | haemolytic disease of the fetus and newborn | HDFN +hemophilia | haemophilia +hemorrhoids | hemorrhoid | haemorrhoids | haemorrhoid | piles +henoch-schönlein purpura +hepatitis +hepatitis A | hep A | HAV infection +hepatitis B | hep B | HBV infection +hepatitis C | hep C | HCV infection +hereditary hemorrhagic telangiectasia | hereditary haemorrhagic telangiectasia +hereditary spastic paraplegia +hernia +herpes simplex eye infection | herpes simplex eye infections +herpes zoster | shingles +herpetic whitlow +hiatus hernia +hidradenitis suppurativa | HS +high cholesterol | hypercholesterolemia +hip dysplasia +hip fracture | broken hip +hirschsprung's disease +HIV | human immunodeficiency virus +hives +hodgkin lymphoma +human bite | human bites +human papillomavirus infection | HPV infection +Huntington's disease | Huntington disease | Huntington chorea +hydrocephalus +hydronephrosis +hyperacusis +hyperglycemia | hyperglycaemia | high blood sugar +hyperhidrosis | excessive sweating +hyperparathyroidism +hypertension | high blood pressure | high BP +hyperthyroidism | overactive thyroid +hypoglycemia | low blood sugar | hypoglycaemia +hypoparathyroidism +hypotension | low blood pressure +hypothermia | low body temperature +hypothyroidism | underactive thyroid +ichthyosis +idiopathic pulmonary fibrosis +immunodeficiency | immune deficiency +impetigo +indigestion | dyspepsia +infected piercing | infected piercings +infertility +inflammatory bowel disease | IBD +influenza | flu +ingrown hair | ingrown hairs +ingrown toenail +insect bite | insect bites +insect bites and stings +insect sting | insect stings +intracranial hypertension +iron deficiency anemia | iron deficiency anaemia +irritable bowel syndrome | IBS +japanese encephalitis +jaundice +jellyfish sting | jellyfish stings +jet lag +joint hypermobility syndrome +Kawasaki disease | mucocutaneous lymph node syndrome +keloid scar | keloid scars +keratosis pilaris | KP +kidney cancer | renal cancer +kidney disease +kidney failure | renal failure +kidney infection +kidney injury +kidney stone | kidney stones +klinefelter syndrome +knee cartilage damage +knock knees +knocked-out tooth +kyphosis | round back | hunchback +labial fusion +labyrinthitis +lactose intolerance | lactase deficiency +lambert-eaton myasthenic syndrome +laryngeal cancer +laryngitis +leg fracture | broken leg +leg ulcer +Legionnaires' disease | legionellosis +leptospirosis +leukemia | leukaemia +leukoplakia +lichen planus +lichen sclerosus +lipedema | lipoedema +lipoma +listeriosis | Listeria infection +liver cancer +liver disease +liver failure +long covid +long qt syndrome +low bp +low sperm count +low white blood cell count | leukopenia +lung cancer +lung disease +lyme disease +lymphedema | lymphoedema +lymphoma +ménière's disease +macular degeneration +macular hole +malaria +malignant brain tumor | malignant brain tumour +mallet finger +malnutrition +marfan syndrome +mastitis +mastocytosis +mastoiditis +measles | rubeola +melanoma | malignant melanoma +meningitis +meniscus tear +menopause +mesothelioma +metabolic dysfunction-associated steatotic liver disease | MASLD | nonalcoholic fatty liver disease | NAFLD +metabolic syndrome +Middle East respiratory syndrome | MERS +migraine +miscarriage +molar pregnancy +mole | moles +molluscum contagiosum +morton's neuroma +motion sickness +motor neuron disease | motor neurone disease | MND +mouth cancer +mouth ulcers | mouth ulcer +mpox +MRSA +mucositis +multiple sclerosis | MS +multiple system atrophy | MSA | Shy-Drager syndrome +mumps +muscular dystrophy +myalgic encephalomyelitis/chronic fatigue syndrome | ME/CFS +myasthenia gravis | MG +myelodysplastic syndrome +myeloma +myocardial infarction | heart attack +myositis +nail fungus | fungal nail infection | onychomycosis +nappy rash +narcolepsy +nasal and sinus cancer +nasal cancer +nasal polyps | nasal polyp +nasopharyngeal cancer +nearsightedness | myopia | short-sightedness +necrotising fasciitis +neonatal herpes +nephrotic syndrome +neurofibromatosis type 1 | NF1 +neurofibromatosis type 2 | NF2 +neuromyelitis optica spectrum disorder | NMOSD | neuromyelitis optica | NMO +newborn jaundice +newborn respiratory distress syndrome +noise sensitivity +non-allergic rhinitis +non-hodgkin lymphoma +non-melanoma skin cancer +noncancerous brain tumor | noncancerous brain tumour +noonan syndrome +norovirus +nose fracture | broken nose | fractured nose +obesity +oral thrush | oral candidiasis +organ failure +osteoarthritis | degenerative arthritis +osteomalacia +osteomyelitis | bone infection +osteoporosis +otitis externa | outer ear infection | swimmer's ear +otitis media +ovarian cancer +ovarian cyst +overweight +paget's disease of bone +paget's disease of the nipple +pancreatic cancer +paralysis +paraplegia +parkinson's disease +partial blindness +patau syndrome +pelvic inflammatory disease +pelvic organ prolapse +pemphigus vulgaris +penile cancer +peptic ulcer | stomach ulcer +perforated eardrum | ruptured eardrum | tympanic membrane perforation +pericarditis | pericardial inflammation +period pain +period problems | period problem +periods | period +peripheral arterial disease | PAD +peripheral neuropathy +peritonitis +peyronie's disease +phaeochromocytoma +phimosis +phlebitis +pilonidal sinus +pityriasis rosea +pityriasis versicolor +plantar fasciitis +pleurisy | pleuritis +pneumonia +poisoning +polio +polycystic kidney disease | PKD +polycystic ovary syndrome | PCOS | polyendocrine metabolic ovarian syndrome +polyhydramnios +polymorphic light eruption +polymyalgia rheumatica +post-herpetic neuralgia +postural orthostatic tachycardia syndrome | POTS +Prader-Willi syndrome | Prader-Labhart-Willi syndrome +pre-eclampsia +pregnancy +premature menopause +pressure ulcer | pressure sore | bedsore +primary biliary cholangitis | primary biliary cirrhosis +progressive supranuclear palsy | PSP | Steele-Richardson-Olszewski syndrome +prostate cancer +prostate enlargement +prostatitis +psoriasis +psoriatic arthritis +pubic lice +pudendal neuralgia +pulmonary embolism +pulmonary fibrosis | interstitial pulmonary fibrosis +pulmonary hypertension +pyoderma gangrenosum +q fever +quadriplegia +quinsy +rabies +Raynaud's phenomenon | Raynaud's disease +reactive arthritis +rectal cancer +renal disease +repetitive strain injury | RSI +respiratory failure +respiratory syncytial virus infection | RSV +respiratory tract infection | respiratory tract infections +restless legs syndrome | RLS +restricted growth +retinal detachment +retinal migraine +retinoblastoma +rett syndrome +reye's syndrome +rheumatic fever +rheumatoid arthritis | RA +rhinitis +rib fracture | broken rib | broken ribs | fractured rib +rickets +ringworm +rosacea +roseola +rubella | German measles | three-day measles +salivary gland stones | salivary gland stone +sarcoidosis +scabies +scarlet fever | scarlatina +scars | scar +schistosomiasis +sciatica +scleroderma +scoliosis +scurvy +seizure | seizures +sepsis +septic arthritis +septic shock +sexually transmitted infection | STI +shin splints | shin splint +shoulder impingement +sickle cell anemia | sickle cell anaemia | sickle cell disease +silicosis +sinusitis | sinus infection +sjögren's syndrome +skin abscess +skin cancer +skin cyst +skin tags | skin tag +slapped cheek syndrome +sleep apnea | sleep apnoea +slipped disc +snake bite | snake bites +soft tissue sarcoma +solar keratosis +spina bifida +spinal muscular atrophy +spondylolisthesis +sprain | sprains +squint +staph infection +stevens-johnson syndrome +stillbirth +stomach cancer | gastric cancer +strain | strains +strep a +stretch marks | stretch mark +stroke | cerebrovascular accident | CVA +stye +subarachnoid hemorrhage | subarachnoid haemorrhage +subdural hematoma | subdural haematoma +sunburn +superficial thrombophlebitis +supraventricular tachycardia | SVT +syphilis +systemic lupus erythematosus | SLE | lupus +tailbone pain +temporal arteritis +temporomandibular disorder | TMD | TMJ disorder +tendonitis +tennis elbow | lateral epicondylitis | lateral epicondylosis +tension headache | tension headaches +terminal disease +terminal illness +testicular cancer +tetanus +tetraplegia +thalassemia | thalassaemia | Cooley's anemia | Mediterranean anemia +thoracic outlet syndrome +threadworms | threadworm +thrombophilia +thrush +thyroid cancer +tick-borne encephalitis | TBE +tight foreskin +toe fracture | broken toe +tongue-tie +tonsillitis +tooth decay | dental cavities | cavities +toxic shock syndrome +toxocariasis +toxoplasmosis +transient ischemic attack | transient ischaemic attack | TIA +trichomoniasis +trigeminal neuralgia | tic douloureux +trigger finger | stenosing tenosynovitis +tuberculosis | TB +turner syndrome +type 1 diabetes +type 2 diabetes +typhoid fever +typhus +ulcerative colitis +umbilical hernia +undescended testicle | undescended testicles +urethritis +urinary incontinence +urinary tract infection | UTI +uterine cancer | womb cancer +uterine fibroid | uterine fibroids +uveitis +vaginal cancer +vaginismus +vaginitis +varicose eczema +varicose veins | varicose vein | varicosities | varicosity +vasculitis +venous leg ulcer +verruca | verrucas +vestibular neuritis +vision loss +visual impairment | vision impairment +vitamin B12 deficiency anemia | vitamin B12 deficiency anaemia +vitamin B12 or folate deficiency anemia | vitamin B12 or folate deficiency anaemia +vitiligo +vomiting bug +von willebrand disease +vulvar cancer | vulval cancer +vulvodynia +warts | wart +weil's disease +whiplash +whitlow finger +whooping cough +wolff-parkinson-white syndrome +worms | worm +wrist fracture | broken wrist +yellow fever +zika virus diff --git a/PHI.Data.Generator/RLHF.Generator/Data/Categories/MEDICAL_PROCEDURE.txt b/PHI.Data.Generator/RLHF.Generator/Data/Categories/MEDICAL_PROCEDURE.txt new file mode 100644 index 0000000..ea620b6 --- /dev/null +++ b/PHI.Data.Generator/RLHF.Generator/Data/Categories/MEDICAL_PROCEDURE.txt @@ -0,0 +1,115 @@ +abdominoplasty +ablation +abortion | termination of pregnancy +amniocentesis +amnioinfusion +amniotomy +amputation +aneurysm clipping | clipping, aneurysm +angioplasty +anoscopy +appendectomy +arthrocentesis +arthrodesis +arthroplasty +arthroscopy +arthrotomy +artificial insemination | insemination, artificial +atherectomy +blood transfusion | transfusion +bone fixation | fixation, bone +bone marrow transplant +bronchoscopy +cannulation +cardiac catheterization +cardiopulmonary bypass | bypass, cardiopulmonary +cardiopulmonary resuscitation | CPR +cardioversion | countershock, cardiac +casting +cataract surgery +cauterization +cervical cerclage | cerclage +cervical conization | conization, cervix +cesarean section | c-section | caesarean section | cesarean delivery | section, cesarean +chemoembolization +chest tube placement | thoracostomy +circumcision +colectomy +colonoscopy +colostomy +core needle biopsy +coronary artery bypass grafting | CABG +craniotomy +cryoablation +cryotherapy +cystocele repair +cystoscopy +debridement +dermabrasion +dilation and curettage | D&C +embolization +endoscopic retrograde cholangiopancreatography | ERCP +enucleation +epidural anesthesia +esophageal variceal banding | banding, esophageal varices +exploratory surgery +extracorporeal shock wave lithotripsy | ESWL +facelift | face lift +fine needle aspiration | aspiration, fine +fundoplication | fundoplication, gastroesophageal +gastrectomy +gastrostomy +general anesthesia +hemorrhoid banding | ligation, hemorrhoid +hip replacement | replacement, hip +hysterectomy +ileostomy +incision +intubation +IUI | intrauterine insemination +IVF | in vitro fertilization +labor induction | induction of labor +laparoscopy +LASIK | laser-assisted in situ keratomileusis +LEEP | loop electrosurgical excision procedure +ligation +lobectomy +local anesthesia +lumbar puncture | spinal tap +mastectomy +myomectomy +myringostomy +nephrectomy +nephrostomy +organ transplant +pacemaker implantation +paracentesis +partial joint replacement +polypectomy +PRK | photorefractive keratectomy +prostatectomy +pulmonary wedge resection | wedge resection, pulmonary +punch biopsy +rectocele repair +Roux-en-Y gastric bypass | roux-en-y operation +salpingostomy +sclerotherapy +shoulder replacement +shunt placement | shunt creation +splenectomy +stem cell transplant +stereotactic radiosurgery +suture removal +TAVR | transcatheter aortic valve replacement +thoracentesis +thyroidectomy +tonsillectomy +tracheostomy +urethral catheterization +vacuum-assisted delivery | vacuum extraction, obstetric +vaginal delivery +vaginoplasty +vasectomy +venipuncture | blood draw +ventriculostomy +vitrectomy diff --git a/PHI.Data.Generator/RLHF.Generator/Data/Categories/MEDICAL_SUBSTANCE_USE.txt b/PHI.Data.Generator/RLHF.Generator/Data/Categories/MEDICAL_SUBSTANCE_USE.txt new file mode 100644 index 0000000..716b9cf --- /dev/null +++ b/PHI.Data.Generator/RLHF.Generator/Data/Categories/MEDICAL_SUBSTANCE_USE.txt @@ -0,0 +1,272 @@ +12-step program +active use disorder | active addiction +addict +addiction +addiction history +addiction recovery | in recovery | recovering addict | recovery from addiction +addiction relapse +addiction treatment +aerosol inhalation +alcohol abstinence | no alcohol use | abstinent from alcohol +alcohol consumption +alcohol craving +alcohol dependence +alcohol detox +alcohol-induced disorder +alcohol intoxication +alcohol misuse | alcohol abuse +alcohol recovery | recovering alcoholic +alcohol relapse +alcohol-related blackout +alcohol use +alcohol use disorder | AUD | alcoholic | alcoholism | alcohol addiction +alcohol use history +alcohol withdrawal +alprazolam misuse +amphetamine dependence +amphetamine misuse | amphetamine abuse +amphetamine use +amphetamine use disorder | amphetamine addiction +anabolic steroid misuse +anabolic steroid use +anxiolytic misuse +ayahuasca use +barbiturate dependence +barbiturate misuse | barbiturate abuse +barbiturate use +barbiturate use disorder | barbiturate addiction +barbiturate withdrawal +benzodiazepine dependence | benzo dependence +benzodiazepine misuse | benzo abuse | benzo misuse | benzodiazepine abuse +benzodiazepine use | benzo use +benzodiazepine use disorder | benzo addiction | benzodiazepine addiction +benzodiazepine withdrawal +binge drinking +blackout drinking +buprenorphine misuse +caffeine dependence +caffeine intoxication +caffeine misuse +caffeine use disorder | caffeine addiction +caffeine withdrawal +cannabis dependence +cannabis-induced disorder +cannabis intoxication | marijuana intoxication +cannabis misuse | cannabis abuse | marijuana abuse | marijuana misuse +cannabis use | pot use | hash use | weed use | hashish use | marijuana use +cannabis use disorder | cannabis addiction | marijuana addiction | marijuana use disorder +cannabis withdrawal | marijuana withdrawal +chewing tobacco use +cigar use | cigar smoking +cigarette dependence +cigarette use | cigarette smoking +clonazepam misuse +cocaine dependence +cocaine-induced disorder +cocaine intoxication +cocaine misuse | cocaine abuse +cocaine use +cocaine use disorder | cocaine addiction +cocaine withdrawal +codeine misuse +crack cocaine use | crack use +crack use disorder | crack addiction +current alcohol use +current drug use +current substance use +daily drinking +delirium tremens | DTs | DT's +delta-8 use +delta-9 use +dextromethorphan misuse +diazepam misuse +DMT use +drug craving | craving for drugs +drug dependence +drug intoxication +drug misuse | drug abuse +drug overdose +drug relapse | drug use relapse +drug use +drug use disorder | drug addiction +drug withdrawal +e-cigarette use | electronic cigarette use +edible cannabis use +energy drink misuse +fentanyl dependence +fentanyl misuse | fentanyl abuse +fentanyl overdose +fentanyl use +fentanyl use disorder | fentanyl addiction +fentanyl withdrawal +former alcohol use +former drug use +former smoker +gabapentin misuse +gasoline inhalation +hallucinogen dependence +hallucinogen-induced disorder +hallucinogen intoxication +hallucinogen misuse | hallucinogen abuse +hallucinogen use +hallucinogen use disorder | hallucinogen addiction +heavy alcohol use +heavy drinking +heroin dependence +heroin misuse | heroin abuse +heroin overdose +heroin use +heroin use disorder | heroin addiction +heroin withdrawal +high-intensity drinking +history of alcohol dependence +history of alcohol misuse | history of alcohol abuse +history of alcohol use +history of drug dependence +history of drug misuse | history of drug abuse +history of drug use +history of IV drug use | history of IVDU | history of intravenous drug use +history of nicotine dependence +history of smoking +history of substance dependence +history of substance misuse | history of substance abuse +history of substance use +history of use disorder | history of addiction +hookah use | waterpipe tobacco use +huffing +hydrocodone misuse +hypnotic misuse +illicit drug use +inhalant dependence +inhalant-induced disorder +inhalant intoxication +inhalant misuse | inhalant abuse +inhalant use +inhalant use disorder | inhalant addiction +injection drug use | injecting drugs | injecting drug use +intranasal drug use +IV drug use | IVDU | intravenous drug use +ketamine misuse +ketamine use +kratom misuse +kratom use +lorazepam misuse +LSD use | acid use +MDMA use | molly use | ecstasy use +medical marijuana use +mescaline use +methadone misuse +methamphetamine dependence | meth dependence +methamphetamine intoxication +methamphetamine misuse | meth abuse | methamphetamine abuse +methamphetamine use | ice use | meth use | crystal meth use +methamphetamine use disorder | meth addiction | methamphetamine addiction +methamphetamine withdrawal | meth withdrawal +morphine misuse +multiple drug use +naloxone-reversed overdose +narcotics anonymous +needle sharing | sharing needles +needle use +never smoker +nicotine dependence +nicotine misuse +nicotine use +nicotine use disorder | nicotine addiction +nicotine withdrawal +nitrous oxide misuse +nonmedical drug use +nonmedical prescription drug use | nonmedical prescription medication use +opioid dependence | opiate dependence +opioid-induced disorder +opioid intoxication +opioid misuse | opiate abuse | opioid abuse | opiate misuse +opioid overdose +opioid use | opiate use +opioid use disorder | opiate addiction | opioid addiction +opioid withdrawal | opiate withdrawal +opium use +otc medication misuse +overdose +oxycodone misuse +pack-year history | pack-years +pain pill misuse +paint thinner inhalation +past alcohol use +past drug use +past substance use +PCP use | phencyclidine use +peyote use +pipe tobacco use | pipe smoking +polysubstance dependence | polydrug dependence +polysubstance misuse | polysubstance abuse | polydrug misuse | polydrug abuse +polysubstance use | polydrug use +polysubstance use disorder | polysubstance addiction +poppers use +prescription drug misuse | prescription drug abuse | prescription medication abuse | prescription medication misuse +prescription opioid misuse +prescription stimulant misuse +problem drinking +psilocybin use | mushroom use | magic mushroom use +psychedelic use +recreational drug use +rehab for substance use +ritalin misuse +salvia use +secondhand smoke exposure +sedative dependence +sedative, hypnotic, or anxiolytic use +sedative misuse | sedative abuse +sedative use +sedative use disorder | sedative addiction +sedative withdrawal +smokeless tobacco use +smoking | smoker | current smoker +smoking cessation | quit smoking +smoking drugs +smoking history +smoking status +sniffing glue +snorting drugs +snuff use +sober living +sobriety | sober | drug-free | clean and sober +social drinking +solvent misuse | solvent abuse +speed use +stimulant dependence +stimulant intoxication +stimulant misuse | stimulant abuse +stimulant overdose +stimulant use +stimulant use disorder | stimulant addiction +stimulant withdrawal +substance craving | craving +substance dependence | chemical dependency +substance intoxication +substance misuse | substance abuse +substance use +substance use disorder | SUD | substance addiction +substance use history +substance use relapse | relapse +substance use treatment +substance withdrawal +synthetic cannabinoid use | k2 use | spice use +synthetic cathinone use | bath salts use +THC use +tianeptine misuse +tobacco dependence +tobacco misuse +tobacco use +tobacco use disorder | tobacco addiction +tobacco use history +tobacco withdrawal +tramadol misuse +tranquilizer misuse +underage drinking +vaping | vape use | nicotine vaping +vaping status +whippet use +xanax misuse +xylazine misuse +xylazine use diff --git a/PHI.Data.Generator/RLHF.Generator/Data/Categories/MEDICAL_SYMPTOM.txt b/PHI.Data.Generator/RLHF.Generator/Data/Categories/MEDICAL_SYMPTOM.txt new file mode 100644 index 0000000..a8d1ad8 --- /dev/null +++ b/PHI.Data.Generator/RLHF.Generator/Data/Categories/MEDICAL_SYMPTOM.txt @@ -0,0 +1,781 @@ +abdominal cramping | abdominal cramps | stomach cramps +abdominal discomfort +abdominal distension | distended abdomen +abdominal fullness | early satiety +abdominal pain | bellyache | belly pain | stomach ache | stomach pain | tummy ache | tummy pain +abdominal rigidity +abdominal tenderness +abnormal breathing +abnormal bruising +abnormal heartbeat +abnormal involuntary movement +abnormal posture +abnormal reflex +abnormal sputum +abnormal vaginal bleeding +aching joints | aching joint +acid burning +acid indigestion +acid reflux +all over body pain +altered level of consciousness +altered mental status +amnesia +ankle burning +ankle cramping +ankle numbness +ankle pain | ankle ache | ankle aching +ankle stiffness +ankle swelling +ankle tenderness +ankle tingling +ankle weakness +anuria +aphasia +apnea +arm burning +arm cramping +arm numbness +arm pain | arm ache | arm aching +arm stiffness +arm swelling +arm tenderness +arm tingling +arm weakness +arthralgia +ascites +ataxia +back burning +back cramping +back numbness +back pain | back ache | back aching +back stiffness +back swelling +back tenderness +back tingling +back weakness +bad breath | halitosis +balance problems | balance problem +bedwetting +belching | burping +black stool | black stools | dark stool +blackout | blackouts +bleeding gums | bleeding gum +blind spot +blister | blisters +bloating | abdominal bloating +blood in stool | bloody stool +blood in urine | bloody urine | red urine +blood pressure instability +bloody diarrhea +bloody nose +blurred vision | blurry vision | fuzzy vision +body ache | body aches +bone pain +bowel incontinence +brain fog +breast discharge +breast lump +breast pain +breast redness +breast swelling +bruising +burning eyes | burning eye +burning in chest +burning mouth +burning sensation +burning skin +burning throat +buttock burning +buttock cramping +buttock numbness +buttock pain | buttock ache | buttock aching +buttock stiffness +buttock swelling +buttock tenderness +buttock tingling +buttock weakness +calf burning +calf cramping +calf numbness +calf pain | calf ache | calf aching +calf stiffness +calf swelling +calf tenderness +calf tingling +calf weakness +cardiac murmur +catarrh +cervical lymphadenopathy +change in bowel habits | change in bowel habit +change in skin sensation +chapped lips | chapped lip +cheek swelling +chest burning +chest cramping +chest discomfort +chest heaviness +chest numbness +chest pain | chest ache | chest aching +chest pressure +chest stiffness +chest swelling +chest tenderness +chest tightness +chest tingling +chest wall tenderness +chest weakness +chills | cold chills | feeling chilled +choking +chronic cough +chronic fatigue +clammy skin +clay-colored stool +cloudy urine +clubbing of fingers +cluster headache +cold intolerance +cold skin +coma +confusion | confused +congestion +constipation | can't poop | cannot poop | difficulty passing stool +convulsion | convulsions +cough | coughing +coughing blood +coughing fits | coughing fit +cracked skin +cyanosis +daytime sleepiness +decreased activity +decreased alertness +decreased bowel sounds | decreased bowel sound +decreased hearing +decreased respiratory rate +decreased urine output +decreased vision +delayed growth | reduced growth +dental pain +diarrhea | diarrhoea | the runs +difficulty breathing | trouble breathing | breathing difficulty | breathing problems | shortness of breath | breathlessness | short of breath | out of breath | winded | SOB | can't catch breath | cannot catch breath +difficulty chewing +difficulty falling asleep +difficulty finding words | difficulty finding a word +difficulty speaking +difficulty staying asleep +difficulty swallowing | trouble swallowing | painful swallowing +difficulty urinating +difficulty walking +dilated pupil +disorientation +dizziness | dizzy | feeling dizzy | lightheadedness | feeling lightheaded +double vision +drenching sweats | drenching sweat +dribbling urine +drooling +drowsiness +dry cough +dry eyes | dry eye +dry heaving +dry mouth +dry skin +dry throat +dysarthria +dyspepsia +dysphonia +ear bleeding +ear discharge | ear drainage +ear fullness +ear itching +ear pain | earache +ear pressure +easy bruising +elbow burning +elbow cramping +elbow numbness +elbow pain | elbow ache | elbow aching +elbow stiffness +elbow swelling +elbow tenderness +elbow tingling +elbow weakness +enlarged lymph nodes | enlarged lymph node +epigastric cramping +epigastric discomfort +epigastric pain +epigastric tenderness +erectile difficulty +erectile dysfunction +excess gas +excessive crying +excessive daytime sleepiness +excessive sweating | sweating | diaphoresis +excessive urination +exercise intolerance +eye discharge +eye dryness +eye floaters | eye floater +eye irritation +eye pain +eye redness +eye strain +face burning +face cramping +face numbness +face pain | face ache | face aching +face stiffness +face swelling +face tenderness +face tingling +face weakness | facial weakness +facial droop +facial flushing +falling +falls | fall +fast heart rate | rapid heart rate | racing heartbeat | tachycardia +fatigue | tiredness | exhaustion | extreme tiredness | feeling exhausted | tired all the time | feeling run down +fecal incontinence +fecal urgency +feeding difficulty +feeling faint | near fainting +feeling feverish +feeling hot +fever +finger burning +finger cramping +finger numbness +finger pain | finger ache | finger aching +finger stiffness +finger swelling +finger tenderness +finger tingling +finger weakness +flank burning +flank cramping +flank numbness +flank pain | flank ache | flank aching +flank stiffness +flank swelling +flank tenderness +flank tingling +flank weakness +flashing lights | flashing light +flatulence +flu-like symptoms | flu-like symptom +flushing +fluttering heartbeat +foot burning +foot cramping +foot numbness +foot pain | foot ache | foot aching +foot stiffness +foot swelling +foot tenderness +foot tingling +foot weakness +forearm burning +forearm cramping +forearm numbness +forearm pain | forearm ache | forearm aching +forearm stiffness +forearm swelling +forearm tenderness +forearm tingling +forearm weakness +foreign body sensation +foreign body sensation in eye +foreign body sensation in throat +forgetfulness +foul-smelling urine +frequent urination | urinary frequency | peeing often | urinating often +gait abnormality +gastrointestinal bleeding +general discomfort +generalized body aches | generalized body ache +generalized edema +generalized lymphadenopathy +generalized pain +genital discharge +genital itching +genital pain +genital rash +gi bleeding +globus sensation +groin burning +groin cramping +groin numbness +groin pain | groin ache | groin aching +groin stiffness +groin swelling +groin tenderness +groin tingling +groin weakness +gum pain | sore gums +hair loss +hallucinations | hallucination +halos around lights | halo around lights +hand burning +hand cramping +hand numbness +hand pain | hand ache | hand aching +hand stiffness +hand swelling +hand tenderness +hand tingling +hand weakness +hard stool +head burning +head cramping +head numbness +head pressure +head shaking +head stiffness +head swelling +head tenderness +head tingling +head weakness +headache | head pain | head ache | head aching +headache with nausea +headache with vision changes | headache with vision change +headache with vomiting +hearing loss +heart flutter +heart palpitations | heart palpitation +heart pounding +heart racing +heart skipping beats | heart skipping a beat +heartburn +heat intolerance +heavy menstrual bleeding +heel ache +heel aching +heel burning +heel cramping +heel numbness +heel pain +heel stiffness +heel swelling +heel tenderness +heel tingling +heel weakness +hematemesis +hematochezia +hematuria +hemoptysis +hiccups +high temperature +hip burning +hip cramping +hip numbness +hip pain | hip ache | hip aching +hip stiffness +hip swelling +hip tenderness +hip tingling +hip weakness +hives | urticaria +hoarse voice +hoarseness +hot flashes | hot flash +hot skin +hypersomnia +hyperventilation +hypoesthesia +hypoxemia +incoherent speech +incontinence +incoordination +increased appetite +increased bowel sounds | increased bowel sound +indigestion +insomnia +involuntary movement +irregular heartbeat +irregular menstrual bleeding +irregular periods | irregular period +itchiness +itching +itchy +itchy ears | itchy ear +itchy eyes | itchy eye +itchy nose +itchy skin +itchy throat +jaundice +jaw burning +jaw cramping +jaw numbness +jaw pain | jaw ache | jaw aching +jaw stiffness +jaw swelling +jaw tenderness +jaw tingling +jaw weakness +jerking movements | jerking movement +joint ache +joint pain +joint stiffness +joint swelling +knee burning +knee cramping +knee numbness +knee pain | knee ache | knee aching +knee stiffness +knee swelling +knee tenderness +knee tingling +knee weakness +labored breathing +lack of appetite +leg burning +leg cramping +leg numbness +leg pain | leg ache | leg aching +leg stiffness +leg swelling +leg tenderness +leg tingling +leg weakness +lethargy +light sensitivity +limited mobility +limited range of motion +lip swelling +localized edema +loose stool | loose stools +loose tooth +loss of appetite | appetite loss | poor appetite | decreased appetite | reduced appetite | anorexia +loss of balance +loss of bladder control +loss of bowel control +loss of consciousness +loss of sensation +loss of smell +loss of speech +loss of taste +loss of vision +low oxygen +low urine output +lower back burning +lower back cramping +lower back numbness +lower back pain | lower back ache | lower back aching +lower back stiffness +lower back swelling +lower back tenderness +lower back tingling +lower back weakness +lower quadrant pain +lymph node swelling +malaise | feeling ill +melena +memory loss +menstrual cramps | menstrual cramp +mental status change +mid back ache +mid back aching +mid back burning +mid back cramping +mid back numbness +mid back pain +mid back stiffness +mid back swelling +mid back tenderness +mid back tingling +mid back weakness +migraine-like headache +miosis +missed period +morning headache +motion sickness +mottled skin +mouth breathing +mouth pain | oral pain | sore mouth +mouth sores | mouth ulcers +mucus in stool +muffled hearing +muscle ache | muscle aches +muscle cramp | muscle cramps +muscle pain +muscle spasm | muscle spasms +muscle stiffness +muscle tightness +muscle twitching | fasciculation +muscle weakness +mutism +myalgia +nail changes | nail change +nail discoloration +nasal congestion | blocked nose | stuffy nose | stopped-up nose +nasal discharge +nasal obstruction +nausea | nauseated | feeling nauseous | feeling sick | queasy +neck burning +neck cramping +neck numbness +neck pain | neck ache | neck aching +neck stiffness +neck swelling +neck tenderness +neck tingling +neck weakness +new headache +night blindness +night sweats | night sweat +nightmares | nightmare +nipple discharge +nipple inversion +nipple pain +nipple retraction +nipple tenderness +nocturia +nonrestorative sleep +nosebleed +not thinking clearly +numbness +occipital headache +odynophagia +oliguria +oral bleeding +orthopnea +pain during intercourse +painful bowel movement +painful ejaculation +painful urination | burning urination | burning when peeing | pain when peeing | dysuria +pale skin +pallor +palpitations | palpitation +peeling skin +pelvic pain | pelvis pain | pelvis ache | pelvis aching +pelvis burning +pelvis cramping +pelvis numbness +pelvis stiffness +pelvis swelling +pelvis tenderness +pelvis tingling +pelvis weakness +penile discharge +penile pain +periodic breathing +peripheral edema +periumbilical cramping +periumbilical discomfort +periumbilical pain +periumbilical tenderness +photophobia +photosensitivity +pleuritic chest pain +poor balance +poor coordination +poor digestion +poor feeding +poor posture +poor weight gain +postmenopausal bleeding +postnasal drip +productive cough | wet cough +pruritus +purple skin +rapid breathing | fast breathing | breathing fast | tachypnea +rash +rectal bleeding +rectal discharge +rectal pain +red eyes | red eye +reduced consciousness +reduced range of motion +reduced smell +reduced taste +respiratory distress +restless sleep +restlessness +rhonchi +rib burning +rib cramping +rib numbness +rib pain | rib ache | rib aching +rib stiffness +rib swelling +rib tenderness +rib tingling +rib weakness +rigidity +rigors | rigor +ringing in ear +runny nose | running nose +sciatic pain +scratchy throat +scrotal pain +scrotal swelling +seizure | seizures +shaking +shaking chills | shaking chill +shin burning +shin cramping +shin numbness +shin pain | shin ache | shin aching +shin stiffness +shin swelling +shin tenderness +shin tingling +shin weakness +shooting pain +shoulder burning +shoulder cramping +shoulder numbness +shoulder pain | shoulder ache | shoulder aching +shoulder stiffness +shoulder swelling +shoulder tenderness +shoulder tingling +shoulder weakness +skin breakdown +skin discoloration +skin eruption +skin irritation +skin lesion | skin lesions +skin peeling +skin redness | red skin +skin sensitivity +skin swelling +sleep disturbance +sleep walking +sleepiness +slow heart rate | bradycardia +slowed movement +slurred speech +sneezing +snoring +somnolence +sore joints | sore joint +sore muscles | sore muscle +sore throat | throat pain +speech difficulty +speech disturbance +speech impairment +sputum production +stammering +stool urgency +stridor +stuttering +sudden urge to urinate +suprapubic cramping +suprapubic discomfort +suprapubic pain +suprapubic tenderness +swollen glands | swollen gland +swollen gums | gum swelling +swollen tonsils | swollen tonsil +syncope | fainting | passing out | passed out +tenderness +tenesmus +tension headache +testicular lump +testicular pain +testicular swelling +thigh burning +thigh cramping +thigh numbness +thigh pain | thigh ache | thigh aching +thigh stiffness +thigh swelling +thigh tenderness +thigh tingling +thigh weakness +thirst +throat bleeding +throat clearing +throat tightness +thumb burning +thumb cramping +thumb numbness +thumb pain | thumb ache | thumb aching +thumb stiffness +thumb swelling +thumb tenderness +thumb tingling +thumb weakness +tingling | pins and needles | pins and needles sensation | paresthesia +tinnitus | ringing in ears | ringing ears | buzzing in ears | ear ringing +toe burning +toe cramping +toe numbness +toe pain | toe ache | toe aching +toe stiffness +toe swelling +toe tenderness +toe tingling +toe weakness +tongue pain +tongue swelling +tooth sensitivity +toothache +tremor | tremors +tunnel vision +unresponsiveness +unsteady gait | staggering gait | gait instability +upper arm burning +upper arm cramping +upper arm numbness +upper arm pain | upper arm ache | upper arm aching +upper arm stiffness +upper arm swelling +upper arm tenderness +upper arm tingling +upper arm weakness +upper back burning +upper back cramping +upper back numbness +upper back pain | upper back ache | upper back aching +upper back stiffness +upper back swelling +upper back tenderness +upper back tingling +upper back weakness +upper quadrant pain +upset stomach +urinary hesitancy +urinary incontinence +urinary retention +urinary urgency +vaginal discharge +vaginal dryness +vaginal itching +vaginal odor +vaginal pain +vaginal spotting +vertigo +vision changes | vision change +vision loss +visual disturbance +voice change | voice changes +voice loss +voice weakness +vomiting | being sick | throwing up | retching +vomiting blood +waking frequently +waking gasping +waking up short of breath +watery diarrhea +watery eye +watery eyes | tearing eyes +weak cry +weak grip +weak urine stream +weakness | feeling weak | general weakness | generalized weakness +weight gain | abnormal weight gain | unexplained weight gain +weight loss | abnormal weight loss | unexplained weight loss +wheezing +whole body pain +wrist burning +wrist cramping +wrist numbness +wrist pain | wrist ache | wrist aching +wrist stiffness +wrist swelling +wrist tenderness +wrist tingling +wrist weakness +yellow skin +yellow stool diff --git a/PHI.Data.Generator/RLHF.Generator/Data/Categories/MEDICAL_TEST.txt b/PHI.Data.Generator/RLHF.Generator/Data/Categories/MEDICAL_TEST.txt new file mode 100644 index 0000000..5800ac7 --- /dev/null +++ b/PHI.Data.Generator/RLHF.Generator/Data/Categories/MEDICAL_TEST.txt @@ -0,0 +1,536 @@ +17-hydroxyprogesterone +A1C test +abdominal CT | abdomen CT | abdomen CT scan | abdominal CT scan +abdominal MRI | abdomen MRI | abdomen MRI scan | abdominal MRI scan +abdominal ultrasound | abdomen ultrasound +abdominal X-ray | abdominal xray +ABG test +ABO blood typing | blood type test +acth stimulation test +ACTH test | adrenocorticotropic hormone test +acute hepatitis panel +ADHD screening +adrenal function test +afb | afb test +AFP | AFP test | alpha fetoprotein | alpha-fetoprotein test +AFP tumor marker | alpha fetoprotein tumor marker test +albumin | albumin test +albumin blood test +albumin/globulin ratio | a/g ratio +alcohol screening | alcohol screen | alcohol use screening +aldosterone renin ratio +aldosterone test +alkaline phosphatase test | ALP test +allergy blood test +allergy panel +allergy skin test +alpha-1 antitrypsin test +ALT test +ambulatory blood pressure monitoring +ambulatory cardiac monitor +ambulatory ECG +ambulatory EEG +ambulatory EKG +ammonia | ammonia test +amphetamine screen +amylase test +ANA | ANA test | ANA screen | antinuclear antibody +ANC | absolute neutrophil count +ANCA | ANCA test | antineutrophil cytoplasmic antibody | antineutrophil cytoplasmic antibodies test +ANCA panel +anion gap test +ankle-brachial index | ankle brachial index test +ankle X-ray | ankle xray +anti-ccp test +anti-dsdna | anti-dsdna test +anti-mullerian hormone | anti-mullerian hormone test +antibody screen +antibody serology test +antigen test +antimitochondrial antibody test +antiphospholipid antibody panel +apgar score +arm X-ray | arm xray +arterial blood gas | ABG | blood gas test | arterial blood gas test +ASO titer | antistreptolysin o test | antistreptolysin o titer +ast | ast test +autism screening | autism spectrum disorder screening +autoantibody test +autonomic function test | autonomic test +bacteria culture test +bacterial vaginosis test +bal | bal test +balance test +bcr-abl1 genetic test +beta-2 microglobulin test | B2M test +beta hCG | bhcg | b-hCG | beta hCG test +beta-hydroxybutyrate test +bicarbonate +bilirubin test +biophysical profile +bladder scan +bladder ultrasound +blood culture | blood culture test +blood differential +blood in urine +blood pressure measurement | blood pressure check | measuring blood pressure +blood smear +blood test +blood urea nitrogen test | BUN +BMP test | BMP | basic metabolic panel +BNP test | BNP +bone age X-ray | bone age xray +bone density scan | DEXA | DEXA scan | bone density test +bone scan +braf genetic test +brain CT | brain CT scan +brain MRI | brain MRI scan +brca genetic test +breast MRI | breast MRI scan +breast ultrasound +breath alcohol test +breath test +bronchial challenge test +bronchodilator response test +c diff | c diff test +c difficile | c difficile test +c difficile stool test +C-peptide | c-peptide test +CA-125 test +CA 19-9 test +calcitonin test +calcium test +calprotectin stool test +carbon dioxide test | CO2 test +cardiac CT | cardiac CT scan +cardiac event monitor +cardiac MRI | cardiac MRI scan +cardiac stress test +carotid doppler +carotid ultrasound +catecholamine test +CBC | CBC test | full blood count | complete blood count +CBC with differential +CCP antibody test | anti-ccp | ccp test +CD4 count +CEA test +celiac disease screening +ceruloplasmin test +cervical cancer screening +cervical culture +cervical spine MRI | cervical spine MRI scan +cervical spine X-ray | cervical spine xray +cervical swab +chest CT | chest CT scan +chest MRI | chest MRI scan +chest X-ray | chest xray +chickenpox and shingles test +chlamydia test +chloride test +cholesterol test | total cholesterol test +chromosome analysis +chymotrypsin in stool +CMP test | CMP | comprehensive metabolic panel +CMV test | CMV +coagulation factor test +coagulation panel +cognitive test +cold stimulation test +cologuard test +colorectal cancer screening +complement blood test +continuous glucose monitoring +continuous pulse oximetry +coombs test +cord blood test +coronary calcium scan | calcium score | cardiac calcium score +cortisol blood test +cortisol test +cortisol urine test +COVID-19 antibody test | covid antibody test +COVID-19 antigen test | covid antigen test +COVID-19 PCR test | covid PCR test +COVID-19 test | covid test +creatine kinase | creatine kinase test +creatinine clearance | creatinine clearance test +creatinine test +CRP | CRP test | c reactive protein | c-reactive protein test +crystals in urine +csf +csf immunoglobulin g index +CT angiography +CT scan | CT +CT urogram +CTA +CTPA +cystic fibrosis carrier screening +cystic fibrosis genetic test +D-dimer | ddimer | d-dimer test +dengue fever test +dental exam +depression screening +developmental and behavioral screening +dhea sulfate test +diabetic foot exam +diagnostic mammogram +digital rectal exam +dipstick urinalysis +dobutamine stress echocardiogram +doppler ultrasound +down syndrome test +drug screen | drug test | drug testing | toxicology screen | drug toxicology screen +drug urine screen +drug use screening +ECG | ECG test | EKG test | electrocardiogram | electrocardiography +echocardiogram +EEG | EEG test | electroencephalography | electroencephalogram +EKG +elastography +elbow X-ray | elbow xray +electrolyte panel | electrolyte test +electromyography and nerve conduction studies | electromyography and nerve conduction study +EMG test | EMG +epithelial cells in urine +esophageal ph test +ESR | ESR test | sedimentation rate | erythrocyte sedimentation rate +estrogen | estrogen test +estrogen receptor and progesterone receptor test +exercise stress test | treadmill stress test +eye exam +fall risk assessment +fasd test +fasting glucose test +fecal calprotectin +fecal immunochemical test | FIT test +fecal occult blood test | FOBT | occult blood +ferritin test +fetal alcohol spectrum disorders screening +flu test +fluoroscopy +FOBT test +folate test +food allergy test +food sensitivity test +foot X-ray | foot xray +free light chains | free light chain +free t3 | free t3 test +free t4 | free t4 test +FSH test | FSH | follicle-stimulating hormone test +fungal culture test +g6pd test +galactosemia test +gallbladder ultrasound +gastric emptying scan | gastric emptying test +GCS score +genetic carrier screening +genetic panel +genetic test +GFR test +GGT | GGT test | gamma glutamyl transferase | gamma-glutamyl transferase test +glasgow coma scale +globulin | globulin test +glomerular filtration rate | GFR | glomerular filtration rate test | eGFR +glucagon blood test +glucose challenge test +glucose in urine test +glucose test | blood glucose test +glucose tolerance test | oral glucose tolerance test +gonorrhea test | gonorrhea screening +gram stain +group b strep test | group b strep screening +growth hormone | growth hormone test +h. pylori | h pylori test | helicobacter pylori | Helicobacter pylori test +h. pylori breath test | Helicobacter pylori breath test +hand X-ray | hand xray +haptoglobin | haptoglobin test +HbA1c +hCG +hCG blood test +hCG urine test +HDL cholesterol | HDL | HDL-c +HDL test +head CT | head CT scan +head MRI | head MRI scan +head X-ray | head xray +hearing test | audiogram | audiometry +heart monitor +heavy metal blood test +Helicobacter pylori stool antigen test | h pylori stool antigen test +hematocrit | hematocrit test +hemoglobin | hemoglobin test +hemoglobin A1C | A1C | HbA1c test | hemoglobin A1C test +hemoglobin electrophoresis +hepatitis A test +hepatitis B test +hepatitis C test +hepatitis panel +hepatitis test | hepatitis screening +her2 tumor marker test +herpes test +high-sensitivity CRP | hs-CRP +hip X-ray | hip xray +HIV antibody test +HIV antigen antibody test +HIV test | HIV screening +HIV viral load +holter monitor +homocysteine test +HPV test | HPV | HPV screening +hs-CRP test +HSV test | HSV +igf-1 | igf-1 test +igg | igg test +immunofixation electrophoresis +immunoglobulins blood test +influenza PCR test +influenza test +INR test | INR +insulin in blood +iron saturation +iron studies | iron panel +iron test +karyotype genetic test +ketones in blood +ketones in urine +kidney function test | renal function test +kidney ultrasound +knee MRI | knee MRI scan +knee X-ray | knee xray +lactate | lactate test +lactate dehydrogenase | lactate dehydrogenase test +lactate dehydrogenase isoenzymes test +lactose tolerance test +LDH test | LDH +LDL cholesterol | LDL | LDL-c +LDL test +lead test +legionella test +lh | lh test +lipase | lipase test +lipid panel | lipid profile | cholesterol panel +lipoprotein a | lipoprotein a test +lipoprotein blood test +liver enzymes | liver enzyme +liver function test | liver panel | hepatic function panel +liver ultrasound +low-dose chest CT +low-dose CT +lp(a) +lumbar spine MRI | lumbar spine MRI scan +lumbar spine X-ray | lumbar spine xray +lung cancer genetic test +lung function test +luteinizing hormone | luteinizing hormone test +lyme disease test +magnesium test +malaria test +mammogram | mammography +maternal serum screening +mch +mchc +mcv +mean platelet volume | MPV +measles and mumps test +meningococcal disease test +mental health screening +metabolic panel +methylmalonic acid test | MMA +microalbumin | microalbumin test +microalbumin creatinine ratio +microsatellite instability +mono | mono test +monospot test +mr angiography | MRA +MRI scan | MRI +MRSA swab +MRSA test | MRSA screen +mthfr gene test +mucus in urine +myocardial perfusion scan +nasal swab +nasopharyngeal swab +neck CT | neck CT scan +neck MRI | neck MRI scan +neck X-ray | neck xray +nerve conduction study | NCS +neurological exam +neutrophil count +newborn blood spot test +newborn hearing screen +newborn metabolic screen +nitrites in urine +nonstress test +NT-proBNP | nt-probnp test +nt scan +nuchal translucency scan +nuclear stress test +obesity screening +obsessive compulsive disorder test +occult blood test +OCD test | OCD screening +opioid test +orthostatic blood pressure test +osmolality test +ova and parasite test +panic disorder test | panic disorder screening +pap smear test +Pap test | pap smear +parainfluenza test +parathyroid hormone | parathyroid hormone test +partial thromboplastin time test +PCR test +pd-l1 immunotherapy test +pelvic CT | pelvic CT scan +pelvic exam +pelvic MRI | pelvic MRI scan +pelvic ultrasound +pelvic X-ray | pelvic xray +pelvis CT | pelvis CT scan +pelvis MRI | pelvis MRI scan +pelvis ultrasound +pelvis X-ray | pelvis xray +PET-CT scan | PET CT +PET scan +pharmacogenetic test | pharmacogenomic test +phenylketonuria screening +phosphorus test | phosphate test +pku | pku test +platelet count | platelet test +pneumococcal disease test +porphyrin test +postpartum depression screening +potassium test +prealbumin blood test +pregnancy test +prenatal cell-free DNA screening +prenatal genetic screening +prenatal panel +procalcitonin | procalcitonin test +progesterone | progesterone test +prolactin | prolactin test +prostate exam +protein c and protein s test +protein electrophoresis by immunofixation blood test +protein in urine +PSA | psa test | prostate specific antigen | prostate-specific antigen test +PT/INR | PT INR test | prothrombin time test and INR +PT test | PT +pten genetic test +pth | pth test +PTT test | PTT +pulmonary function test | spirometry +pulse oximetry | pulse ox +quantiferon test +rapid antigen test +rapid covid test +rapid flu test +rapid strep test +RBC test +rdw +red blood cell antibody screen +red blood cell count | RBC | RBC count | erythrocyte count +red blood cell indices | red blood cell index +renal ultrasound +renin test +respiratory panel +respiratory pathogens panel +reticulocyte count | reticulocyte count test +rheumatoid factor test | RF +rpr test +RSV PCR test +RSV test | RSV +saliva drug test +screening mammogram +semen analysis +semen count +serology test +shbg blood test +shoulder MRI | shoulder MRI scan +shoulder X-ray | shoulder xray +sinus CT | sinus CT scan +skin cancer screening +skin prick test +sleep study | sleep test | polysomnography | sleep apnea test +sma | sma test +smooth muscle antibody test +sodium test +spine CT | spine CT scan +spine MRI | spine MRI scan +spine X-ray | spine xray +sputum culture +STD test | STD screening +STI test | STI | STI screening +stool culture +stool DNA test +stool elastase +stool test +strep a test +strep b test +strep test +stress echocardiogram | stress echo +stress test +suicide risk screening +sweat chloride test +sweat test for cystic fibrosis +syphilis test | syphilis screening +t3 | t3 test +t4 | t4 test +tb blood test +tb skin test +tb test +tca | tca test +testicular ultrasound +testosterone | testosterone test +therapeutic drug monitoring +thoracic spine MRI | thoracic spine MRI scan +thoracic spine X-ray | thoracic spine xray +thyroglobulin +thyroid antibodies | thyroid antibody +thyroid function test | thyroid panel +thyroid ultrasound +thyroxine test +tilt table test +tocopherol | tocopherol test +total protein +total protein and albumin globulin ratio +tp53 genetic test +transesophageal echocardiogram +transferrin +transthoracic echocardiogram +trichomoniasis test +tricyclic antidepressant screen +triglycerides | triglycerides test +troponin test +TSH | TSH test | thyroid stimulating hormone | thyroid-stimulating hormone test +tuberculin skin test +tuberculosis test | tuberculosis screening +tumor marker test +ultrasound +uric acid | uric acid test +urinalysis +urine culture +urine drug screen +urine test +urobilinogen in urine +v q scan +vascular ultrasound +venous blood gas | vbg +videonystagmography | VNG +vision test | vision screening +vitamin b test +vitamin B12 test +vitamin d | vitamin d test +vitamin e | vitamin e test +VNG test +WBC test +wellness blood panel +western blot test +white blood cell count | WBC | WBC count | white blood count +white blood cell in stool +whooping cough test +wound culture +wrist X-ray | wrist xray +x-ray | xray +xylose test +yeast infection test +zika virus test diff --git a/PHI.Data.Generator/RLHF.Generator/Data/Categories/MEDICAL_TREATMENT.txt b/PHI.Data.Generator/RLHF.Generator/Data/Categories/MEDICAL_TREATMENT.txt new file mode 100644 index 0000000..b82b50e --- /dev/null +++ b/PHI.Data.Generator/RLHF.Generator/Data/Categories/MEDICAL_TREATMENT.txt @@ -0,0 +1,444 @@ +aba therapy | aba treatment +acceptance and commitment therapy | ACT +acoustic stimulation +act therapy | act treatment +acupressure +acupuncture | acupuncture therapy | acupuncture treatment +adjuvant therapy | adjuvant treatment +aerosol therapy | aerosol treatment +airway clearance +airway management +albumin replacement +alcohol detoxification +allergen immunotherapy +animal-assisted therapy | animal-assisted treatment +anti-inflammatory therapy | anti-inflammatory treatment +antibiotic therapy | antibiotics therapy | antibiotics treatment | antibiotic treatment +anticoagulant therapy | anticoagulation | anticoagulant treatment +anticoagulation bridge +antifungal therapy | antifungal treatment +antimicrobial therapy | antimicrobial treatment +antiparasitic therapy | antiparasitic treatment +antiplatelet therapy | antiplatelet treatment +antiretroviral therapy | antiretroviral treatment +antithrombotic therapy | antithrombotic treatment +antiviral therapy | antiviral treatment +apheresis +aromatherapy +art +assisted ventilation | assisted breathing | artificial ventilation +autoimmune therapy | autoimmune treatment +awake prone positioning +bed rest +behavior modification +behavioral activation +behavioral counseling +behavioral health therapy | behavioral health treatment +behavioral intervention +behavioral therapy | behavior therapy +bibliotherapy +biofeedback +biologic therapy | biological therapy | biological treatment | biologic treatment +BiPAP | BiPAP therapy | bilevel positive airway pressure | bi-level positive airway pressure | bipap treatment +blood component therapy | blood component treatment +blood pressure management +blood product replacement +blood transfusion | transfusion therapy | transfusion treatment +bloodless care +bloodless medicine +bone marrow transplant | bone marrow transplantation | bone marrow transplant therapy | bone marrow transplant treatment +brachytherapy +breathing treatment | breathing therapy +brief intervention +bronchodilator therapy | bronchodilator treatment +burn care +cancer immunotherapy +cancer treatment | cancer therapy | oncologic therapy | antineoplastic therapy +car-t therapy | car t-cell therapy | car-t cell treatment | car-t treatment +cardiac pacing +cardiac rehabilitation | cardiac rehab +cardiopulmonary resuscitation +cardioversion +cell-based therapy | cell-based treatment +cell therapy | cell treatment +chelation therapy | chelating therapy | chelating treatment | chelation treatment +chemoprevention +chemoradiation | chemoradiotherapy | chemoradiation therapy | chemoradiation treatment +chemotherapy | chemo +chest physical therapy | chest physiotherapy | chest physical treatment +chest wall oscillation +chiropractic therapy | chiropractic treatment +chronic disease management +clinical nutrition +cognitive behavioral therapy | CBT | cognitive behaviour therapy +cognitive processing therapy | cognitive processing treatment +cognitive rehab +cognitive rehabilitation +cognitive remediation +cognitive therapy | cognitive treatment +cold therapy | cold treatment +color therapy | color treatment +combination drug therapy | combination drug treatment +combined modality therapy | combined modality treatment +comfort care +compassionate use therapy | compassionate use treatment +complementary therapy | complementary treatment +compression stockings therapy | compression stocking therapy | compression stockings treatment | compression stocking treatment +compression therapy | compression treatment +conservative care +conservative management +conservative therapy | conservative treatment +continuous dialysis +continuous renal replacement therapy | CRRT | cvvhd | cvvhdf | continuous renal replacement | continuous renal replacement treatment +continuous veno-venous hemofiltration +contraceptive therapy | contraceptive treatment +cooling therapy | cooling treatment +couples counseling +couples therapy | couple therapy | couples treatment | couple treatment +cpap | cpap therapy | continuous positive airway pressure | continuous positive airway pressure therapy | continuous positive airway pressure treatment | cpap treatment +crisis counseling +crisis intervention +cryotherapy +cytapheresis +dance movement therapy | dance movement treatment +dance therapy | dance treatment +debridement therapy | debridement treatment +deep brain stimulation +defibrillation | electric countershock +desensitization therapy | desensitization treatment +detoxification | detox | detoxification therapy | medical detoxification | detoxification treatment +dialectical behavior therapy | DBT | dialectical behavioral therapy | dialectical behavioural therapy | dialectical behavior treatment +dialysis | renal dialysis +diet therapy | diet treatment +dietary counseling +dietary therapy | dietary treatment +direct current stimulation +disease management +disease-modifying therapy | disease-modifying treatment +drug-assisted therapy | drug-assisted treatment +drug therapy | drug treatment +dry needling +early ambulation +electric stimulation therapy | electric stimulation treatment +electroacupuncture +electrochemotherapy +electroconvulsive therapy | ECT | electroconvulsive treatment +electrolyte replacement +empiric therapy | empiric treatment +end-of-life care +endocrine therapy | endocrine treatment +enteral nutrition | enteral feeding +enzyme replacement therapy | enzyme replacement treatment +enzyme therapy | enzyme treatment +epidural blood patch +erp therapy | erp treatment +exercise rehab +exercise rehabilitation +exercise therapy | exercise treatment +exposure and response prevention | ERP +exposure therapy | exposure treatment +external beam radiation therapy | external beam radiation | external beam radiation treatment +extracorporeal life support +extracorporeal membrane oxygenation +extracorporeal photopheresis +extracorporeal shock wave therapy | extracorporeal shockwave therapy | extracorporeal shockwave treatment | extracorporeal shock wave treatment +eye movement desensitization and reprocessing | EMDR +family-based therapy | family-based treatment +family counseling +family systems therapy | family systems treatment +family therapy | family treatment +fecal microbiota transplant | fecal microbiota transplantation +feeding support +feeding therapy | feeding treatment +fertility therapy | fertility treatment +first aid +fluid management +fluid replacement +fluid resuscitation | fluid resuscitation therapy | fluid resuscitation treatment +fluid therapy | fluid treatment +follow-up care +functional electrical stimulation +gait training +gender-affirming hormone therapy | gender-affirming hormone treatment +gene replacement therapy | gene replacement treatment +gene therapy | gene treatment +genetic therapy | genetic treatment +gestalt therapy | gestalt treatment +glucose control | glycemic control +group counseling +group psychotherapy +group therapy | group treatment +guided imagery +hand therapy | hand treatment +hearing rehab +hearing rehabilitation +heat therapy | heat treatment +hematopoietic stem cell transplant | hematopoietic stem cell transplantation +hemodialysis | kidney dialysis | hemodialysis therapy | hemodialysis treatment +hemofiltration +hemoperfusion +hemostatic therapy | hemostatic treatment +herbal therapy | herbal treatment +HFNC | high-flow nasal cannula +high-flow nasal oxygen +high-flow oxygen +HIPEC +holistic therapy | holistic treatment +home health care +home infusion | home infusion therapy | home infusion treatment +home oxygen +homeopathy +hormone replacement therapy | hormone replacement | hormone replacement treatment +hormone therapy | hormone treatment | hormonal therapy | hormonal treatment +horticultural therapy | horticultural treatment +hospice care +host-directed therapy | host-directed treatment +humanistic therapy | humanistic treatment +humidified oxygen +hydration therapy | hydration treatment +hyperbaric oxygen therapy | hyperbaric oxygen | hyperbaric oxygen treatment +hyperthermia therapy | hyperthermia treatment +hyperthermic intraperitoneal chemotherapy +hypnotherapy +imago therapy | imago treatment +immune checkpoint inhibitor therapy | immune checkpoint inhibitor treatment +immune checkpoint therapy | immune checkpoint treatment +immunomodulatory therapy | immunomodulation | immunomodulatory treatment +immunosuppressive therapy | immunosuppressive treatment +immunotherapy | immune therapy | immune treatment +inhalation therapy | inhaled therapy | inhaled treatment | inhalation treatment +inpatient rehab +inpatient rehabilitation +inpatient therapy | inpatient treatment +insulin pump therapy | insulin pump treatment +insulin replacement therapy | insulin replacement treatment +insulin therapy | insulin treatment +integrative medicine +integrative oncology +integrative therapy | integrative treatment +intense pulsed light therapy | intense pulsed light treatment +intensive outpatient program +intensive outpatient therapy | intensive outpatient treatment +interferon therapy | interferon treatment +intermittent hemodialysis +intermittent renal replacement therapy | intermittent renal replacement treatment +interpersonal therapy | interpersonal psychotherapy | interpersonal treatment +intrauterine transfusion +intravenous antibiotics | intravenous antibiotic | IV antibiotics | IV antibiotic +intravenous fluids | intravenous fluid | IV fluids | IV fluid +intravenous hydration | IV hydration +intravenous immunoglobulin therapy | IVIG | intravenous immunoglobulin treatment +intravenous therapy | iv therapy | iv treatment | intravenous treatment +iop therapy | iop treatment +IV infusion +iv medication therapy | iv medication treatment +ketogenic diet therapy | ketogenic diet treatment +kidney replacement therapy | kidney replacement treatment +laser therapy | laser treatment +leech therapy | leech treatment +life support +light therapy | light treatment +long-term acute care +long-term care +long-term oxygen therapy | long-term oxygen treatment +low-level laser therapy | low-level laser treatment +low-level light therapy | low-level light treatment +lymphatic drainage | manual lymphatic drainage +maintenance therapy | maintenance treatment +manual manipulation +manual therapy | manual treatment +massage therapy | massage treatment +medical management +medical nutrition therapy | medical nutrition treatment +medication-assisted therapy | mat | medication assisted treatment +medication management +medication taper | drug taper | drug tapering +medication therapy | medication treatment +mental health counseling +mental health therapy | mental health treatment +mesotherapy +metabolic therapy | metabolic treatment +methadone maintenance +methadone therapy | methadone treatment +mind-body therapy | mind-body treatment +mindfulness-based cognitive therapy | mindfulness-based cognitive treatment +mindfulness-based stress reduction +molecular targeted therapy | molecular targeted treatment +monoclonal antibody therapy | monoclonal antibody treatment +motivational enhancement therapy | motivational enhancement treatment +motivational interviewing +movement therapy | movement treatment +mud therapy | mud treatment +music therapy | music treatment +myofascial release +myofunctional therapy | myofunctional treatment +narrative therapy | narrative treatment +nasal cannula oxygen +naturopathic therapy | naturopathy | naturopathic treatment +nebulizer therapy | nebulizer treatment +negative pressure wound therapy | negative-pressure wound treatment +neoadjuvant therapy | neoadjuvant treatment +neonatal intensive care +nerve stimulation therapy | nerve stimulation treatment +neurofeedback +neurological rehab +neurological rehabilitation +neuromodulation +neuromuscular electrical stimulation +nicotine replacement therapy | nicotine replacement +noninvasive ventilation | non-invasive ventilation +nonoperative care +nonoperative management +nonoperative therapy | nonoperative treatment +nsaid therapy | nsaid treatment +nutrition support +nutrition therapy | nutrition treatment +nutritional counseling +nutritional rehab +nutritional rehabilitation +nutritional support +obesity management +occupational therapy | occupational rehabilitation | occupational rehab +oncolytic virotherapy +oncolytic virus therapy | oncolytic virus treatment +opioid agonist therapy | opioid agonist treatment +opioid maintenance therapy | opioid maintenance treatment +opioid replacement therapy | opioid replacement treatment +opioid substitution therapy | opioid substitution treatment +oral rehydration therapy | oral rehydration treatment +orthomolecular therapy | orthomolecular treatment +orthotic therapy | orthotic treatment +outpatient rehab +outpatient rehabilitation +outpatient therapy | outpatient treatment +oxygen therapy | supplemental oxygen | oxygen support +pain management | pain control | pain medicine management +pain rehab +pain rehabilitation +palliative care +palliative therapy | palliative treatment +parenteral nutrition | parenteral feeding +partial hospitalization +patient-controlled analgesia +pelvic floor physical therapy | pelvic floor physical treatment +pelvic floor rehab +pelvic floor rehabilitation +perinatal care +peritoneal dialysis | peritoneal dialysis therapy | peritoneal dialysis treatment +phage therapy | phage treatment +pharmacotherapy | pharmacologic therapy | pharmacologic treatment +photochemotherapy +photodynamic therapy | photodynamic treatment +photon radiation therapy | photon radiation treatment +phototherapy +photothermal therapy | photothermal treatment +physical therapy | physiotherapy | physical rehabilitation | physical rehab | physical medicine and rehabilitation +plasma transfusion +plasmapheresis | plasma exchange | therapeutic plasma exchange +platelet replacement +platelet transfusion +play therapy | play treatment +pleural drainage therapy | pleural drainage treatment +postural drainage +preconception care +premedication +prenatal care +pressure ulcer care +preventive therapy | preventive treatment +prolonged exposure therapy | prolonged exposure treatment +prolotherapy +prone positioning +proton beam radiation +proton beam therapy | proton beam treatment +proton therapy | proton treatment +psychiatric rehab +psychiatric rehabilitation +psychoanalysis +psychodynamic therapy | psychodynamic psychotherapy | psychodynamic treatment +psychoeducation +psychosocial therapy | psychosocial treatment +psychotherapy | talk therapy | psychological therapy | psychological counseling +pulmonary rehabilitation | pulmonary rehab +pulsed electromagnetic field therapy | pulsed electromagnetic field treatment +pulsed radiofrequency therapy | pulsed radiofrequency treatment +radiation oncology therapy | radiation oncology treatment +radiation therapy | radiation | radiotherapy | radiation treatment +radiofrequency therapy | radiofrequency treatment +radioimmunotherapy +radionuclide therapy | radionuclide treatment +radiosurgery +recreation therapy | recreation treatment +rehabilitation | rehab | rehabilitative care +rehabilitation plan +rehydration therapy | rehydration treatment +reiki +relapse prevention +renal replacement therapy | renal replacement | renal replacement treatment +residential rehab +residential rehabilitation +residential therapy | residential treatment +respiratory support | respiratory support therapy | respiratory support treatment +respiratory therapy | respiratory treatment +respite care +resuscitation +rtms | rtms therapy | rtms treatment +schema therapy | schema treatment +self-care +sensory integration therapy | sensory integration treatment +short-wave therapy | short-wave treatment +skin care +sleep therapy | sleep treatment +solution-focused therapy | solution-focused treatment +speech therapy | speech-language therapy | speech and language therapy | speech rehabilitation | speech rehab +spinal cord stimulation +spiritual counseling +spiritual therapy | spiritual treatment +standing therapy | standing treatment +stem cell therapy | stem cell treatment +stem cell transplant | stem cell transplantation +stereotactic body radiation therapy | stereotactic body radiation treatment +stereotactic radiation therapy | stereotactic radiation treatment +stereotactic radiosurgery +steroid therapy | steroid treatment +subacute care +substance use counseling +substance use therapy | substance use treatment +supportive care +supportive therapy | supportive treatment +systemic radiation therapy | systemic radiation treatment +t-cell therapy | t-cell treatment +targeted cancer therapy | targeted cancer treatment +targeted radionuclide therapy | targeted radionuclide treatment +targeted therapy | targeted treatment +telerehabilitation +tens | tens therapy | tens treatment | transcutaneous electrical nerve stimulation +terminal care +therapeutic counseling +therapeutic exercise +therapeutic ultrasound +thrombolysis | thrombolytic therapy | thrombolytic treatment +tobacco cessation counseling +tobacco cessation therapy | tobacco cessation treatment +TPN | total parenteral nutrition +traditional medicine +transcranial direct current stimulation +transcranial magnetic stimulation +transfusion +trauma-focused cognitive behavioral therapy | trauma-focused cognitive behavioral treatment +trauma-focused therapy | trauma-focused treatment +trauma therapy | trauma treatment +tube feeding +ultraviolet light therapy | ultraviolet light treatment +ultraviolet therapy | ultraviolet treatment +vagus nerve stimulation +ventilator support | ventilator therapy | ventilatory support | ventilator treatment +vestibular rehabilitation +vestibular therapy | vestibular rehab | vestibular treatment +vocational rehab +vocational rehabilitation +warm-water therapy | warm-water treatment +watchful waiting +wound care | wound therapy | wound management | wound treatment +wound dressing +x-ray therapy | x-ray treatment +yoga therapy | yoga treatment diff --git a/PHI.Data.Generator/RLHF.Generator/Data/Categories_Grammatical_Forms_Audited.zip b/PHI.Data.Generator/RLHF.Generator/Data/Categories_Grammatical_Forms_Audited.zip new file mode 100644 index 0000000000000000000000000000000000000000..bcdbed7a4c13f2d8613da941a98f276aa19372e8 GIT binary patch literal 70523 zcmV)6K*+yPO9KQH0000809$JMTvoI;swWiy0OB?P03HAU07GGPWoK`4X=QUSO+`dW zLqSYmK}<|VQb$=Xba-@)TTQRzww2xMS7?_-@G#DJ49vFE?Kno-PGjsCfp?U|s-lY$ zWm2kFdhm~*bM7T6Rdp|dMib#&2ycd^OcY-`STT6S_V zvu%v;*3nK{I+lZt?Hs%p<_S-j$>D9@hk1=o$MNe1D!P&EHJUcs0dNe{z|jaug%RZG z`C?wqhR@>H^h-z>54r7M+OKzBZb@n%(PC$Bq;9csGSQh96QHju98|LPItrK2tr*_u zhQO(`gjdtEKhEsgZ+%E^klA}+VBBN4yWV*(jVo^d-1gqwR&OSq^>^zTGq<=&`q!tY|Rbh^se9VAGE`^ zKtDY;4yEzUdQB43t;<_cJIAnCzTest ze!RyU=UL?IK=IiL-wkEq3Ezyr25!x^zxWWb--H{uR|M#y2;A67#JePzg?&A)_1a%w zFBl0B^cJR-6NL?Je85=z6~u_~guc={zj+jF!_$jx9a1q9d?NI3DRuZf}KFJv1JDM(-> zE3H^iQh_e^Ray|Fit?iE1RqvThA^1W9Aef@~Bu&`yKy$ci1_wok7 zt&Jfp%HA6GX1u-2)c?btygWf(NOMq2@j$0iz33=r7|=myEn0Dz6tLa0VtfWNdckhB zEXF`hWajOGXkpo@#6RODHdCb}fEo!PEm?9iB-8a*l~YAK%bw3Wn-n(yTvcc$tpZMe zk_vrhwx&D)C`|8mdvPRFrtM?3t@cFh20Wz;Z2>nl=?kV?r;HR7LbfA9&a|FyN(MY4 zJ6KF=0W{7~*|4ku3*hj;2^!6)Iet$X+;p(ypo;3C9cDi$;S6Zep5p3cIu9f&y%}`P zp}?{yapbYVsJu~H#|OXQuMktSJO1a)ueExy)^-@{K3D#$aGEG2DX1niOv499kY#Uu70IV&@FlWKNz72DWKg zsO~^y0ae6$nZ7Uxv^qT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(ia#4r~lHQeeg2rcX6g^ z!Qv0v--ct zSQ7mwXX)z3e{V%$e-Af=g~(}WDC#Mj{2du`-Rj?SD^U~x0IVbbSzq`^0sxA_Y_HyM zgY{TdPFYJ^UseAm&BH=_`OOtEdv&n=OI?jcVXKNaYD#jNsv0I%DysSh+Ilxm@C;~{ z_R|sopy~twnEn@8p>!kpPb`dqstC@bY_9nK;jT5wy8Z>P_j>swnwH%t z{!izZ>(ceA*NbudF^vaqHvh9U$93&`4*ef(XXHlh|76r(7q92v z{Sk3zZWjM!<6XC|2T1*~klQy}|AtFlhpsQW{eg-uZ-)MJ2~I~H5C88cKvz2w2LPxc I#k#usFQ>|wI{*Lx literal 0 HcmV?d00001 diff --git a/PHI.Data.Generator/RLHF.Generator/Data/Patterns.zip b/PHI.Data.Generator/RLHF.Generator/Data/Patterns.zip new file mode 100644 index 0000000000000000000000000000000000000000..9f43685548864438a752fd1d8146045136735621 GIT binary patch literal 38790 zcmeFZQfGy6^ulE+XRM9V24Q zHP>7Z=3Mepz#zx~f4$TVU$p=2%fG)t{`r(QaCSCvv~{AB|M$lr{_U|GkN!_%XaE2# zR{#K#e|}6xL|8&dKw3{gT3SR=OoP_e#LU3i!qtS<+1y{)<23MT~|{lzQxUc$j<#NqxKo8w`r%~mdKmU%PJGB&LJbB={? zIM3(n@#r8-V{q$a z`gsjcaP5|jdsTpjga?UcoFD{O_W4z~oU9DVlYESzkWhX282+!c3T)5d6SAs z;A#HOgMS_`2B)Ds7V4QkRgszl#&D4~$!EAQ1ffc=m~v;#Dt|pOb?kn~v)ZXw5iN`@ zC!bUqjx9p0(yw4Ws77DeSSg8R{K>7Weu=d{7^szwAlK$>PY>RP$@4*V5>j3x=wyB# z@J_$!>8qhGKV!_AEEOpt7_bCtRO_yy)H3GSzBG7`r%M*|E@0a14x`i)>k4c>x@^DxNQdRF6^ zm?nxfkPx=BuCKOJ5bK{hMmUXvIIuttQN)SAnCJ6($%XiqUz1sCl;Fu8m};v(noyY! zu5QFp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ative.txt b/PHI.Data.Generator/RLHF.Generator/Data/Patterns/MEDICAL_ALLERGY.negative.txt new file mode 100644 index 0000000..2a62093 --- /dev/null +++ b/PHI.Data.Generator/RLHF.Generator/Data/Patterns/MEDICAL_ALLERGY.negative.txt @@ -0,0 +1,561 @@ +researching allergies involving [x] +researches allergies involving [x] +researched allergies involving [x] +[sub] [is|are|was|were] researching allergies involving [x] +[sub] researches allergies involving [x] +[sub] researched allergies involving [x] +researching allergy information about [x] +researches allergy information about [x] +researched allergy information about [x] +[sub] [is|are|was|were] researching allergy information about [x] +[sub] researches allergy information about [x] +[sub] researched allergy information about [x] +researching allergic reactions involving [x] +researches allergic reactions involving [x] +researched allergic reactions involving [x] +[sub] [is|are|was|were] researching allergic reactions involving [x] +[sub] researches allergic reactions involving [x] +[sub] researched allergic reactions involving [x] +researching the prevalence of [x] allergies +researches the prevalence of [x] allergies +researched the prevalence of [x] allergies +[sub] [is|are|was|were] researching the prevalence of [x] allergies +[sub] researches the prevalence of [x] allergies +[sub] researched the prevalence of [x] allergies +researching risk factors for [x] allergies +researches risk factors for [x] allergies +researched risk factors for [x] allergies +[sub] [is|are|was|were] researching risk factors for [x] allergies +[sub] researches risk factors for [x] allergies +[sub] researched risk factors for [x] allergies +researching treatment options for [x] allergies +researches treatment options for [x] allergies +researched treatment options for [x] allergies +[sub] [is|are|was|were] researching treatment options for [x] allergies +[sub] researches treatment options for [x] allergies +[sub] researched treatment options for [x] allergies +researching methods for detecting [x] allergies +researches methods for detecting [x] allergies +researched methods for detecting [x] allergies +[sub] [is|are|was|were] researching methods for detecting [x] allergies +[sub] researches methods for detecting [x] allergies +[sub] researched methods for detecting [x] allergies +studying allergies involving [x] +studies allergies involving [x] +studied allergies involving [x] +[sub] [is|are|was|were] studying allergies involving [x] +[sub] studies allergies involving [x] +[sub] studied allergies involving [x] +studying allergic reactions to [x] +studies allergic reactions to [x] +studied allergic reactions to [x] +[sub] [is|are|was|were] studying allergic reactions to [x] +[sub] studies allergic reactions to [x] +[sub] studied allergic reactions to [x] +studying population trends in [x] allergies +studies population trends in [x] allergies +studied population trends in [x] allergies +[sub] [is|are|was|were] studying population trends in [x] allergies +[sub] studies population trends in [x] allergies +[sub] studied population trends in [x] allergies +learning about [x] allergies +learns about [x] allergies +learned about [x] allergies +[sub] [is|are|was|were] learning about [x] allergies +[sub] learns about [x] allergies +[sub] learned about [x] allergies +learning about allergic reactions to [x] +learns about allergic reactions to [x] +learned about allergic reactions to [x] +[sub] [is|are|was|were] learning about allergic reactions to [x] +[sub] learns about allergic reactions to [x] +[sub] learned about allergic reactions to [x] +reviewing allergy research involving [x] +reviews allergy research involving [x] +reviewed allergy research involving [x] +[sub] [is|are|was|were] reviewing allergy research involving [x] +[sub] reviews allergy research involving [x] +[sub] reviewed allergy research involving [x] +reviewing published information about [x] allergies +reviews published information about [x] allergies +reviewed published information about [x] allergies +[sub] [is|are|was|were] reviewing published information about [x] allergies +[sub] reviews published information about [x] allergies +[sub] reviewed published information about [x] allergies +reviewing medical literature about [x] allergies +reviews medical literature about [x] allergies +reviewed medical literature about [x] allergies +[sub] [is|are|was|were] reviewing medical literature about [x] allergies +[sub] reviews medical literature about [x] allergies +[sub] reviewed medical literature about [x] allergies +reviewing clinical guidelines for [x] allergies +reviews clinical guidelines for [x] allergies +reviewed clinical guidelines for [x] allergies +[sub] [is|are|was|were] reviewing clinical guidelines for [x] allergies +[sub] reviews clinical guidelines for [x] allergies +[sub] reviewed clinical guidelines for [x] allergies +reviewing allergy-management guidelines involving [x] +reviews allergy-management guidelines involving [x] +reviewed allergy-management guidelines involving [x] +[sub] [is|are|was|were] reviewing allergy-management guidelines involving [x] +[sub] reviews allergy-management guidelines involving [x] +[sub] reviewed allergy-management guidelines involving [x] +creating an educational handout about [x] +creates an educational handout about [x] +created an educational handout about [x] +[sub] [is|are|was|were] creating an educational handout about [x] +[sub] creates an educational handout about [x] +[sub] created an educational handout about [x] +preparing educational material about [x] allergies +prepares educational material about [x] allergies +prepared educational material about [x] allergies +[sub] [is|are|was|were] preparing educational material about [x] allergies +[sub] prepares educational material about [x] allergies +[sub] prepared educational material about [x] allergies +developing an allergy-safety guide about [x] +develops an allergy-safety guide about [x] +developed an allergy-safety guide about [x] +[sub] [is|are|was|were] developing an allergy-safety guide about [x] +[sub] develops an allergy-safety guide about [x] +[sub] developed an allergy-safety guide about [x] +writing an educational article about [x] allergies +writes an educational article about [x] allergies +wrote an educational article about [x] allergies +[sub] [is|are|was|were] writing an educational article about [x] allergies +[sub] writes an educational article about [x] allergies +[sub] wrote an educational article about [x] allergies +writing a public-information guide about [x] allergies +writes a public-information guide about [x] allergies +wrote a public-information guide about [x] allergies +[sub] [is|are|was|were] writing a public-information guide about [x] allergies +[sub] writes a public-information guide about [x] allergies +[sub] wrote a public-information guide about [x] allergies +preparing a presentation about [x] allergies +prepares a presentation about [x] allergies +prepared a presentation about [x] allergies +[sub] [is|are|was|were] preparing a presentation about [x] allergies +[sub] prepares a presentation about [x] allergies +[sub] prepared a presentation about [x] allergies +giving a presentation about [x] allergies +gives a presentation about [x] allergies +gave a presentation about [x] allergies +[sub] [is|are|was|were] giving a presentation about [x] allergies +[sub] gives a presentation about [x] allergies +[sub] gave a presentation about [x] allergies +teaching a class about [x] allergy safety +teaches a class about [x] allergy safety +taught a class about [x] allergy safety +[sub] [is|are|was|were] teaching a class about [x] allergy safety +[sub] teaches a class about [x] allergy safety +[sub] taught a class about [x] allergy safety +organizing [a|an] [x] allergy awareness event +organizes [a|an] [x] allergy awareness event +organized [a|an] [x] allergy awareness event +[sub] [is|are|was|were] organizing [a|an] [x] allergy awareness event +[sub] organizes [a|an] [x] allergy awareness event +[sub] organized [a|an] [x] allergy awareness event +planning [a|an] [x] allergy awareness campaign +plans [a|an] [x] allergy awareness campaign +planned [a|an] [x] allergy awareness campaign +[sub] [is|are|was|were] planning [a|an] [x] allergy awareness campaign +[sub] plans [a|an] [x] allergy awareness campaign +[sub] planned [a|an] [x] allergy awareness campaign +promoting awareness of [x] allergies +promotes awareness of [x] allergies +promoted awareness of [x] allergies +[sub] [is|are|was|were] promoting awareness of [x] allergies +[sub] promotes awareness of [x] allergies +[sub] promoted awareness of [x] allergies +developing a public-awareness campaign about [x] allergies +develops a public-awareness campaign about [x] allergies +developed a public-awareness campaign about [x] allergies +[sub] [is|are|was|were] developing a public-awareness campaign about [x] allergies +[sub] develops a public-awareness campaign about [x] allergies +[sub] developed a public-awareness campaign about [x] allergies +reviewing general safety information about [x] +reviews general safety information about [x] +reviewed general safety information about [x] +[sub] [is|are|was|were] reviewing general safety information about [x] +[sub] reviews general safety information about [x] +[sub] reviewed general safety information about [x] +reviewing allergen-safety information involving [x] +reviews allergen-safety information involving [x] +reviewed allergen-safety information involving [x] +[sub] [is|are|was|were] reviewing allergen-safety information involving [x] +[sub] reviews allergen-safety information involving [x] +[sub] reviewed allergen-safety information involving [x] +reviewing workplace guidance about [x] allergens +reviews workplace guidance about [x] allergens +reviewed workplace guidance about [x] allergens +[sub] [is|are|was|were] reviewing workplace guidance about [x] allergens +[sub] reviews workplace guidance about [x] allergens +[sub] reviewed workplace guidance about [x] allergens +reviewing school-safety guidance about [x] allergies +reviews school-safety guidance about [x] allergies +reviewed school-safety guidance about [x] allergies +[sub] [is|are|was|were] reviewing school-safety guidance about [x] allergies +[sub] reviews school-safety guidance about [x] allergies +[sub] reviewed school-safety guidance about [x] allergies +reviewing restaurant-safety guidance about [x] +reviews restaurant-safety guidance about [x] +reviewed restaurant-safety guidance about [x] +[sub] [is|are|was|were] reviewing restaurant-safety guidance about [x] +[sub] reviews restaurant-safety guidance about [x] +[sub] reviewed restaurant-safety guidance about [x] +covering [x] in a professional training session +covers [x] in a professional training session +covered [x] in a professional training session +[sub] [is|are|was|were] covering [x] in a professional training session +[sub] covers [x] in a professional training session +[sub] covered [x] in a professional training session +training staff about [x] allergens +trains staff about [x] allergens +trained staff about [x] allergens +[sub] [is|are|was|were] training staff about [x] allergens +[sub] trains staff about [x] allergens +[sub] trained staff about [x] allergens +training employees to recognize [x] allergen risks +trains employees to recognize [x] allergen risks +trained employees to recognize [x] allergen risks +[sub] [is|are|was|were] training employees to recognize [x] allergen risks +[sub] trains employees to recognize [x] allergen risks +[sub] trained employees to recognize [x] allergen risks +completing professional training about [x] allergies +completes professional training about [x] allergies +completed professional training about [x] allergies +[sub] [is|are|was|were] completing professional training about [x] allergies +[sub] completes professional training about [x] allergies +[sub] completed professional training about [x] allergies +attending a professional workshop about [x] allergies +attends professional workshops about [x] allergies +attended a professional workshop about [x] allergies +[sub] [is|are|was|were] attending a professional workshop about [x] allergies +[sub] attends professional workshops about [x] allergies +[sub] attended a professional workshop about [x] allergies +attending a professional seminar about [x] allergies +attends professional seminars about [x] allergies +attended a professional seminar about [x] allergies +[sub] [is|are|was|were] attending a professional seminar about [x] allergies +[sub] attends professional seminars about [x] allergies +[sub] attended a professional seminar about [x] allergies +attending a lecture about [x] allergies +attends lectures about [x] allergies +attended a lecture about [x] allergies +[sub] [is|are|was|were] attending a lecture about [x] allergies +[sub] attends lectures about [x] allergies +[sub] attended a lecture about [x] allergies +attending a conference session about [x] allergies +attends conference sessions about [x] allergies +attended a conference session about [x] allergies +[sub] [is|are|was|were] attending a conference session about [x] allergies +[sub] attends conference sessions about [x] allergies +[sub] attended a conference session about [x] allergies +raising money for [x] allergy research +raises money for [x] allergy research +raised money for [x] allergy research +[sub] [is|are|was|were] raising money for [x] allergy research +[sub] raises money for [x] allergy research +[sub] raised money for [x] allergy research +collecting donations for [x] allergy research +collects donations for [x] allergy research +collected donations for [x] allergy research +[sub] [is|are|was|were] collecting donations for [x] allergy research +[sub] collects donations for [x] allergy research +[sub] collected donations for [x] allergy research +attending a fundraiser for [x] allergy research +attends fundraisers for [x] allergy research +attended a fundraiser for [x] allergy research +[sub] [is|are|was|were] attending a fundraiser for [x] allergy research +[sub] attends fundraisers for [x] allergy research +[sub] attended a fundraiser for [x] allergy research +supporting organizations researching [x] allergies +supports organizations researching [x] allergies +supported organizations researching [x] allergies +[sub] [is|are|was|were] supporting organizations researching [x] allergies +[sub] supports organizations researching [x] allergies +[sub] supported organizations researching [x] allergies +volunteering at [a|an] [x] allergy awareness event +volunteers at [x] allergy awareness events +volunteered at [a|an] [x] allergy awareness event +[sub] [is|are|was|were] volunteering at [a|an] [x] allergy awareness event +[sub] volunteers at [x] allergy awareness events +[sub] volunteered at [a|an] [x] allergy awareness event +raising money for allergen research +raises money for allergen research +raised money for allergen research +[sub] [is|are|was|were] raising money for allergen research +[sub] raises money for allergen research +[sub] raised money for allergen research +raising money for allergy research +raises money for allergy research +raised money for allergy research +[sub] [is|are|was|were] raising money for allergy research +[sub] raises money for allergy research +[sub] raised money for allergy research +attending fundraisers for allergen research +attends fundraisers for allergen research +attended a fundraiser for allergen research +[sub] [is|are|was|were] attending fundraisers for allergen research +[sub] attends fundraisers for allergen research +[sub] attended a fundraiser for allergen research +attending fundraisers for allergy research +attends fundraisers for allergy research +attended a fundraiser for allergy research +[sub] [is|are|was|were] attending fundraisers for allergy research +[sub] attends fundraisers for allergy research +[sub] attended a fundraiser for allergy research +having a general conversation about [x] allergies +has a general conversation about [x] allergies +had a general conversation about [x] allergies +[sub] [is|are|was|were] having a general conversation about [x] allergies +[sub] [has|have|had] a general conversation about [x] allergies +participating in a general discussion about [x] allergies +participates in a general discussion about [x] allergies +participated in a general discussion about [x] allergies +[sub] [is|are|was|were] participating in a general discussion about [x] allergies +[sub] participates in a general discussion about [x] allergies +[sub] participated in a general discussion about [x] allergies +discussing public awareness of [x] allergies +discusses public awareness of [x] allergies +discussed public awareness of [x] allergies +[sub] [is|are|was|were] discussing public awareness of [x] allergies +[sub] discusses public awareness of [x] allergies +[sub] discussed public awareness of [x] allergies +asking a general question about [x] allergies +asks a general question about [x] allergies +asked a general question about [x] allergies +[sub] [is|are|was|were] asking a general question about [x] allergies +[sub] asks a general question about [x] allergies +[sub] asked a general question about [x] allergies +requesting general information about [x] allergies +requests general information about [x] allergies +requested general information about [x] allergies +[sub] [is|are|was|were] requesting general information about [x] allergies +[sub] requests general information about [x] allergies +[sub] requested general information about [x] allergies +having a general conversation about allergens +has a general conversation about allergens +had a general conversation about allergens +[sub] [is|are|was|were] having a general conversation about allergens +[sub] [has|have|had] a general conversation about allergens +having a general conversation about allergies +has a general conversation about allergies +had a general conversation about allergies +[sub] [is|are|was|were] having a general conversation about allergies +[sub] [has|have|had] a general conversation about allergies +participating in a general discussion about allergens +participates in a general discussion about allergens +participated in a general discussion about allergens +[sub] [is|are|was|were] participating in a general discussion about allergens +[sub] participates in a general discussion about allergens +[sub] participated in a general discussion about allergens +participating in a general discussion about allergies +participates in a general discussion about allergies +participated in a general discussion about allergies +[sub] [is|are|was|were] participating in a general discussion about allergies +[sub] participates in a general discussion about allergies +[sub] participated in a general discussion about allergies +reading an article about [x] allergies +reads an article about [x] allergies +read an article about [x] allergies +[sub] [is|are|was|were] reading an article about [x] allergies +[sub] reads an article about [x] allergies +[sub] read an article about [x] allergies +reading a news report about [x] allergies +reads a news report about [x] allergies +read a news report about [x] allergies +[sub] [is|are|was|were] reading a news report about [x] allergies +[sub] reads a news report about [x] allergies +[sub] read a news report about [x] allergies +watching a documentary about [x] allergies +watches a documentary about [x] allergies +watched a documentary about [x] allergies +[sub] [is|are|was|were] watching a documentary about [x] allergies +[sub] watches a documentary about [x] allergies +[sub] watched a documentary about [x] allergies +listening to a podcast about [x] allergies +listens to a podcast about [x] allergies +listened to a podcast about [x] allergies +[sub] [is|are|was|were] listening to a podcast about [x] allergies +[sub] listens to a podcast about [x] allergies +[sub] listened to a podcast about [x] allergies +writing a news article about [x] allergies +writes a news article about [x] allergies +wrote a news article about [x] allergies +[sub] [is|are|was|were] writing a news article about [x] allergies +[sub] writes a news article about [x] allergies +[sub] wrote a news article about [x] allergies +producing a documentary about [x] allergies +produces a documentary about [x] allergies +produced a documentary about [x] allergies +[sub] [is|are|was|were] producing a documentary about [x] allergies +[sub] produces a documentary about [x] allergies +[sub] produced a documentary about [x] allergies +writing a fictional story involving [a|an] [x] allergy +writes a fictional story involving [a|an] [x] allergy +wrote a fictional story involving [a|an] [x] allergy +[sub] [is|are|was|were] writing a fictional story involving [a|an] [x] allergy +[sub] writes a fictional story involving [a|an] [x] allergy +[sub] wrote a fictional story involving [a|an] [x] allergy +portraying a fictional character with [a|an] [x] allergy +portrays a fictional character with [a|an] [x] allergy +portrayed a fictional character with [a|an] [x] allergy +[sub] [is|are|was|were] portraying a fictional character with [a|an] [x] allergy +[sub] portrays a fictional character with [a|an] [x] allergy +[sub] portrayed a fictional character with [a|an] [x] allergy +reviewing a fictional case involving [a|an] [x] allergy +reviews a fictional case involving [a|an] [x] allergy +reviewed a fictional case involving [a|an] [x] allergy +[sub] [is|are|was|were] reviewing a fictional case involving [a|an] [x] allergy +[sub] reviews a fictional case involving [a|an] [x] allergy +[sub] reviewed a fictional case involving [a|an] [x] allergy +reviewing product-labeling guidance for [x] +reviews product-labeling guidance for [x] +reviewed product-labeling guidance for [x] +[sub] [is|are|was|were] reviewing product-labeling guidance for [x] +[sub] reviews product-labeling guidance for [x] +[sub] reviewed product-labeling guidance for [x] +developing packaging guidance for products containing [x] +develops packaging guidance for products containing [x] +developed packaging guidance for products containing [x] +[sub] [is|are|was|were] developing packaging guidance for products containing [x] +[sub] develops packaging guidance for products containing [x] +[sub] developed packaging guidance for products containing [x] +reviewing ingredient labels for references to [x] +reviews ingredient labels for references to [x] +reviewed ingredient labels for references to [x] +[sub] [is|are|was|were] reviewing ingredient labels for references to [x] +[sub] reviews ingredient labels for references to [x] +[sub] reviewed ingredient labels for references to [x] +creating restaurant training materials about [x] allergens +creates restaurant training materials about [x] allergens +created restaurant training materials about [x] allergens +[sub] [is|are|was|were] creating restaurant training materials about [x] allergens +[sub] creates restaurant training materials about [x] allergens +[sub] created restaurant training materials about [x] allergens +developing a policy for handling [x] allergens +develops a policy for handling [x] allergens +developed a policy for handling [x] allergens +[sub] [is|are|was|were] developing a policy for handling [x] allergens +[sub] develops a policy for handling [x] allergens +[sub] developed a policy for handling [x] allergens +reviewing procedures for preventing [x] cross-contact +reviews procedures for preventing [x] cross-contact +reviewed procedures for preventing [x] cross-contact +[sub] [is|are|was|were] reviewing procedures for preventing [x] cross-contact +[sub] reviews procedures for preventing [x] cross-contact +[sub] reviewed procedures for preventing [x] cross-contact +evaluating allergen-control procedures involving [x] +evaluates allergen-control procedures involving [x] +evaluated allergen-control procedures involving [x] +[sub] [is|are|was|were] evaluating allergen-control procedures involving [x] +[sub] evaluates allergen-control procedures involving [x] +[sub] evaluated allergen-control procedures involving [x] +inspecting facilities for [x] allergen controls +inspects facilities for [x] allergen controls +inspected facilities for [x] allergen controls +[sub] [is|are|was|were] inspecting facilities for [x] allergen controls +[sub] inspects facilities for [x] allergen controls +[sub] inspected facilities for [x] allergen controls +reviewing public policy related to [x] allergies +reviews public policy related to [x] allergies +reviewed public policy related to [x] allergies +[sub] [is|are|was|were] reviewing public policy related to [x] allergies +[sub] reviews public policy related to [x] allergies +[sub] reviewed public policy related to [x] allergies +advocating for stronger [x] allergen-labeling rules +advocates for stronger [x] allergen-labeling rules +advocated for stronger [x] allergen-labeling rules +[sub] [is|are|was|were] advocating for stronger [x] allergen-labeling rules +[sub] advocates for stronger [x] allergen-labeling rules +[sub] advocated for stronger [x] allergen-labeling rules +analyzing public data about [x] allergies +analyzes public data about [x] allergies +analyzed public data about [x] allergies +[sub] [is|are|was|were] analyzing public data about [x] allergies +[sub] analyzes public data about [x] allergies +[sub] analyzed public data about [x] allergies +analyzing population trends involving [x] allergies +analyzes population trends involving [x] allergies +analyzed population trends involving [x] allergies +[sub] [is|are|was|were] analyzing population trends involving [x] allergies +[sub] analyzes population trends involving [x] allergies +[sub] analyzed population trends involving [x] allergies +comparing rates of [x] allergies across populations +compares rates of [x] allergies across populations +compared rates of [x] allergies across populations +[sub] [is|are|was|were] comparing rates of [x] allergies across populations +[sub] compares rates of [x] allergies across populations +[sub] compared rates of [x] allergies across populations +conducting a survey about public awareness of [x] allergies +conducts a survey about public awareness of [x] allergies +conducted a survey about public awareness of [x] allergies +[sub] [is|are|was|were] conducting a survey about public awareness of [x] allergies +[sub] conducts a survey about public awareness of [x] allergies +[sub] conducted a survey about public awareness of [x] allergies +analyzing survey responses about [x] allergy awareness +analyzes survey responses about [x] allergy awareness +analyzed survey responses about [x] allergy awareness +[sub] [is|are|was|were] analyzing survey responses about [x] allergy awareness +[sub] analyzes survey responses about [x] allergy awareness +[sub] analyzed survey responses about [x] allergy awareness +creating synthetic records containing [a|an] [x] allergy +creates synthetic records containing [a|an] [x] allergy +created synthetic records containing [a|an] [x] allergy +[sub] [is|are|was|were] creating synthetic records containing [a|an] [x] allergy +[sub] creates synthetic records containing [a|an] [x] allergy +[sub] created synthetic records containing [a|an] [x] allergy +reviewing synthetic records containing [a|an] [x] allergy +reviews synthetic records containing [a|an] [x] allergy +reviewed synthetic records containing [a|an] [x] allergy +[sub] [is|are|was|were] reviewing synthetic records containing [a|an] [x] allergy +[sub] reviews synthetic records containing [a|an] [x] allergy +[sub] reviewed synthetic records containing [a|an] [x] allergy +creating sample documentation containing [a|an] [x] allergy +creates sample documentation containing [a|an] [x] allergy +created sample documentation containing [a|an] [x] allergy +[sub] [is|are|was|were] creating sample documentation containing [a|an] [x] allergy +[sub] creates sample documentation containing [a|an] [x] allergy +[sub] created sample documentation containing [a|an] [x] allergy +using [a|an] [x] allergy as an example in training +uses [a|an] [x] allergy as an example in training +used [a|an] [x] allergy as an example in training +[sub] [is|are|was|were] using [a|an] [x] allergy as an example in training +[sub] uses [a|an] [x] allergy as an example in training +[sub] used [a|an] [x] allergy as an example in training +testing software with sample text about [x] allergies +tests software with sample text about [x] allergies +tested software with sample text about [x] allergies +[sub] [is|are|was|were] testing software with sample text about [x] allergies +[sub] tests software with sample text about [x] allergies +[sub] tested software with sample text about [x] allergies +developing software that records allergy information about [x] +develops software that records allergy information about [x] +developed software that records allergy information about [x] +[sub] [is|are|was|were] developing software that records allergy information about [x] +[sub] develops software that records allergy information about [x] +[sub] developed software that records allergy information about [x] +designing a form that includes [x] allergy information +designs a form that includes [x] allergy information +designed a form that includes [x] allergy information +[sub] [is|are|was|were] designing a form that includes [x] allergy information +[sub] designs a form that includes [x] allergy information +[sub] designed a form that includes [x] allergy information +adding [x] to an allergen terminology list +adds [x] to an allergen terminology list +added [x] to an allergen terminology list +[sub] [is|are|was|were] adding [x] to an allergen terminology list +[sub] adds [x] to an allergen terminology list +[sub] added [x] to an allergen terminology list +mapping [x] to a standardized allergen code +maps [x] to a standardized allergen code +mapped [x] to a standardized allergen code +[sub] [is|are|was|were] mapping [x] to a standardized allergen code +[sub] maps [x] to a standardized allergen code +[sub] mapped [x] to a standardized allergen code +reviewing terminology for [x] allergies +reviews terminology for [x] allergies +reviewed terminology for [x] allergies +[sub] [is|are|was|were] reviewing terminology for [x] allergies +[sub] reviews terminology for [x] allergies +[sub] reviewed terminology for [x] allergies \ No newline at end of file diff --git a/PHI.Data.Generator/RLHF.Generator/Data/Patterns/MEDICAL_ALLERGY.positive.txt b/PHI.Data.Generator/RLHF.Generator/Data/Patterns/MEDICAL_ALLERGY.positive.txt new file mode 100644 index 0000000..4a3a6cf --- /dev/null +++ b/PHI.Data.Generator/RLHF.Generator/Data/Patterns/MEDICAL_ALLERGY.positive.txt @@ -0,0 +1,306 @@ +[x] allergy +[a|an] [x] allergy +allergy to [x] +has [a|an] [x] allergy +had [a|an] [x] allergy +[sub] [has|have|had] [a|an] [x] allergy +has [a|an] allergy to [x] +had [a|an] allergy to [x] +[sub] [has|have|had] [a|an] allergy to [x] +allergic to [x] +[is|are|was|were] allergic to [x] +[sub] [is|are|was|were] allergic to [x] +reports [a|an] allergy to [x] +reported [a|an] allergy to [x] +reporting [a|an] allergy to [x] +[sub] reports [a|an] allergy to [x] +[sub] reported [a|an] allergy to [x] +[sub] [is|are|was|were] reporting [a|an] allergy to [x] +reports being allergic to [x] +reported being allergic to [x] +reporting being allergic to [x] +[sub] reports being allergic to [x] +[sub] reported being allergic to [x] +[sub] [is|are|was|were] reporting being allergic to [x] +confirms [a|an] allergy to [x] +confirmed [a|an] allergy to [x] +confirming [a|an] allergy to [x] +[sub] confirms [a|an] allergy to [x] +[sub] confirmed [a|an] allergy to [x] +[sub] [is|are|was|were] confirming [a|an] allergy to [x] +known allergy to [x] +documented allergy to [x] +confirmed allergy to [x] +suspected allergy to [x] +possible allergy to [x] +reported allergy to [x] +history of [x] allergy +history of allergy to [x] +known history of [x] allergy +documented history of [x] allergy +confirmed history of [x] allergy +prior history of [x] allergy +[sub] [has|have|had] a history of [x] allergy +[sub] [has|have|had] a history of allergy to [x] +[sub] [has|have|had] a known history of [x] allergy +[sub] [has|have|had] a documented history of [x] allergy +[sub] [has|have|had] a confirmed history of [x] allergy +[sub] [has|have|had] a prior history of [x] allergy +[sub] [has|have|had] a known allergy to [x] +[sub] [has|have|had] a documented allergy to [x] +[sub] [has|have|had] a confirmed allergy to [x] +[sub] [has|have|had] a suspected allergy to [x] +[sub] [has|have|had] a possible allergy to [x] +allergy list includes [x] +allergy record includes [x] +allergy history includes [x] +[x] listed as an allergy +[x] documented as an allergy +[x] recorded as an allergy +[x] documented on the allergy list +[sub] [has|have|had] [x] listed as an allergy +[sub] [has|have|had] [x] documented as an allergy +[sub] [has|have|had] [x] recorded as an allergy +[sub] [has|have|had] [x] documented on the allergy list +medical record lists [x] as an allergy +medical record listed [x] as an allergy +[sub] medical record lists [x] as an allergy +[sub] medical record listed [x] as an allergy +chart lists [x] as an allergy +chart listed [x] as an allergy +[sub] chart lists [x] as an allergy +[sub] chart listed [x] as an allergy +[x] sensitivity +[a|an] [x] sensitivity +sensitivity to [x] +has [a|an] [x] sensitivity +had [a|an] [x] sensitivity +[sub] [has|have|had] [a|an] [x] sensitivity +has a sensitivity to [x] +had a sensitivity to [x] +[sub] [has|have|had] a sensitivity to [x] +sensitive to [x] +[is|are|was|were] sensitive to [x] +[sub] [is|are|was|were] sensitive to [x] +reports sensitivity to [x] +reported sensitivity to [x] +reporting sensitivity to [x] +[sub] reports sensitivity to [x] +[sub] reported sensitivity to [x] +[sub] [is|are|was|were] reporting sensitivity to [x] +known sensitivity to [x] +documented sensitivity to [x] +confirmed sensitivity to [x] +suspected sensitivity to [x] +history of sensitivity to [x] +known history of sensitivity to [x] +documented history of sensitivity to [x] +[sub] [has|have|had] a history of sensitivity to [x] +[sub] [has|have|had] a known sensitivity to [x] +[sub] [has|have|had] a documented sensitivity to [x] +reacts to [x] +reacted to [x] +reacting to [x] +[sub] reacts to [x] +[sub] reacted to [x] +[sub] [is|are|was|were] reacting to [x] +has a reaction to [x] +had a reaction to [x] +[sub] [has|have|had] a reaction to [x] +reaction to [x] +previous reaction to [x] +prior reaction to [x] +history of reaction to [x] +known history of reaction to [x] +documented history of reaction to [x] +[sub] [has|have|had] a history of reacting to [x] +[sub] [has|have|had] a history of reaction to [x] +[sub] [has|have|had] a documented reaction to [x] +allergic reaction to [x] +develops an allergic reaction to [x] +developed an allergic reaction to [x] +developing an allergic reaction to [x] +[sub] develops an allergic reaction to [x] +[sub] developed an allergic reaction to [x] +[sub] [is|are|was|were] developing an allergic reaction to [x] +experiences an allergic reaction to [x] +experienced an allergic reaction to [x] +experiencing an allergic reaction to [x] +[sub] experiences an allergic reaction to [x] +[sub] experienced an allergic reaction to [x] +[sub] [is|are|was|were] experiencing an allergic reaction to [x] +has an allergic reaction to [x] +had an allergic reaction to [x] +[sub] [has|have|had] an allergic reaction to [x] +reports an allergic reaction to [x] +reported an allergic reaction to [x] +reporting an allergic reaction to [x] +[sub] reports an allergic reaction to [x] +[sub] reported an allergic reaction to [x] +[sub] [is|are|was|were] reporting an allergic reaction to [x] +previous allergic reaction to [x] +prior allergic reaction to [x] +history of allergic reaction to [x] +known history of allergic reaction to [x] +documented history of allergic reaction to [x] +[sub] [has|have|had] a history of allergic reaction to [x] +[sub] [has|have|had] a known history of allergic reaction to [x] +[sub] [has|have|had] a documented history of allergic reaction to [x] +reaction after exposure to [x] +develops a reaction after exposure to [x] +developed a reaction after exposure to [x] +developing a reaction after exposure to [x] +[sub] develops a reaction after exposure to [x] +[sub] developed a reaction after exposure to [x] +[sub] [is|are|was|were] developing a reaction after exposure to [x] +allergic reaction after exposure to [x] +develops an allergic reaction after exposure to [x] +developed an allergic reaction after exposure to [x] +developing an allergic reaction after exposure to [x] +[sub] develops an allergic reaction after exposure to [x] +[sub] developed an allergic reaction after exposure to [x] +[sub] [is|are|was|were] developing an allergic reaction after exposure to [x] +anaphylaxis from [x] +anaphylaxis after [x] +anaphylaxis after exposure to [x] +experiences anaphylaxis from [x] +experienced anaphylaxis from [x] +experiencing anaphylaxis from [x] +[sub] experiences anaphylaxis from [x] +[sub] experienced anaphylaxis from [x] +[sub] [is|are|was|were] experiencing anaphylaxis from [x] +experiences anaphylaxis after exposure to [x] +experienced anaphylaxis after exposure to [x] +experiencing anaphylaxis after exposure to [x] +[sub] experiences anaphylaxis after exposure to [x] +[sub] experienced anaphylaxis after exposure to [x] +[sub] [is|are|was|were] experiencing anaphylaxis after exposure to [x] +develops anaphylaxis after exposure to [x] +developed anaphylaxis after exposure to [x] +developing anaphylaxis after exposure to [x] +[sub] develops anaphylaxis after exposure to [x] +[sub] developed anaphylaxis after exposure to [x] +[sub] [is|are|was|were] developing anaphylaxis after exposure to [x] +history of anaphylaxis from [x] +history of anaphylaxis after exposure to [x] +known history of anaphylaxis from [x] +documented history of anaphylaxis from [x] +[sub] [has|have|had] a history of anaphylaxis from [x] +[sub] [has|have|had] a history of anaphylaxis after exposure to [x] +[sub] [has|have|had] a known history of anaphylaxis from [x] +[sub] [has|have|had] a documented history of anaphylaxis from [x] +severe reaction to [x] +has a severe reaction to [x] +had a severe reaction to [x] +[sub] [has|have|had] a severe reaction to [x] +reports a severe reaction to [x] +reported a severe reaction to [x] +reporting a severe reaction to [x] +[sub] reports a severe reaction to [x] +[sub] reported a severe reaction to [x] +[sub] [is|are|was|were] reporting a severe reaction to [x] +cannot tolerate [x] +could not tolerate [x] +unable to tolerate [x] +[is|are|was|were] unable to tolerate [x] +[sub] cannot tolerate [x] +[sub] could not tolerate [x] +[sub] [is|are|was|were] unable to tolerate [x] +does not tolerate [x] +did not tolerate [x] +[sub] does not tolerate [x] +[sub] did not tolerate [x] +intolerant of [x] +[is|are|was|were] intolerant of [x] +[sub] [is|are|was|were] intolerant of [x] +[x] intolerance +intolerance to [x] +has an intolerance to [x] +had an intolerance to [x] +[sub] [has|have|had] an intolerance to [x] +reports intolerance to [x] +reported intolerance to [x] +reporting intolerance to [x] +[sub] reports intolerance to [x] +[sub] reported intolerance to [x] +[sub] [is|are|was|were] reporting intolerance to [x] +known intolerance to [x] +documented intolerance to [x] +confirmed intolerance to [x] +history of intolerance to [x] +known history of intolerance to [x] +documented history of intolerance to [x] +[sub] [has|have|had] a history of intolerance to [x] +[sub] [has|have|had] a known intolerance to [x] +[sub] [has|have|had] a documented intolerance to [x] +avoids [x] because of an allergy +avoided [x] because of an allergy +avoiding [x] because of an allergy +[sub] avoids [x] because of an allergy +[sub] avoided [x] because of an allergy +[sub] [is|are|was|were] avoiding [x] because of an allergy +must avoid [x] +[is|are|was|were] advised to avoid [x] +[sub] must avoid [x] +[sub] [is|are|was|were] advised to avoid [x] +carries epinephrine because of [a|an] [x] allergy +carried epinephrine because of [a|an] [x] allergy +carrying epinephrine because of [a|an] [x] allergy +[sub] carries epinephrine because of [a|an] [x] allergy +[sub] carried epinephrine because of [a|an] [x] allergy +[sub] [is|are|was|were] carrying epinephrine because of [a|an] [x] allergy +uses an epinephrine auto-injector for [a|an] [x] allergy +used an epinephrine auto-injector for [a|an] [x] allergy +using an epinephrine auto-injector for [a|an] [x] allergy +[sub] uses an epinephrine auto-injector for [a|an] [x] allergy +[sub] used an epinephrine auto-injector for [a|an] [x] allergy +[sub] [is|are|was|were] using an epinephrine auto-injector for [a|an] [x] allergy +treated for an allergic reaction to [x] +[is|are|was|were] treated for an allergic reaction to [x] +being treated for an allergic reaction to [x] +[sub] [is|are|was|were] treated for an allergic reaction to [x] +[sub] [is|are|was|were] being treated for an allergic reaction to [x] +received treatment after reacting to [x] +receiving treatment after reacting to [x] +[sub] received treatment after reacting to [x] +[sub] [is|are|was|were] receiving treatment after reacting to [x] +hospitalized after reacting to [x] +[is|are|was|were] hospitalized after reacting to [x] +[sub] [is|are|was|were] hospitalized after reacting to [x] +emergency care after exposure to [x] +received emergency care after exposure to [x] +receiving emergency care after exposure to [x] +[sub] received emergency care after exposure to [x] +[sub] [is|are|was|were] receiving emergency care after exposure to [x] +denies allergy to [x] +denied allergy to [x] +denying allergy to [x] +[sub] denies allergy to [x] +[sub] denied allergy to [x] +[sub] [is|are|was|were] denying allergy to [x] +denies being allergic to [x] +denied being allergic to [x] +denying being allergic to [x] +[sub] denies being allergic to [x] +[sub] denied being allergic to [x] +[sub] [is|are|was|were] denying being allergic to [x] +no allergy to [x] +no known allergy to [x] +no documented allergy to [x] +has no allergy to [x] +had no allergy to [x] +[sub] [has|have|had] no allergy to [x] +[sub] [has|have|had] no known allergy to [x] +[sub] [has|have|had] no documented allergy to [x] +not allergic to [x] +[is|are|was|were] not allergic to [x] +[sub] [is|are|was|were] not allergic to [x] +tolerates [x] +tolerated [x] +tolerating [x] +[sub] tolerates [x] +[sub] tolerated [x] +[sub] [is|are|was|were] tolerating [x] +no reaction to [x] +did not react to [x] +[sub] did not react to [x] diff --git a/PHI.Data.Generator/RLHF.Generator/Data/Patterns/MEDICAL_DIAGNOSIS.negative.txt b/PHI.Data.Generator/RLHF.Generator/Data/Patterns/MEDICAL_DIAGNOSIS.negative.txt new file mode 100644 index 0000000..57ba407 --- /dev/null +++ b/PHI.Data.Generator/RLHF.Generator/Data/Patterns/MEDICAL_DIAGNOSIS.negative.txt @@ -0,0 +1,75 @@ +researching [x] +[sub] [is|are|was|were] researching [x] +attends lectures about [x] +[sub] attended a lecture about [x] +[sub] [is|are|was|were] attending a lecture about [x] +organizes [a|an] [x] awareness campaign +[sub] organized [a|an] [x] awareness campaign +[sub] [is|are|was|were] organizing [a|an] [x] awareness campaign +read a news report about [x] +[sub] read a news report about [x] +wrote a fictional story involving [x] +[sub] wrote a fictional story involving [x] +donates to [x] research +[sub] donated to [x] research +[sub] [is|are|was|were] raising money for [x] research +attends fundraisers for [x] research +[sub] attended a fundraiser for [x] research +promotes [x] awareness +[sub] promoted [x] awareness +[sub] [is|are|was|were] promoting [x] awareness +involved with [x] research +[sub] [is|are|was|were] involved with [x] research +studying [x] +[sub] [is|are|was|were] studying [x] +learning about [x] +[sub] [is|are|was|were] learning about [x] +educational material about [x] +[sub] created educational material about [x] +[sub] [is|are|was|were] creating educational material about [x] +professional training about [x] +[sub] attended professional training about [x] +[sub] [is|are|was|were] completing professional training about [x] +presentation about [x] +[sub] gave a presentation about [x] +[sub] [is|are|was|were] preparing a presentation about [x] +discussion about [x] +[sub] participated in a discussion about [x] +[sub] [is|are|was|were] participating in a discussion about [x] +conference session about [x] +[sub] attended a conference session about [x] +documentary about [x] +[sub] watched a documentary about [x] +podcast about [x] +[sub] listened to a podcast about [x] +article about [x] +[sub] wrote an article about [x] +[sub] [is|are|was|were] writing an article about [x] +case study involving [x] +[sub] reviewed a case study involving [x] +fictional character with [x] +[sub] wrote about a fictional character with [x] +supports organizations researching [x] +[sub] supported an organization researching [x] +volunteers for [x] awareness +[sub] volunteered for [x] awareness +advocates for more research into [x] +[sub] advocated for more research into [x] +collecting donations for [x] research +[sub] [is|are|was|were] collecting donations for [x] research +developing training materials about [x] +[sub] [is|are|was|were] developing training materials about [x] +reviewing medical literature about [x] +[sub] [is|are|was|were] reviewing medical literature about [x] +[sub] reviewed medical literature about [x] +teaches a class about [x] +[sub] taught a class about [x] +[sub] [is|are|was|were] teaching a class about [x] +works with researchers studying [x] +[sub] worked with researchers studying [x] +conversation about [x] +[sub] had a conversation about [x] +general information about [x] +[sub] requested general information about [x] +public awareness of [x] +[sub] promoted public awareness of [x] \ No newline at end of file diff --git a/PHI.Data.Generator/RLHF.Generator/Data/Patterns/MEDICAL_DIAGNOSIS.positive.txt b/PHI.Data.Generator/RLHF.Generator/Data/Patterns/MEDICAL_DIAGNOSIS.positive.txt new file mode 100644 index 0000000..ee63eaf --- /dev/null +++ b/PHI.Data.Generator/RLHF.Generator/Data/Patterns/MEDICAL_DIAGNOSIS.positive.txt @@ -0,0 +1,46 @@ +has [x] +had [x] +[sub] [has|have] [x] +[sub] had [x] +suffers from [x] +suffered from [x] +[sub] [suffers|suffer] from [x] +[sub] suffered from [x] +was diagnosed with [x] +[sub] was diagnosed with [x] +diagnosed with [x] +[sub] diagnosed with [x] +recently diagnosed with [x] +[sub] was recently diagnosed with [x] +newly diagnosed with [x] +[sub] was newly diagnosed with [x] +diagnosis of [x] +[sub] received [a|an] [x] diagnosis +confirmed diagnosis of [x] +[sub] received a confirmed diagnosis of [x] +living with [x] +[sub] [is|are|was|were] living with [x] +being treated for [x] +[sub] [is|are|was|were] being treated for [x] +under treatment for [x] +[sub] [is|are|was|were] under treatment for [x] +history of [x] +[sub] [has|have] a history of [x] +[sub] had a history of [x] +[a|an] [x] survivor +[sub] [is|are|was|were] [a|an] [x] survivor +[sub] was [a|an] [x] survivor +survived [x] +[sub] survived [x] +recovered from [x] +[sub] recovered from [x] +cured of [x] +[sub] [is|are|was|were] cured of [x] +[sub] was cured of [x] +in remission from [x] +[sub] [is|are|was|were] in remission from [x] +[sub] went into remission from [x] +[x] in remission +[x] resolved +resolved [x] +[sub] had resolved [x] \ No newline at end of file diff --git a/PHI.Data.Generator/RLHF.Generator/Data/Patterns/MEDICAL_FAMILY_HISTORY.negative.txt b/PHI.Data.Generator/RLHF.Generator/Data/Patterns/MEDICAL_FAMILY_HISTORY.negative.txt new file mode 100644 index 0000000..6780a4f --- /dev/null +++ b/PHI.Data.Generator/RLHF.Generator/Data/Patterns/MEDICAL_FAMILY_HISTORY.negative.txt @@ -0,0 +1,53 @@ +researching family-history documentation for [x] +[sub] [is|are|was|were] researching family-history documentation for [x] +[sub] researches family-history documentation for [x] +[sub] researched family-history documentation for [x] +preparing an educational guide about hereditary [x] +prepared an educational guide about hereditary [x] +[sub] [is|are|was|were] preparing an educational guide about hereditary [x] +[sub] prepares an educational guide about hereditary [x] +[sub] prepared an educational guide about hereditary [x] +attending a lecture about familial [x] +attended a lecture about familial [x] +[sub] [is|are|was|were] attending a lecture about familial [x] +[sub] attends lectures about familial [x] +[sub] attended a lecture about familial [x] +writing a news article about inherited [x] +wrote a news article about inherited [x] +[sub] [is|are|was|were] writing a news article about inherited [x] +[sub] writes a news article about inherited [x] +[sub] wrote a news article about inherited [x] +organizing an awareness campaign concerning [x] +organized an awareness campaign concerning [x] +[sub] [is|are|was|were] organizing an awareness campaign concerning [x] +[sub] organizes an awareness campaign concerning [x] +[sub] organized an awareness campaign concerning [x] +writing a book about [x] +wrote a book about [x] +[sub] [is|are|was|were] writing a book about [x] +[sub] writes a book about [x] +[sub] wrote a book about [x] +studying family-history patterns involving [x] +[sub] [is|are|was|were] studying family-history patterns involving [x] +[sub] studies family-history patterns involving [x] +[sub] studied family-history patterns involving [x] +reviewing family-history information about [x] +[sub] [is|are|was|were] reviewing family-history information about [x] +[sub] reviews family-history information about [x] +[sub] reviewed family-history information about [x] +learning whether [x] runs in families +[sub] [is|are|was|were] learning whether [x] runs in families +[sub] learns whether [x] runs in families +[sub] learned whether [x] runs in families +discussing hereditary risk factors for [x] +[sub] [is|are|was|were] discussing hereditary risk factors for [x] +[sub] discusses hereditary risk factors for [x] +[sub] discussed hereditary risk factors for [x] +developing training materials about family history and [x] +[sub] [is|are|was|were] developing training materials about family history and [x] +[sub] develops training materials about family history and [x] +[sub] developed training materials about family history and [x] +learning about [x] +[sub] [is|are|was|were] learning about [x] +[sub] learns about [x] +[sub] learned about [x] \ No newline at end of file diff --git a/PHI.Data.Generator/RLHF.Generator/Data/Patterns/MEDICAL_FAMILY_HISTORY.positive.txt b/PHI.Data.Generator/RLHF.Generator/Data/Patterns/MEDICAL_FAMILY_HISTORY.positive.txt new file mode 100644 index 0000000..1f33f6d --- /dev/null +++ b/PHI.Data.Generator/RLHF.Generator/Data/Patterns/MEDICAL_FAMILY_HISTORY.positive.txt @@ -0,0 +1,62 @@ +family history of [x] +[has|have|had] a family history of [x] +[sub] [has|have] a family history of [x] +[sub] had a family history of [x] +reports a family history of [x] +reported a family history of [x] +[sub] reports a family history of [x] +[sub] reported a family history of [x] +reports [x] in the family +reported [x] in the family +[sub] reports [x] in the family +[sub] reported [x] in the family +[x] runs in the family +[sub] reports that [x] runs in the family +[sub] reported that [x] runs in the family +family members affected by [x] +relatives affected by [x] +[has|have|had] relatives affected by [x] +[sub] [has|have] relatives affected by [x] +[sub] had relatives affected by [x] +reports relatives affected by [x] +reported relatives affected by [x] +[sub] reports relatives affected by [x] +[sub] reported relatives affected by [x] +family member diagnosed with [x] +relative diagnosed with [x] +[has|have|had] a family member diagnosed with [x] +[sub] [has|have] a family member diagnosed with [x] +[sub] had a family member diagnosed with [x] +reports a family member with [x] +reported a family member with [x] +[sub] reports a family member with [x] +[sub] reported a family member with [x] +known family history of [x] +documented family history of [x] +confirmed family history of [x] +[sub] [has|have] a known family history of [x] +[sub] had a known family history of [x] +[sub] [has|have] a documented family history of [x] +[sub] had a documented family history of [x] +[sub] [has|have] a confirmed family history of [x] +[sub] had a confirmed family history of [x] +was advised of a family history of [x] +[sub] [is|are|was|were] advised of a family history of [x] +was informed of a family history of [x] +[sub] [is|are|was|were] informed of a family history of [x] +inherited risk related to [x] +has an inherited risk related to [x] +had an inherited risk related to [x] +[sub] [has|have] an inherited risk related to [x] +[sub] had an inherited risk related to [x] +familial risk of [x] +[has|have|had] a familial risk of [x] +[sub] [has|have] a familial risk of [x] +[sub] had a familial risk of [x] +increased risk of [x] due to family history +[sub] [has|have] an increased risk of [x] due to family history +[sub] had an increased risk of [x] due to family history +genetic predisposition to [x] +[has|have|had] a genetic predisposition to [x] +[sub] [has|have] a genetic predisposition to [x] +[sub] had a genetic predisposition to [x] \ No newline at end of file diff --git a/PHI.Data.Generator/RLHF.Generator/Data/Patterns/MEDICAL_MEDICATION.negative.txt b/PHI.Data.Generator/RLHF.Generator/Data/Patterns/MEDICAL_MEDICATION.negative.txt new file mode 100644 index 0000000..a44ef2e --- /dev/null +++ b/PHI.Data.Generator/RLHF.Generator/Data/Patterns/MEDICAL_MEDICATION.negative.txt @@ -0,0 +1,174 @@ +stocking [x] at the pharmacy +stocks [x] at the pharmacy +stocked [x] at the pharmacy +[sub] [is|are|was|were] stocking [x] at the pharmacy +[sub] stocks [x] at the pharmacy +[sub] stocked [x] at the pharmacy +researching general information about [x] +researches general information about [x] +researched general information about [x] +[sub] [is|are|was|were] researching general information about [x] +[sub] researches general information about [x] +[sub] researched general information about [x] +delivering a sealed package of [x] +delivers a sealed package of [x] +delivered a sealed package of [x] +[sub] [is|are|was|were] delivering a sealed package of [x] +[sub] delivers a sealed package of [x] +[sub] delivered a sealed package of [x] +reviewing the product guide for [x] +reviews the product guide for [x] +reviewed the product guide for [x] +[sub] [is|are|was|were] reviewing the product guide for [x] +[sub] reviews the product guide for [x] +[sub] reviewed the product guide for [x] +attending a professional seminar about [x] +attends a professional seminar about [x] +attended a professional seminar about [x] +[sub] [is|are|was|were] attending a professional seminar about [x] +[sub] attends a professional seminar about [x] +[sub] attended a professional seminar about [x] +inventorying [x] at the pharmacy +inventories [x] at the pharmacy +inventoried [x] at the pharmacy +[sub] [is|are|was|were] inventorying [x] at the pharmacy +[sub] inventories [x] at the pharmacy +[sub] inventoried [x] at the pharmacy +dispensing [x] at the pharmacy +dispenses [x] at the pharmacy +dispensed [x] at the pharmacy +[sub] [is|are|was|were] dispensing [x] at the pharmacy +[sub] dispenses [x] at the pharmacy +[sub] dispensed [x] at the pharmacy +ordering [x] for the pharmacy +orders [x] for the pharmacy +ordered [x] for the pharmacy +[sub] [is|are|was|were] ordering [x] for the pharmacy +[sub] orders [x] for the pharmacy +[sub] ordered [x] for the pharmacy +shipping [x] to a pharmacy +ships [x] to a pharmacy +shipped [x] to a pharmacy +[sub] [is|are|was|were] shipping [x] to a pharmacy +[sub] ships [x] to a pharmacy +[sub] shipped [x] to a pharmacy +transporting a sealed package of [x] +transports a sealed package of [x] +transported a sealed package of [x] +[sub] [is|are|was|were] transporting a sealed package of [x] +[sub] transports a sealed package of [x] +[sub] transported a sealed package of [x] +preparing educational material about [x] +prepares educational material about [x] +prepared educational material about [x] +[sub] [is|are|was|were] preparing educational material about [x] +[sub] prepares educational material about [x] +[sub] prepared educational material about [x] +writing an article about [x] +writes an article about [x] +wrote an article about [x] +[sub] [is|are|was|were] writing an article about [x] +[sub] writes an article about [x] +[sub] wrote an article about [x] +teaching a class about [x] +teaches a class about [x] +taught a class about [x] +[sub] [is|are|was|were] teaching a class about [x] +[sub] teaches a class about [x] +[sub] taught a class about [x] +giving a presentation about [x] +gives a presentation about [x] +gave a presentation about [x] +[sub] [is|are|was|were] giving a presentation about [x] +[sub] gives a presentation about [x] +[sub] gave a presentation about [x] +discussing [x] during professional training +discusses [x] during professional training +discussed [x] during professional training +[sub] [is|are|was|were] discussing [x] during professional training +[sub] discusses [x] during professional training +[sub] discussed [x] during professional training +reviewing a case study involving [x] +reviews a case study involving [x] +reviewed a case study involving [x] +[sub] [is|are|was|were] reviewing a case study involving [x] +[sub] reviews a case study involving [x] +[sub] reviewed a case study involving [x] +comparing product information for [x] +compares product information for [x] +compared product information for [x] +[sub] [is|are|was|were] comparing product information for [x] +[sub] compares product information for [x] +[sub] compared product information for [x] +reading a news report about [x] +reads a news report about [x] +read a news report about [x] +[sub] [is|are|was|were] reading a news report about [x] +[sub] reads a news report about [x] +[sub] read a news report about [x] +developing pharmacy training materials about [x] +develops pharmacy training materials about [x] +developed pharmacy training materials about [x] +[sub] [is|are|was|were] developing pharmacy training materials about [x] +[sub] develops pharmacy training materials about [x] +[sub] developed pharmacy training materials about [x] +conducting research involving [x] +conducts research involving [x] +conducted research involving [x] +[sub] [is|are|was|were] conducting research involving [x] +[sub] conducts research involving [x] +[sub] conducted research involving [x] +raising money for research involving [x] +raises money for research involving [x] +raised money for research involving [x] +[sub] [is|are|was|were] raising money for research involving [x] +[sub] raises money for research involving [x] +[sub] raised money for research involving [x] +organizing a seminar about [x] +organizes a seminar about [x] +organized a seminar about [x] +[sub] [is|are|was|were] organizing a seminar about [x] +[sub] organizes a seminar about [x] +[sub] organized a seminar about [x] +creating an educational guide about [x] +creates an educational guide about [x] +created an educational guide about [x] +[sub] [is|are|was|were] creating an educational guide about [x] +[sub] creates an educational guide about [x] +[sub] created an educational guide about [x] +watching a documentary about [x] +watches a documentary about [x] +watched a documentary about [x] +[sub] [is|are|was|were] watching a documentary about [x] +[sub] watches a documentary about [x] +[sub] watched a documentary about [x] +listening to a podcast about [x] +listens to a podcast about [x] +listened to a podcast about [x] +[sub] [is|are|was|were] listening to a podcast about [x] +[sub] listens to a podcast about [x] +[sub] listened to a podcast about [x] +discussing the manufacturing of [x] +discusses the manufacturing of [x] +discussed the manufacturing of [x] +[sub] [is|are|was|were] discussing the manufacturing of [x] +[sub] discusses the manufacturing of [x] +[sub] discussed the manufacturing of [x] +reviewing packaging information for [x] +reviews packaging information for [x] +reviewed packaging information for [x] +[sub] [is|are|was|were] reviewing packaging information for [x] +[sub] reviews packaging information for [x] +[sub] reviewed packaging information for [x] +checking the inventory status of [x] +checks the inventory status of [x] +checked the inventory status of [x] +[sub] [is|are|was|were] checking the inventory status of [x] +[sub] checks the inventory status of [x] +[sub] checked the inventory status of [x] +processing an order for [x] +processes an order for [x] +processed an order for [x] +[sub] [is|are|was|were] processing an order for [x] +[sub] processes an order for [x] +[sub] processed an order for [x] diff --git a/PHI.Data.Generator/RLHF.Generator/Data/Patterns/MEDICAL_MEDICATION.positive.txt b/PHI.Data.Generator/RLHF.Generator/Data/Patterns/MEDICAL_MEDICATION.positive.txt new file mode 100644 index 0000000..70c64f6 --- /dev/null +++ b/PHI.Data.Generator/RLHF.Generator/Data/Patterns/MEDICAL_MEDICATION.positive.txt @@ -0,0 +1,276 @@ +takes [x] +taking [x] +took [x] +[sub] takes [x] +[sub] [is|are|was|were] taking [x] +[sub] took [x] +currently taking [x] +[sub] [is|are|was|were] currently taking [x] +uses [x] +using [x] +used [x] +[sub] uses [x] +[sub] [is|are|was|were] using [x] +[sub] used [x] +on [x] +currently on [x] +[sub] [is|are|was|were] on [x] +[sub] [is|are|was|were] currently on [x] +was on [x] +[sub] was on [x] +prescribed [x] +was prescribed [x] +[sub] was prescribed [x] +received a prescription for [x] +[sub] received a prescription for [x] +given a prescription for [x] +[sub] was given a prescription for [x] +new prescription for [x] +[sub] received a new prescription for [x] +newly prescribed [x] +[sub] was newly prescribed [x] +started taking [x] +starts taking [x] +starting [x] +[sub] started taking [x] +[sub] starts taking [x] +[sub] [is|are|was|were] starting [x] +began taking [x] +begins taking [x] +[sub] began taking [x] +[sub] begins taking [x] +initiated [x] +initiating [x] +[sub] initiated [x] +[sub] [is|are|was|were] initiating [x] +added [x] to the medication regimen +adding [x] to the medication regimen +[sub] added [x] to the medication regimen +[sub] [is|are|was|were] adding [x] to the medication regimen +continues taking [x] +continued taking [x] +continuing [x] +[sub] continues taking [x] +[sub] continued taking [x] +[sub] [is|are|was|were] continuing [x] +remains on [x] +remained on [x] +[sub] remains on [x] +[sub] remained on [x] +restarted [x] +restarting [x] +[sub] restarted [x] +[sub] [is|are|was|were] restarting [x] +resumed taking [x] +resumes taking [x] +[sub] resumed taking [x] +[sub] resumes taking [x] +previously took [x] +previously on [x] +[sub] previously took [x] +[sub] was previously on [x] +history of taking [x] +[sub] [has|have] a history of taking [x] +[sub] had a history of taking [x] +formerly took [x] +formerly on [x] +[sub] formerly took [x] +[sub] was formerly on [x] +needs a refill of [x] +needed a refill of [x] +[sub] needs a refill of [x] +[sub] needed a refill of [x] +requesting a refill of [x] +requested a refill of [x] +[sub] [is|are|was|were] requesting a refill of [x] +[sub] requested a refill of [x] +refill requested for [x] +[sub] requested an [x] refill +refill due for [x] +[sub] [has|have] a refill due for [x] +picked up [x] prescription +[sub] picked up an [x] prescription +picking up [x] prescription +[sub] [is|are|was|were] picking up an [x] prescription +ran out of [x] +[sub] ran out of [x] +running low on [x] +[sub] [is|are|was|were] running low on [x] +almost out of [x] +[sub] [is|are|was|were] almost out of [x] +needs more [x] +[sub] needs more [x] +taking [x] as directed +took [x] as directed +[sub] [is|are|was|were] taking [x] as directed +[sub] took [x] as directed +taking [x] regularly +[sub] [is|are|was|were] taking [x] regularly +taking [x] daily +[sub] [is|are|was|were] taking [x] daily +taking [x] as needed +[sub] [is|are|was|were] taking [x] as needed +uses [x] as needed +[sub] uses [x] as needed +compliant with [x] +[sub] [is|are|was|were] compliant with [x] +adherent to [x] +[sub] [is|are|was|were] adherent to [x] +not taking [x] as directed +[sub] [is|are|was|were] not taking [x] as directed +missed a dose of [x] +misses doses of [x] +missing doses of [x] +[sub] missed a dose of [x] +[sub] misses doses of [x] +[sub] [is|are|was|were] missing doses of [x] +skipped a dose of [x] +skips doses of [x] +[sub] skipped a dose of [x] +[sub] skips doses of [x] +forgot to take [x] +forgets to take [x] +[sub] forgot to take [x] +[sub] forgets to take [x] +has not taken [x] +had not taken [x] +[sub] [has|have] not taken [x] +[sub] had not taken [x] +stopped taking [x] +stops taking [x] +stopping [x] +[sub] stopped taking [x] +[sub] stops taking [x] +[sub] [is|are|was|were] stopping [x] +discontinued [x] +discontinuing [x] +[sub] discontinued [x] +[sub] [is|are|was|were] discontinuing [x] +no longer taking [x] +[sub] [is|are|was|were] no longer taking [x] +was advised to stop taking [x] +[sub] was advised to stop taking [x] +was told to discontinue [x] +[sub] was told to discontinue [x] +held [x] +holding [x] +[sub] held [x] +[sub] [is|are|was|were] holding [x] +paused [x] +pausing [x] +[sub] paused [x] +[sub] [is|are|was|were] pausing [x] +refused [x] +refuses [x] +refusing [x] +[sub] refused [x] +[sub] refuses [x] +[sub] [is|are|was|were] refusing [x] +declined [x] +declines [x] +declining [x] +[sub] declined [x] +[sub] declines [x] +[sub] [is|are|was|were] declining [x] +dose of [x] increased +[sub] had the dose of [x] increased +increased [x] +increasing [x] +[sub] increased [x] +[sub] [is|are|was|were] increasing [x] +was advised to increase [x] +[sub] was advised to increase [x] +dose of [x] decreased +[sub] had the dose of [x] decreased +decreased [x] +decreasing [x] +[sub] decreased [x] +[sub] [is|are|was|were] decreasing [x] +was advised to decrease [x] +[sub] was advised to decrease [x] +tapering [x] +tapered [x] +[sub] [is|are|was|were] tapering [x] +[sub] tapered [x] +switched to [x] +switching to [x] +[sub] switched to [x] +[sub] [is|are|was|were] switching to [x] +changed medication to [x] +changing medication to [x] +[sub] changed medication to [x] +[sub] [is|are|was|were] changing medication to [x] +replaced another medication with [x] +[sub] replaced another medication with [x] +received [x] +receiving [x] +[sub] received [x] +[sub] [is|are|was|were] receiving [x] +was given [x] +[sub] was given [x] +administered [x] +was administered [x] +[sub] was administered [x] +given a dose of [x] +[sub] was given a dose of [x] +took a dose of [x] +takes a dose of [x] +[sub] took a dose of [x] +[sub] takes a dose of [x] +scheduled to receive [x] +[sub] [is|are|was|were] scheduled to receive [x] +will start [x] +[sub] will start [x] +plans to start [x] +[sub] plans to start [x] +needs [x] +needed [x] +[sub] needs [x] +[sub] needed [x] +requires [x] +required [x] +[sub] requires [x] +[sub] required [x] +reports taking [x] +reported taking [x] +[sub] reports taking [x] +[sub] reported taking [x] +confirms taking [x] +confirmed taking [x] +[sub] confirms taking [x] +[sub] confirmed taking [x] +denies taking [x] +denied taking [x] +[sub] denies taking [x] +[sub] denied taking [x] +reports not taking [x] +reported not taking [x] +[sub] reports not taking [x] +[sub] reported not taking [x] +reports side effects from [x] +reported side effects from [x] +[sub] reports side effects from [x] +[sub] reported side effects from [x] +experiencing side effects from [x] +experienced side effects from [x] +[sub] [is|are|was|were] experiencing side effects from [x] +[sub] experienced side effects from [x] +responding well to [x] +responded well to [x] +[sub] [is|are|was|were] responding well to [x] +[sub] responded well to [x] +[x] is helping +[x] helped +[sub] reports that [x] is helping +[sub] reported that [x] helped +[x] is not helping +[x] did not help +[sub] reports that [x] is not helping +[sub] reported that [x] did not help +medication list includes [x] +current medications include [x] +home medications include [x] +[x] listed as a current medication +[x] listed in medication history +[sub] [has|have] [x] on the medication list +[sub] had [x] on the medication list diff --git a/PHI.Data.Generator/RLHF.Generator/Data/Patterns/MEDICAL_MENTAL_HEALTH.negative.txt b/PHI.Data.Generator/RLHF.Generator/Data/Patterns/MEDICAL_MENTAL_HEALTH.negative.txt new file mode 100644 index 0000000..0495f3d --- /dev/null +++ b/PHI.Data.Generator/RLHF.Generator/Data/Patterns/MEDICAL_MENTAL_HEALTH.negative.txt @@ -0,0 +1,379 @@ +researching community resources for [x] +researched community resources for [x] +[sub] [is|are|was|were] researching community resources for [x] +[sub] researches community resources for [x] +[sub] researched community resources for [x] +creating an educational program about [x] +created an educational program about [x] +[sub] [is|are|was|were] creating an educational program about [x] +[sub] creates an educational program about [x] +[sub] created an educational program about [x] +organizing an awareness event for [x] +organized an awareness event for [x] +[sub] [is|are|was|were] organizing an awareness event for [x] +[sub] organizes an awareness event for [x] +[sub] organized an awareness event for [x] +reading a general article about [x] +read a general article about [x] +[sub] [is|are|was|were] reading a general article about [x] +[sub] reads a general article about [x] +[sub] read a general article about [x] +portraying [x] in a fictional screenplay +portrayed [x] in a fictional screenplay +[sub] [is|are|was|were] portraying [x] in a fictional screenplay +[sub] portrays [x] in a fictional screenplay +[sub] portrayed [x] in a fictional screenplay +researching [x] +researched [x] +[sub] [is|are|was|were] researching [x] +[sub] researches [x] +[sub] researched [x] +attending lectures about [x] +attends lectures about [x] +attended a lecture about [x] +[sub] [is|are|was|were] attending a lecture about [x] +[sub] attends lectures about [x] +[sub] attended a lecture about [x] +organizing [a|an] [x] awareness campaign +organizes [a|an] [x] awareness campaign +organized [a|an] [x] awareness campaign +[sub] [is|are|was|were] organizing [a|an] [x] awareness campaign +[sub] organizes [a|an] [x] awareness campaign +[sub] organized [a|an] [x] awareness campaign +reading a news report about [x] +reads a news report about [x] +read a news report about [x] +[sub] [is|are|was|were] reading a news report about [x] +[sub] reads a news report about [x] +[sub] read a news report about [x] +writing a fictional story involving [x] +writes a fictional story involving [x] +wrote a fictional story involving [x] +[sub] [is|are|was|were] writing a fictional story involving [x] +[sub] writes a fictional story involving [x] +[sub] wrote a fictional story involving [x] +donating to [x] research +donates to [x] research +donated to [x] research +[sub] [is|are|was|were] donating to [x] research +[sub] donates to [x] research +[sub] donated to [x] research +raising money for [x] research +raises money for [x] research +raised money for [x] research +[sub] [is|are|was|were] raising money for [x] research +[sub] raises money for [x] research +[sub] raised money for [x] research +attending fundraisers for [x] research +attends fundraisers for [x] research +attended a fundraiser for [x] research +[sub] [is|are|was|were] attending fundraisers for [x] research +[sub] attends fundraisers for [x] research +[sub] attended a fundraiser for [x] research +promoting [x] awareness +promotes [x] awareness +promoted [x] awareness +[sub] [is|are|was|were] promoting [x] awareness +[sub] promotes [x] awareness +[sub] promoted [x] awareness +involved with [x] research +[sub] [is|are|was|were] involved with [x] research +[sub] was involved with [x] research +studying [x] +studies [x] +studied [x] +[sub] [is|are|was|were] studying [x] +[sub] studies [x] +[sub] studied [x] +learning about [x] +learns about [x] +learned about [x] +[sub] [is|are|was|were] learning about [x] +[sub] learns about [x] +[sub] learned about [x] +creating educational material about [x] +creates educational material about [x] +created educational material about [x] +[sub] [is|are|was|were] creating educational material about [x] +[sub] creates educational material about [x] +[sub] created educational material about [x] +reviewing educational material about [x] +reviews educational material about [x] +reviewed educational material about [x] +[sub] [is|are|was|were] reviewing educational material about [x] +[sub] reviews educational material about [x] +[sub] reviewed educational material about [x] +completing professional training about [x] +completes professional training about [x] +completed professional training about [x] +[sub] [is|are|was|were] completing professional training about [x] +[sub] completes professional training about [x] +[sub] completed professional training about [x] +attending professional training about [x] +attends professional training about [x] +attended professional training about [x] +[sub] [is|are|was|were] attending professional training about [x] +[sub] attends professional training about [x] +[sub] attended professional training about [x] +preparing a presentation about [x] +prepares a presentation about [x] +prepared a presentation about [x] +[sub] [is|are|was|were] preparing a presentation about [x] +[sub] prepares a presentation about [x] +[sub] prepared a presentation about [x] +giving a presentation about [x] +gives a presentation about [x] +gave a presentation about [x] +[sub] [is|are|was|were] giving a presentation about [x] +[sub] gives a presentation about [x] +[sub] gave a presentation about [x] +participating in a discussion about [x] +participates in a discussion about [x] +participated in a discussion about [x] +[sub] [is|are|was|were] participating in a discussion about [x] +[sub] participates in a discussion about [x] +[sub] participated in a discussion about [x] +having a conversation about [x] +has a conversation about [x] +had a conversation about [x] +[sub] [is|are|was|were] having a conversation about [x] +[sub] has a conversation about [x] +[sub] had a conversation about [x] +attending a conference session about [x] +attends a conference session about [x] +attended a conference session about [x] +[sub] [is|are|was|were] attending a conference session about [x] +[sub] attends a conference session about [x] +[sub] attended a conference session about [x] +watching a documentary about [x] +watches a documentary about [x] +watched a documentary about [x] +[sub] [is|are|was|were] watching a documentary about [x] +[sub] watches a documentary about [x] +[sub] watched a documentary about [x] +listening to a podcast about [x] +listens to a podcast about [x] +listened to a podcast about [x] +[sub] [is|are|was|were] listening to a podcast about [x] +[sub] listens to a podcast about [x] +[sub] listened to a podcast about [x] +writing an article about [x] +writes an article about [x] +wrote an article about [x] +[sub] [is|are|was|were] writing an article about [x] +[sub] writes an article about [x] +[sub] wrote an article about [x] +reviewing a case study involving [x] +reviews a case study involving [x] +reviewed a case study involving [x] +[sub] [is|are|was|were] reviewing a case study involving [x] +[sub] reviews a case study involving [x] +[sub] reviewed a case study involving [x] +writing about a fictional character with [x] +writes about a fictional character with [x] +wrote about a fictional character with [x] +[sub] [is|are|was|were] writing about a fictional character with [x] +[sub] writes about a fictional character with [x] +[sub] wrote about a fictional character with [x] +supporting organizations researching [x] +supports organizations researching [x] +supported an organization researching [x] +[sub] [is|are|was|were] supporting organizations researching [x] +[sub] supports organizations researching [x] +[sub] supported an organization researching [x] +volunteering for [x] awareness +volunteers for [x] awareness +volunteered for [x] awareness +[sub] [is|are|was|were] volunteering for [x] awareness +[sub] volunteers for [x] awareness +[sub] volunteered for [x] awareness +advocating for more research into [x] +advocates for more research into [x] +advocated for more research into [x] +[sub] [is|are|was|were] advocating for more research into [x] +[sub] advocates for more research into [x] +[sub] advocated for more research into [x] +collecting donations for [x] research +collects donations for [x] research +collected donations for [x] research +[sub] [is|are|was|were] collecting donations for [x] research +[sub] collects donations for [x] research +[sub] collected donations for [x] research +developing training materials about [x] +develops training materials about [x] +developed training materials about [x] +[sub] [is|are|was|were] developing training materials about [x] +[sub] develops training materials about [x] +[sub] developed training materials about [x] +reviewing mental health literature about [x] +reviews mental health literature about [x] +reviewed mental health literature about [x] +[sub] [is|are|was|were] reviewing mental health literature about [x] +[sub] reviews mental health literature about [x] +[sub] reviewed mental health literature about [x] +teaching a class about [x] +teaches a class about [x] +taught a class about [x] +[sub] [is|are|was|were] teaching a class about [x] +[sub] teaches a class about [x] +[sub] taught a class about [x] +working with researchers studying [x] +works with researchers studying [x] +worked with researchers studying [x] +[sub] [is|are|was|were] working with researchers studying [x] +[sub] works with researchers studying [x] +[sub] worked with researchers studying [x] +requesting general information about [x] +requests general information about [x] +requested general information about [x] +[sub] [is|are|was|were] requesting general information about [x] +[sub] requests general information about [x] +[sub] requested general information about [x] +promoting public awareness of [x] +promotes public awareness of [x] +promoted public awareness of [x] +[sub] [is|are|was|were] promoting public awareness of [x] +[sub] promotes public awareness of [x] +[sub] promoted public awareness of [x] +researching support services for people with [x] +researches support services for people with [x] +researched support services for people with [x] +[sub] [is|are|was|were] researching support services for people with [x] +[sub] researches support services for people with [x] +[sub] researched support services for people with [x] +creating a directory of resources for [x] +creates a directory of resources for [x] +created a directory of resources for [x] +[sub] [is|are|was|were] creating a directory of resources for [x] +[sub] creates a directory of resources for [x] +[sub] created a directory of resources for [x] +sharing general resources about [x] +shares general resources about [x] +shared general resources about [x] +[sub] [is|are|was|were] sharing general resources about [x] +[sub] shares general resources about [x] +[sub] shared general resources about [x] +developing a public-information campaign about [x] +develops a public-information campaign about [x] +developed a public-information campaign about [x] +[sub] [is|are|was|were] developing a public-information campaign about [x] +[sub] develops a public-information campaign about [x] +[sub] developed a public-information campaign about [x] +planning a community event about [x] +plans a community event about [x] +planned a community event about [x] +[sub] [is|are|was|were] planning a community event about [x] +[sub] plans a community event about [x] +[sub] planned a community event about [x] +moderating a discussion about [x] +moderates a discussion about [x] +moderated a discussion about [x] +[sub] [is|are|was|were] moderating a discussion about [x] +[sub] moderates a discussion about [x] +[sub] moderated a discussion about [x] +interviewing an expert about [x] +interviews an expert about [x] +interviewed an expert about [x] +[sub] [is|are|was|were] interviewing an expert about [x] +[sub] interviews an expert about [x] +[sub] interviewed an expert about [x] +reporting on public policy related to [x] +reports on public policy related to [x] +reported on public policy related to [x] +[sub] [is|are|was|were] reporting on public policy related to [x] +[sub] reports on public policy related to [x] +[sub] reported on public policy related to [x] +reviewing public policy related to [x] +reviews public policy related to [x] +reviewed public policy related to [x] +[sub] [is|are|was|were] reviewing public policy related to [x] +[sub] reviews public policy related to [x] +[sub] reviewed public policy related to [x] +analyzing statistics about [x] +analyzes statistics about [x] +analyzed statistics about [x] +[sub] [is|are|was|were] analyzing statistics about [x] +[sub] analyzes statistics about [x] +[sub] analyzed statistics about [x] +collecting public data about [x] +collects public data about [x] +collected public data about [x] +[sub] [is|are|was|were] collecting public data about [x] +[sub] collects public data about [x] +[sub] collected public data about [x] +conducting a survey about public understanding of [x] +conducts a survey about public understanding of [x] +conducted a survey about public understanding of [x] +[sub] [is|are|was|were] conducting a survey about public understanding of [x] +[sub] conducts a survey about public understanding of [x] +[sub] conducted a survey about public understanding of [x] +designing informational materials about [x] +designs informational materials about [x] +designed informational materials about [x] +[sub] [is|are|was|were] designing informational materials about [x] +[sub] designs informational materials about [x] +[sub] designed informational materials about [x] +editing a documentary about [x] +edits a documentary about [x] +edited a documentary about [x] +[sub] [is|are|was|were] editing a documentary about [x] +[sub] edits a documentary about [x] +[sub] edited a documentary about [x] +producing a podcast episode about [x] +produces a podcast episode about [x] +produced a podcast episode about [x] +[sub] [is|are|was|were] producing a podcast episode about [x] +[sub] produces a podcast episode about [x] +[sub] produced a podcast episode about [x] +performing in a play involving [x] +performs in a play involving [x] +performed in a play involving [x] +[sub] [is|are|was|were] performing in a play involving [x] +[sub] performs in a play involving [x] +[sub] performed in a play involving [x] +acting as a fictional character with [x] +acted as a fictional character with [x] +[sub] [is|are|was|were] acting as a fictional character with [x] +[sub] acted as a fictional character with [x] +reading a novel featuring a character with [x] +reads a novel featuring a character with [x] +read a novel featuring a character with [x] +[sub] [is|are|was|were] reading a novel featuring a character with [x] +[sub] reads a novel featuring a character with [x] +[sub] read a novel featuring a character with [x] +writing a screenplay about a fictional person with [x] +writes a screenplay about a fictional person with [x] +wrote a screenplay about a fictional person with [x] +[sub] [is|are|was|were] writing a screenplay about a fictional person with [x] +[sub] writes a screenplay about a fictional person with [x] +[sub] wrote a screenplay about a fictional person with [x] +training staff to recognize signs of [x] +trains staff to recognize signs of [x] +trained staff to recognize signs of [x] +[sub] [is|are|was|were] training staff to recognize signs of [x] +[sub] trains staff to recognize signs of [x] +[sub] trained staff to recognize signs of [x] +developing workplace guidance about [x] +develops workplace guidance about [x] +developed workplace guidance about [x] +[sub] [is|are|was|were] developing workplace guidance about [x] +[sub] develops workplace guidance about [x] +[sub] developed workplace guidance about [x] +reviewing clinical guidelines for [x] +reviews clinical guidelines for [x] +reviewed clinical guidelines for [x] +[sub] [is|are|was|were] reviewing clinical guidelines for [x] +[sub] reviews clinical guidelines for [x] +[sub] reviewed clinical guidelines for [x] +studying treatment approaches for [x] +studies treatment approaches for [x] +studied treatment approaches for [x] +[sub] [is|are|was|were] studying treatment approaches for [x] +[sub] studies treatment approaches for [x] +[sub] studied treatment approaches for [x] +comparing research findings about [x] +compares research findings about [x] +compared research findings about [x] +[sub] [is|are|was|were] comparing research findings about [x] +[sub] compares research findings about [x] +[sub] compared research findings about [x] \ No newline at end of file diff --git a/PHI.Data.Generator/RLHF.Generator/Data/Patterns/MEDICAL_MENTAL_HEALTH.positive.txt b/PHI.Data.Generator/RLHF.Generator/Data/Patterns/MEDICAL_MENTAL_HEALTH.positive.txt new file mode 100644 index 0000000..7917101 --- /dev/null +++ b/PHI.Data.Generator/RLHF.Generator/Data/Patterns/MEDICAL_MENTAL_HEALTH.positive.txt @@ -0,0 +1,227 @@ +[x] +has [x] +had [x] +[sub] [has|have|had] [x] +lives with [x] +living with [x] +lived with [x] +[sub] lives with [x] +[sub] [is|are|was|were] living with [x] +[sub] lived with [x] +diagnosed with [x] +was diagnosed with [x] +previously diagnosed with [x] +recently diagnosed with [x] +[sub] was diagnosed with [x] +[sub] was previously diagnosed with [x] +[sub] was recently diagnosed with [x] +[sub] [has|have] been diagnosed with [x] +received [a|an] [x] diagnosis +receives [a|an] [x] diagnosis +[sub] received [a|an] [x] diagnosis +[sub] receives [a|an] [x] diagnosis +diagnosis of [x] +confirmed diagnosis of [x] +documented diagnosis of [x] +known diagnosis of [x] +[sub] [has|have] a diagnosis of [x] +[sub] had a diagnosis of [x] +[sub] [has|have] a confirmed diagnosis of [x] +[sub] had a confirmed diagnosis of [x] +reports [x] +reported [x] +reporting [x] +[sub] reports [x] +[sub] reported [x] +[sub] [is|are|was|were] reporting [x] +reports symptoms of [x] +reported symptoms of [x] +reporting symptoms of [x] +[sub] reports symptoms of [x] +[sub] reported symptoms of [x] +[sub] [is|are|was|were] reporting symptoms of [x] +experiences [x] +experienced [x] +experiencing [x] +[sub] experiences [x] +[sub] experienced [x] +[sub] [is|are|was|were] experiencing [x] +experiences symptoms of [x] +experienced symptoms of [x] +experiencing symptoms of [x] +[sub] experiences symptoms of [x] +[sub] experienced symptoms of [x] +[sub] [is|are|was|were] experiencing symptoms of [x] +struggles with [x] +struggled with [x] +struggling with [x] +[sub] struggles with [x] +[sub] struggled with [x] +[sub] [is|are|was|were] struggling with [x] +affected by [x] +was affected by [x] +[sub] [is|are|was|were] affected by [x] +[sub] was affected by [x] +receives care for [x] +received care for [x] +receiving care for [x] +[sub] receives care for [x] +[sub] received care for [x] +[sub] [is|are|was|were] receiving care for [x] +receives mental health care for [x] +received mental health care for [x] +receiving mental health care for [x] +[sub] receives mental health care for [x] +[sub] received mental health care for [x] +[sub] [is|are|was|were] receiving mental health care for [x] +receives behavioral health care for [x] +received behavioral health care for [x] +receiving behavioral health care for [x] +[sub] receives behavioral health care for [x] +[sub] received behavioral health care for [x] +[sub] [is|are|was|were] receiving behavioral health care for [x] +under care for [x] +was under care for [x] +[sub] [is|are|was|were] under care for [x] +[sub] was under care for [x] +in treatment for [x] +was in treatment for [x] +[sub] [is|are|was|were] in treatment for [x] +[sub] was in treatment for [x] +receives treatment for [x] +received treatment for [x] +receiving treatment for [x] +[sub] receives treatment for [x] +[sub] received treatment for [x] +[sub] [is|are|was|were] receiving treatment for [x] +started treatment for [x] +starts treatment for [x] +starting treatment for [x] +[sub] started treatment for [x] +[sub] starts treatment for [x] +[sub] [is|are|was|were] starting treatment for [x] +continues treatment for [x] +continued treatment for [x] +continuing treatment for [x] +[sub] continues treatment for [x] +[sub] continued treatment for [x] +[sub] [is|are|was|were] continuing treatment for [x] +seeks treatment for [x] +sought treatment for [x] +seeking treatment for [x] +[sub] seeks treatment for [x] +[sub] sought treatment for [x] +[sub] [is|are|was|were] seeking treatment for [x] +receives therapy for [x] +received therapy for [x] +receiving therapy for [x] +[sub] receives therapy for [x] +[sub] received therapy for [x] +[sub] [is|are|was|were] receiving therapy for [x] +attends therapy for [x] +attended therapy for [x] +attending therapy for [x] +[sub] attends therapy for [x] +[sub] attended therapy for [x] +[sub] [is|are|was|were] attending therapy for [x] +receives counseling for [x] +received counseling for [x] +receiving counseling for [x] +[sub] receives counseling for [x] +[sub] received counseling for [x] +[sub] [is|are|was|were] receiving counseling for [x] +sees a therapist for [x] +saw a therapist for [x] +seeing a therapist for [x] +[sub] sees a therapist for [x] +[sub] saw a therapist for [x] +[sub] [is|are|was|were] seeing a therapist for [x] +sees a psychiatrist for [x] +saw a psychiatrist for [x] +seeing a psychiatrist for [x] +[sub] sees a psychiatrist for [x] +[sub] saw a psychiatrist for [x] +[sub] [is|are|was|were] seeing a psychiatrist for [x] +followed by a mental health provider for [x] +[sub] [is|are|was|were] followed by a mental health provider for [x] +has a history of [x] +had a history of [x] +history of [x] +known history of [x] +documented history of [x] +prior history of [x] +[sub] [has|have|had] a history of [x] +[sub] [has|have|had] a known history of [x] +[sub] [has|have|had] a documented history of [x] +[sub] [has|have|had] a prior history of [x] +previously experienced [x] +[sub] previously experienced [x] +previously treated for [x] +[sub] was previously treated for [x] +manages [x] +managed [x] +managing [x] +[sub] manages [x] +[sub] managed [x] +[sub] [is|are|was|were] managing [x] +coping with [x] +coped with [x] +[sub] [is|are|was|were] coping with [x] +[sub] coped with [x] +working through [x] +worked through [x] +[sub] [is|are|was|were] working through [x] +[sub] worked through [x] +recovering from [x] +recovered from [x] +[sub] [is|are|was|were] recovering from [x] +[sub] recovered from [x] +in recovery from [x] +[sub] [is|are|was|were] in recovery from [x] +symptoms of [x] are improving +[sub] reports improving symptoms of [x] +[sub] reported improving symptoms of [x] +symptoms of [x] have worsened +[sub] reports worsening symptoms of [x] +[sub] reported worsening symptoms of [x] +[x] symptoms remain stable +[sub] reports stable symptoms of [x] +[sub] reported stable symptoms of [x] +[x] is in remission +[sub] reports that [x] is in remission +[sub] reported that [x] was in remission +relapse of [x] +experienced a relapse of [x] +[sub] experienced a relapse of [x] +[sub] [is|are|was|were] experiencing a relapse of [x] +being evaluated for [x] +evaluated for [x] +[sub] [is|are|was|were] being evaluated for [x] +[sub] was evaluated for [x] +undergoing evaluation for [x] +[sub] [is|are|was|were] undergoing evaluation for [x] +referred for evaluation of [x] +[sub] was referred for evaluation of [x] +screened positive for [x] +[sub] screened positive for [x] +monitoring symptoms of [x] +[sub] [is|are|was|were] monitoring symptoms of [x] +hospitalized for [x] +was hospitalized for [x] +[sub] was hospitalized for [x] +admitted for [x] +was admitted for [x] +[sub] was admitted for [x] +discharged after treatment for [x] +[sub] was discharged after treatment for [x] +denies [x] +denied [x] +[sub] denies [x] +[sub] denied [x] +denies current symptoms of [x] +denied current symptoms of [x] +[sub] denies current symptoms of [x] +[sub] denied current symptoms of [x] +no longer experiencing [x] +[sub] [is|are|was|were] no longer experiencing [x] + diff --git a/PHI.Data.Generator/RLHF.Generator/Data/Patterns/MEDICAL_OTHER.negative.txt b/PHI.Data.Generator/RLHF.Generator/Data/Patterns/MEDICAL_OTHER.negative.txt new file mode 100644 index 0000000..667f786 --- /dev/null +++ b/PHI.Data.Generator/RLHF.Generator/Data/Patterns/MEDICAL_OTHER.negative.txt @@ -0,0 +1,379 @@ +researching community resources for [x] +researched community resources for [x] +[sub] [is|are|was|were] researching community resources for [x] +[sub] researches community resources for [x] +[sub] researched community resources for [x] +creating an educational program about [x] +created an educational program about [x] +[sub] [is|are|was|were] creating an educational program about [x] +[sub] creates an educational program about [x] +[sub] created an educational program about [x] +organizing an awareness event for [x] +organized an awareness event for [x] +[sub] [is|are|was|were] organizing an awareness event for [x] +[sub] organizes an awareness event for [x] +[sub] organized an awareness event for [x] +reading a general article about [x] +read a general article about [x] +[sub] [is|are|was|were] reading a general article about [x] +[sub] reads a general article about [x] +[sub] read a general article about [x] +portraying [x] in a fictional screenplay +portrayed [x] in a fictional screenplay +[sub] [is|are|was|were] portraying [x] in a fictional screenplay +[sub] portrays [x] in a fictional screenplay +[sub] portrayed [x] in a fictional screenplay +researching [x] +researched [x] +[sub] [is|are|was|were] researching [x] +[sub] researches [x] +[sub] researched [x] +attending lectures about [x] +attends lectures about [x] +attended a lecture about [x] +[sub] [is|are|was|were] attending a lecture about [x] +[sub] attends lectures about [x] +[sub] attended a lecture about [x] +organizing [a|an] [x] awareness campaign +organizes [a|an] [x] awareness campaign +organized [a|an] [x] awareness campaign +[sub] [is|are|was|were] organizing [a|an] [x] awareness campaign +[sub] organizes [a|an] [x] awareness campaign +[sub] organized [a|an] [x] awareness campaign +reading a news report about [x] +reads a news report about [x] +read a news report about [x] +[sub] [is|are|was|were] reading a news report about [x] +[sub] reads a news report about [x] +[sub] read a news report about [x] +writing a fictional story involving [x] +writes a fictional story involving [x] +wrote a fictional story involving [x] +[sub] [is|are|was|were] writing a fictional story involving [x] +[sub] writes a fictional story involving [x] +[sub] wrote a fictional story involving [x] +donating to [x] research +donates to [x] research +donated to [x] research +[sub] [is|are|was|were] donating to [x] research +[sub] donates to [x] research +[sub] donated to [x] research +raising money for [x] research +raises money for [x] research +raised money for [x] research +[sub] [is|are|was|were] raising money for [x] research +[sub] raises money for [x] research +[sub] raised money for [x] research +attending fundraisers for [x] research +attends fundraisers for [x] research +attended a fundraiser for [x] research +[sub] [is|are|was|were] attending fundraisers for [x] research +[sub] attends fundraisers for [x] research +[sub] attended a fundraiser for [x] research +promoting [x] awareness +promotes [x] awareness +promoted [x] awareness +[sub] [is|are|was|were] promoting [x] awareness +[sub] promotes [x] awareness +[sub] promoted [x] awareness +involved with [x] research +[sub] [is|are|was|were] involved with [x] research +[sub] was involved with [x] research +studying [x] +studies [x] +studied [x] +[sub] [is|are|was|were] studying [x] +[sub] studies [x] +[sub] studied [x] +learning about [x] +learns about [x] +learned about [x] +[sub] [is|are|was|were] learning about [x] +[sub] learns about [x] +[sub] learned about [x] +creating educational material about [x] +creates educational material about [x] +created educational material about [x] +[sub] [is|are|was|were] creating educational material about [x] +[sub] creates educational material about [x] +[sub] created educational material about [x] +reviewing educational material about [x] +reviews educational material about [x] +reviewed educational material about [x] +[sub] [is|are|was|were] reviewing educational material about [x] +[sub] reviews educational material about [x] +[sub] reviewed educational material about [x] +completing professional training about [x] +completes professional training about [x] +completed professional training about [x] +[sub] [is|are|was|were] completing professional training about [x] +[sub] completes professional training about [x] +[sub] completed professional training about [x] +attending professional training about [x] +attends professional training about [x] +attended professional training about [x] +[sub] [is|are|was|were] attending professional training about [x] +[sub] attends professional training about [x] +[sub] attended professional training about [x] +preparing a presentation about [x] +prepares a presentation about [x] +prepared a presentation about [x] +[sub] [is|are|was|were] preparing a presentation about [x] +[sub] prepares a presentation about [x] +[sub] prepared a presentation about [x] +giving a presentation about [x] +gives a presentation about [x] +gave a presentation about [x] +[sub] [is|are|was|were] giving a presentation about [x] +[sub] gives a presentation about [x] +[sub] gave a presentation about [x] +participating in a discussion about [x] +participates in a discussion about [x] +participated in a discussion about [x] +[sub] [is|are|was|were] participating in a discussion about [x] +[sub] participates in a discussion about [x] +[sub] participated in a discussion about [x] +having a conversation about [x] +has a conversation about [x] +had a conversation about [x] +[sub] [is|are|was|were] having a conversation about [x] +[sub] has a conversation about [x] +[sub] had a conversation about [x] +attending a conference session about [x] +attends a conference session about [x] +attended a conference session about [x] +[sub] [is|are|was|were] attending a conference session about [x] +[sub] attends a conference session about [x] +[sub] attended a conference session about [x] +watching a documentary about [x] +watches a documentary about [x] +watched a documentary about [x] +[sub] [is|are|was|were] watching a documentary about [x] +[sub] watches a documentary about [x] +[sub] watched a documentary about [x] +listening to a podcast about [x] +listens to a podcast about [x] +listened to a podcast about [x] +[sub] [is|are|was|were] listening to a podcast about [x] +[sub] listens to a podcast about [x] +[sub] listened to a podcast about [x] +writing an article about [x] +writes an article about [x] +wrote an article about [x] +[sub] [is|are|was|were] writing an article about [x] +[sub] writes an article about [x] +[sub] wrote an article about [x] +reviewing a case study involving [x] +reviews a case study involving [x] +reviewed a case study involving [x] +[sub] [is|are|was|were] reviewing a case study involving [x] +[sub] reviews a case study involving [x] +[sub] reviewed a case study involving [x] +writing about a fictional character with [x] +writes about a fictional character with [x] +wrote about a fictional character with [x] +[sub] [is|are|was|were] writing about a fictional character with [x] +[sub] writes about a fictional character with [x] +[sub] wrote about a fictional character with [x] +supporting organizations researching [x] +supports organizations researching [x] +supported an organization researching [x] +[sub] [is|are|was|were] supporting organizations researching [x] +[sub] supports organizations researching [x] +[sub] supported an organization researching [x] +volunteering for [x] awareness +volunteers for [x] awareness +volunteered for [x] awareness +[sub] [is|are|was|were] volunteering for [x] awareness +[sub] volunteers for [x] awareness +[sub] volunteered for [x] awareness +advocating for more research into [x] +advocates for more research into [x] +advocated for more research into [x] +[sub] [is|are|was|were] advocating for more research into [x] +[sub] advocates for more research into [x] +[sub] advocated for more research into [x] +collecting donations for [x] research +collects donations for [x] research +collected donations for [x] research +[sub] [is|are|was|were] collecting donations for [x] research +[sub] collects donations for [x] research +[sub] collected donations for [x] research +developing training materials about [x] +develops training materials about [x] +developed training materials about [x] +[sub] [is|are|was|were] developing training materials about [x] +[sub] develops training materials about [x] +[sub] developed training materials about [x] +reviewing mental health literature about [x] +reviews mental health literature about [x] +reviewed mental health literature about [x] +[sub] [is|are|was|were] reviewing mental health literature about [x] +[sub] reviews mental health literature about [x] +[sub] reviewed mental health literature about [x] +teaching a class about [x] +teaches a class about [x] +taught a class about [x] +[sub] [is|are|was|were] teaching a class about [x] +[sub] teaches a class about [x] +[sub] taught a class about [x] +working with researchers studying [x] +works with researchers studying [x] +worked with researchers studying [x] +[sub] [is|are|was|were] working with researchers studying [x] +[sub] works with researchers studying [x] +[sub] worked with researchers studying [x] +requesting general information about [x] +requests general information about [x] +requested general information about [x] +[sub] [is|are|was|were] requesting general information about [x] +[sub] requests general information about [x] +[sub] requested general information about [x] +promoting public awareness of [x] +promotes public awareness of [x] +promoted public awareness of [x] +[sub] [is|are|was|were] promoting public awareness of [x] +[sub] promotes public awareness of [x] +[sub] promoted public awareness of [x] +researching support services for people with [x] +researches support services for people with [x] +researched support services for people with [x] +[sub] [is|are|was|were] researching support services for people with [x] +[sub] researches support services for people with [x] +[sub] researched support services for people with [x] +creating a directory of resources for [x] +creates a directory of resources for [x] +created a directory of resources for [x] +[sub] [is|are|was|were] creating a directory of resources for [x] +[sub] creates a directory of resources for [x] +[sub] created a directory of resources for [x] +sharing general resources about [x] +shares general resources about [x] +shared general resources about [x] +[sub] [is|are|was|were] sharing general resources about [x] +[sub] shares general resources about [x] +[sub] shared general resources about [x] +developing a public-information campaign about [x] +develops a public-information campaign about [x] +developed a public-information campaign about [x] +[sub] [is|are|was|were] developing a public-information campaign about [x] +[sub] develops a public-information campaign about [x] +[sub] developed a public-information campaign about [x] +planning a community event about [x] +plans a community event about [x] +planned a community event about [x] +[sub] [is|are|was|were] planning a community event about [x] +[sub] plans a community event about [x] +[sub] planned a community event about [x] +moderating a discussion about [x] +moderates a discussion about [x] +moderated a discussion about [x] +[sub] [is|are|was|were] moderating a discussion about [x] +[sub] moderates a discussion about [x] +[sub] moderated a discussion about [x] +interviewing an expert about [x] +interviews an expert about [x] +interviewed an expert about [x] +[sub] [is|are|was|were] interviewing an expert about [x] +[sub] interviews an expert about [x] +[sub] interviewed an expert about [x] +reporting on public policy related to [x] +reports on public policy related to [x] +reported on public policy related to [x] +[sub] [is|are|was|were] reporting on public policy related to [x] +[sub] reports on public policy related to [x] +[sub] reported on public policy related to [x] +reviewing public policy related to [x] +reviews public policy related to [x] +reviewed public policy related to [x] +[sub] [is|are|was|were] reviewing public policy related to [x] +[sub] reviews public policy related to [x] +[sub] reviewed public policy related to [x] +analyzing statistics about [x] +analyzes statistics about [x] +analyzed statistics about [x] +[sub] [is|are|was|were] analyzing statistics about [x] +[sub] analyzes statistics about [x] +[sub] analyzed statistics about [x] +collecting public data about [x] +collects public data about [x] +collected public data about [x] +[sub] [is|are|was|were] collecting public data about [x] +[sub] collects public data about [x] +[sub] collected public data about [x] +conducting a survey about public understanding of [x] +conducts a survey about public understanding of [x] +conducted a survey about public understanding of [x] +[sub] [is|are|was|were] conducting a survey about public understanding of [x] +[sub] conducts a survey about public understanding of [x] +[sub] conducted a survey about public understanding of [x] +designing informational materials about [x] +designs informational materials about [x] +designed informational materials about [x] +[sub] [is|are|was|were] designing informational materials about [x] +[sub] designs informational materials about [x] +[sub] designed informational materials about [x] +editing a documentary about [x] +edits a documentary about [x] +edited a documentary about [x] +[sub] [is|are|was|were] editing a documentary about [x] +[sub] edits a documentary about [x] +[sub] edited a documentary about [x] +producing a podcast episode about [x] +produces a podcast episode about [x] +produced a podcast episode about [x] +[sub] [is|are|was|were] producing a podcast episode about [x] +[sub] produces a podcast episode about [x] +[sub] produced a podcast episode about [x] +performing in a play involving [x] +performs in a play involving [x] +performed in a play involving [x] +[sub] [is|are|was|were] performing in a play involving [x] +[sub] performs in a play involving [x] +[sub] performed in a play involving [x] +acting as a fictional character with [x] +acted as a fictional character with [x] +[sub] [is|are|was|were] acting as a fictional character with [x] +[sub] acted as a fictional character with [x] +reading a novel featuring a character with [x] +reads a novel featuring a character with [x] +read a novel featuring a character with [x] +[sub] [is|are|was|were] reading a novel featuring a character with [x] +[sub] reads a novel featuring a character with [x] +[sub] read a novel featuring a character with [x] +writing a screenplay about a fictional person with [x] +writes a screenplay about a fictional person with [x] +wrote a screenplay about a fictional person with [x] +[sub] [is|are|was|were] writing a screenplay about a fictional person with [x] +[sub] writes a screenplay about a fictional person with [x] +[sub] wrote a screenplay about a fictional person with [x] +training staff to recognize signs of [x] +trains staff to recognize signs of [x] +trained staff to recognize signs of [x] +[sub] [is|are|was|were] training staff to recognize signs of [x] +[sub] trains staff to recognize signs of [x] +[sub] trained staff to recognize signs of [x] +developing workplace guidance about [x] +develops workplace guidance about [x] +developed workplace guidance about [x] +[sub] [is|are|was|were] developing workplace guidance about [x] +[sub] develops workplace guidance about [x] +[sub] developed workplace guidance about [x] +reviewing clinical guidelines for [x] +reviews clinical guidelines for [x] +reviewed clinical guidelines for [x] +[sub] [is|are|was|were] reviewing clinical guidelines for [x] +[sub] reviews clinical guidelines for [x] +[sub] reviewed clinical guidelines for [x] +studying treatment approaches for [x] +studies treatment approaches for [x] +studied treatment approaches for [x] +[sub] [is|are|was|were] studying treatment approaches for [x] +[sub] studies treatment approaches for [x] +[sub] studied treatment approaches for [x] +comparing research findings about [x] +compares research findings about [x] +compared research findings about [x] +[sub] [is|are|was|were] comparing research findings about [x] +[sub] compares research findings about [x] +[sub] compared research findings about [x] diff --git a/PHI.Data.Generator/RLHF.Generator/Data/Patterns/MEDICAL_OTHER.positive.txt b/PHI.Data.Generator/RLHF.Generator/Data/Patterns/MEDICAL_OTHER.positive.txt new file mode 100644 index 0000000..4e70c11 --- /dev/null +++ b/PHI.Data.Generator/RLHF.Generator/Data/Patterns/MEDICAL_OTHER.positive.txt @@ -0,0 +1,327 @@ +[x] +has [x] +had [x] +[sub] [has|have|had] [x] +reports [x] +reported [x] +reporting [x] +[sub] reports [x] +[sub] reported [x] +[sub] [is|are|was|were] reporting [x] +experiences [x] +experienced [x] +experiencing [x] +[sub] experiences [x] +[sub] experienced [x] +[sub] [is|are|was|were] experiencing [x] +notices [x] +noticed [x] +noticing [x] +[sub] notices [x] +[sub] noticed [x] +[sub] [is|are|was|were] noticing [x] +concerned about [x] +was concerned about [x] +[sub] [is|are|was|were] concerned about [x] +medical concern involving [x] +health concern involving [x] +[sub] reports a medical concern involving [x] +[sub] reported a medical concern involving [x] +medical history includes [x] +medical history included [x] +[sub] medical history includes [x] +[sub] medical history included [x] +health history includes [x] +health history included [x] +[sub] health history includes [x] +[sub] health history included [x] +history of [x] +known history of [x] +documented history of [x] +prior history of [x] +[sub] [has|have|had] a history of [x] +[sub] [has|have|had] a known history of [x] +[sub] [has|have|had] a documented history of [x] +[sub] [has|have|had] a prior history of [x] +current medical issue involving [x] +ongoing medical issue involving [x] +previous medical issue involving [x] +[sub] [has|have] a current medical issue involving [x] +[sub] had a medical issue involving [x] +[sub] [has|have] an ongoing medical issue involving [x] +[sub] had a previous medical issue involving [x] +current health issue involving [x] +ongoing health issue involving [x] +previous health issue involving [x] +[sub] [has|have] a current health issue involving [x] +[sub] had a health issue involving [x] +[sub] [has|have] an ongoing health issue involving [x] +[sub] had a previous health issue involving [x] +documented [x] +recorded [x] +noted [x] +[sub] [has|have] documented [x] +[sub] had documented [x] +[sub] was noted to have [x] +[sub] [is|are|was|were] documented as having [x] +medical record lists [x] +medical record listed [x] +[sub] medical record lists [x] +[sub] medical record listed [x] +chart notes [x] +chart noted [x] +[sub] chart notes [x] +[sub] chart noted [x] +provider notes [x] +provider noted [x] +[sub] provider notes [x] +[sub] provider noted [x] +doctor notes [x] +doctor noted [x] +[sub] doctor notes [x] +[sub] doctor noted [x] +care team documented [x] +care team notes [x] +[sub] care team documented [x] +[sub] care team notes [x] +being evaluated for [x] +evaluated for [x] +undergoing evaluation for [x] +[sub] [is|are|was|were] being evaluated for [x] +[sub] [is|are|was|were] evaluated for [x] +[sub] [is|are|was|were] undergoing evaluation for [x] +receives an evaluation for [x] +received an evaluation for [x] +receiving an evaluation for [x] +[sub] receives an evaluation for [x] +[sub] received an evaluation for [x] +[sub] [is|are|was|were] receiving an evaluation for [x] +being assessed for [x] +assessed for [x] +undergoing assessment for [x] +[sub] [is|are|was|were] being assessed for [x] +[sub] [is|are|was|were] assessed for [x] +[sub] [is|are|was|were] undergoing assessment for [x] +referred for evaluation of [x] +was referred for evaluation of [x] +[sub] [is|are|was|were] referred for evaluation of [x] +seeking evaluation for [x] +sought evaluation for [x] +[sub] [is|are|was|were] seeking evaluation for [x] +[sub] sought evaluation for [x] +screened for [x] +being screened for [x] +[sub] [is|are|was|were] screened for [x] +[sub] [is|are|was|were] being screened for [x] +screened positive for [x] +[sub] screened positive for [x] +screened negative for [x] +[sub] screened negative for [x] +positive test result for [x] +negative test result for [x] +[sub] received a positive test result for [x] +[sub] received a negative test result for [x] +test showed [x] +test shows [x] +test indicated [x] +[sub] test showed [x] +[sub] test shows [x] +[sub] test indicated [x] +testing revealed [x] +testing reveals [x] +[sub] testing revealed [x] +[sub] testing reveals [x] +results showed [x] +results show [x] +results indicated [x] +[sub] results showed [x] +[sub] results show [x] +[sub] results indicated [x] +laboratory results showed [x] +laboratory results show [x] +laboratory results indicated [x] +[sub] laboratory results showed [x] +[sub] laboratory results show [x] +[sub] laboratory results indicated [x] +lab work showed [x] +lab work shows [x] +lab work indicated [x] +[sub] lab work showed [x] +[sub] lab work shows [x] +[sub] lab work indicated [x] +imaging showed [x] +imaging shows [x] +imaging revealed [x] +[sub] imaging showed [x] +[sub] imaging shows [x] +[sub] imaging revealed [x] +examination showed [x] +examination shows [x] +examination revealed [x] +[sub] examination showed [x] +[sub] examination shows [x] +[sub] examination revealed [x] +abnormal finding of [x] +normal finding related to [x] +[sub] [has|have] an abnormal finding of [x] +[sub] had an abnormal finding of [x] +[sub] [has|have] a normal finding related to [x] +[sub] had a normal finding related to [x] +abnormal result involving [x] +normal result involving [x] +[sub] received an abnormal result involving [x] +[sub] received a normal result involving [x] +evidence of [x] +no evidence of [x] +[sub] [has|have] evidence of [x] +[sub] had evidence of [x] +[sub] [has|have] no evidence of [x] +[sub] had no evidence of [x] +signs of [x] +no signs of [x] +[sub] shows signs of [x] +[sub] showed signs of [x] +[sub] shows no signs of [x] +[sub] showed no signs of [x] +symptoms involving [x] +symptoms related to [x] +[sub] reports symptoms involving [x] +[sub] reported symptoms involving [x] +[sub] reports symptoms related to [x] +[sub] reported symptoms related to [x] +denies [x] +denied [x] +denying [x] +[sub] denies [x] +[sub] denied [x] +[sub] [is|are|was|were] denying [x] +denies symptoms involving [x] +denied symptoms involving [x] +[sub] denies symptoms involving [x] +[sub] denied symptoms involving [x] +denies any history of [x] +denied any history of [x] +[sub] denies any history of [x] +[sub] denied any history of [x] +monitoring [x] +monitors [x] +monitored [x] +[sub] [is|are|was|were] monitoring [x] +[sub] monitors [x] +[sub] monitored [x] +being monitored for [x] +was monitored for [x] +[sub] [is|are|was|were] being monitored for [x] +[sub] [is|are|was|were] monitored for [x] +under observation for [x] +was under observation for [x] +[sub] [is|are|was|were] under observation for [x] +followed for [x] +being followed for [x] +[sub] [is|are|was|were] followed for [x] +[sub] [is|are|was|were] being followed for [x] +requires monitoring for [x] +required monitoring for [x] +[sub] requires monitoring for [x] +[sub] required monitoring for [x] +needs follow-up for [x] +needed follow-up for [x] +[sub] needs follow-up for [x] +[sub] needed follow-up for [x] +follow-up planned for [x] +follow-up scheduled for [x] +[sub] [has|have] follow-up planned for [x] +[sub] had follow-up planned for [x] +[sub] [has|have] follow-up scheduled for [x] +[sub] had follow-up scheduled for [x] +awaiting results related to [x] +awaited results related to [x] +[sub] [is|are|was|were] awaiting results related to [x] +[sub] awaited results related to [x] +receives care for [x] +received care for [x] +receiving care for [x] +[sub] receives care for [x] +[sub] received care for [x] +[sub] [is|are|was|were] receiving care for [x] +under medical care for [x] +was under medical care for [x] +[sub] [is|are|was|were] under medical care for [x] +seeks medical care for [x] +sought medical care for [x] +seeking medical care for [x] +[sub] seeks medical care for [x] +[sub] sought medical care for [x] +[sub] [is|are|was|were] seeking medical care for [x] +needs medical attention for [x] +needed medical attention for [x] +[sub] needs medical attention for [x] +[sub] needed medical attention for [x] +requires medical attention for [x] +required medical attention for [x] +[sub] requires medical attention for [x] +[sub] required medical attention for [x] +care plan addresses [x] +care plan addressed [x] +[sub] care plan addresses [x] +[sub] care plan addressed [x] +medical visit for [x] +had a medical visit for [x] +[sub] [has|have] a medical visit for [x] +[sub] had a medical visit for [x] +seen for [x] +was seen for [x] +[sub] [is|are|was|were] seen for [x] +visited a provider for [x] +visits a provider for [x] +visiting a provider for [x] +[sub] visited a provider for [x] +[sub] visits a provider for [x] +[sub] [is|are|was|were] visiting a provider for [x] +emergency visit for [x] +had an emergency visit for [x] +[sub] [has|have] an emergency visit for [x] +[sub] had an emergency visit for [x] +went to urgent care for [x] +goes to urgent care for [x] +going to urgent care for [x] +[sub] went to urgent care for [x] +[sub] goes to urgent care for [x] +[sub] [is|are|was|were] going to urgent care for [x] +hospitalized because of [x] +was hospitalized because of [x] +[sub] [is|are|was|were] hospitalized because of [x] +admitted because of [x] +was admitted because of [x] +[sub] [is|are|was|were] admitted because of [x] +discharged with [x] +was discharged with [x] +[sub] [is|are|was|were] discharged with [x] +[x] is improving +[x] improved +[sub] reports that [x] is improving +[sub] reported that [x] improved +[x] is worsening +[x] worsened +[sub] reports that [x] is worsening +[sub] reported that [x] worsened +[x] remains stable +[x] remained stable +[sub] reports that [x] remains stable +[sub] reported that [x] remained stable +[x] resolved +[x] has resolved +[sub] reports that [x] has resolved +[sub] reported that [x] resolved +[x] has not resolved +[x] remains unresolved +[sub] reports that [x] has not resolved +[sub] reported that [x] remained unresolved +no longer experiencing [x] +stopped experiencing [x] +[sub] [is|are|was|were] no longer experiencing [x] +[sub] stopped experiencing [x] +continues to experience [x] +continued to experience [x] +[sub] continues to experience [x] +[sub] continued to experience [x] diff --git a/PHI.Data.Generator/RLHF.Generator/Data/Patterns/MEDICAL_PHYSICAL_HEALTH.negative.txt b/PHI.Data.Generator/RLHF.Generator/Data/Patterns/MEDICAL_PHYSICAL_HEALTH.negative.txt new file mode 100644 index 0000000..0495f3d --- /dev/null +++ b/PHI.Data.Generator/RLHF.Generator/Data/Patterns/MEDICAL_PHYSICAL_HEALTH.negative.txt @@ -0,0 +1,379 @@ +researching community resources for [x] +researched community resources for [x] +[sub] [is|are|was|were] researching community resources for [x] +[sub] researches community resources for [x] +[sub] researched community resources for [x] +creating an educational program about [x] +created an educational program about [x] +[sub] [is|are|was|were] creating an educational program about [x] +[sub] creates an educational program about [x] +[sub] created an educational program about [x] +organizing an awareness event for [x] +organized an awareness event for [x] +[sub] [is|are|was|were] organizing an awareness event for [x] +[sub] organizes an awareness event for [x] +[sub] organized an awareness event for [x] +reading a general article about [x] +read a general article about [x] +[sub] [is|are|was|were] reading a general article about [x] +[sub] reads a general article about [x] +[sub] read a general article about [x] +portraying [x] in a fictional screenplay +portrayed [x] in a fictional screenplay +[sub] [is|are|was|were] portraying [x] in a fictional screenplay +[sub] portrays [x] in a fictional screenplay +[sub] portrayed [x] in a fictional screenplay +researching [x] +researched [x] +[sub] [is|are|was|were] researching [x] +[sub] researches [x] +[sub] researched [x] +attending lectures about [x] +attends lectures about [x] +attended a lecture about [x] +[sub] [is|are|was|were] attending a lecture about [x] +[sub] attends lectures about [x] +[sub] attended a lecture about [x] +organizing [a|an] [x] awareness campaign +organizes [a|an] [x] awareness campaign +organized [a|an] [x] awareness campaign +[sub] [is|are|was|were] organizing [a|an] [x] awareness campaign +[sub] organizes [a|an] [x] awareness campaign +[sub] organized [a|an] [x] awareness campaign +reading a news report about [x] +reads a news report about [x] +read a news report about [x] +[sub] [is|are|was|were] reading a news report about [x] +[sub] reads a news report about [x] +[sub] read a news report about [x] +writing a fictional story involving [x] +writes a fictional story involving [x] +wrote a fictional story involving [x] +[sub] [is|are|was|were] writing a fictional story involving [x] +[sub] writes a fictional story involving [x] +[sub] wrote a fictional story involving [x] +donating to [x] research +donates to [x] research +donated to [x] research +[sub] [is|are|was|were] donating to [x] research +[sub] donates to [x] research +[sub] donated to [x] research +raising money for [x] research +raises money for [x] research +raised money for [x] research +[sub] [is|are|was|were] raising money for [x] research +[sub] raises money for [x] research +[sub] raised money for [x] research +attending fundraisers for [x] research +attends fundraisers for [x] research +attended a fundraiser for [x] research +[sub] [is|are|was|were] attending fundraisers for [x] research +[sub] attends fundraisers for [x] research +[sub] attended a fundraiser for [x] research +promoting [x] awareness +promotes [x] awareness +promoted [x] awareness +[sub] [is|are|was|were] promoting [x] awareness +[sub] promotes [x] awareness +[sub] promoted [x] awareness +involved with [x] research +[sub] [is|are|was|were] involved with [x] research +[sub] was involved with [x] research +studying [x] +studies [x] +studied [x] +[sub] [is|are|was|were] studying [x] +[sub] studies [x] +[sub] studied [x] +learning about [x] +learns about [x] +learned about [x] +[sub] [is|are|was|were] learning about [x] +[sub] learns about [x] +[sub] learned about [x] +creating educational material about [x] +creates educational material about [x] +created educational material about [x] +[sub] [is|are|was|were] creating educational material about [x] +[sub] creates educational material about [x] +[sub] created educational material about [x] +reviewing educational material about [x] +reviews educational material about [x] +reviewed educational material about [x] +[sub] [is|are|was|were] reviewing educational material about [x] +[sub] reviews educational material about [x] +[sub] reviewed educational material about [x] +completing professional training about [x] +completes professional training about [x] +completed professional training about [x] +[sub] [is|are|was|were] completing professional training about [x] +[sub] completes professional training about [x] +[sub] completed professional training about [x] +attending professional training about [x] +attends professional training about [x] +attended professional training about [x] +[sub] [is|are|was|were] attending professional training about [x] +[sub] attends professional training about [x] +[sub] attended professional training about [x] +preparing a presentation about [x] +prepares a presentation about [x] +prepared a presentation about [x] +[sub] [is|are|was|were] preparing a presentation about [x] +[sub] prepares a presentation about [x] +[sub] prepared a presentation about [x] +giving a presentation about [x] +gives a presentation about [x] +gave a presentation about [x] +[sub] [is|are|was|were] giving a presentation about [x] +[sub] gives a presentation about [x] +[sub] gave a presentation about [x] +participating in a discussion about [x] +participates in a discussion about [x] +participated in a discussion about [x] +[sub] [is|are|was|were] participating in a discussion about [x] +[sub] participates in a discussion about [x] +[sub] participated in a discussion about [x] +having a conversation about [x] +has a conversation about [x] +had a conversation about [x] +[sub] [is|are|was|were] having a conversation about [x] +[sub] has a conversation about [x] +[sub] had a conversation about [x] +attending a conference session about [x] +attends a conference session about [x] +attended a conference session about [x] +[sub] [is|are|was|were] attending a conference session about [x] +[sub] attends a conference session about [x] +[sub] attended a conference session about [x] +watching a documentary about [x] +watches a documentary about [x] +watched a documentary about [x] +[sub] [is|are|was|were] watching a documentary about [x] +[sub] watches a documentary about [x] +[sub] watched a documentary about [x] +listening to a podcast about [x] +listens to a podcast about [x] +listened to a podcast about [x] +[sub] [is|are|was|were] listening to a podcast about [x] +[sub] listens to a podcast about [x] +[sub] listened to a podcast about [x] +writing an article about [x] +writes an article about [x] +wrote an article about [x] +[sub] [is|are|was|were] writing an article about [x] +[sub] writes an article about [x] +[sub] wrote an article about [x] +reviewing a case study involving [x] +reviews a case study involving [x] +reviewed a case study involving [x] +[sub] [is|are|was|were] reviewing a case study involving [x] +[sub] reviews a case study involving [x] +[sub] reviewed a case study involving [x] +writing about a fictional character with [x] +writes about a fictional character with [x] +wrote about a fictional character with [x] +[sub] [is|are|was|were] writing about a fictional character with [x] +[sub] writes about a fictional character with [x] +[sub] wrote about a fictional character with [x] +supporting organizations researching [x] +supports organizations researching [x] +supported an organization researching [x] +[sub] [is|are|was|were] supporting organizations researching [x] +[sub] supports organizations researching [x] +[sub] supported an organization researching [x] +volunteering for [x] awareness +volunteers for [x] awareness +volunteered for [x] awareness +[sub] [is|are|was|were] volunteering for [x] awareness +[sub] volunteers for [x] awareness +[sub] volunteered for [x] awareness +advocating for more research into [x] +advocates for more research into [x] +advocated for more research into [x] +[sub] [is|are|was|were] advocating for more research into [x] +[sub] advocates for more research into [x] +[sub] advocated for more research into [x] +collecting donations for [x] research +collects donations for [x] research +collected donations for [x] research +[sub] [is|are|was|were] collecting donations for [x] research +[sub] collects donations for [x] research +[sub] collected donations for [x] research +developing training materials about [x] +develops training materials about [x] +developed training materials about [x] +[sub] [is|are|was|were] developing training materials about [x] +[sub] develops training materials about [x] +[sub] developed training materials about [x] +reviewing mental health literature about [x] +reviews mental health literature about [x] +reviewed mental health literature about [x] +[sub] [is|are|was|were] reviewing mental health literature about [x] +[sub] reviews mental health literature about [x] +[sub] reviewed mental health literature about [x] +teaching a class about [x] +teaches a class about [x] +taught a class about [x] +[sub] [is|are|was|were] teaching a class about [x] +[sub] teaches a class about [x] +[sub] taught a class about [x] +working with researchers studying [x] +works with researchers studying [x] +worked with researchers studying [x] +[sub] [is|are|was|were] working with researchers studying [x] +[sub] works with researchers studying [x] +[sub] worked with researchers studying [x] +requesting general information about [x] +requests general information about [x] +requested general information about [x] +[sub] [is|are|was|were] requesting general information about [x] +[sub] requests general information about [x] +[sub] requested general information about [x] +promoting public awareness of [x] +promotes public awareness of [x] +promoted public awareness of [x] +[sub] [is|are|was|were] promoting public awareness of [x] +[sub] promotes public awareness of [x] +[sub] promoted public awareness of [x] +researching support services for people with [x] +researches support services for people with [x] +researched support services for people with [x] +[sub] [is|are|was|were] researching support services for people with [x] +[sub] researches support services for people with [x] +[sub] researched support services for people with [x] +creating a directory of resources for [x] +creates a directory of resources for [x] +created a directory of resources for [x] +[sub] [is|are|was|were] creating a directory of resources for [x] +[sub] creates a directory of resources for [x] +[sub] created a directory of resources for [x] +sharing general resources about [x] +shares general resources about [x] +shared general resources about [x] +[sub] [is|are|was|were] sharing general resources about [x] +[sub] shares general resources about [x] +[sub] shared general resources about [x] +developing a public-information campaign about [x] +develops a public-information campaign about [x] +developed a public-information campaign about [x] +[sub] [is|are|was|were] developing a public-information campaign about [x] +[sub] develops a public-information campaign about [x] +[sub] developed a public-information campaign about [x] +planning a community event about [x] +plans a community event about [x] +planned a community event about [x] +[sub] [is|are|was|were] planning a community event about [x] +[sub] plans a community event about [x] +[sub] planned a community event about [x] +moderating a discussion about [x] +moderates a discussion about [x] +moderated a discussion about [x] +[sub] [is|are|was|were] moderating a discussion about [x] +[sub] moderates a discussion about [x] +[sub] moderated a discussion about [x] +interviewing an expert about [x] +interviews an expert about [x] +interviewed an expert about [x] +[sub] [is|are|was|were] interviewing an expert about [x] +[sub] interviews an expert about [x] +[sub] interviewed an expert about [x] +reporting on public policy related to [x] +reports on public policy related to [x] +reported on public policy related to [x] +[sub] [is|are|was|were] reporting on public policy related to [x] +[sub] reports on public policy related to [x] +[sub] reported on public policy related to [x] +reviewing public policy related to [x] +reviews public policy related to [x] +reviewed public policy related to [x] +[sub] [is|are|was|were] reviewing public policy related to [x] +[sub] reviews public policy related to [x] +[sub] reviewed public policy related to [x] +analyzing statistics about [x] +analyzes statistics about [x] +analyzed statistics about [x] +[sub] [is|are|was|were] analyzing statistics about [x] +[sub] analyzes statistics about [x] +[sub] analyzed statistics about [x] +collecting public data about [x] +collects public data about [x] +collected public data about [x] +[sub] [is|are|was|were] collecting public data about [x] +[sub] collects public data about [x] +[sub] collected public data about [x] +conducting a survey about public understanding of [x] +conducts a survey about public understanding of [x] +conducted a survey about public understanding of [x] +[sub] [is|are|was|were] conducting a survey about public understanding of [x] +[sub] conducts a survey about public understanding of [x] +[sub] conducted a survey about public understanding of [x] +designing informational materials about [x] +designs informational materials about [x] +designed informational materials about [x] +[sub] [is|are|was|were] designing informational materials about [x] +[sub] designs informational materials about [x] +[sub] designed informational materials about [x] +editing a documentary about [x] +edits a documentary about [x] +edited a documentary about [x] +[sub] [is|are|was|were] editing a documentary about [x] +[sub] edits a documentary about [x] +[sub] edited a documentary about [x] +producing a podcast episode about [x] +produces a podcast episode about [x] +produced a podcast episode about [x] +[sub] [is|are|was|were] producing a podcast episode about [x] +[sub] produces a podcast episode about [x] +[sub] produced a podcast episode about [x] +performing in a play involving [x] +performs in a play involving [x] +performed in a play involving [x] +[sub] [is|are|was|were] performing in a play involving [x] +[sub] performs in a play involving [x] +[sub] performed in a play involving [x] +acting as a fictional character with [x] +acted as a fictional character with [x] +[sub] [is|are|was|were] acting as a fictional character with [x] +[sub] acted as a fictional character with [x] +reading a novel featuring a character with [x] +reads a novel featuring a character with [x] +read a novel featuring a character with [x] +[sub] [is|are|was|were] reading a novel featuring a character with [x] +[sub] reads a novel featuring a character with [x] +[sub] read a novel featuring a character with [x] +writing a screenplay about a fictional person with [x] +writes a screenplay about a fictional person with [x] +wrote a screenplay about a fictional person with [x] +[sub] [is|are|was|were] writing a screenplay about a fictional person with [x] +[sub] writes a screenplay about a fictional person with [x] +[sub] wrote a screenplay about a fictional person with [x] +training staff to recognize signs of [x] +trains staff to recognize signs of [x] +trained staff to recognize signs of [x] +[sub] [is|are|was|were] training staff to recognize signs of [x] +[sub] trains staff to recognize signs of [x] +[sub] trained staff to recognize signs of [x] +developing workplace guidance about [x] +develops workplace guidance about [x] +developed workplace guidance about [x] +[sub] [is|are|was|were] developing workplace guidance about [x] +[sub] develops workplace guidance about [x] +[sub] developed workplace guidance about [x] +reviewing clinical guidelines for [x] +reviews clinical guidelines for [x] +reviewed clinical guidelines for [x] +[sub] [is|are|was|were] reviewing clinical guidelines for [x] +[sub] reviews clinical guidelines for [x] +[sub] reviewed clinical guidelines for [x] +studying treatment approaches for [x] +studies treatment approaches for [x] +studied treatment approaches for [x] +[sub] [is|are|was|were] studying treatment approaches for [x] +[sub] studies treatment approaches for [x] +[sub] studied treatment approaches for [x] +comparing research findings about [x] +compares research findings about [x] +compared research findings about [x] +[sub] [is|are|was|were] comparing research findings about [x] +[sub] compares research findings about [x] +[sub] compared research findings about [x] \ No newline at end of file diff --git a/PHI.Data.Generator/RLHF.Generator/Data/Patterns/MEDICAL_PHYSICAL_HEALTH.positive.txt b/PHI.Data.Generator/RLHF.Generator/Data/Patterns/MEDICAL_PHYSICAL_HEALTH.positive.txt new file mode 100644 index 0000000..237d6d1 --- /dev/null +++ b/PHI.Data.Generator/RLHF.Generator/Data/Patterns/MEDICAL_PHYSICAL_HEALTH.positive.txt @@ -0,0 +1,251 @@ +[x] +has [x] +had [x] +[sub] [has|have|had] [x] +experiences [x] +experienced [x] +experiencing [x] +[sub] experiences [x] +[sub] experienced [x] +[sub] [is|are|was|were] experiencing [x] +reports [x] +reported [x] +reporting [x] +[sub] reports [x] +[sub] reported [x] +[sub] [is|are|was|were] reporting [x] +reports symptoms of [x] +reported symptoms of [x] +reporting symptoms of [x] +[sub] reports symptoms of [x] +[sub] reported symptoms of [x] +[sub] [is|are|was|were] reporting symptoms of [x] +lives with [x] +lived with [x] +living with [x] +[sub] lives with [x] +[sub] lived with [x] +[sub] [is|are|was|were] living with [x] +affected by [x] +was affected by [x] +[sub] [is|are|was|were] affected by [x] +[sub] was affected by [x] +struggles with [x] +struggled with [x] +struggling with [x] +[sub] struggles with [x] +[sub] struggled with [x] +[sub] [is|are|was|were] struggling with [x] +limited by [x] +was limited by [x] +[sub] [is|are|was|were] limited by [x] +[sub] was limited by [x] +physically limited by [x] +[sub] [is|are|was|were] physically limited by [x] +physical limitations caused by [x] +[sub] [has|have] physical limitations caused by [x] +[sub] had physical limitations caused by [x] +mobility limitations caused by [x] +[sub] [has|have] mobility limitations caused by [x] +[sub] had mobility limitations caused by [x] +difficulty with daily activities because of [x] +[sub] [has|have] difficulty with daily activities because of [x] +[sub] had difficulty with daily activities because of [x] +difficulty walking because of [x] +[sub] [has|have] difficulty walking because of [x] +[sub] had difficulty walking because of [x] +difficulty standing because of [x] +[sub] [has|have] difficulty standing because of [x] +[sub] had difficulty standing because of [x] +difficulty climbing stairs because of [x] +[sub] [has|have] difficulty climbing stairs because of [x] +[sub] had difficulty climbing stairs because of [x] +difficulty lifting because of [x] +[sub] [has|have] difficulty lifting because of [x] +[sub] had difficulty lifting because of [x] +difficulty using the arms because of [x] +[sub] [has|have] difficulty using the arms because of [x] +[sub] had difficulty using the arms because of [x] +difficulty using the hands because of [x] +[sub] [has|have] difficulty using the hands because of [x] +[sub] had difficulty using the hands because of [x] +unable to walk because of [x] +[sub] [is|are|was|were] unable to walk because of [x] +was unable to walk because of [x] +[sub] was unable to walk because of [x] +unable to stand for long periods because of [x] +[sub] [is|are|was|were] unable to stand for long periods because of [x] +was unable to stand for long periods because of [x] +[sub] was unable to stand for long periods because of [x] +unable to perform daily activities because of [x] +[sub] [is|are|was|were] unable to perform daily activities because of [x] +was unable to perform daily activities because of [x] +[sub] was unable to perform daily activities because of [x] +needs assistance because of [x] +needed assistance because of [x] +[sub] needs assistance because of [x] +[sub] needed assistance because of [x] +receiving assistance because of [x] +received assistance because of [x] +[sub] [is|are|was|were] receiving assistance because of [x] +[sub] received assistance because of [x] +needs help with daily activities because of [x] +needed help with daily activities because of [x] +[sub] needs help with daily activities because of [x] +[sub] needed help with daily activities because of [x] +requires assistance because of [x] +required assistance because of [x] +[sub] requires assistance because of [x] +[sub] required assistance because of [x] +requires help with mobility because of [x] +required help with mobility because of [x] +[sub] requires help with mobility because of [x] +[sub] required help with mobility because of [x] +receives support for [x] +received support for [x] +receiving support for [x] +[sub] receives support for [x] +[sub] received support for [x] +[sub] [is|are|was|were] receiving support for [x] +receives physical support for [x] +received physical support for [x] +receiving physical support for [x] +[sub] receives physical support for [x] +[sub] received physical support for [x] +[sub] [is|are|was|were] receiving physical support for [x] +receives care for [x] +received care for [x] +receiving care for [x] +[sub] receives care for [x] +[sub] received care for [x] +[sub] [is|are|was|were] receiving care for [x] +receives treatment for [x] +received treatment for [x] +receiving treatment for [x] +[sub] receives treatment for [x] +[sub] received treatment for [x] +[sub] [is|are|was|were] receiving treatment for [x] +receives physical therapy for [x] +received physical therapy for [x] +receiving physical therapy for [x] +[sub] receives physical therapy for [x] +[sub] received physical therapy for [x] +[sub] [is|are|was|were] receiving physical therapy for [x] +attends physical therapy for [x] +attended physical therapy for [x] +attending physical therapy for [x] +[sub] attends physical therapy for [x] +[sub] attended physical therapy for [x] +[sub] [is|are|was|were] attending physical therapy for [x] +under care for [x] +was under care for [x] +[sub] [is|are|was|were] under care for [x] +[sub] was under care for [x] +being treated for [x] +was treated for [x] +[sub] [is|are|was|were] being treated for [x] +[sub] was treated for [x] +has a history of [x] +had a history of [x] +history of [x] +known history of [x] +documented history of [x] +prior history of [x] +[sub] [has|have|had] a history of [x] +[sub] [has|have|had] a known history of [x] +[sub] [has|have|had] a documented history of [x] +[sub] [has|have|had] a prior history of [x] +previously experienced [x] +[sub] previously experienced [x] +previously treated for [x] +[sub] was previously treated for [x] +recovering from [x] +recovered from [x] +[sub] [is|are|was|were] recovering from [x] +[sub] recovered from [x] +in recovery from [x] +[sub] [is|are|was|were] in recovery from [x] +rehabilitating after [x] +[sub] [is|are|was|were] rehabilitating after [x] +undergoing rehabilitation for [x] +[sub] [is|are|was|were] undergoing rehabilitation for [x] +needs rehabilitation for [x] +needed rehabilitation for [x] +[sub] needs rehabilitation for [x] +[sub] needed rehabilitation for [x] +manages [x] +managed [x] +managing [x] +[sub] manages [x] +[sub] managed [x] +[sub] [is|are|was|were] managing [x] +coping with [x] +coped with [x] +[sub] [is|are|was|were] coping with [x] +[sub] coped with [x] +symptoms of [x] are improving +[sub] reports improving symptoms of [x] +[sub] reported improving symptoms of [x] +symptoms of [x] are worsening +[sub] reports worsening symptoms of [x] +[sub] reported worsening symptoms of [x] +symptoms of [x] remain stable +[sub] reports stable symptoms of [x] +[sub] reported stable symptoms of [x] +flare-up of [x] +experienced a flare-up of [x] +experiencing a flare-up of [x] +[sub] experienced a flare-up of [x] +[sub] [is|are|was|were] experiencing a flare-up of [x] +being evaluated for [x] +evaluated for [x] +[sub] [is|are|was|were] being evaluated for [x] +[sub] was evaluated for [x] +undergoing evaluation for [x] +[sub] [is|are|was|were] undergoing evaluation for [x] +referred for evaluation of [x] +[sub] was referred for evaluation of [x] +hospitalized for [x] +was hospitalized for [x] +[sub] was hospitalized for [x] +admitted for [x] +was admitted for [x] +[sub] was admitted for [x] +discharged after treatment for [x] +[sub] was discharged after treatment for [x] +activity restrictions because of [x] +[sub] [has|have] activity restrictions because of [x] +[sub] had activity restrictions because of [x] +work restrictions because of [x] +[sub] [has|have] work restrictions because of [x] +[sub] had work restrictions because of [x] +requires accommodations because of [x] +required accommodations because of [x] +[sub] requires accommodations because of [x] +[sub] required accommodations because of [x] +uses mobility assistance because of [x] +used mobility assistance because of [x] +using mobility assistance because of [x] +[sub] uses mobility assistance because of [x] +[sub] used mobility assistance because of [x] +[sub] [is|are|was|were] using mobility assistance because of [x] +uses an assistive device because of [x] +used an assistive device because of [x] +using an assistive device because of [x] +[sub] uses an assistive device because of [x] +[sub] used an assistive device because of [x] +[sub] [is|are|was|were] using an assistive device because of [x] +needs an assistive device because of [x] +needed an assistive device because of [x] +[sub] needs an assistive device because of [x] +[sub] needed an assistive device because of [x] +denies [x] +denied [x] +[sub] denies [x] +[sub] denied [x] +denies current symptoms of [x] +denied current symptoms of [x] +[sub] denies current symptoms of [x] +[sub] denied current symptoms of [x] +no longer experiencing [x] +[sub] [is|are|was|were] no longer experiencing [x] diff --git a/PHI.Data.Generator/RLHF.Generator/Data/Patterns/MEDICAL_PROCEDURE.negative.txt b/PHI.Data.Generator/RLHF.Generator/Data/Patterns/MEDICAL_PROCEDURE.negative.txt new file mode 100644 index 0000000..ae345e6 --- /dev/null +++ b/PHI.Data.Generator/RLHF.Generator/Data/Patterns/MEDICAL_PROCEDURE.negative.txt @@ -0,0 +1,330 @@ +studying how [x] is performed +studies how [x] is performed +studied how [x] is performed +[sub] [is|are|was|were] studying how [x] is performed +[sub] studies how [x] is performed +[sub] studied how [x] is performed +preparing an educational presentation about [x] +prepares an educational presentation about [x] +prepared an educational presentation about [x] +[sub] [is|are|was|were] preparing an educational presentation about [x] +[sub] prepares an educational presentation about [x] +[sub] prepared an educational presentation about [x] +reading a news article about [x] +reads a news article about [x] +read a news article about [x] +[sub] [is|are|was|were] reading a news article about [x] +[sub] reads a news article about [x] +[sub] read a news article about [x] +observing a training demonstration of [x] +observes a training demonstration of [x] +observed a training demonstration of [x] +[sub] [is|are|was|were] observing a training demonstration of [x] +[sub] observes a training demonstration of [x] +[sub] observed a training demonstration of [x] +organizing an advocacy event about access to [x] +organizes an advocacy event about access to [x] +organized an advocacy event about access to [x] +[sub] [is|are|was|were] organizing an advocacy event about access to [x] +[sub] organizes an advocacy event about access to [x] +[sub] organized an advocacy event about access to [x] +researching [x] +researches [x] +researched [x] +[sub] [is|are|was|were] researching [x] +[sub] researches [x] +[sub] researched [x] +researching outcomes of [x] +researches outcomes of [x] +researched outcomes of [x] +[sub] [is|are|was|were] researching outcomes of [x] +[sub] researches outcomes of [x] +[sub] researched outcomes of [x] +researching advances in [x] +researches advances in [x] +researched advances in [x] +[sub] [is|are|was|were] researching advances in [x] +[sub] researches advances in [x] +[sub] researched advances in [x] +learning about [x] +learns about [x] +learned about [x] +[sub] [is|are|was|were] learning about [x] +[sub] learns about [x] +[sub] learned about [x] +learning how [x] works +learns how [x] works +learned how [x] works +[sub] [is|are|was|were] learning how [x] works +[sub] learns how [x] works +[sub] learned how [x] works +attending a lecture about [x] +attends lectures about [x] +attended a lecture about [x] +[sub] [is|are|was|were] attending a lecture about [x] +[sub] attends lectures about [x] +[sub] attended a lecture about [x] +attending a professional seminar about [x] +attends professional seminars about [x] +attended a professional seminar about [x] +[sub] [is|are|was|were] attending a professional seminar about [x] +[sub] attends professional seminars about [x] +[sub] attended a professional seminar about [x] +attending a conference session about [x] +attends conference sessions about [x] +attended a conference session about [x] +[sub] [is|are|was|were] attending a conference session about [x] +[sub] attends conference sessions about [x] +[sub] attended a conference session about [x] +completing professional training about [x] +completes professional training about [x] +completed professional training about [x] +[sub] [is|are|was|were] completing professional training about [x] +[sub] completes professional training about [x] +[sub] completed professional training about [x] +watching a training video about [x] +watches a training video about [x] +watched a training video about [x] +[sub] [is|are|was|were] watching a training video about [x] +[sub] watches a training video about [x] +[sub] watched a training video about [x] +watching a documentary about [x] +watches a documentary about [x] +watched a documentary about [x] +[sub] [is|are|was|were] watching a documentary about [x] +[sub] watches a documentary about [x] +[sub] watched a documentary about [x] +listening to a podcast about [x] +listens to a podcast about [x] +listened to a podcast about [x] +[sub] [is|are|was|were] listening to a podcast about [x] +[sub] listens to a podcast about [x] +[sub] listened to a podcast about [x] +reading general information about [x] +reads general information about [x] +read general information about [x] +[sub] [is|are|was|were] reading general information about [x] +[sub] reads general information about [x] +[sub] read general information about [x] +reviewing educational material about [x] +reviews educational material about [x] +reviewed educational material about [x] +[sub] [is|are|was|were] reviewing educational material about [x] +[sub] reviews educational material about [x] +[sub] reviewed educational material about [x] +reviewing clinical literature about [x] +reviews clinical literature about [x] +reviewed clinical literature about [x] +[sub] [is|are|was|were] reviewing clinical literature about [x] +[sub] reviews clinical literature about [x] +[sub] reviewed clinical literature about [x] +reviewing published research about [x] +reviews published research about [x] +reviewed published research about [x] +[sub] [is|are|was|were] reviewing published research about [x] +[sub] reviews published research about [x] +[sub] reviewed published research about [x] +reviewing clinical guidelines for [x] +reviews clinical guidelines for [x] +reviewed clinical guidelines for [x] +[sub] [is|are|was|were] reviewing clinical guidelines for [x] +[sub] reviews clinical guidelines for [x] +[sub] reviewed clinical guidelines for [x] +reviewing a case study involving [x] +reviews a case study involving [x] +reviewed a case study involving [x] +[sub] [is|are|was|were] reviewing a case study involving [x] +[sub] reviews a case study involving [x] +[sub] reviewed a case study involving [x] +reviewing a fictional case involving [x] +reviews a fictional case involving [x] +reviewed a fictional case involving [x] +[sub] [is|are|was|were] reviewing a fictional case involving [x] +[sub] reviews a fictional case involving [x] +[sub] reviewed a fictional case involving [x] +writing an article about [x] +writes an article about [x] +wrote an article about [x] +[sub] [is|are|was|were] writing an article about [x] +[sub] writes an article about [x] +[sub] wrote an article about [x] +writing a news report about [x] +writes a news report about [x] +wrote a news report about [x] +[sub] [is|are|was|were] writing a news report about [x] +[sub] writes a news report about [x] +[sub] wrote a news report about [x] +writing a fictional story involving [x] +writes a fictional story involving [x] +wrote a fictional story involving [x] +[sub] [is|are|was|were] writing a fictional story involving [x] +[sub] writes a fictional story involving [x] +[sub] wrote a fictional story involving [x] +writing a fictional screenplay involving [x] +writes a fictional screenplay involving [x] +wrote a fictional screenplay involving [x] +[sub] [is|are|was|were] writing a fictional screenplay involving [x] +[sub] writes a fictional screenplay involving [x] +[sub] wrote a fictional screenplay involving [x] +portraying [x] in a fictional production +portrays [x] in a fictional production +portrayed [x] in a fictional production +[sub] [is|are|was|were] portraying [x] in a fictional production +[sub] portrays [x] in a fictional production +[sub] portrayed [x] in a fictional production +creating educational material about [x] +creates educational material about [x] +created educational material about [x] +[sub] [is|are|was|were] creating educational material about [x] +[sub] creates educational material about [x] +[sub] created educational material about [x] +developing training materials about [x] +develops training materials about [x] +developed training materials about [x] +[sub] [is|are|was|were] developing training materials about [x] +[sub] develops training materials about [x] +[sub] developed training materials about [x] +creating a training simulation of [x] +creates a training simulation of [x] +created a training simulation of [x] +[sub] [is|are|was|were] creating a training simulation of [x] +[sub] creates a training simulation of [x] +[sub] created a training simulation of [x] +practicing [x] in a training simulation +practices [x] in a training simulation +practiced [x] in a training simulation +[sub] [is|are|was|were] practicing [x] in a training simulation +[sub] practices [x] in a training simulation +[sub] practiced [x] in a training simulation +demonstrating [x] in a training environment +demonstrates [x] in a training environment +demonstrated [x] in a training environment +[sub] [is|are|was|were] demonstrating [x] in a training environment +[sub] demonstrates [x] in a training environment +[sub] demonstrated [x] in a training environment +teaching a class about [x] +teaches a class about [x] +taught a class about [x] +[sub] [is|are|was|were] teaching a class about [x] +[sub] teaches a class about [x] +[sub] taught a class about [x] +giving a presentation about [x] +gives a presentation about [x] +gave a presentation about [x] +[sub] [is|are|was|were] giving a presentation about [x] +[sub] gives a presentation about [x] +[sub] gave a presentation about [x] +discussing [x] during professional training +discusses [x] during professional training +discussed [x] during professional training +[sub] [is|are|was|were] discussing [x] during professional training +[sub] discusses [x] during professional training +[sub] discussed [x] during professional training +participating in a discussion about [x] +participates in a discussion about [x] +participated in a discussion about [x] +[sub] [is|are|was|were] participating in a discussion about [x] +[sub] participates in a discussion about [x] +[sub] participated in a discussion about [x] +having a general conversation about [x] +has a general conversation about [x] +had a general conversation about [x] +[sub] [is|are|was|were] having a general conversation about [x] +[sub] has a general conversation about [x] +[sub] had a general conversation about [x] +interviewing an expert about [x] +interviews an expert about [x] +interviewed an expert about [x] +[sub] [is|are|was|were] interviewing an expert about [x] +[sub] interviews an expert about [x] +[sub] interviewed an expert about [x] +comparing techniques used for [x] +compares techniques used for [x] +compared techniques used for [x] +[sub] [is|are|was|were] comparing techniques used for [x] +[sub] compares techniques used for [x] +[sub] compared techniques used for [x] +analyzing the effectiveness of [x] +analyzes the effectiveness of [x] +analyzed the effectiveness of [x] +[sub] [is|are|was|were] analyzing the effectiveness of [x] +[sub] analyzes the effectiveness of [x] +[sub] analyzed the effectiveness of [x] +analyzing statistics about [x] +analyzes statistics about [x] +analyzed statistics about [x] +[sub] [is|are|was|were] analyzing statistics about [x] +[sub] analyzes statistics about [x] +[sub] analyzed statistics about [x] +collecting public data about [x] +collects public data about [x] +collected public data about [x] +[sub] [is|are|was|were] collecting public data about [x] +[sub] collects public data about [x] +[sub] collected public data about [x] +conducting a survey about public knowledge of [x] +conducts a survey about public knowledge of [x] +conducted a survey about public knowledge of [x] +[sub] [is|are|was|were] conducting a survey about public knowledge of [x] +[sub] conducts a survey about public knowledge of [x] +[sub] conducted a survey about public knowledge of [x] +researching public access to [x] +researches public access to [x] +researched public access to [x] +[sub] [is|are|was|were] researching public access to [x] +[sub] researches public access to [x] +[sub] researched public access to [x] +reviewing public policy related to [x] +reviews public policy related to [x] +reviewed public policy related to [x] +[sub] [is|are|was|were] reviewing public policy related to [x] +[sub] reviews public policy related to [x] +[sub] reviewed public policy related to [x] +advocating for access to [x] +advocates for access to [x] +advocated for access to [x] +[sub] [is|are|was|were] advocating for access to [x] +[sub] advocates for access to [x] +[sub] advocated for access to [x] +promoting public awareness of [x] +promotes public awareness of [x] +promoted public awareness of [x] +[sub] [is|are|was|were] promoting public awareness of [x] +[sub] promotes public awareness of [x] +[sub] promoted public awareness of [x] +organizing a public-information campaign about [x] +organizes a public-information campaign about [x] +organized a public-information campaign about [x] +[sub] [is|are|was|were] organizing a public-information campaign about [x] +[sub] organizes a public-information campaign about [x] +[sub] organized a public-information campaign about [x] +supporting organizations that improve access to [x] +supports organizations that improve access to [x] +supported organizations that improve access to [x] +[sub] [is|are|was|were] supporting organizations that improve access to [x] +[sub] supports organizations that improve access to [x] +[sub] supported organizations that improve access to [x] +raising money for research involving [x] +raises money for research involving [x] +raised money for research involving [x] +[sub] [is|are|was|were] raising money for research involving [x] +[sub] raises money for research involving [x] +[sub] raised money for research involving [x] +collecting donations for organizations supporting [x] +collects donations for organizations supporting [x] +collected donations for organizations supporting [x] +[sub] [is|are|was|were] collecting donations for organizations supporting [x] +[sub] collects donations for organizations supporting [x] +[sub] collected donations for organizations supporting [x] +volunteering at an awareness event about [x] +volunteers at awareness events about [x] +volunteered at an awareness event about [x] +[sub] [is|are|was|were] volunteering at an awareness event about [x] +[sub] volunteers at awareness events about [x] +[sub] volunteered at an awareness event about [x] +working with researchers studying [x] +works with researchers studying [x] +worked with researchers studying [x] +[sub] [is|are|was|were] working with researchers studying [x] +[sub] works with researchers studying [x] +[sub] worked with researchers studying [x] diff --git a/PHI.Data.Generator/RLHF.Generator/Data/Patterns/MEDICAL_PROCEDURE.positive.txt b/PHI.Data.Generator/RLHF.Generator/Data/Patterns/MEDICAL_PROCEDURE.positive.txt new file mode 100644 index 0000000..218d677 --- /dev/null +++ b/PHI.Data.Generator/RLHF.Generator/Data/Patterns/MEDICAL_PROCEDURE.positive.txt @@ -0,0 +1,207 @@ +[x] +undergoing [x] +undergoes [x] +underwent [x] +[sub] [is|are|was|were] undergoing [x] +[sub] undergoes [x] +[sub] underwent [x] +has undergone [x] +had undergone [x] +[sub] [has|have] undergone [x] +[sub] had undergone [x] +had [x] +[sub] [has|have] [x] +[sub] had [x] +received [x] +receives [x] +receiving [x] +[sub] received [x] +[sub] receives [x] +[sub] [is|are|was|were] receiving [x] +completed [x] +completes [x] +completing [x] +[sub] completed [x] +[sub] completes [x] +[sub] [is|are|was|were] completing [x] +scheduled for [x] +is scheduled for [x] +was scheduled for [x] +[sub] [is|are|was|were] scheduled for [x] +scheduled to undergo [x] +[sub] [is|are|was|were] scheduled to undergo [x] +will undergo [x] +[sub] will undergo [x] +plans to undergo [x] +planned to undergo [x] +planning to undergo [x] +[sub] plans to undergo [x] +[sub] planned to undergo [x] +[sub] [is|are|was|were] planning to undergo [x] +preparing for [x] +prepared for [x] +prepares for [x] +[sub] [is|are|was|were] preparing for [x] +[sub] prepared for [x] +[sub] prepares for [x] +awaiting [x] +awaited [x] +awaits [x] +[sub] [is|are|was|were] awaiting [x] +[sub] awaited [x] +[sub] awaits [x] +referred for [x] +was referred for [x] +[sub] [is|are|was|were] referred for [x] +recommended for [x] +was recommended for [x] +[sub] [is|are|was|were] recommended for [x] +advised to undergo [x] +was advised to undergo [x] +[sub] [is|are|was|were] advised to undergo [x] +needs [x] +needed [x] +[sub] needs [x] +[sub] needed [x] +requires [x] +required [x] +[sub] requires [x] +[sub] required [x] +approved for [x] +was approved for [x] +[sub] [is|are|was|were] approved for [x] +cleared for [x] +was cleared for [x] +[sub] [is|are|was|were] cleared for [x] +not cleared for [x] +was not cleared for [x] +[sub] [is|are|was|were] not cleared for [x] +admitted for [x] +was admitted for [x] +[sub] [is|are|was|were] admitted for [x] +hospitalized for [x] +was hospitalized for [x] +[sub] [is|are|was|were] hospitalized for [x] +consented to [x] +consents to [x] +consenting to [x] +[sub] consented to [x] +[sub] consents to [x] +[sub] [is|are|was|were] consenting to [x] +gave consent for [x] +gives consent for [x] +giving consent for [x] +[sub] gave consent for [x] +[sub] gives consent for [x] +[sub] [is|are|was|were] giving consent for [x] +signed consent for [x] +signs consent for [x] +signing consent for [x] +[sub] signed consent for [x] +[sub] signs consent for [x] +[sub] [is|are|was|were] signing consent for [x] +declined [x] +declines [x] +declining [x] +[sub] declined [x] +[sub] declines [x] +[sub] [is|are|was|were] declining [x] +refused [x] +refuses [x] +refusing [x] +[sub] refused [x] +[sub] refuses [x] +[sub] [is|are|was|were] refusing [x] +canceled [x] +cancels [x] +canceling [x] +[sub] canceled [x] +[sub] cancels [x] +[sub] [is|are|was|were] canceling [x] +postponed [x] +postpones [x] +postponing [x] +[sub] postponed [x] +[sub] postpones [x] +[sub] [is|are|was|were] postponing [x] +[x] was canceled +[x] was postponed +[sub] had [x] canceled +[sub] had [x] postponed +recovering from [x] +recovered from [x] +is recovering from [x] +[sub] [is|are|was|were] recovering from [x] +[sub] recovered from [x] +recovering after [x] +recovered after [x] +[sub] [is|are|was|were] recovering after [x] +[sub] recovered after [x] +in recovery after [x] +[sub] [is|are|was|were] in recovery after [x] +postoperative recovery from [x] +[sub] [is|are|was|were] in postoperative recovery from [x] +healing after [x] +healed after [x] +[sub] [is|are|was|were] healing after [x] +[sub] healed after [x] +follow-up after [x] +receives follow-up care after [x] +received follow-up care after [x] +[sub] receives follow-up care after [x] +[sub] received follow-up care after [x] +[sub] [is|are|was|were] receiving follow-up care after [x] +follow-up scheduled after [x] +[sub] [has|have] follow-up scheduled after [x] +discharged after [x] +was discharged after [x] +[sub] [is|are|was|were] discharged after [x] +complications after [x] +experienced complications after [x] +experiencing complications after [x] +[sub] experienced complications after [x] +[sub] [is|are|was|were] experiencing complications after [x] +complication from [x] +developed a complication from [x] +[sub] developed a complication from [x] +pain after [x] +experienced pain after [x] +experiencing pain after [x] +[sub] experienced pain after [x] +[sub] [is|are|was|were] experiencing pain after [x] +has a history of [x] +had a history of [x] +history of [x] +prior history of [x] +known history of [x] +documented history of [x] +[sub] [has|have] a history of [x] +[sub] had a history of [x] +[sub] [has|have] a prior history of [x] +[sub] had a prior history of [x] +[sub] [has|have] a known history of [x] +[sub] had a known history of [x] +[sub] [has|have] a documented history of [x] +[sub] had a documented history of [x] +previous [x] +prior [x] +previously underwent [x] +[sub] previously underwent [x] +status post [x] +[sub] [is|are|was|were] status post [x] +reports undergoing [x] +reported undergoing [x] +[sub] reports undergoing [x] +[sub] reported undergoing [x] +reports having undergone [x] +reported having undergone [x] +[sub] reports having undergone [x] +[sub] reported having undergone [x] +denies undergoing [x] +denied undergoing [x] +[sub] denies undergoing [x] +[sub] denied undergoing [x] +denies a history of [x] +denied a history of [x] +[sub] denies a history of [x] +[sub] denied a history of [x] diff --git a/PHI.Data.Generator/RLHF.Generator/Data/Patterns/MEDICAL_SUBSTANCE_USE.negative.txt b/PHI.Data.Generator/RLHF.Generator/Data/Patterns/MEDICAL_SUBSTANCE_USE.negative.txt new file mode 100644 index 0000000..0495f3d --- /dev/null +++ b/PHI.Data.Generator/RLHF.Generator/Data/Patterns/MEDICAL_SUBSTANCE_USE.negative.txt @@ -0,0 +1,379 @@ +researching community resources for [x] +researched community resources for [x] +[sub] [is|are|was|were] researching community resources for [x] +[sub] researches community resources for [x] +[sub] researched community resources for [x] +creating an educational program about [x] +created an educational program about [x] +[sub] [is|are|was|were] creating an educational program about [x] +[sub] creates an educational program about [x] +[sub] created an educational program about [x] +organizing an awareness event for [x] +organized an awareness event for [x] +[sub] [is|are|was|were] organizing an awareness event for [x] +[sub] organizes an awareness event for [x] +[sub] organized an awareness event for [x] +reading a general article about [x] +read a general article about [x] +[sub] [is|are|was|were] reading a general article about [x] +[sub] reads a general article about [x] +[sub] read a general article about [x] +portraying [x] in a fictional screenplay +portrayed [x] in a fictional screenplay +[sub] [is|are|was|were] portraying [x] in a fictional screenplay +[sub] portrays [x] in a fictional screenplay +[sub] portrayed [x] in a fictional screenplay +researching [x] +researched [x] +[sub] [is|are|was|were] researching [x] +[sub] researches [x] +[sub] researched [x] +attending lectures about [x] +attends lectures about [x] +attended a lecture about [x] +[sub] [is|are|was|were] attending a lecture about [x] +[sub] attends lectures about [x] +[sub] attended a lecture about [x] +organizing [a|an] [x] awareness campaign +organizes [a|an] [x] awareness campaign +organized [a|an] [x] awareness campaign +[sub] [is|are|was|were] organizing [a|an] [x] awareness campaign +[sub] organizes [a|an] [x] awareness campaign +[sub] organized [a|an] [x] awareness campaign +reading a news report about [x] +reads a news report about [x] +read a news report about [x] +[sub] [is|are|was|were] reading a news report about [x] +[sub] reads a news report about [x] +[sub] read a news report about [x] +writing a fictional story involving [x] +writes a fictional story involving [x] +wrote a fictional story involving [x] +[sub] [is|are|was|were] writing a fictional story involving [x] +[sub] writes a fictional story involving [x] +[sub] wrote a fictional story involving [x] +donating to [x] research +donates to [x] research +donated to [x] research +[sub] [is|are|was|were] donating to [x] research +[sub] donates to [x] research +[sub] donated to [x] research +raising money for [x] research +raises money for [x] research +raised money for [x] research +[sub] [is|are|was|were] raising money for [x] research +[sub] raises money for [x] research +[sub] raised money for [x] research +attending fundraisers for [x] research +attends fundraisers for [x] research +attended a fundraiser for [x] research +[sub] [is|are|was|were] attending fundraisers for [x] research +[sub] attends fundraisers for [x] research +[sub] attended a fundraiser for [x] research +promoting [x] awareness +promotes [x] awareness +promoted [x] awareness +[sub] [is|are|was|were] promoting [x] awareness +[sub] promotes [x] awareness +[sub] promoted [x] awareness +involved with [x] research +[sub] [is|are|was|were] involved with [x] research +[sub] was involved with [x] research +studying [x] +studies [x] +studied [x] +[sub] [is|are|was|were] studying [x] +[sub] studies [x] +[sub] studied [x] +learning about [x] +learns about [x] +learned about [x] +[sub] [is|are|was|were] learning about [x] +[sub] learns about [x] +[sub] learned about [x] +creating educational material about [x] +creates educational material about [x] +created educational material about [x] +[sub] [is|are|was|were] creating educational material about [x] +[sub] creates educational material about [x] +[sub] created educational material about [x] +reviewing educational material about [x] +reviews educational material about [x] +reviewed educational material about [x] +[sub] [is|are|was|were] reviewing educational material about [x] +[sub] reviews educational material about [x] +[sub] reviewed educational material about [x] +completing professional training about [x] +completes professional training about [x] +completed professional training about [x] +[sub] [is|are|was|were] completing professional training about [x] +[sub] completes professional training about [x] +[sub] completed professional training about [x] +attending professional training about [x] +attends professional training about [x] +attended professional training about [x] +[sub] [is|are|was|were] attending professional training about [x] +[sub] attends professional training about [x] +[sub] attended professional training about [x] +preparing a presentation about [x] +prepares a presentation about [x] +prepared a presentation about [x] +[sub] [is|are|was|were] preparing a presentation about [x] +[sub] prepares a presentation about [x] +[sub] prepared a presentation about [x] +giving a presentation about [x] +gives a presentation about [x] +gave a presentation about [x] +[sub] [is|are|was|were] giving a presentation about [x] +[sub] gives a presentation about [x] +[sub] gave a presentation about [x] +participating in a discussion about [x] +participates in a discussion about [x] +participated in a discussion about [x] +[sub] [is|are|was|were] participating in a discussion about [x] +[sub] participates in a discussion about [x] +[sub] participated in a discussion about [x] +having a conversation about [x] +has a conversation about [x] +had a conversation about [x] +[sub] [is|are|was|were] having a conversation about [x] +[sub] has a conversation about [x] +[sub] had a conversation about [x] +attending a conference session about [x] +attends a conference session about [x] +attended a conference session about [x] +[sub] [is|are|was|were] attending a conference session about [x] +[sub] attends a conference session about [x] +[sub] attended a conference session about [x] +watching a documentary about [x] +watches a documentary about [x] +watched a documentary about [x] +[sub] [is|are|was|were] watching a documentary about [x] +[sub] watches a documentary about [x] +[sub] watched a documentary about [x] +listening to a podcast about [x] +listens to a podcast about [x] +listened to a podcast about [x] +[sub] [is|are|was|were] listening to a podcast about [x] +[sub] listens to a podcast about [x] +[sub] listened to a podcast about [x] +writing an article about [x] +writes an article about [x] +wrote an article about [x] +[sub] [is|are|was|were] writing an article about [x] +[sub] writes an article about [x] +[sub] wrote an article about [x] +reviewing a case study involving [x] +reviews a case study involving [x] +reviewed a case study involving [x] +[sub] [is|are|was|were] reviewing a case study involving [x] +[sub] reviews a case study involving [x] +[sub] reviewed a case study involving [x] +writing about a fictional character with [x] +writes about a fictional character with [x] +wrote about a fictional character with [x] +[sub] [is|are|was|were] writing about a fictional character with [x] +[sub] writes about a fictional character with [x] +[sub] wrote about a fictional character with [x] +supporting organizations researching [x] +supports organizations researching [x] +supported an organization researching [x] +[sub] [is|are|was|were] supporting organizations researching [x] +[sub] supports organizations researching [x] +[sub] supported an organization researching [x] +volunteering for [x] awareness +volunteers for [x] awareness +volunteered for [x] awareness +[sub] [is|are|was|were] volunteering for [x] awareness +[sub] volunteers for [x] awareness +[sub] volunteered for [x] awareness +advocating for more research into [x] +advocates for more research into [x] +advocated for more research into [x] +[sub] [is|are|was|were] advocating for more research into [x] +[sub] advocates for more research into [x] +[sub] advocated for more research into [x] +collecting donations for [x] research +collects donations for [x] research +collected donations for [x] research +[sub] [is|are|was|were] collecting donations for [x] research +[sub] collects donations for [x] research +[sub] collected donations for [x] research +developing training materials about [x] +develops training materials about [x] +developed training materials about [x] +[sub] [is|are|was|were] developing training materials about [x] +[sub] develops training materials about [x] +[sub] developed training materials about [x] +reviewing mental health literature about [x] +reviews mental health literature about [x] +reviewed mental health literature about [x] +[sub] [is|are|was|were] reviewing mental health literature about [x] +[sub] reviews mental health literature about [x] +[sub] reviewed mental health literature about [x] +teaching a class about [x] +teaches a class about [x] +taught a class about [x] +[sub] [is|are|was|were] teaching a class about [x] +[sub] teaches a class about [x] +[sub] taught a class about [x] +working with researchers studying [x] +works with researchers studying [x] +worked with researchers studying [x] +[sub] [is|are|was|were] working with researchers studying [x] +[sub] works with researchers studying [x] +[sub] worked with researchers studying [x] +requesting general information about [x] +requests general information about [x] +requested general information about [x] +[sub] [is|are|was|were] requesting general information about [x] +[sub] requests general information about [x] +[sub] requested general information about [x] +promoting public awareness of [x] +promotes public awareness of [x] +promoted public awareness of [x] +[sub] [is|are|was|were] promoting public awareness of [x] +[sub] promotes public awareness of [x] +[sub] promoted public awareness of [x] +researching support services for people with [x] +researches support services for people with [x] +researched support services for people with [x] +[sub] [is|are|was|were] researching support services for people with [x] +[sub] researches support services for people with [x] +[sub] researched support services for people with [x] +creating a directory of resources for [x] +creates a directory of resources for [x] +created a directory of resources for [x] +[sub] [is|are|was|were] creating a directory of resources for [x] +[sub] creates a directory of resources for [x] +[sub] created a directory of resources for [x] +sharing general resources about [x] +shares general resources about [x] +shared general resources about [x] +[sub] [is|are|was|were] sharing general resources about [x] +[sub] shares general resources about [x] +[sub] shared general resources about [x] +developing a public-information campaign about [x] +develops a public-information campaign about [x] +developed a public-information campaign about [x] +[sub] [is|are|was|were] developing a public-information campaign about [x] +[sub] develops a public-information campaign about [x] +[sub] developed a public-information campaign about [x] +planning a community event about [x] +plans a community event about [x] +planned a community event about [x] +[sub] [is|are|was|were] planning a community event about [x] +[sub] plans a community event about [x] +[sub] planned a community event about [x] +moderating a discussion about [x] +moderates a discussion about [x] +moderated a discussion about [x] +[sub] [is|are|was|were] moderating a discussion about [x] +[sub] moderates a discussion about [x] +[sub] moderated a discussion about [x] +interviewing an expert about [x] +interviews an expert about [x] +interviewed an expert about [x] +[sub] [is|are|was|were] interviewing an expert about [x] +[sub] interviews an expert about [x] +[sub] interviewed an expert about [x] +reporting on public policy related to [x] +reports on public policy related to [x] +reported on public policy related to [x] +[sub] [is|are|was|were] reporting on public policy related to [x] +[sub] reports on public policy related to [x] +[sub] reported on public policy related to [x] +reviewing public policy related to [x] +reviews public policy related to [x] +reviewed public policy related to [x] +[sub] [is|are|was|were] reviewing public policy related to [x] +[sub] reviews public policy related to [x] +[sub] reviewed public policy related to [x] +analyzing statistics about [x] +analyzes statistics about [x] +analyzed statistics about [x] +[sub] [is|are|was|were] analyzing statistics about [x] +[sub] analyzes statistics about [x] +[sub] analyzed statistics about [x] +collecting public data about [x] +collects public data about [x] +collected public data about [x] +[sub] [is|are|was|were] collecting public data about [x] +[sub] collects public data about [x] +[sub] collected public data about [x] +conducting a survey about public understanding of [x] +conducts a survey about public understanding of [x] +conducted a survey about public understanding of [x] +[sub] [is|are|was|were] conducting a survey about public understanding of [x] +[sub] conducts a survey about public understanding of [x] +[sub] conducted a survey about public understanding of [x] +designing informational materials about [x] +designs informational materials about [x] +designed informational materials about [x] +[sub] [is|are|was|were] designing informational materials about [x] +[sub] designs informational materials about [x] +[sub] designed informational materials about [x] +editing a documentary about [x] +edits a documentary about [x] +edited a documentary about [x] +[sub] [is|are|was|were] editing a documentary about [x] +[sub] edits a documentary about [x] +[sub] edited a documentary about [x] +producing a podcast episode about [x] +produces a podcast episode about [x] +produced a podcast episode about [x] +[sub] [is|are|was|were] producing a podcast episode about [x] +[sub] produces a podcast episode about [x] +[sub] produced a podcast episode about [x] +performing in a play involving [x] +performs in a play involving [x] +performed in a play involving [x] +[sub] [is|are|was|were] performing in a play involving [x] +[sub] performs in a play involving [x] +[sub] performed in a play involving [x] +acting as a fictional character with [x] +acted as a fictional character with [x] +[sub] [is|are|was|were] acting as a fictional character with [x] +[sub] acted as a fictional character with [x] +reading a novel featuring a character with [x] +reads a novel featuring a character with [x] +read a novel featuring a character with [x] +[sub] [is|are|was|were] reading a novel featuring a character with [x] +[sub] reads a novel featuring a character with [x] +[sub] read a novel featuring a character with [x] +writing a screenplay about a fictional person with [x] +writes a screenplay about a fictional person with [x] +wrote a screenplay about a fictional person with [x] +[sub] [is|are|was|were] writing a screenplay about a fictional person with [x] +[sub] writes a screenplay about a fictional person with [x] +[sub] wrote a screenplay about a fictional person with [x] +training staff to recognize signs of [x] +trains staff to recognize signs of [x] +trained staff to recognize signs of [x] +[sub] [is|are|was|were] training staff to recognize signs of [x] +[sub] trains staff to recognize signs of [x] +[sub] trained staff to recognize signs of [x] +developing workplace guidance about [x] +develops workplace guidance about [x] +developed workplace guidance about [x] +[sub] [is|are|was|were] developing workplace guidance about [x] +[sub] develops workplace guidance about [x] +[sub] developed workplace guidance about [x] +reviewing clinical guidelines for [x] +reviews clinical guidelines for [x] +reviewed clinical guidelines for [x] +[sub] [is|are|was|were] reviewing clinical guidelines for [x] +[sub] reviews clinical guidelines for [x] +[sub] reviewed clinical guidelines for [x] +studying treatment approaches for [x] +studies treatment approaches for [x] +studied treatment approaches for [x] +[sub] [is|are|was|were] studying treatment approaches for [x] +[sub] studies treatment approaches for [x] +[sub] studied treatment approaches for [x] +comparing research findings about [x] +compares research findings about [x] +compared research findings about [x] +[sub] [is|are|was|were] comparing research findings about [x] +[sub] compares research findings about [x] +[sub] compared research findings about [x] \ No newline at end of file diff --git a/PHI.Data.Generator/RLHF.Generator/Data/Patterns/MEDICAL_SUBSTANCE_USE.positive.txt b/PHI.Data.Generator/RLHF.Generator/Data/Patterns/MEDICAL_SUBSTANCE_USE.positive.txt new file mode 100644 index 0000000..944ab92 --- /dev/null +++ b/PHI.Data.Generator/RLHF.Generator/Data/Patterns/MEDICAL_SUBSTANCE_USE.positive.txt @@ -0,0 +1,393 @@ +uses [x] +used [x] +using [x] +[sub] uses [x] +[sub] used [x] +[sub] [is|are|was|were] using [x] +currently uses [x] +currently using [x] +[sub] currently uses [x] +[sub] [is|are|was|were] currently using [x] +reports using [x] +reported using [x] +reporting use of [x] +[sub] reports using [x] +[sub] reported using [x] +[sub] [is|are|was|were] reporting use of [x] +admits using [x] +admitted using [x] +admitting use of [x] +[sub] admits using [x] +[sub] admitted using [x] +[sub] [is|are|was|were] admitting use of [x] +acknowledges using [x] +acknowledged using [x] +[sub] acknowledges using [x] +[sub] acknowledged using [x] +substance use involving [x] +current use of [x] +recent use of [x] +ongoing use of [x] +previous use of [x] +past use of [x] +[sub] reports current use of [x] +[sub] reported recent use of [x] +[sub] reports ongoing use of [x] +[sub] reported previous use of [x] +has a history of using [x] +had a history of using [x] +history of [x] use +known history of [x] use +documented history of [x] use +prior history of [x] use +[sub] [has|have|had] a history of using [x] +[sub] [has|have|had] a history of [x] use +[sub] [has|have|had] a known history of [x] use +[sub] [has|have|had] a documented history of [x] use +previously used [x] +formerly used [x] +[sub] previously used [x] +[sub] formerly used [x] +tried [x] +has tried [x] +had tried [x] +[sub] tried [x] +[sub] [has|have] tried [x] +[sub] had tried [x] +experimented with [x] +experiments with [x] +experimenting with [x] +[sub] experimented with [x] +[sub] experiments with [x] +[sub] [is|are|was|were] experimenting with [x] +consumes [x] +consumed [x] +consuming [x] +[sub] consumes [x] +[sub] consumed [x] +[sub] [is|are|was|were] consuming [x] +drinks [x] +drank [x] +drinking [x] +[sub] drinks [x] +[sub] drank [x] +[sub] [is|are|was|were] drinking [x] +smokes [x] +smoked [x] +smoking [x] +[sub] smokes [x] +[sub] smoked [x] +[sub] [is|are|was|were] smoking [x] +vapes [x] +vaped [x] +vaping [x] +[sub] vapes [x] +[sub] vaped [x] +[sub] [is|are|was|were] vaping [x] +inhales [x] +inhaled [x] +inhaling [x] +[sub] inhales [x] +[sub] inhaled [x] +[sub] [is|are|was|were] inhaling [x] +injects [x] +injected [x] +injecting [x] +[sub] injects [x] +[sub] injected [x] +[sub] [is|are|was|were] injecting [x] +takes [x] recreationally +took [x] recreationally +taking [x] recreationally +[sub] takes [x] recreationally +[sub] took [x] recreationally +[sub] [is|are|was|were] taking [x] recreationally +uses [x] recreationally +used [x] recreationally +using [x] recreationally +[sub] uses [x] recreationally +[sub] used [x] recreationally +[sub] [is|are|was|were] using [x] recreationally +uses [x] socially +used [x] socially +using [x] socially +[sub] uses [x] socially +[sub] used [x] socially +[sub] [is|are|was|were] using [x] socially +uses [x] occasionally +used [x] occasionally +[sub] uses [x] occasionally +[sub] used [x] occasionally +uses [x] regularly +used [x] regularly +[sub] uses [x] regularly +[sub] used [x] regularly +uses [x] daily +used [x] daily +[sub] uses [x] daily +[sub] used [x] daily +uses [x] weekly +used [x] weekly +[sub] uses [x] weekly +[sub] used [x] weekly +frequent use of [x] +daily use of [x] +weekly use of [x] +occasional use of [x] +regular use of [x] +heavy use of [x] +[sub] reports frequent use of [x] +[sub] reports daily use of [x] +[sub] reported weekly use of [x] +[sub] reports occasional use of [x] +[sub] reported regular use of [x] +[sub] reports heavy use of [x] +increased use of [x] +decreased use of [x] +[sub] increased use of [x] +[sub] decreased use of [x] +using more [x] +using less [x] +[sub] [is|are|was|were] using more [x] +[sub] [is|are|was|were] using less [x] +cutting back on [x] +cut back on [x] +[sub] [is|are|was|were] cutting back on [x] +[sub] cut back on [x] +reduced use of [x] +reducing use of [x] +[sub] reduced use of [x] +[sub] [is|are|was|were] reducing use of [x] +misuses [x] +misused [x] +misusing [x] +[sub] misuses [x] +[sub] misused [x] +[sub] [is|are|was|were] misusing [x] +nonmedical use of [x] +recreational use of [x] +[sub] reports nonmedical use of [x] +[sub] reported recreational use of [x] +uses [x] without a prescription +used [x] without a prescription +[sub] uses [x] without a prescription +[sub] used [x] without a prescription +takes more [x] than directed +took more [x] than directed +[sub] takes more [x] than directed +[sub] took more [x] than directed +has difficulty controlling [x] use +had difficulty controlling [x] use +[sub] [has|have] difficulty controlling [x] use +[sub] had difficulty controlling [x] use +unable to control [x] use +was unable to control [x] use +[sub] [is|are|was|were] unable to control [x] use +problematic use of [x] +harmful use of [x] +compulsive use of [x] +[sub] reports problematic use of [x] +[sub] reported harmful use of [x] +[sub] reports compulsive use of [x] +dependent on [x] +was dependent on [x] +[sub] [is|are|was|were] dependent on [x] +dependence on [x] +history of dependence on [x] +[sub] [has|have|had] a history of dependence on [x] +addicted to [x] +was addicted to [x] +[sub] [is|are|was|were] addicted to [x] +addiction involving [x] +history of addiction involving [x] +[sub] [has|have|had] a history of addiction involving [x] +substance use disorder involving [x] +diagnosed with [x] use disorder +was diagnosed with [x] use disorder +[sub] [has|have] [a|an] [x] use disorder +[sub] had [a|an] [x] use disorder +[sub] was diagnosed with [a|an] [x] use disorder +intoxicated from [x] +was intoxicated from [x] +[sub] [is|are|was|were] intoxicated from [x] +under the influence of [x] +was under the influence of [x] +[sub] [is|are|was|were] under the influence of [x] +impairment from [x] +impaired by [x] +was impaired by [x] +[sub] [is|are|was|were] impaired by [x] +experienced intoxication from [x] +experiencing intoxication from [x] +[sub] experienced intoxication from [x] +[sub] [is|are|was|were] experiencing intoxication from [x] +withdrawal from [x] +experiences withdrawal from [x] +experienced withdrawal from [x] +experiencing withdrawal from [x] +[sub] experiences withdrawal from [x] +[sub] experienced withdrawal from [x] +[sub] [is|are|was|were] experiencing withdrawal from [x] +withdrawal symptoms from [x] +[sub] reports withdrawal symptoms from [x] +[sub] reported withdrawal symptoms from [x] +[sub] [is|are|was|were] experiencing withdrawal symptoms from [x] +cravings for [x] +has cravings for [x] +had cravings for [x] +experiences cravings for [x] +experienced cravings for [x] +[sub] [has|have] cravings for [x] +[sub] had cravings for [x] +[sub] experiences cravings for [x] +[sub] experienced cravings for [x] +[sub] [is|are|was|were] experiencing cravings for [x] +tolerance to [x] +developed tolerance to [x] +[sub] [has|have] a tolerance to [x] +[sub] had a tolerance to [x] +[sub] developed a tolerance to [x] +needs more [x] to get the same effect +needed more [x] to get the same effect +[sub] needs more [x] to get the same effect +[sub] needed more [x] to get the same effect +overdosed on [x] +overdose involving [x] +experienced an overdose involving [x] +[sub] overdosed on [x] +[sub] experienced an overdose involving [x] +recovering from an overdose involving [x] +[sub] [is|are|was|were] recovering from an overdose involving [x] +hospitalized after using [x] +was hospitalized after using [x] +[sub] [is|are|was|were] hospitalized after using [x] +received emergency care after using [x] +[sub] received emergency care after using [x] +tested positive for [x] +[sub] tested positive for [x] +positive screening result for [x] +[sub] received a positive screening result for [x] +screened positive for [x] use +[sub] screened positive for [x] use +tested negative for [x] +[sub] tested negative for [x] +negative screening result for [x] +[sub] received a negative screening result for [x] +screened negative for [x] use +[sub] screened negative for [x] use +denies using [x] +denied using [x] +[sub] denies using [x] +[sub] denied using [x] +denies current use of [x] +denied current use of [x] +[sub] denies current use of [x] +[sub] denied current use of [x] +denies past use of [x] +denied past use of [x] +[sub] denies past use of [x] +[sub] denied past use of [x] +reports no use of [x] +reported no use of [x] +[sub] reports no use of [x] +[sub] reported no use of [x] +has never used [x] +had never used [x] +[sub] [has|have] never used [x] +[sub] had never used [x] +stopped using [x] +stops using [x] +stopping use of [x] +[sub] stopped using [x] +[sub] stops using [x] +[sub] [is|are|was|were] stopping use of [x] +quit using [x] +quits using [x] +quitting [x] +[sub] quit using [x] +[sub] quits using [x] +[sub] [is|are|was|were] quitting [x] +no longer uses [x] +no longer using [x] +[sub] no longer uses [x] +[sub] [is|are|was|were] no longer using [x] +abstains from [x] +abstained from [x] +abstaining from [x] +[sub] abstains from [x] +[sub] abstained from [x] +[sub] [is|are|was|were] abstaining from [x] +avoids [x] +avoided [x] +[sub] avoids [x] +[sub] avoided [x] +sober from [x] +has remained sober from [x] +[sub] [is|are|was|were] sober from [x] +[sub] [has|have] remained sober from [x] +in recovery from [x] use +was in recovery from [x] use +[sub] [is|are|was|were] in recovery from [x] use +recovering from [x] use +recovered from [x] use +[sub] [is|are|was|were] recovering from [x] use +[sub] recovered from [x] use +seeks help for [x] use +sought help for [x] use +seeking help for [x] use +[sub] seeks help for [x] use +[sub] sought help for [x] use +[sub] [is|are|was|were] seeking help for [x] use +receives treatment for [x] use +received treatment for [x] use +receiving treatment for [x] use +[sub] receives treatment for [x] use +[sub] received treatment for [x] use +[sub] [is|are|was|were] receiving treatment for [x] use +in treatment for [x] use +was in treatment for [x] use +[sub] [is|are|was|were] in treatment for [x] use +entered treatment for [x] use +enters treatment for [x] use +[sub] entered treatment for [x] use +[sub] enters treatment for [x] use +completed treatment for [x] use +completes treatment for [x] use +[sub] completed treatment for [x] use +[sub] completes treatment for [x] use +attends counseling for [x] use +attended counseling for [x] use +attending counseling for [x] use +[sub] attends counseling for [x] use +[sub] attended counseling for [x] use +[sub] [is|are|was|were] attending counseling for [x] use +attends a recovery program for [x] use +attended a recovery program for [x] use +[sub] attends a recovery program for [x] use +[sub] attended a recovery program for [x] use +receives support for [x] use +received support for [x] use +receiving support for [x] use +[sub] receives support for [x] use +[sub] received support for [x] use +[sub] [is|are|was|were] receiving support for [x] use +relapsed on [x] +relapse involving [x] +experienced a relapse involving [x] +[sub] relapsed on [x] +[sub] experienced a relapse involving [x] +[sub] [is|are|was|were] experiencing a relapse involving [x] +returned to using [x] +resumed using [x] +[sub] returned to using [x] +[sub] resumed using [x] +at risk of relapse involving [x] +[sub] [is|are|was|were] at risk of relapse involving [x] +maintains abstinence from [x] +maintained abstinence from [x] +[sub] maintains abstinence from [x] +[sub] maintained abstinence from [x] +reports continued abstinence from [x] +reported continued abstinence from [x] +[sub] reports continued abstinence from [x] +[sub] reported continued abstinence from [x] \ No newline at end of file diff --git a/PHI.Data.Generator/RLHF.Generator/Data/Patterns/MEDICAL_SYMPTOM.negative.txt b/PHI.Data.Generator/RLHF.Generator/Data/Patterns/MEDICAL_SYMPTOM.negative.txt new file mode 100644 index 0000000..6e98e80 --- /dev/null +++ b/PHI.Data.Generator/RLHF.Generator/Data/Patterns/MEDICAL_SYMPTOM.negative.txt @@ -0,0 +1,432 @@ +researching [x] +researches [x] +researched [x] +[sub] [is|are|was|were] researching [x] +[sub] researches [x] +[sub] researched [x] +researching causes of [x] +researches causes of [x] +researched causes of [x] +[sub] [is|are|was|were] researching causes of [x] +[sub] researches causes of [x] +[sub] researched causes of [x] +researching treatments for [x] +researches treatments for [x] +researched treatments for [x] +[sub] [is|are|was|were] researching treatments for [x] +[sub] researches treatments for [x] +[sub] researched treatments for [x] +researching how [x] is evaluated +researches how [x] is evaluated +researched how [x] is evaluated +[sub] [is|are|was|were] researching how [x] is evaluated +[sub] researches how [x] is evaluated +[sub] researched how [x] is evaluated +studying [x] +studies [x] +studied [x] +[sub] [is|are|was|were] studying [x] +[sub] studies [x] +[sub] studied [x] +studying patterns of [x] +studies patterns of [x] +studied patterns of [x] +[sub] [is|are|was|were] studying patterns of [x] +[sub] studies patterns of [x] +[sub] studied patterns of [x] +studying risk factors associated with [x] +studies risk factors associated with [x] +studied risk factors associated with [x] +[sub] [is|are|was|were] studying risk factors associated with [x] +[sub] studies risk factors associated with [x] +[sub] studied risk factors associated with [x] +learning about [x] +learns about [x] +learned about [x] +[sub] [is|are|was|were] learning about [x] +[sub] learns about [x] +[sub] learned about [x] +learning how to recognize [x] +learns how to recognize [x] +learned how to recognize [x] +[sub] [is|are|was|were] learning how to recognize [x] +[sub] learns how to recognize [x] +[sub] learned how to recognize [x] +reading general information about [x] +reads general information about [x] +read general information about [x] +[sub] [is|are|was|were] reading general information about [x] +[sub] reads general information about [x] +[sub] read general information about [x] +reading an article about [x] +reads an article about [x] +read an article about [x] +[sub] [is|are|was|were] reading an article about [x] +[sub] reads an article about [x] +[sub] read an article about [x] +reading a news report about [x] +reads a news report about [x] +read a news report about [x] +[sub] [is|are|was|were] reading a news report about [x] +[sub] reads a news report about [x] +[sub] read a news report about [x] +reviewing educational material about [x] +reviews educational material about [x] +reviewed educational material about [x] +[sub] [is|are|was|were] reviewing educational material about [x] +[sub] reviews educational material about [x] +[sub] reviewed educational material about [x] +reviewing medical literature about [x] +reviews medical literature about [x] +reviewed medical literature about [x] +[sub] [is|are|was|were] reviewing medical literature about [x] +[sub] reviews medical literature about [x] +[sub] reviewed medical literature about [x] +reviewing research findings about [x] +reviews research findings about [x] +reviewed research findings about [x] +[sub] [is|are|was|were] reviewing research findings about [x] +[sub] reviews research findings about [x] +[sub] reviewed research findings about [x] +reviewing clinical guidelines related to [x] +reviews clinical guidelines related to [x] +reviewed clinical guidelines related to [x] +[sub] [is|are|was|were] reviewing clinical guidelines related to [x] +[sub] reviews clinical guidelines related to [x] +[sub] reviewed clinical guidelines related to [x] +reviewing a case study involving [x] +reviews a case study involving [x] +reviewed a case study involving [x] +[sub] [is|are|was|were] reviewing a case study involving [x] +[sub] reviews a case study involving [x] +[sub] reviewed a case study involving [x] +reviewing a fictional case involving [x] +reviews a fictional case involving [x] +reviewed a fictional case involving [x] +[sub] [is|are|was|were] reviewing a fictional case involving [x] +[sub] reviews a fictional case involving [x] +[sub] reviewed a fictional case involving [x] +preparing educational material about [x] +prepares educational material about [x] +prepared educational material about [x] +[sub] [is|are|was|were] preparing educational material about [x] +[sub] prepares educational material about [x] +[sub] prepared educational material about [x] +creating an educational guide about [x] +creates an educational guide about [x] +created an educational guide about [x] +[sub] [is|are|was|were] creating an educational guide about [x] +[sub] creates an educational guide about [x] +[sub] created an educational guide about [x] +developing training materials about [x] +develops training materials about [x] +developed training materials about [x] +[sub] [is|are|was|were] developing training materials about [x] +[sub] develops training materials about [x] +[sub] developed training materials about [x] +creating a presentation about [x] +creates a presentation about [x] +created a presentation about [x] +[sub] [is|are|was|were] creating a presentation about [x] +[sub] creates a presentation about [x] +[sub] created a presentation about [x] +preparing a presentation about [x] +prepares a presentation about [x] +prepared a presentation about [x] +[sub] [is|are|was|were] preparing a presentation about [x] +[sub] prepares a presentation about [x] +[sub] prepared a presentation about [x] +giving a presentation about [x] +gives a presentation about [x] +gave a presentation about [x] +[sub] [is|are|was|were] giving a presentation about [x] +[sub] gives a presentation about [x] +[sub] gave a presentation about [x] +teaching a class about [x] +teaches a class about [x] +taught a class about [x] +[sub] [is|are|was|were] teaching a class about [x] +[sub] teaches a class about [x] +[sub] taught a class about [x] +teaching students how to recognize [x] +teaches students how to recognize [x] +taught students how to recognize [x] +[sub] [is|are|was|were] teaching students how to recognize [x] +[sub] teaches students how to recognize [x] +[sub] taught students how to recognize [x] +training staff to recognize [x] +trains staff to recognize [x] +trained staff to recognize [x] +[sub] [is|are|was|were] training staff to recognize [x] +[sub] trains staff to recognize [x] +[sub] trained staff to recognize [x] +training staff to document [x] +trains staff to document [x] +trained staff to document [x] +[sub] [is|are|was|were] training staff to document [x] +[sub] trains staff to document [x] +[sub] trained staff to document [x] +attending a lecture about [x] +attends lectures about [x] +attended a lecture about [x] +[sub] [is|are|was|were] attending a lecture about [x] +[sub] attends lectures about [x] +[sub] attended a lecture about [x] +attending a professional seminar about [x] +attends professional seminars about [x] +attended a professional seminar about [x] +[sub] [is|are|was|were] attending a professional seminar about [x] +[sub] attends professional seminars about [x] +[sub] attended a professional seminar about [x] +attending a conference session about [x] +attends conference sessions about [x] +attended a conference session about [x] +[sub] [is|are|was|were] attending a conference session about [x] +[sub] attends conference sessions about [x] +[sub] attended a conference session about [x] +completing professional training about [x] +completes professional training about [x] +completed professional training about [x] +[sub] [is|are|was|were] completing professional training about [x] +[sub] completes professional training about [x] +[sub] completed professional training about [x] +observing a training demonstration involving [x] +observes a training demonstration involving [x] +observed a training demonstration involving [x] +[sub] [is|are|was|were] observing a training demonstration involving [x] +[sub] observes a training demonstration involving [x] +[sub] observed a training demonstration involving [x] +watching a training video about [x] +watches a training video about [x] +watched a training video about [x] +[sub] [is|are|was|were] watching a training video about [x] +[sub] watches a training video about [x] +[sub] watched a training video about [x] +watching a documentary about [x] +watches a documentary about [x] +watched a documentary about [x] +[sub] [is|are|was|were] watching a documentary about [x] +[sub] watches a documentary about [x] +[sub] watched a documentary about [x] +listening to a podcast about [x] +listens to a podcast about [x] +listened to a podcast about [x] +[sub] [is|are|was|were] listening to a podcast about [x] +[sub] listens to a podcast about [x] +[sub] listened to a podcast about [x] +writing an article about [x] +writes an article about [x] +wrote an article about [x] +[sub] [is|are|was|were] writing an article about [x] +[sub] writes an article about [x] +[sub] wrote an article about [x] +writing a news report about [x] +writes a news report about [x] +wrote a news report about [x] +[sub] [is|are|was|were] writing a news report about [x] +[sub] writes a news report about [x] +[sub] wrote a news report about [x] +writing a fictional story involving [x] +writes a fictional story involving [x] +wrote a fictional story involving [x] +[sub] [is|are|was|were] writing a fictional story involving [x] +[sub] writes a fictional story involving [x] +[sub] wrote a fictional story involving [x] +writing a fictional screenplay involving [x] +writes a fictional screenplay involving [x] +wrote a fictional screenplay involving [x] +[sub] [is|are|was|were] writing a fictional screenplay involving [x] +[sub] writes a fictional screenplay involving [x] +[sub] wrote a fictional screenplay involving [x] +writing about a fictional character experiencing [x] +writes about a fictional character experiencing [x] +wrote about a fictional character experiencing [x] +[sub] [is|are|was|were] writing about a fictional character experiencing [x] +[sub] writes about a fictional character experiencing [x] +[sub] wrote about a fictional character experiencing [x] +portraying a fictional character with [x] +portrays a fictional character with [x] +portrayed a fictional character with [x] +[sub] [is|are|was|were] portraying a fictional character with [x] +[sub] portrays a fictional character with [x] +[sub] portrayed a fictional character with [x] +performing in a play involving [x] +performs in a play involving [x] +performed in a play involving [x] +[sub] [is|are|was|were] performing in a play involving [x] +[sub] performs in a play involving [x] +[sub] performed in a play involving [x] +discussing [x] during professional training +discusses [x] during professional training +discussed [x] during professional training +[sub] [is|are|was|were] discussing [x] during professional training +[sub] discusses [x] during professional training +[sub] discussed [x] during professional training +participating in a general discussion about [x] +participates in a general discussion about [x] +participated in a general discussion about [x] +[sub] [is|are|was|were] participating in a general discussion about [x] +[sub] participates in a general discussion about [x] +[sub] participated in a general discussion about [x] +having a general conversation about [x] +has a general conversation about [x] +had a general conversation about [x] +[sub] [is|are|was|were] having a general conversation about [x] +[sub] has a general conversation about [x] +[sub] had a general conversation about [x] +interviewing an expert about [x] +interviews an expert about [x] +interviewed an expert about [x] +[sub] [is|are|was|were] interviewing an expert about [x] +[sub] interviews an expert about [x] +[sub] interviewed an expert about [x] +asking a general question about [x] +asks a general question about [x] +asked a general question about [x] +[sub] [is|are|was|were] asking a general question about [x] +[sub] asks a general question about [x] +[sub] asked a general question about [x] +requesting general information about [x] +requests general information about [x] +requested general information about [x] +[sub] [is|are|was|were] requesting general information about [x] +[sub] requests general information about [x] +[sub] requested general information about [x] +researching community resources related to [x] +researches community resources related to [x] +researched community resources related to [x] +[sub] [is|are|was|were] researching community resources related to [x] +[sub] researches community resources related to [x] +[sub] researched community resources related to [x] +creating a directory of resources related to [x] +creates a directory of resources related to [x] +created a directory of resources related to [x] +[sub] [is|are|was|were] creating a directory of resources related to [x] +[sub] creates a directory of resources related to [x] +[sub] created a directory of resources related to [x] +sharing educational resources about [x] +shares educational resources about [x] +shared educational resources about [x] +[sub] [is|are|was|were] sharing educational resources about [x] +[sub] shares educational resources about [x] +[sub] shared educational resources about [x] +organizing an awareness event about [x] +organizes an awareness event about [x] +organized an awareness event about [x] +[sub] [is|are|was|were] organizing an awareness event about [x] +[sub] organizes an awareness event about [x] +[sub] organized an awareness event about [x] +promoting public awareness of [x] +promotes public awareness of [x] +promoted public awareness of [x] +[sub] [is|are|was|were] promoting public awareness of [x] +[sub] promotes public awareness of [x] +[sub] promoted public awareness of [x] +developing a public-information campaign about [x] +develops a public-information campaign about [x] +developed a public-information campaign about [x] +[sub] [is|are|was|were] developing a public-information campaign about [x] +[sub] develops a public-information campaign about [x] +[sub] developed a public-information campaign about [x] +advocating for more research into [x] +advocates for more research into [x] +advocated for more research into [x] +[sub] [is|are|was|were] advocating for more research into [x] +[sub] advocates for more research into [x] +[sub] advocated for more research into [x] +supporting organizations researching [x] +supports organizations researching [x] +supported organizations researching [x] +[sub] [is|are|was|were] supporting organizations researching [x] +[sub] supports organizations researching [x] +[sub] supported organizations researching [x] +raising money for research involving [x] +raises money for research involving [x] +raised money for research involving [x] +[sub] [is|are|was|were] raising money for research involving [x] +[sub] raises money for research involving [x] +[sub] raised money for research involving [x] +collecting donations for [x] research +collects donations for [x] research +collected donations for [x] research +[sub] [is|are|was|were] collecting donations for [x] research +[sub] collects donations for [x] research +[sub] collected donations for [x] research +volunteering at an awareness event about [x] +volunteers at awareness events about [x] +volunteered at an awareness event about [x] +[sub] [is|are|was|were] volunteering at an awareness event about [x] +[sub] volunteers at awareness events about [x] +[sub] volunteered at an awareness event about [x] +working with researchers studying [x] +works with researchers studying [x] +worked with researchers studying [x] +[sub] [is|are|was|were] working with researchers studying [x] +[sub] works with researchers studying [x] +[sub] worked with researchers studying [x] +analyzing statistics about [x] +analyzes statistics about [x] +analyzed statistics about [x] +[sub] [is|are|was|were] analyzing statistics about [x] +[sub] analyzes statistics about [x] +[sub] analyzed statistics about [x] +analyzing population trends involving [x] +analyzes population trends involving [x] +analyzed population trends involving [x] +[sub] [is|are|was|were] analyzing population trends involving [x] +[sub] analyzes population trends involving [x] +[sub] analyzed population trends involving [x] +collecting public data about [x] +collects public data about [x] +collected public data about [x] +[sub] [is|are|was|were] collecting public data about [x] +[sub] collects public data about [x] +[sub] collected public data about [x] +conducting a survey about public awareness of [x] +conducts a survey about public awareness of [x] +conducted a survey about public awareness of [x] +[sub] [is|are|was|were] conducting a survey about public awareness of [x] +[sub] conducts a survey about public awareness of [x] +[sub] conducted a survey about public awareness of [x] +comparing research findings about [x] +compares research findings about [x] +compared research findings about [x] +[sub] [is|are|was|were] comparing research findings about [x] +[sub] compares research findings about [x] +[sub] compared research findings about [x] +developing a symptom-tracking application that includes [x] +develops a symptom-tracking application that includes [x] +developed a symptom-tracking application that includes [x] +[sub] [is|are|was|were] developing a symptom-tracking application that includes [x] +[sub] develops a symptom-tracking application that includes [x] +[sub] developed a symptom-tracking application that includes [x] +designing a questionnaire that asks about [x] +designs a questionnaire that asks about [x] +designed a questionnaire that asks about [x] +[sub] [is|are|was|were] designing a questionnaire that asks about [x] +[sub] designs a questionnaire that asks about [x] +[sub] designed a questionnaire that asks about [x] +testing software that records [x] +tests software that records [x] +tested software that records [x] +[sub] [is|are|was|were] testing software that records [x] +[sub] tests software that records [x] +[sub] tested software that records [x] +creating sample documentation containing [x] +creates sample documentation containing [x] +created sample documentation containing [x] +[sub] [is|are|was|were] creating sample documentation containing [x] +[sub] creates sample documentation containing [x] +[sub] created sample documentation containing [x] +reviewing synthetic records containing [x] +reviews synthetic records containing [x] +reviewed synthetic records containing [x] +[sub] [is|are|was|were] reviewing synthetic records containing [x] +[sub] reviews synthetic records containing [x] +[sub] reviewed synthetic records containing [x] +using [x] as an example in training +uses [x] as an example in training +used [x] as an example in training +[sub] [is|are|was|were] using [x] as an example in training +[sub] uses [x] as an example in training +[sub] used [x] as an example in training \ No newline at end of file diff --git a/PHI.Data.Generator/RLHF.Generator/Data/Patterns/MEDICAL_SYMPTOM.positive.txt b/PHI.Data.Generator/RLHF.Generator/Data/Patterns/MEDICAL_SYMPTOM.positive.txt new file mode 100644 index 0000000..1fe4e74 --- /dev/null +++ b/PHI.Data.Generator/RLHF.Generator/Data/Patterns/MEDICAL_SYMPTOM.positive.txt @@ -0,0 +1,401 @@ +[x] +has [x] +had [x] +[sub] [has|have|had] [x] +experiences [x] +experienced [x] +experiencing [x] +[sub] experiences [x] +[sub] experienced [x] +[sub] [is|are|was|were] experiencing [x] +reports [x] +reported [x] +reporting [x] +[sub] reports [x] +[sub] reported [x] +[sub] [is|are|was|were] reporting [x] +reports having [x] +reported having [x] +[sub] reports having [x] +[sub] reported having [x] +complains of [x] +complained of [x] +complaining of [x] +[sub] complains of [x] +[sub] complained of [x] +[sub] [is|are|was|were] complaining of [x] +presents with [x] +presented with [x] +presenting with [x] +[sub] presents with [x] +[sub] presented with [x] +[sub] [is|are|was|were] presenting with [x] +suffers from [x] +suffered from [x] +suffering from [x] +[sub] suffers from [x] +[sub] suffered from [x] +[sub] [is|are|was|were] suffering from [x] +struggles with [x] +struggled with [x] +struggling with [x] +[sub] struggles with [x] +[sub] struggled with [x] +[sub] [is|are|was|were] struggling with [x] +affected by [x] +was affected by [x] +[sub] [is|are|was|were] affected by [x] +bothered by [x] +was bothered by [x] +[sub] [is|are|was|were] bothered by [x] +notices [x] +noticed [x] +noticing [x] +[sub] notices [x] +[sub] noticed [x] +[sub] [is|are|was|were] noticing [x] +feels [x] +felt [x] +feeling [x] +[sub] feels [x] +[sub] felt [x] +[sub] [is|are|was|were] feeling [x] +describes [x] +described [x] +describing [x] +[sub] describes [x] +[sub] described [x] +[sub] [is|are|was|were] describing [x] +mentions [x] +mentioned [x] +mentioning [x] +[sub] mentions [x] +[sub] mentioned [x] +[sub] [is|are|was|were] mentioning [x] +symptom of [x] +symptoms include [x] +current symptom of [x] +current symptoms include [x] +[sub] reports a symptom of [x] +[sub] reported a symptom of [x] +[sub] reports symptoms including [x] +[sub] reported symptoms including [x] +signs of [x] +showing signs of [x] +showed signs of [x] +[sub] shows signs of [x] +[sub] showed signs of [x] +[sub] [is|are|was|were] showing signs of [x] +develops [x] +developed [x] +developing [x] +[sub] develops [x] +[sub] developed [x] +[sub] [is|are|was|were] developing [x] +started having [x] +starts having [x] +starting to have [x] +[sub] started having [x] +[sub] starts having [x] +[sub] [is|are|was|were] starting to have [x] +began experiencing [x] +begins experiencing [x] +[sub] began experiencing [x] +[sub] begins experiencing [x] +onset of [x] +recent onset of [x] +sudden onset of [x] +gradual onset of [x] +[sub] reports the onset of [x] +[sub] reported the onset of [x] +[sub] reports a recent onset of [x] +[sub] reported a sudden onset of [x] +new [x] +newly developed [x] +recently developed [x] +[sub] [has|have] new [x] +[sub] had new [x] +[sub] recently developed [x] +current [x] +ongoing [x] +active [x] +persistent [x] +chronic [x] +long-standing [x] +[sub] [has|have] current [x] +[sub] had ongoing [x] +[sub] [has|have] persistent [x] +[sub] [has|have] chronic [x] +[sub] had long-standing [x] +recent [x] +recently experienced [x] +[sub] recently experienced [x] +history of [x] +known history of [x] +documented history of [x] +prior history of [x] +[sub] [has|have|had] a history of [x] +[sub] [has|have|had] a known history of [x] +[sub] [has|have|had] a documented history of [x] +[sub] [has|have|had] a prior history of [x] +previously experienced [x] +previously reported [x] +[sub] previously experienced [x] +[sub] previously reported [x] +intermittent [x] +occasional [x] +frequent [x] +recurrent [x] +constant [x] +continuous [x] +[sub] reports intermittent [x] +[sub] reported occasional [x] +[sub] reports frequent [x] +[sub] reported recurrent [x] +[sub] reports constant [x] +episodes of [x] +episode of [x] +repeated episodes of [x] +frequent episodes of [x] +[sub] reports episodes of [x] +[sub] reported an episode of [x] +[sub] reports repeated episodes of [x] +[sub] reported frequent episodes of [x] +experiences episodes of [x] +experienced an episode of [x] +[sub] experiences episodes of [x] +[sub] experienced an episode of [x] +mild [x] +moderate [x] +severe [x] +[sub] reports mild [x] +[sub] reported moderate [x] +[sub] reports severe [x] +[sub] describes [x] as mild +[sub] described [x] as moderate +[sub] describes [x] as severe +worsening [x] +worsened [x] +[x] is worsening +[x] worsened +[sub] reports worsening [x] +[sub] reported worsening [x] +[sub] reports that [x] is worsening +[sub] reported that [x] worsened +increased [x] +increasing [x] +[sub] reports increased [x] +[sub] reported increased [x] +[sub] [is|are|was|were] experiencing increasing [x] +more frequent [x] +more severe [x] +[sub] reports more frequent [x] +[sub] reported more severe [x] +improving [x] +improved [x] +[x] is improving +[x] improved +[sub] reports improving [x] +[sub] reported improving [x] +[sub] reports that [x] is improving +[sub] reported that [x] improved +decreased [x] +decreasing [x] +[sub] reports decreased [x] +[sub] reported decreased [x] +less frequent [x] +less severe [x] +[sub] reports less frequent [x] +[sub] reported less severe [x] +stable [x] +unchanged [x] +[x] remains stable +[x] remained stable +[sub] reports stable [x] +[sub] reported unchanged [x] +[sub] reports that [x] remains stable +[sub] reported that [x] remained stable +resolved [x] +[x] resolved +[x] has resolved +[sub] reports resolved [x] +[sub] reported that [x] resolved +[sub] reports that [x] has resolved +no longer experiencing [x] +stopped experiencing [x] +[sub] [is|are|was|were] no longer experiencing [x] +[sub] stopped experiencing [x] +[x] has not resolved +unresolved [x] +persistent despite care for [x] +[sub] reports that [x] has not resolved +[sub] reported unresolved [x] +[sub] reports persistent [x] +continues to experience [x] +continued to experience [x] +[sub] continues to experience [x] +[sub] continued to experience [x] +[x] returned +return of [x] +recurrent return of [x] +[sub] reports that [x] returned +[sub] reported the return of [x] +[sub] [is|are|was|were] experiencing the return of [x] +[x] comes and goes +[sub] reports that [x] comes and goes +[sub] reported that [x] came and went +daily [x] +nightly [x] +morning [x] +evening [x] +[sub] reports daily [x] +[sub] reported nightly [x] +[sub] experiences [x] in the morning +[sub] experienced [x] in the evening +[x] after eating +[x] after exercise +[x] after activity +[x] at rest +[x] during sleep +[x] upon waking +[sub] experiences [x] after eating +[sub] experienced [x] after exercise +[sub] experiences [x] after activity +[sub] experienced [x] at rest +[sub] experiences [x] during sleep +[sub] experienced [x] upon waking +[x] with activity +[x] during physical activity +[x] during exertion +[sub] experiences [x] with activity +[sub] experienced [x] during physical activity +[sub] experiences [x] during exertion +[x] triggered by activity +[sub] reports [x] triggered by activity +[sub] reported [x] triggered by activity +[x] worsened by activity +[sub] reports [x] worsened by activity +[sub] reported [x] worsened by activity +[x] worsened by movement +[sub] reports [x] worsened by movement +[sub] reported [x] worsened by movement +[x] worsened by eating +[sub] reports [x] worsened by eating +[sub] reported [x] worsened by eating +[x] relieved by rest +[sub] reports [x] relieved by rest +[sub] reported [x] relieved by rest +[x] improves with rest +[sub] reports that [x] improves with rest +[sub] reported that [x] improved with rest +affects daily activities because of [x] +[sub] reports difficulty with daily activities because of [x] +[sub] reported difficulty with daily activities because of [x] +[x] interferes with daily activities +[x] interfered with daily activities +[sub] reports that [x] interferes with daily activities +[sub] reported that [x] interfered with daily activities +[x] affects sleep +[x] affected sleep +[sub] reports that [x] affects sleep +[sub] reported that [x] affected sleep +unable to sleep because of [x] +[sub] [is|are|was|were] unable to sleep because of [x] +[x] affects work +[x] affected work +[sub] reports that [x] affects work +[sub] reported that [x] affected work +missed work because of [x] +[sub] missed work because of [x] +[x] limits activity +[x] limited activity +[sub] reports that [x] limits activity +[sub] reported that [x] limited activity +avoids activity because of [x] +avoided activity because of [x] +[sub] avoids activity because of [x] +[sub] avoided activity because of [x] +seeks care for [x] +sought care for [x] +seeking care for [x] +[sub] seeks care for [x] +[sub] sought care for [x] +[sub] [is|are|was|were] seeking care for [x] +seen for [x] +was seen for [x] +[sub] [is|are|was|were] seen for [x] +evaluated for [x] +being evaluated for [x] +[sub] [is|are|was|were] evaluated for [x] +[sub] [is|are|was|were] being evaluated for [x] +undergoing evaluation for [x] +[sub] [is|are|was|were] undergoing evaluation for [x] +monitoring [x] +monitors [x] +monitored [x] +[sub] [is|are|was|were] monitoring [x] +[sub] monitors [x] +[sub] monitored [x] +being monitored for [x] +was monitored for [x] +[sub] [is|are|was|were] being monitored for [x] +[sub] [is|are|was|were] monitored for [x] +receives care for [x] +received care for [x] +receiving care for [x] +[sub] receives care for [x] +[sub] received care for [x] +[sub] [is|are|was|were] receiving care for [x] +receives treatment for [x] +received treatment for [x] +receiving treatment for [x] +[sub] receives treatment for [x] +[sub] received treatment for [x] +[sub] [is|are|was|were] receiving treatment for [x] +manages [x] +managed [x] +managing [x] +[sub] manages [x] +[sub] managed [x] +[sub] [is|are|was|were] managing [x] +using supportive care for [x] +used supportive care for [x] +[sub] [is|are|was|were] using supportive care for [x] +[sub] used supportive care for [x] +hospitalized because of [x] +was hospitalized because of [x] +[sub] [is|are|was|were] hospitalized because of [x] +went to urgent care for [x] +goes to urgent care for [x] +going to urgent care for [x] +[sub] went to urgent care for [x] +[sub] goes to urgent care for [x] +[sub] [is|are|was|were] going to urgent care for [x] +went to the emergency department for [x] +[sub] went to the emergency department for [x] +denies [x] +denied [x] +denying [x] +[sub] denies [x] +[sub] denied [x] +[sub] [is|are|was|were] denying [x] +denies having [x] +denied having [x] +[sub] denies having [x] +[sub] denied having [x] +denies current [x] +denied current [x] +[sub] denies current [x] +[sub] denied current [x] +denies symptoms of [x] +denied symptoms of [x] +[sub] denies symptoms of [x] +[sub] denied symptoms of [x] +no [x] +without [x] +[sub] reports no [x] +[sub] reported no [x] +[sub] [is|are|was|were] without [x] +negative for [x] +[sub] tested negative for [x] +[sub] screened negative for [x] \ No newline at end of file diff --git a/PHI.Data.Generator/RLHF.Generator/Data/Patterns/MEDICAL_TEST.negative.txt b/PHI.Data.Generator/RLHF.Generator/Data/Patterns/MEDICAL_TEST.negative.txt new file mode 100644 index 0000000..fd38c27 --- /dev/null +++ b/PHI.Data.Generator/RLHF.Generator/Data/Patterns/MEDICAL_TEST.negative.txt @@ -0,0 +1,324 @@ +researching [x] +researches [x] +researched [x] +[sub] [is|are|was|were] researching [x] +[sub] researches [x] +[sub] researched [x] +learning about [x] +learns about [x] +learned about [x] +[sub] [is|are|was|were] learning about [x] +[sub] learns about [x] +[sub] learned about [x] +studying [x] +studies [x] +studied [x] +[sub] [is|are|was|were] studying [x] +[sub] studies [x] +[sub] studied [x] +reviewing general information about [x] +reviews general information about [x] +reviewed general information about [x] +[sub] [is|are|was|were] reviewing general information about [x] +[sub] reviews general information about [x] +[sub] reviewed general information about [x] +reviewing educational material about [x] +reviews educational material about [x] +reviewed educational material about [x] +[sub] [is|are|was|were] reviewing educational material about [x] +[sub] reviews educational material about [x] +[sub] reviewed educational material about [x] +reviewing medical literature about [x] +reviews medical literature about [x] +reviewed medical literature about [x] +[sub] [is|are|was|were] reviewing medical literature about [x] +[sub] reviews medical literature about [x] +[sub] reviewed medical literature about [x] +reviewing published research about [x] +reviews published research about [x] +reviewed published research about [x] +[sub] [is|are|was|were] reviewing published research about [x] +[sub] reviews published research about [x] +[sub] reviewed published research about [x] +reviewing clinical guidelines related to [x] +reviews clinical guidelines related to [x] +reviewed clinical guidelines related to [x] +[sub] [is|are|was|were] reviewing clinical guidelines related to [x] +[sub] reviews clinical guidelines related to [x] +[sub] reviewed clinical guidelines related to [x] +reviewing how [x] is used in healthcare +reviews how [x] is used in healthcare +reviewed how [x] is used in healthcare +[sub] [is|are|was|were] reviewing how [x] is used in healthcare +[sub] reviews how [x] is used in healthcare +[sub] reviewed how [x] is used in healthcare +reviewing how [x] is interpreted +reviews how [x] is interpreted +reviewed how [x] is interpreted +[sub] [is|are|was|were] reviewing how [x] is interpreted +[sub] reviews how [x] is interpreted +[sub] reviewed how [x] is interpreted +reading an article about [x] +reads an article about [x] +read an article about [x] +[sub] [is|are|was|were] reading an article about [x] +[sub] reads an article about [x] +[sub] read an article about [x] +reading a news report about [x] +reads a news report about [x] +read a news report about [x] +[sub] [is|are|was|were] reading a news report about [x] +[sub] reads a news report about [x] +[sub] read a news report about [x] +watching a presentation about [x] +watches a presentation about [x] +watched a presentation about [x] +[sub] [is|are|was|were] watching a presentation about [x] +[sub] watches a presentation about [x] +[sub] watched a presentation about [x] +watching a documentary about [x] +watches a documentary about [x] +watched a documentary about [x] +[sub] [is|are|was|were] watching a documentary about [x] +[sub] watches a documentary about [x] +[sub] watched a documentary about [x] +listening to a podcast about [x] +listens to a podcast about [x] +listened to a podcast about [x] +[sub] [is|are|was|were] listening to a podcast about [x] +[sub] listens to a podcast about [x] +[sub] listened to a podcast about [x] +attending a lecture about [x] +attends lectures about [x] +attended a lecture about [x] +[sub] [is|are|was|were] attending a lecture about [x] +[sub] attends lectures about [x] +[sub] attended a lecture about [x] +attending a seminar about [x] +attends seminars about [x] +attended a seminar about [x] +[sub] [is|are|was|were] attending a seminar about [x] +[sub] attends seminars about [x] +[sub] attended a seminar about [x] +attending a conference session about [x] +attends conference sessions about [x] +attended a conference session about [x] +[sub] [is|are|was|were] attending a conference session about [x] +[sub] attends conference sessions about [x] +[sub] attended a conference session about [x] +completing professional training about [x] +completes professional training about [x] +completed professional training about [x] +[sub] [is|are|was|were] completing professional training about [x] +[sub] completes professional training about [x] +[sub] completed professional training about [x] +preparing educational material about [x] +prepares educational material about [x] +prepared educational material about [x] +[sub] [is|are|was|were] preparing educational material about [x] +[sub] prepares educational material about [x] +[sub] prepared educational material about [x] +creating an educational guide about [x] +creates an educational guide about [x] +created an educational guide about [x] +[sub] [is|are|was|were] creating an educational guide about [x] +[sub] creates an educational guide about [x] +[sub] created an educational guide about [x] +developing training materials about [x] +develops training materials about [x] +developed training materials about [x] +[sub] [is|are|was|were] developing training materials about [x] +[sub] develops training materials about [x] +[sub] developed training materials about [x] +preparing a presentation about [x] +prepares a presentation about [x] +prepared a presentation about [x] +[sub] [is|are|was|were] preparing a presentation about [x] +[sub] prepares a presentation about [x] +[sub] prepared a presentation about [x] +giving a presentation about [x] +gives a presentation about [x] +gave a presentation about [x] +[sub] [is|are|was|were] giving a presentation about [x] +[sub] gives a presentation about [x] +[sub] gave a presentation about [x] +teaching a class about [x] +teaches a class about [x] +taught a class about [x] +[sub] [is|are|was|were] teaching a class about [x] +[sub] teaches a class about [x] +[sub] taught a class about [x] +training staff about [x] +trains staff about [x] +trained staff about [x] +[sub] [is|are|was|were] training staff about [x] +[sub] trains staff about [x] +[sub] trained staff about [x] +training staff to document [x] +trains staff to document [x] +trained staff to document [x] +[sub] [is|are|was|were] training staff to document [x] +[sub] trains staff to document [x] +[sub] trained staff to document [x] +discussing [x] during professional training +discusses [x] during professional training +discussed [x] during professional training +[sub] [is|are|was|were] discussing [x] during professional training +[sub] discusses [x] during professional training +[sub] discussed [x] during professional training +participating in a general discussion about [x] +participates in a general discussion about [x] +participated in a general discussion about [x] +[sub] [is|are|was|were] participating in a general discussion about [x] +[sub] participates in a general discussion about [x] +[sub] participated in a general discussion about [x] +having a general conversation about [x] +has a general conversation about [x] +had a general conversation about [x] +[sub] [is|are|was|were] having a general conversation about [x] +[sub] has a general conversation about [x] +[sub] had a general conversation about [x] +asking a general question about [x] +asks a general question about [x] +asked a general question about [x] +[sub] [is|are|was|were] asking a general question about [x] +[sub] asks a general question about [x] +[sub] asked a general question about [x] +requesting general information about [x] +requests general information about [x] +requested general information about [x] +[sub] [is|are|was|were] requesting general information about [x] +[sub] requests general information about [x] +[sub] requested general information about [x] +writing an article about [x] +writes an article about [x] +wrote an article about [x] +[sub] [is|are|was|were] writing an article about [x] +[sub] writes an article about [x] +[sub] wrote an article about [x] +writing a news report about [x] +writes a news report about [x] +wrote a news report about [x] +[sub] [is|are|was|were] writing a news report about [x] +[sub] writes a news report about [x] +[sub] wrote a news report about [x] +writing a fictional story involving [x] +writes a fictional story involving [x] +wrote a fictional story involving [x] +[sub] [is|are|was|were] writing a fictional story involving [x] +[sub] writes a fictional story involving [x] +[sub] wrote a fictional story involving [x] +reviewing a fictional case involving [x] +reviews a fictional case involving [x] +reviewed a fictional case involving [x] +[sub] [is|are|was|were] reviewing a fictional case involving [x] +[sub] reviews a fictional case involving [x] +[sub] reviewed a fictional case involving [x] +reviewing a case study involving [x] +reviews a case study involving [x] +reviewed a case study involving [x] +[sub] [is|are|was|were] reviewing a case study involving [x] +[sub] reviews a case study involving [x] +[sub] reviewed a case study involving [x] +analyzing sample data involving [x] +analyzes sample data involving [x] +analyzed sample data involving [x] +[sub] [is|are|was|were] analyzing sample data involving [x] +[sub] analyzes sample data involving [x] +[sub] analyzed sample data involving [x] +analyzing public data involving [x] +analyzes public data involving [x] +analyzed public data involving [x] +[sub] [is|are|was|were] analyzing public data involving [x] +[sub] analyzes public data involving [x] +[sub] analyzed public data involving [x] +comparing research findings about [x] +compares research findings about [x] +compared research findings about [x] +[sub] [is|are|was|were] comparing research findings about [x] +[sub] compares research findings about [x] +[sub] compared research findings about [x] +working with researchers studying [x] +works with researchers studying [x] +worked with researchers studying [x] +[sub] [is|are|was|were] working with researchers studying [x] +[sub] works with researchers studying [x] +[sub] worked with researchers studying [x] +creating synthetic records containing [x] +creates synthetic records containing [x] +created synthetic records containing [x] +[sub] [is|are|was|were] creating synthetic records containing [x] +[sub] creates synthetic records containing [x] +[sub] created synthetic records containing [x] +reviewing synthetic records containing [x] +reviews synthetic records containing [x] +reviewed synthetic records containing [x] +[sub] [is|are|was|were] reviewing synthetic records containing [x] +[sub] reviews synthetic records containing [x] +[sub] reviewed synthetic records containing [x] +creating sample documentation containing [x] +creates sample documentation containing [x] +created sample documentation containing [x] +[sub] [is|are|was|were] creating sample documentation containing [x] +[sub] creates sample documentation containing [x] +[sub] created sample documentation containing [x] +using [x] as an example in training +uses [x] as an example in training +used [x] as an example in training +[sub] [is|are|was|were] using [x] as an example in training +[sub] uses [x] as an example in training +[sub] used [x] as an example in training +testing software with sample text containing [x] +tests software with sample text containing [x] +tested software with sample text containing [x] +[sub] [is|are|was|were] testing software with sample text containing [x] +[sub] tests software with sample text containing [x] +[sub] tested software with sample text containing [x] +developing software that records [x] +develops software that records [x] +developed software that records [x] +[sub] [is|are|was|were] developing software that records [x] +[sub] develops software that records [x] +[sub] developed software that records [x] +designing a form that includes [x] +designs a form that includes [x] +designed a form that includes [x] +[sub] [is|are|was|were] designing a form that includes [x] +[sub] designs a form that includes [x] +[sub] designed a form that includes [x] +adding [x] to a medical terminology list +adds [x] to a medical terminology list +added [x] to a medical terminology list +[sub] [is|are|was|were] adding [x] to a medical terminology list +[sub] adds [x] to a medical terminology list +[sub] added [x] to a medical terminology list +reviewing terminology for [x] +reviews terminology for [x] +reviewed terminology for [x] +[sub] [is|are|was|were] reviewing terminology for [x] +[sub] reviews terminology for [x] +[sub] reviewed terminology for [x] +mapping [x] to a standardized code +maps [x] to a standardized code +mapped [x] to a standardized code +[sub] [is|are|was|were] mapping [x] to a standardized code +[sub] maps [x] to a standardized code +[sub] mapped [x] to a standardized code +updating documentation about [x] +updates documentation about [x] +updated documentation about [x] +[sub] [is|are|was|were] updating documentation about [x] +[sub] updates documentation about [x] +[sub] updated documentation about [x] +auditing documentation related to [x] +audits documentation related to [x] +audited documentation related to [x] +[sub] [is|are|was|were] auditing documentation related to [x] +[sub] audits documentation related to [x] +[sub] audited documentation related to [x] +translating educational content about [x] +translates educational content about [x] +translated educational content about [x] +[sub] [is|are|was|were] translating educational content about [x] +[sub] translates educational content about [x] +[sub] translated educational content about [x] \ No newline at end of file diff --git a/PHI.Data.Generator/RLHF.Generator/Data/Patterns/MEDICAL_TEST.positive.txt b/PHI.Data.Generator/RLHF.Generator/Data/Patterns/MEDICAL_TEST.positive.txt new file mode 100644 index 0000000..ee1cda2 --- /dev/null +++ b/PHI.Data.Generator/RLHF.Generator/Data/Patterns/MEDICAL_TEST.positive.txt @@ -0,0 +1,37 @@ +[x] +[x] ordered +[x] was ordered +repeat [x] ordered +[x] pending +[x] results pending +results pending for [x] +[x] reviewed +[x] was reviewed +[x] results reviewed +results from [x] +[x] came back normal +[x] came back abnormal +[x] was normal +[x] was abnormal +normal [x] result +abnormal [x] result +repeat [x] recommended +[x] needs to be repeated +[x] was repeated +[sub] had [x] done +[sub] [is|are|was|were] having [x] done +[sub] had [x] ordered +[sub] had repeat [x] ordered +[sub] [is|are|was|were] awaiting results from [x] +[sub] [is|are|was|were] waiting on [x] results +[sub] received results from [x] +[sub] reviewed results from [x] +[sub] [is|are|was|were] informed of [x] results +[sub] was told [x] was normal +[sub] was told [x] was abnormal +[sub] had normal [x] results +[sub] had abnormal [x] results +[sub] needs repeat [x] +[sub] needs [x] repeated +[sub] was advised to repeat [x] +[sub] had [x] repeated diff --git a/PHI.Data.Generator/RLHF.Generator/Data/Patterns/MEDICAL_TREATMENT.negative.txt b/PHI.Data.Generator/RLHF.Generator/Data/Patterns/MEDICAL_TREATMENT.negative.txt new file mode 100644 index 0000000..496451a --- /dev/null +++ b/PHI.Data.Generator/RLHF.Generator/Data/Patterns/MEDICAL_TREATMENT.negative.txt @@ -0,0 +1,360 @@ +researching the use of [x] +researches the use of [x] +researched the use of [x] +[sub] [is|are|was|were] researching the use of [x] +[sub] researches the use of [x] +[sub] researched the use of [x] +researching the effectiveness of [x] +researches the effectiveness of [x] +researched the effectiveness of [x] +[sub] [is|are|was|were] researching the effectiveness of [x] +[sub] researches the effectiveness of [x] +[sub] researched the effectiveness of [x] +researching the risks and benefits of [x] +researches the risks and benefits of [x] +researched the risks and benefits of [x] +[sub] [is|are|was|were] researching the risks and benefits of [x] +[sub] researches the risks and benefits of [x] +[sub] researched the risks and benefits of [x] +researching outcomes associated with [x] +researches outcomes associated with [x] +researched outcomes associated with [x] +[sub] [is|are|was|were] researching outcomes associated with [x] +[sub] researches outcomes associated with [x] +[sub] researched outcomes associated with [x] +researching advances in [x] +researches advances in [x] +researched advances in [x] +[sub] [is|are|was|were] researching advances in [x] +[sub] researches advances in [x] +[sub] researched advances in [x] +studying [x] +studies [x] +studied [x] +[sub] [is|are|was|were] studying [x] +[sub] studies [x] +[sub] studied [x] +studying how [x] works +studies how [x] works +studied how [x] works +[sub] [is|are|was|were] studying how [x] works +[sub] studies how [x] works +[sub] studied how [x] works +learning about [x] +learns about [x] +learned about [x] +[sub] [is|are|was|were] learning about [x] +[sub] learns about [x] +[sub] learned about [x] +learning how [x] is provided +learns how [x] is provided +learned how [x] is provided +[sub] [is|are|was|were] learning how [x] is provided +[sub] learns how [x] is provided +[sub] learned how [x] is provided +attending a professional workshop about [x] +attends professional workshops about [x] +attended a professional workshop about [x] +[sub] [is|are|was|were] attending a professional workshop about [x] +[sub] attends professional workshops about [x] +[sub] attended a professional workshop about [x] +attending a lecture about [x] +attends lectures about [x] +attended a lecture about [x] +[sub] [is|are|was|were] attending a lecture about [x] +[sub] attends lectures about [x] +[sub] attended a lecture about [x] +attending a seminar about [x] +attends seminars about [x] +attended a seminar about [x] +[sub] [is|are|was|were] attending a seminar about [x] +[sub] attends seminars about [x] +[sub] attended a seminar about [x] +attending a conference session about [x] +attends conference sessions about [x] +attended a conference session about [x] +[sub] [is|are|was|were] attending a conference session about [x] +[sub] attends conference sessions about [x] +[sub] attended a conference session about [x] +completing professional training about [x] +completes professional training about [x] +completed professional training about [x] +[sub] [is|are|was|were] completing professional training about [x] +[sub] completes professional training about [x] +[sub] completed professional training about [x] +observing a professional demonstration of [x] +observes professional demonstrations of [x] +observed a professional demonstration of [x] +[sub] [is|are|was|were] observing a professional demonstration of [x] +[sub] observes professional demonstrations of [x] +[sub] observed a professional demonstration of [x] +reviewing general information about [x] +reviews general information about [x] +reviewed general information about [x] +[sub] [is|are|was|were] reviewing general information about [x] +[sub] reviews general information about [x] +[sub] reviewed general information about [x] +reviewing educational material about [x] +reviews educational material about [x] +reviewed educational material about [x] +[sub] [is|are|was|were] reviewing educational material about [x] +[sub] reviews educational material about [x] +[sub] reviewed educational material about [x] +reviewing medical literature about [x] +reviews medical literature about [x] +reviewed medical literature about [x] +[sub] [is|are|was|were] reviewing medical literature about [x] +[sub] reviews medical literature about [x] +[sub] reviewed medical literature about [x] +reviewing published research about [x] +reviews published research about [x] +reviewed published research about [x] +[sub] [is|are|was|were] reviewing published research about [x] +[sub] reviews published research about [x] +[sub] reviewed published research about [x] +reviewing clinical guidelines for [x] +reviews clinical guidelines for [x] +reviewed clinical guidelines for [x] +[sub] [is|are|was|were] reviewing clinical guidelines for [x] +[sub] reviews clinical guidelines for [x] +[sub] reviewed clinical guidelines for [x] +reviewing professional standards for [x] +reviews professional standards for [x] +reviewed professional standards for [x] +[sub] [is|are|was|were] reviewing professional standards for [x] +[sub] reviews professional standards for [x] +[sub] reviewed professional standards for [x] +writing an educational article about [x] +writes an educational article about [x] +wrote an educational article about [x] +[sub] [is|are|was|were] writing an educational article about [x] +[sub] writes an educational article about [x] +[sub] wrote an educational article about [x] +writing a news article about [x] +writes a news article about [x] +wrote a news article about [x] +[sub] [is|are|was|were] writing a news article about [x] +[sub] writes a news article about [x] +[sub] wrote a news article about [x] +writing a report about [x] +writes a report about [x] +wrote a report about [x] +[sub] [is|are|was|were] writing a report about [x] +[sub] writes a report about [x] +[sub] wrote a report about [x] +reading an article about [x] +reads an article about [x] +read an article about [x] +[sub] [is|are|was|were] reading an article about [x] +[sub] reads an article about [x] +[sub] read an article about [x] +reading a news report about [x] +reads a news report about [x] +read a news report about [x] +[sub] [is|are|was|were] reading a news report about [x] +[sub] reads a news report about [x] +[sub] read a news report about [x] +watching a documentary about [x] +watches a documentary about [x] +watched a documentary about [x] +[sub] [is|are|was|were] watching a documentary about [x] +[sub] watches a documentary about [x] +[sub] watched a documentary about [x] +listening to a podcast about [x] +listens to a podcast about [x] +listened to a podcast about [x] +[sub] [is|are|was|were] listening to a podcast about [x] +[sub] listens to a podcast about [x] +[sub] listened to a podcast about [x] +preparing educational material about [x] +prepares educational material about [x] +prepared educational material about [x] +[sub] [is|are|was|were] preparing educational material about [x] +[sub] prepares educational material about [x] +[sub] prepared educational material about [x] +creating an educational guide about [x] +creates an educational guide about [x] +created an educational guide about [x] +[sub] [is|are|was|were] creating an educational guide about [x] +[sub] creates an educational guide about [x] +[sub] created an educational guide about [x] +developing training materials about [x] +develops training materials about [x] +developed training materials about [x] +[sub] [is|are|was|were] developing training materials about [x] +[sub] develops training materials about [x] +[sub] developed training materials about [x] +preparing a presentation about [x] +prepares a presentation about [x] +prepared a presentation about [x] +[sub] [is|are|was|were] preparing a presentation about [x] +[sub] prepares a presentation about [x] +[sub] prepared a presentation about [x] +giving a presentation about [x] +gives a presentation about [x] +gave a presentation about [x] +[sub] [is|are|was|were] giving a presentation about [x] +[sub] gives a presentation about [x] +[sub] gave a presentation about [x] +teaching a class about [x] +teaches a class about [x] +taught a class about [x] +[sub] [is|are|was|were] teaching a class about [x] +[sub] teaches a class about [x] +[sub] taught a class about [x] +training staff about [x] +trains staff about [x] +trained staff about [x] +[sub] [is|are|was|were] training staff about [x] +[sub] trains staff about [x] +[sub] trained staff about [x] +discussing [x] during professional training +discusses [x] during professional training +discussed [x] during professional training +[sub] [is|are|was|were] discussing [x] during professional training +[sub] discusses [x] during professional training +[sub] discussed [x] during professional training +participating in a general discussion about [x] +participates in a general discussion about [x] +participated in a general discussion about [x] +[sub] [is|are|was|were] participating in a general discussion about [x] +[sub] participates in a general discussion about [x] +[sub] participated in a general discussion about [x] +having a general conversation about [x] +has a general conversation about [x] +had a general conversation about [x] +[sub] [is|are|was|were] having a general conversation about [x] +[sub] has a general conversation about [x] +[sub] had a general conversation about [x] +interviewing an expert about [x] +interviews an expert about [x] +interviewed an expert about [x] +[sub] [is|are|was|were] interviewing an expert about [x] +[sub] interviews an expert about [x] +[sub] interviewed an expert about [x] +reviewing a case study involving [x] +reviews a case study involving [x] +reviewed a case study involving [x] +[sub] [is|are|was|were] reviewing a case study involving [x] +[sub] reviews a case study involving [x] +[sub] reviewed a case study involving [x] +reviewing a fictional case involving [x] +reviews a fictional case involving [x] +reviewed a fictional case involving [x] +[sub] [is|are|was|were] reviewing a fictional case involving [x] +[sub] reviews a fictional case involving [x] +[sub] reviewed a fictional case involving [x] +writing a fictional story involving [x] +writes a fictional story involving [x] +wrote a fictional story involving [x] +[sub] [is|are|was|were] writing a fictional story involving [x] +[sub] writes a fictional story involving [x] +[sub] wrote a fictional story involving [x] +organizing a fundraiser supporting access to [x] +organizes fundraisers supporting access to [x] +organized a fundraiser supporting access to [x] +[sub] [is|are|was|were] organizing a fundraiser supporting access to [x] +[sub] organizes fundraisers supporting access to [x] +[sub] organized a fundraiser supporting access to [x] +raising money to improve access to [x] +raises money to improve access to [x] +raised money to improve access to [x] +[sub] [is|are|was|were] raising money to improve access to [x] +[sub] raises money to improve access to [x] +[sub] raised money to improve access to [x] +collecting donations to support access to [x] +collects donations to support access to [x] +collected donations to support access to [x] +[sub] [is|are|was|were] collecting donations to support access to [x] +[sub] collects donations to support access to [x] +[sub] collected donations to support access to [x] +advocating for access to [x] +advocates for access to [x] +advocated for access to [x] +[sub] [is|are|was|were] advocating for access to [x] +[sub] advocates for access to [x] +[sub] advocated for access to [x] +promoting public access to [x] +promotes public access to [x] +promoted public access to [x] +[sub] [is|are|was|were] promoting public access to [x] +[sub] promotes public access to [x] +[sub] promoted public access to [x] +organizing an awareness event about [x] +organizes awareness events about [x] +organized an awareness event about [x] +[sub] [is|are|was|were] organizing an awareness event about [x] +[sub] organizes awareness events about [x] +[sub] organized an awareness event about [x] +promoting public awareness of [x] +promotes public awareness of [x] +promoted public awareness of [x] +[sub] [is|are|was|were] promoting public awareness of [x] +[sub] promotes public awareness of [x] +[sub] promoted public awareness of [x] +reviewing public policy related to [x] +reviews public policy related to [x] +reviewed public policy related to [x] +[sub] [is|are|was|were] reviewing public policy related to [x] +[sub] reviews public policy related to [x] +[sub] reviewed public policy related to [x] +researching barriers to access for [x] +researches barriers to access for [x] +researched barriers to access for [x] +[sub] [is|are|was|were] researching barriers to access for [x] +[sub] researches barriers to access for [x] +[sub] researched barriers to access for [x] +analyzing public access to [x] +analyzes public access to [x] +analyzed public access to [x] +[sub] [is|are|was|were] analyzing public access to [x] +[sub] analyzes public access to [x] +[sub] analyzed public access to [x] +supporting organizations that provide [x] +supports organizations that provide [x] +supported organizations that provide [x] +[sub] [is|are|was|were] supporting organizations that provide [x] +[sub] supports organizations that provide [x] +[sub] supported organizations that provide [x] +volunteering with an organization that provides [x] +volunteers with organizations that provide [x] +volunteered with an organization that provides [x] +[sub] [is|are|was|were] volunteering with an organization that provides [x] +[sub] volunteers with organizations that provide [x] +[sub] volunteered with an organization that provides [x] +analyzing statistics about [x] +analyzes statistics about [x] +analyzed statistics about [x] +[sub] [is|are|was|were] analyzing statistics about [x] +[sub] analyzes statistics about [x] +[sub] analyzed statistics about [x] +comparing research findings about [x] +compares research findings about [x] +compared research findings about [x] +[sub] [is|are|was|were] comparing research findings about [x] +[sub] compares research findings about [x] +[sub] compared research findings about [x] +working with researchers studying [x] +works with researchers studying [x] +worked with researchers studying [x] +[sub] [is|are|was|were] working with researchers studying [x] +[sub] works with researchers studying [x] +[sub] worked with researchers studying [x] +creating synthetic records containing [x] +creates synthetic records containing [x] +created synthetic records containing [x] +[sub] [is|are|was|were] creating synthetic records containing [x] +[sub] creates synthetic records containing [x] +[sub] created synthetic records containing [x] +reviewing synthetic records containing [x] +reviews synthetic records containing [x] +reviewed synthetic records containing [x] +[sub] [is|are|was|were] reviewing synthetic records containing [x] +[sub] reviews synthetic records containing [x] +[sub] reviewed synthetic records containing [x] +using [x] as an example in training +uses [x] as an example in training +used [x] as an example in training +[sub] [is|are|was|were] using [x] as an example in training +[sub] uses [x] as an example in training +[sub] used [x] as an example in training diff --git a/PHI.Data.Generator/RLHF.Generator/Data/Patterns/MEDICAL_TREATMENT.positive.txt b/PHI.Data.Generator/RLHF.Generator/Data/Patterns/MEDICAL_TREATMENT.positive.txt new file mode 100644 index 0000000..6a4733f --- /dev/null +++ b/PHI.Data.Generator/RLHF.Generator/Data/Patterns/MEDICAL_TREATMENT.positive.txt @@ -0,0 +1,367 @@ +received [x] +receives [x] +receiving [x] +[sub] received [x] +[sub] receives [x] +[sub] [is|are|was|were] receiving [x] +undergoing [x] +underwent [x] +undergoes [x] +[sub] [is|are|was|were] undergoing [x] +[sub] underwent [x] +[sub] undergoes [x] +being treated with [x] +was treated with [x] +[sub] [is|are|was|were] being treated with [x] +[sub] [is|are|was|were] treated with [x] +treated with [x] +[sub] received treatment with [x] +[sub] receives treatment with [x] +[sub] [is|are|was|were] receiving treatment with [x] +started [x] +starts [x] +starting [x] +[sub] started [x] +[sub] starts [x] +[sub] [is|are|was|were] starting [x] +began [x] +begins [x] +beginning [x] +[sub] began [x] +[sub] begins [x] +[sub] [is|are|was|were] beginning [x] +initiated [x] +initiates [x] +initiating [x] +[sub] initiated [x] +[sub] initiates [x] +[sub] [is|are|was|were] initiating [x] +started treatment with [x] +starts treatment with [x] +starting treatment with [x] +[sub] started treatment with [x] +[sub] starts treatment with [x] +[sub] [is|are|was|were] starting treatment with [x] +began treatment with [x] +begins treatment with [x] +[sub] began treatment with [x] +[sub] begins treatment with [x] +initiated treatment with [x] +initiates treatment with [x] +[sub] initiated treatment with [x] +[sub] initiates treatment with [x] +continues [x] +continued [x] +continuing [x] +[sub] continues [x] +[sub] continued [x] +[sub] [is|are|was|were] continuing [x] +remains on [x] +remained on [x] +[sub] remains on [x] +[sub] remained on [x] +continues treatment with [x] +continued treatment with [x] +continuing treatment with [x] +[sub] continues treatment with [x] +[sub] continued treatment with [x] +[sub] [is|are|was|were] continuing treatment with [x] +completed [x] +completes [x] +completing [x] +[sub] completed [x] +[sub] completes [x] +[sub] [is|are|was|were] completing [x] +completed a course of [x] +completes a course of [x] +completing a course of [x] +[sub] completed a course of [x] +[sub] completes a course of [x] +[sub] [is|are|was|were] completing a course of [x] +finished [x] +finishes [x] +finishing [x] +[sub] finished [x] +[sub] finishes [x] +[sub] [is|are|was|were] finishing [x] +finished a course of [x] +[sub] finished a course of [x] +course of [x] completed +[x] was completed +[sub] [has|have] completed [x] +[sub] had completed [x] +[sub] [has|have] finished [x] +[sub] had finished [x] +scheduled to begin [x] +is scheduled to begin [x] +was scheduled to begin [x] +[sub] [is|are|was|were] scheduled to begin [x] +scheduled to start [x] +is scheduled to start [x] +was scheduled to start [x] +[sub] [is|are|was|were] scheduled to start [x] +scheduled for [x] +is scheduled for [x] +was scheduled for [x] +[sub] [is|are|was|were] scheduled for [x] +will begin [x] +[sub] will begin [x] +will start [x] +[sub] will start [x] +plans to begin [x] +planned to begin [x] +planning to begin [x] +[sub] plans to begin [x] +[sub] planned to begin [x] +[sub] [is|are|was|were] planning to begin [x] +plans to start [x] +planned to start [x] +planning to start [x] +[sub] plans to start [x] +[sub] planned to start [x] +[sub] [is|are|was|were] planning to start [x] +preparing for [x] +prepared for [x] +prepares for [x] +[sub] [is|are|was|were] preparing for [x] +[sub] prepared for [x] +[sub] prepares for [x] +awaiting [x] +awaited [x] +awaits [x] +[sub] [is|are|was|were] awaiting [x] +[sub] awaited [x] +[sub] awaits [x] +approved for [x] +was approved for [x] +[sub] [is|are|was|were] approved for [x] +authorized for [x] +was authorized for [x] +[sub] [is|are|was|were] authorized for [x] +cleared to begin [x] +was cleared to begin [x] +[sub] [is|are|was|were] cleared to begin [x] +referred for [x] +was referred for [x] +[sub] [is|are|was|were] referred for [x] +recommended [x] +was recommended [x] +[sub] [is|are|was|were] recommended [x] +advised to begin [x] +was advised to begin [x] +[sub] [is|are|was|were] advised to begin [x] +needs [x] +needed [x] +[sub] needs [x] +[sub] needed [x] +requires [x] +required [x] +[sub] requires [x] +[sub] required [x] +prescribed [x] +was prescribed [x] +[sub] [is|are|was|were] prescribed [x] +receives regular [x] +received regular [x] +[sub] receives regular [x] +[sub] received regular [x] +receives ongoing [x] +received ongoing [x] +[sub] receives ongoing [x] +[sub] received ongoing [x] +receives maintenance [x] +received maintenance [x] +[sub] receives maintenance [x] +[sub] received maintenance [x] +under maintenance treatment with [x] +[sub] [is|are|was|were] under maintenance treatment with [x] +resumed [x] +resumes [x] +resuming [x] +[sub] resumed [x] +[sub] resumes [x] +[sub] [is|are|was|were] resuming [x] +restarted [x] +restarts [x] +restarting [x] +[sub] restarted [x] +[sub] restarts [x] +[sub] [is|are|was|were] restarting [x] +returned to [x] +returns to [x] +returning to [x] +[sub] returned to [x] +[sub] returns to [x] +[sub] [is|are|was|were] returning to [x] +responded well to [x] +responds well to [x] +responding well to [x] +[sub] responded well to [x] +[sub] responds well to [x] +[sub] [is|are|was|were] responding well to [x] +benefited from [x] +benefits from [x] +benefiting from [x] +[sub] benefited from [x] +[sub] benefits from [x] +[sub] [is|are|was|were] benefiting from [x] +improved with [x] +improves with [x] +improving with [x] +[sub] improved with [x] +[sub] improves with [x] +[sub] [is|are|was|were] improving with [x] +[x] is helping +[x] helped +[sub] reports that [x] is helping +[sub] reported that [x] helped +positive response to [x] +[sub] [has|have] a positive response to [x] +[sub] had a positive response to [x] +good response to [x] +[sub] reports a good response to [x] +[sub] reported a good response to [x] +partial response to [x] +[sub] [has|have] a partial response to [x] +[sub] had a partial response to [x] +limited response to [x] +[sub] [has|have] a limited response to [x] +[sub] had a limited response to [x] +did not respond to [x] +does not respond to [x] +not responding to [x] +[sub] did not respond to [x] +[sub] does not respond to [x] +[sub] [is|are|was|were] not responding to [x] +[x] is not helping +[x] did not help +[sub] reports that [x] is not helping +[sub] reported that [x] did not help +no improvement with [x] +[sub] reports no improvement with [x] +[sub] reported no improvement with [x] +poor response to [x] +[sub] [has|have] a poor response to [x] +[sub] had a poor response to [x] +experienced side effects from [x] +experiences side effects from [x] +experiencing side effects from [x] +[sub] experienced side effects from [x] +[sub] experiences side effects from [x] +[sub] [is|are|was|were] experiencing side effects from [x] +experienced complications from [x] +experiences complications from [x] +experiencing complications from [x] +[sub] experienced complications from [x] +[sub] experiences complications from [x] +[sub] [is|are|was|were] experiencing complications from [x] +tolerates [x] +tolerated [x] +tolerating [x] +[sub] tolerates [x] +[sub] tolerated [x] +[sub] [is|are|was|were] tolerating [x] +tolerates [x] well +tolerated [x] well +[sub] tolerates [x] well +[sub] tolerated [x] well +unable to tolerate [x] +was unable to tolerate [x] +[sub] [is|are|was|were] unable to tolerate [x] +stopped [x] +stops [x] +stopping [x] +[sub] stopped [x] +[sub] stops [x] +[sub] [is|are|was|were] stopping [x] +discontinued [x] +discontinues [x] +discontinuing [x] +[sub] discontinued [x] +[sub] discontinues [x] +[sub] [is|are|was|were] discontinuing [x] +[x] was discontinued +[sub] had [x] discontinued +paused [x] +pauses [x] +pausing [x] +[sub] paused [x] +[sub] pauses [x] +[sub] [is|are|was|were] pausing [x] +held [x] +holding [x] +[sub] held [x] +[sub] [is|are|was|were] holding [x] +postponed [x] +postpones [x] +postponing [x] +[sub] postponed [x] +[sub] postpones [x] +[sub] [is|are|was|were] postponing [x] +canceled [x] +cancels [x] +canceling [x] +[sub] canceled [x] +[sub] cancels [x] +[sub] [is|are|was|were] canceling [x] +declined [x] +declines [x] +declining [x] +[sub] declined [x] +[sub] declines [x] +[sub] [is|are|was|were] declining [x] +refused [x] +refuses [x] +refusing [x] +[sub] refused [x] +[sub] refuses [x] +[sub] [is|are|was|were] refusing [x] +missed [x] +misses [x] +missing [x] +[sub] missed [x] +[sub] misses [x] +[sub] [is|are|was|were] missing [x] +completed part of [x] +[sub] completed part of [x] +did not complete [x] +[sub] did not complete [x] +unable to complete [x] +was unable to complete [x] +[sub] [is|are|was|were] unable to complete [x] +history of [x] +prior [x] +previous [x] +previously received [x] +[sub] [has|have|had] a history of [x] +[sub] previously received [x] +[sub] had previously received [x] +reports receiving [x] +reported receiving [x] +[sub] reports receiving [x] +[sub] reported receiving [x] +denies receiving [x] +denied receiving [x] +[sub] denies receiving [x] +[sub] denied receiving [x] +denies a history of [x] +denied a history of [x] +[sub] denies a history of [x] +[sub] denied a history of [x] +follow-up after [x] +receives follow-up after [x] +received follow-up after [x] +receiving follow-up after [x] +[sub] receives follow-up after [x] +[sub] received follow-up after [x] +[sub] [is|are|was|were] receiving follow-up after [x] +monitoring response to [x] +monitors response to [x] +monitored response to [x] +[sub] [is|are|was|were] monitoring response to [x] +[sub] monitors response to [x] +[sub] monitored response to [x] +evaluated after [x] +being evaluated after [x] +[sub] [is|are|was|were] evaluated after [x] +[sub] [is|are|was|were] being evaluated after [x] diff --git a/PHI.Data.Generator/RLHF.Generator/Data/Subjects.txt b/PHI.Data.Generator/RLHF.Generator/Data/Subjects.txt new file mode 100644 index 0000000..3891ac3 --- /dev/null +++ b/PHI.Data.Generator/RLHF.Generator/Data/Subjects.txt @@ -0,0 +1,4 @@ +He +She +They +Member \ No newline at end of file diff --git a/PHI.Data.Generator/RLHF.Generator/Generation/GenerationOptions.cs b/PHI.Data.Generator/RLHF.Generator/Generation/GenerationOptions.cs new file mode 100644 index 0000000..e50dedd --- /dev/null +++ b/PHI.Data.Generator/RLHF.Generator/Generation/GenerationOptions.cs @@ -0,0 +1,14 @@ +namespace RLHF.Generator.Generation; + +public sealed class GenerationOptions +{ + public const string SectionName = "Generation"; + + public int RandomSeed { get; set; } + + public int MaxDegreeOfParallelism { get; set; } + + public int SaveBatchSize { get; set; } = 10; + + public int ProgressLogIntervalSeconds { get; set; } = 5; +} \ No newline at end of file diff --git a/PHI.Data.Generator/RLHF.Generator/Generation/GenerationRunResult.cs b/PHI.Data.Generator/RLHF.Generator/Generation/GenerationRunResult.cs new file mode 100644 index 0000000..cc51cf3 --- /dev/null +++ b/PHI.Data.Generator/RLHF.Generator/Generation/GenerationRunResult.cs @@ -0,0 +1,9 @@ +namespace RLHF.Generator.Generation; + +public sealed record GenerationRunResult( + Guid RunId, + string Status, + int RowsCommittedThisRequest, + int TotalCommittedRows, + int TotalExpectedRows, + bool Resumed); \ No newline at end of file diff --git a/PHI.Data.Generator/RLHF.Generator/Generation/TrainingGenerationService.cs b/PHI.Data.Generator/RLHF.Generator/Generation/TrainingGenerationService.cs new file mode 100644 index 0000000..a23a1b9 --- /dev/null +++ b/PHI.Data.Generator/RLHF.Generator/Generation/TrainingGenerationService.cs @@ -0,0 +1,1127 @@ +using Microsoft.EntityFrameworkCore; +using Microsoft.EntityFrameworkCore.Storage; +using Microsoft.Extensions.Logging; +using System.Globalization; +using System.Runtime.ExceptionServices; +using System.Security.Cryptography; +using System.Text; +using System.Threading.Channels; +using RLHF.Generator.LmStudio; +using RLHF.Generator.Persistence; +using RLHF.Generator.TrainingData; + +namespace RLHF.Generator.Generation; + +public sealed class TrainingGenerationService +{ + private readonly TrainingDataReader _trainingDataReader; + private readonly LmStudioClient _lmStudioClient; + private readonly RlhfGeneratorDbContext _dbContext; + private readonly GenerationOptions _options; + private readonly LmStudioOptions _lmStudioOptions; + private readonly ILogger _logger; + private readonly TimeProvider _timeProvider; + + public TrainingGenerationService( + TrainingDataReader trainingDataReader, + LmStudioClient lmStudioClient, + RlhfGeneratorDbContext dbContext, + GenerationOptions options, + LmStudioOptions lmStudioOptions, + ILogger logger, + TimeProvider? timeProvider = null) + { + ArgumentNullException.ThrowIfNull(trainingDataReader); + ArgumentNullException.ThrowIfNull(lmStudioClient); + ArgumentNullException.ThrowIfNull(dbContext); + ArgumentNullException.ThrowIfNull(options); + ArgumentNullException.ThrowIfNull(lmStudioOptions); + ArgumentNullException.ThrowIfNull(logger); + + if (options.MaxDegreeOfParallelism <= 0) + { + throw new InvalidOperationException( + "Generation MaxDegreeOfParallelism must be greater than zero."); + } + + if (options.SaveBatchSize <= 0) + { + throw new InvalidOperationException( + "Generation SaveBatchSize must be greater than zero."); + } + + if (options.ProgressLogIntervalSeconds <= 0) + { + throw new InvalidOperationException( + "Generation ProgressLogIntervalSeconds must be greater than zero."); + } + + _trainingDataReader = trainingDataReader; + _lmStudioClient = lmStudioClient; + _dbContext = dbContext; + _options = options; + _lmStudioOptions = lmStudioOptions; + _logger = logger; + _timeProvider = timeProvider ?? TimeProvider.System; + } + + public async Task GenerateAsync( + CancellationToken cancellationToken = default) + { + cancellationToken.ThrowIfCancellationRequested(); + await _trainingDataReader.ValidateAsync(cancellationToken); + + string inputFingerprint = await CalculateInputFingerprintAsync(cancellationToken); + string configurationFingerprint = CalculateConfigurationFingerprint(); + int totalExpectedRowCount = await CalculateExpectedRowCountAsync(cancellationToken); + (GenerationRun run, bool resumed) = await GetOrCreateRunAsync( + inputFingerprint, + configurationFingerprint, + totalExpectedRowCount, + cancellationToken); + int initiallyCommittedRowCount = run.TotalCommittedRowCount; + GenerationProgressState progress = new( + run.TotalExpectedRowCount, + initiallyCommittedRowCount, + _options.MaxDegreeOfParallelism, + _timeProvider); + _logger.LogInformation( + "Generation execution started: total {TotalExpected}, already committed " + + "{AlreadyCommitted}, remaining {Remaining}, parallelism {ConfiguredParallelism}, " + + "batch size {SaveBatchSize}, progress interval {ProgressLogIntervalSeconds}s.", + run.TotalExpectedRowCount, + initiallyCommittedRowCount, + Math.Max(0, run.TotalExpectedRowCount - initiallyCommittedRowCount), + _options.MaxDegreeOfParallelism, + _options.SaveBatchSize, + _options.ProgressLogIntervalSeconds); + using CancellationTokenSource reporterCancellation = new(); + Task reporterTask = ReportProgressAsync(progress, reporterCancellation.Token); + + try + { + if (run.TotalCommittedRowCount < run.TotalExpectedRowCount) + { + await GenerateAndPersistAsync(run, progress, cancellationToken); + } + + GenerationRun completedRun = await MarkCompletedAsync(run.Id, cancellationToken); + await reporterCancellation.CancelAsync(); + await reporterTask; + LogFinalProgress(progress, completedRun.TotalCommittedRowCount, false); + return new GenerationRunResult( + completedRun.Id, + completedRun.Status, + completedRun.TotalCommittedRowCount - initiallyCommittedRowCount, + completedRun.TotalCommittedRowCount, + completedRun.TotalExpectedRowCount, + resumed); + } + catch (Exception exception) + { + await reporterCancellation.CancelAsync(); + await reporterTask; + LogFinalProgress(progress, progress.CommittedCount, true); + await TryMarkInterruptedAsync( + run.Id, + exception, + cancellationToken.IsCancellationRequested); + throw; + } + finally + { + await reporterCancellation.CancelAsync(); + await reporterTask; + } + } + + private async Task GenerateAndPersistAsync( + GenerationRun run, + GenerationProgressState progress, + CancellationToken cancellationToken) + { + Random random = new(_options.RandomSeed); + int channelCapacity = Math.Max( + _options.SaveBatchSize, + _options.MaxDegreeOfParallelism); + Channel channel = Channel.CreateBounded( + new BoundedChannelOptions(channelCapacity) + { + FullMode = BoundedChannelFullMode.Wait, + SingleReader = true, + SingleWriter = false + }); + using CancellationTokenSource writerFailureCancellation = new(); + using CancellationTokenSource generationCancellation = + CancellationTokenSource.CreateLinkedTokenSource( + cancellationToken, + writerFailureCancellation.Token); + Task writerTask = PersistGeneratedItemsAsync( + channel, + run.Id, + run.LastCommittedPlanOrdinal + 1, + progress, + writerFailureCancellation); + ExceptionDispatchInfo? generationFailure = null; + long nextPlanOrdinal = 0; + + try + { + foreach (TrainingCategoryDefinition category in TrainingCategories.All) + { + IReadOnlyList categoryValues = + await _trainingDataReader.ReadCategoryValuesAsync( + category, + generationCancellation.Token); + + IReadOnlyList positivePatterns = + await _trainingDataReader.ReadPatternsAsync( + category, + true, + generationCancellation.Token); + nextPlanOrdinal += await ProcessPassAsync( + category, + categoryValues, + positivePatterns, + true, + random, + run.Id, + nextPlanOrdinal, + run.LastCommittedPlanOrdinal, + progress, + channel.Writer, + writerFailureCancellation.Token, + generationCancellation.Token); + + IReadOnlyList negativePatterns = + await _trainingDataReader.ReadPatternsAsync( + category, + false, + generationCancellation.Token); + nextPlanOrdinal += await ProcessPassAsync( + category, + categoryValues, + negativePatterns, + false, + random, + run.Id, + nextPlanOrdinal, + run.LastCommittedPlanOrdinal, + progress, + channel.Writer, + writerFailureCancellation.Token, + generationCancellation.Token); + } + } + catch (Exception exception) + { + generationFailure = ExceptionDispatchInfo.Capture(exception); + await generationCancellation.CancelAsync(); + } + finally + { + channel.Writer.TryComplete(); + } + + ExceptionDispatchInfo? writerFailure = null; + try + { + await writerTask; + } + catch (Exception exception) + { + writerFailure = ExceptionDispatchInfo.Capture(exception); + } + + writerFailure?.Throw(); + generationFailure?.Throw(); + } + + private async Task PersistGeneratedItemsAsync( + Channel channel, + Guid runId, + long nextPlanOrdinal, + GenerationProgressState progress, + CancellationTokenSource writerFailureCancellation) + { + List batch = new(_options.SaveBatchSize); + SortedDictionary pendingItems = []; + int persistedRowCount = 0; + + try + { + await foreach (GeneratedItem item in channel.Reader.ReadAllAsync()) + { + pendingItems.Add(item.PlanOrdinal, item); + while (pendingItems.Remove(nextPlanOrdinal, out GeneratedItem? nextItem)) + { + batch.Add(nextItem); + nextPlanOrdinal++; + if (batch.Count == _options.SaveBatchSize) + { + persistedRowCount += await SaveBatchAsync(runId, batch, progress); + } + } + } + + if (batch.Count > 0) + { + persistedRowCount += await SaveBatchAsync(runId, batch, progress); + } + + return persistedRowCount; + } + catch (Exception exception) + { + channel.Writer.TryComplete(exception); + await writerFailureCancellation.CancelAsync(); + throw; + } + } + + private async Task SaveBatchAsync( + Guid runId, + List batch, + GenerationProgressState progress) + { + int expectedRowCount = batch.Count; + GeneratedItem checkpoint = batch[^1]; + await using IDbContextTransaction transaction = + await _dbContext.Database.BeginTransactionAsync(CancellationToken.None); + + try + { + GenerationRun run = await _dbContext.GenerationRuns.SingleAsync( + candidate => candidate.Id == runId, + CancellationToken.None); + _dbContext.TrainingItems.AddRange(batch.Select(item => item.Item)); + run.CurrentCategoryId = checkpoint.CategoryId; + run.CurrentIsPositive = checkpoint.IsPositive; + run.LastCommittedPlanOrdinal = checkpoint.PlanOrdinal; + run.TotalCommittedRowCount += expectedRowCount; + run.LastCheckpointAt = DateTimeOffset.UtcNow; + await _dbContext.SaveChangesAsync(CancellationToken.None); + await transaction.CommitAsync(CancellationToken.None); + progress.SetCommittedCount(run.TotalCommittedRowCount); + + _logger.LogInformation( + "Run {RunId} committed batch {BatchNumber}: category {CategoryId}, pass {Pass}, " + + "rows {BatchRowCount}, cumulative {CommittedRowCount}, checkpoint {CheckpointOrdinal}.", + runId, + ((run.TotalCommittedRowCount - 1) / _options.SaveBatchSize) + 1, + checkpoint.CategoryId, + checkpoint.IsPositive ? "positive" : "negative", + expectedRowCount, + run.TotalCommittedRowCount, + checkpoint.PlanOrdinal); + } + catch + { + await transaction.RollbackAsync(CancellationToken.None); + _dbContext.ChangeTracker.Clear(); + throw; + } + + _dbContext.ChangeTracker.Clear(); + batch.Clear(); + return expectedRowCount; + } + + private async Task ProcessPassAsync( + TrainingCategoryDefinition category, + IReadOnlyList categoryValues, + IReadOnlyList patterns, + bool isPositive, + Random random, + Guid runId, + long firstPlanOrdinal, + long lastCommittedPlanOrdinal, + GenerationProgressState progress, + ChannelWriter writer, + CancellationToken writerCancellationToken, + CancellationToken cancellationToken) + { + IReadOnlyList plan = CreatePlan( + category, + categoryValues, + patterns, + isPositive, + random); + ExceptionDispatchInfo? failure = null; + using CancellationTokenSource linkedCancellation = + CancellationTokenSource.CreateLinkedTokenSource(cancellationToken); + + ParallelOptions parallelOptions = new() + { + CancellationToken = linkedCancellation.Token, + MaxDegreeOfParallelism = _options.MaxDegreeOfParallelism + }; + + try + { + int firstUncommittedIndex = (int)Math.Clamp( + lastCommittedPlanOrdinal - firstPlanOrdinal + 1, + 0, + plan.Count); + await Parallel.ForEachAsync( + Enumerable.Range(firstUncommittedIndex, plan.Count - firstUncommittedIndex), + parallelOptions, + async (index, itemCancellationToken) => + { + try + { + PlannedItem plannedItem = plan[index]; + string value; + if (plannedItem.RequiresLmStudio) + { + progress.LmRequestStarted(); + try + { + value = await _lmStudioClient.CompleteAsync( + plannedItem.SubstitutedText, + plannedItem.Tense, + plannedItem.IsFragment, + plannedItem.SelectedSubject, + plannedItem.ProtectedMedicalTerm, + plannedItem.AllowedMedicalForms, + itemCancellationToken); + ValidateLmStudioResponse(value, category, isPositive); + } + finally + { + progress.LmRequestFinished(); + } + } + else + { + value = plannedItem.SubstitutedText; + } + + progress.ItemProcessed(); + + long planOrdinal = firstPlanOrdinal + index; + TrainingItem item = new() + { + GenerationRunId = runId, + PlanOrdinal = planOrdinal, + RecordKey = CalculateRecordKey( + runId, + category.Id, + isPositive, + planOrdinal), + CategoryId = category.Id, + IsPositive = isPositive, + Value = value + }; + await writer.WriteAsync( + new GeneratedItem( + planOrdinal, + category.Id, + isPositive, + item), + writerCancellationToken); + } + catch (Exception exception) + { + Interlocked.CompareExchange( + ref failure, + ExceptionDispatchInfo.Capture(exception), + null); + linkedCancellation.Cancel(); + throw; + } + }); + } + catch + { + await linkedCancellation.CancelAsync(); + failure?.Throw(); + throw; + } + + return plan.Count; + } + + private async Task ReportProgressAsync( + GenerationProgressState progress, + CancellationToken cancellationToken) + { + using PeriodicTimer timer = new( + TimeSpan.FromSeconds(_options.ProgressLogIntervalSeconds), + _timeProvider); + try + { + while (await timer.WaitForNextTickAsync(cancellationToken)) + { + LogPeriodicProgress(progress); + } + } + catch (OperationCanceledException) when (cancellationToken.IsCancellationRequested) + { + } + } + + private void LogPeriodicProgress(GenerationProgressState progress) + { + ProgressSnapshot snapshot = progress.TakeSnapshot(); + _logger.LogInformation( + "Generation progress: {OverallCompleted}/{TotalExpected} ({Percent:F1}%) | " + + "session {SessionProcessed} | {CurrentRate:F1} items/s current | " + + "{AverageRate:F1} items/s average | committed {CommittedCount} | " + + "LM active {ActiveLmRequests}/{ConfiguredParallelism} | LM peak {PeakLmRequests} | " + + "ETA {Eta}", + snapshot.OverallCompleted, + snapshot.TotalExpected, + snapshot.Percent, + snapshot.SessionProcessed, + snapshot.CurrentRate, + snapshot.AverageRate, + snapshot.CommittedCount, + snapshot.ActiveLmRequests, + snapshot.ConfiguredParallelism, + snapshot.PeakLmRequests, + snapshot.Eta); + } + + private void LogFinalProgress( + GenerationProgressState progress, + int committedCount, + bool interrupted) + { + ProgressSnapshot snapshot = progress.TakeSnapshot(); + string message = interrupted + ? "Generation execution interrupted: session processed {SessionProcessed}, committed " + + "{CommittedCount}, elapsed {Elapsed}, average {AverageRate:F1} items/s, " + + "LM active {ActiveLmRequests}, LM peak {PeakLmRequests}." + : "Generation execution completed: session processed {SessionProcessed}, committed " + + "{CommittedCount}, elapsed {Elapsed}, average {AverageRate:F1} items/s, " + + "LM active {ActiveLmRequests}, LM peak {PeakLmRequests}."; + if (interrupted) + { + _logger.LogWarning( + message, + snapshot.SessionProcessed, + committedCount, + snapshot.Elapsed, + snapshot.AverageRate, + snapshot.ActiveLmRequests, + snapshot.PeakLmRequests); + } + else + { + _logger.LogInformation( + message, + snapshot.SessionProcessed, + committedCount, + snapshot.Elapsed, + snapshot.AverageRate, + snapshot.ActiveLmRequests, + snapshot.PeakLmRequests); + } + } + + private async Task<(GenerationRun Run, bool Resumed)> GetOrCreateRunAsync( + string inputFingerprint, + string configurationFingerprint, + int totalExpectedRowCount, + CancellationToken cancellationToken) + { + List incompleteRuns = await _dbContext.GenerationRuns + .Where(run => GenerationRunStatuses.Incomplete.Contains(run.Status)) + .ToListAsync(cancellationToken); + incompleteRuns = incompleteRuns + .OrderByDescending(run => run.StartedAt) + .ToList(); + if (incompleteRuns.Count > 1) + { + throw new InvalidOperationException( + "Multiple incomplete generation runs exist. Automatic resume was rejected."); + } + + GenerationRun? run = incompleteRuns.FirstOrDefault(candidate => + candidate.RandomSeed == _options.RandomSeed + && candidate.InputFingerprint == inputFingerprint + && candidate.ConfigurationFingerprint == configurationFingerprint); + + if (run is null && incompleteRuns.Count > 0) + { + throw new InvalidOperationException( + "An incomplete generation run exists, but its input data, configuration, or random seed changed. Unsafe resume was rejected."); + } + + bool resumed = run is not null; + DateTimeOffset now = DateTimeOffset.UtcNow; + if (run is null) + { + run = new GenerationRun + { + Id = Guid.NewGuid(), + Status = GenerationRunStatuses.Running, + RandomSeed = _options.RandomSeed, + InputFingerprint = inputFingerprint, + ConfigurationFingerprint = configurationFingerprint, + TotalExpectedRowCount = totalExpectedRowCount, + StartedAt = now, + LastCheckpointAt = now + }; + _dbContext.GenerationRuns.Add(run); + } + else + { + if (run.TotalExpectedRowCount != totalExpectedRowCount) + { + throw new InvalidOperationException( + "The resumed generation plan count does not match its durable run state."); + } + + int durableRowCount = await _dbContext.TrainingItems.CountAsync( + item => item.GenerationRunId == run.Id, + cancellationToken); + long durableLastOrdinal = await _dbContext.TrainingItems + .Where(item => item.GenerationRunId == run.Id) + .MaxAsync(item => (long?)item.PlanOrdinal, cancellationToken) + ?? -1; + if (durableRowCount != run.TotalCommittedRowCount + || durableLastOrdinal != run.LastCommittedPlanOrdinal) + { + throw new InvalidOperationException( + "The resumed generation rows do not match the durable checkpoint."); + } + + run.Status = GenerationRunStatuses.Running; + run.FailureType = null; + run.FailureMessage = null; + } + + await _dbContext.SaveChangesAsync(cancellationToken); + _logger.LogInformation( + "Run {RunId} {RunAction} with {CommittedRowCount} of {ExpectedRowCount} rows committed.", + run.Id, + resumed ? "resumed" : "started", + run.TotalCommittedRowCount, + run.TotalExpectedRowCount); + _dbContext.ChangeTracker.Clear(); + return (run, resumed); + } + + private async Task MarkCompletedAsync( + Guid runId, + CancellationToken cancellationToken) + { + GenerationRun run = await _dbContext.GenerationRuns.SingleAsync( + candidate => candidate.Id == runId, + cancellationToken); + if (run.TotalCommittedRowCount != run.TotalExpectedRowCount) + { + throw new InvalidOperationException( + $"Run committed {run.TotalCommittedRowCount} rows but expected {run.TotalExpectedRowCount}."); + } + + run.Status = GenerationRunStatuses.Completed; + run.CompletedAt = DateTimeOffset.UtcNow; + run.LastCheckpointAt = run.CompletedAt.Value; + await _dbContext.SaveChangesAsync(cancellationToken); + _logger.LogInformation( + "Run {RunId} completed with {CommittedRowCount} rows.", + run.Id, + run.TotalCommittedRowCount); + return run; + } + + private async Task TryMarkInterruptedAsync( + Guid runId, + Exception exception, + bool cancellationRequested) + { + try + { + _dbContext.ChangeTracker.Clear(); + GenerationRun run = await _dbContext.GenerationRuns.SingleAsync( + candidate => candidate.Id == runId, + CancellationToken.None); + run.Status = cancellationRequested + ? GenerationRunStatuses.Cancelled + : GenerationRunStatuses.Failed; + string failureType = exception.GetType().FullName + ?? exception.GetType().Name; + run.FailureType = failureType[..Math.Min(failureType.Length, 256)]; + run.FailureMessage = GetSanitizedFailureMessage(exception); + run.LastCheckpointAt = DateTimeOffset.UtcNow; + await _dbContext.SaveChangesAsync(CancellationToken.None); + _logger.LogWarning( + "Run {RunId} {Status} after {CommittedRowCount} committed rows at checkpoint " + + "{CheckpointOrdinal}. Failure type: {FailureType}.", + run.Id, + run.Status, + run.TotalCommittedRowCount, + run.LastCommittedPlanOrdinal, + run.FailureType); + } + catch (Exception statusException) + { + _logger.LogError( + statusException, + "Run {RunId} failure status could not be persisted.", + runId); + } + } + + private async Task CalculateExpectedRowCountAsync( + CancellationToken cancellationToken) + { + Random random = new(_options.RandomSeed); + int total = 0; + foreach (TrainingCategoryDefinition category in TrainingCategories.All) + { + IReadOnlyList values = + await _trainingDataReader.ReadCategoryValuesAsync(category, cancellationToken); + foreach (bool isPositive in new[] { true, false }) + { + IReadOnlyList patterns = + await _trainingDataReader.ReadPatternsAsync( + category, + isPositive, + cancellationToken); + total = checked(total + CreatePlan( + category, + values, + patterns, + isPositive, + random).Count); + } + } + + return total; + } + + private async Task CalculateInputFingerprintAsync( + CancellationToken cancellationToken) + { + using IncrementalHash hash = IncrementalHash.CreateHash(HashAlgorithmName.SHA256); + IEnumerable paths = Directory + .EnumerateFiles(_trainingDataReader.DataDirectory, "*.txt", SearchOption.AllDirectories) + .Where(path => + { + string relativePath = Path.GetRelativePath( + _trainingDataReader.DataDirectory, + path); + return relativePath.Equals("Subjects.txt", StringComparison.Ordinal) + || relativePath.StartsWith($"Categories{Path.DirectorySeparatorChar}", StringComparison.Ordinal) + || relativePath.StartsWith($"Patterns{Path.DirectorySeparatorChar}", StringComparison.Ordinal); + }) + .OrderBy(path => Path.GetRelativePath( + _trainingDataReader.DataDirectory, + path), StringComparer.Ordinal); + + foreach (string path in paths) + { + string relativePath = Path.GetRelativePath( + _trainingDataReader.DataDirectory, + path).Replace('\\', '/'); + hash.AppendData(Encoding.UTF8.GetBytes(relativePath)); + hash.AppendData([0]); + hash.AppendData(await File.ReadAllBytesAsync(path, cancellationToken)); + hash.AppendData([0]); + } + + return Convert.ToHexString(hash.GetHashAndReset()); + } + + private string CalculateConfigurationFingerprint() + { + string configuration = string.Join('\n', + _options.RandomSeed.ToString(CultureInfo.InvariantCulture), + _options.MaxDegreeOfParallelism.ToString(CultureInfo.InvariantCulture), + _options.SaveBatchSize.ToString(CultureInfo.InvariantCulture), + _lmStudioOptions.ChatCompletionsUrl, + _lmStudioOptions.ModelName, + _lmStudioOptions.SystemPrompt, + _lmStudioOptions.Temperature.ToString("R", CultureInfo.InvariantCulture), + _lmStudioOptions.TopP.ToString("R", CultureInfo.InvariantCulture), + _lmStudioOptions.MaxTokens.ToString(CultureInfo.InvariantCulture), + _lmStudioOptions.Seed.ToString(CultureInfo.InvariantCulture), + _lmStudioOptions.TimeoutSeconds.ToString(CultureInfo.InvariantCulture)); + return Convert.ToHexString(SHA256.HashData(Encoding.UTF8.GetBytes(configuration))); + } + + private static string CalculateRecordKey( + Guid runId, + int categoryId, + bool isPositive, + long planOrdinal) + { + string identity = $"{runId:N}|{categoryId}|{isPositive}|{planOrdinal}"; + return Convert.ToHexString(SHA256.HashData(Encoding.UTF8.GetBytes(identity))); + } + + private static string GetSanitizedFailureMessage(Exception exception) => exception switch + { + OperationCanceledException => "Generation was cancelled.", + HttpRequestException => "The LM Studio request failed.", + InvalidDataException => "Generation input or model output failed validation.", + DbUpdateException => "A database batch could not be committed.", + _ => "Generation failed." + }; + + private static IReadOnlyList CreatePlan( + TrainingCategoryDefinition category, + IReadOnlyList categoryValues, + IReadOnlyList patterns, + bool isPositive, + Random random) + { + List categoryValueDeck = [.. categoryValues]; + List valueBoundPatternDeck = []; + List genericPatternDeck = []; + foreach (string pattern in patterns) + { + bool containsCategoryValuePlaceholder = + pattern.Contains("[x]", StringComparison.Ordinal); + if (containsCategoryValuePlaceholder) + { + valueBoundPatternDeck.Add(pattern); + } + else + { + genericPatternDeck.Add(pattern); + } + } + + string passName = isPositive ? "positive" : "negative"; + if (categoryValueDeck.Count > 0 && valueBoundPatternDeck.Count == 0) + { + throw new InvalidDataException( + $"Category '{category.Name}' {passName} pass has category values but no pattern containing '[x]'."); + } + + if (categoryValueDeck.Count == 0 && valueBoundPatternDeck.Count > 0) + { + throw new InvalidDataException( + $"Category '{category.Name}' {passName} pass has patterns containing '[x]' but no category values."); + } + + Shuffle(categoryValueDeck, random); + Shuffle(valueBoundPatternDeck, random); + Shuffle(genericPatternDeck, random); + + List subjectDeck = [.. TrainingSubjects.All]; + Shuffle(subjectDeck, random); + + int subjectIndex = 0; + List tenseDeck = + [ + null, + SentenceTenses.Past, + SentenceTenses.Present, + SentenceTenses.Future + ]; + Shuffle(tenseDeck, random); + int tenseIndex = 0; + int valueBoundItemCount = Math.Max( + valueBoundPatternDeck.Count, + categoryValueDeck.Count); + List plan = new( + genericPatternDeck.Count + valueBoundItemCount); + + foreach (string genericPattern in genericPatternDeck) + { + AddPlannedItem(genericPattern, null); + } + + for (int itemIndex = 0; itemIndex < valueBoundItemCount; itemIndex++) + { + if (itemIndex > 0 && itemIndex % valueBoundPatternDeck.Count == 0) + { + Shuffle(valueBoundPatternDeck, random); + } + + if (itemIndex > 0 && itemIndex % categoryValueDeck.Count == 0) + { + Shuffle(categoryValueDeck, random); + } + + string pattern = valueBoundPatternDeck[itemIndex % valueBoundPatternDeck.Count]; + TrainingCategoryValue categoryValue = + categoryValueDeck[itemIndex % categoryValueDeck.Count]; + AddPlannedItem(pattern, categoryValue); + } + + return plan; + + void AddPlannedItem(string pattern, TrainingCategoryValue? categoryValue) + { + string substitutedText = categoryValue is null + ? pattern + : pattern.Replace("[x]", categoryValue.CanonicalForm, StringComparison.Ordinal); + + string? tense = null; + if (pattern.Contains("[is|are|was|were]", StringComparison.Ordinal)) + { + if (tenseIndex == tenseDeck.Count) + { + Shuffle(tenseDeck, random); + tenseIndex = 0; + } + + tense = tenseDeck[tenseIndex]; + tenseIndex++; + } + + bool containsSubject = pattern.Contains("[sub]", StringComparison.Ordinal); + bool isFragment = !containsSubject; + string? selectedSubject = null; + + if (containsSubject) + { + if (subjectIndex == subjectDeck.Count) + { + Shuffle(subjectDeck, random); + subjectIndex = 0; + } + + selectedSubject = subjectDeck[subjectIndex]; + substitutedText = substitutedText.Replace( + "[sub]", + selectedSubject, + StringComparison.Ordinal); + subjectIndex++; + } + + substitutedText = substitutedText.Trim(); + + if (string.IsNullOrWhiteSpace(substitutedText)) + { + throw new InvalidDataException( + $"Substituted text is empty for category '{category.Name}' {passName} pass."); + } + + if (substitutedText.Contains("[x]", StringComparison.Ordinal) + || substitutedText.Contains("[sub]", StringComparison.Ordinal)) + { + throw new InvalidDataException( + $"Unresolved placeholder remains for category '{category.Name}' {passName} pass."); + } + + bool requiresLmStudio = containsSubject + || substitutedText.Contains('[', StringComparison.Ordinal) + || substitutedText.Contains(']', StringComparison.Ordinal) + || tense is not null + || categoryValue?.AllowedForms.Count > 1; + plan.Add(new PlannedItem( + substitutedText, + requiresLmStudio, + categoryValue?.CanonicalForm, + categoryValue?.AllowedForms, + selectedSubject, + tense, + isFragment)); + } + } + + private static void ValidateLmStudioResponse( + string value, + TrainingCategoryDefinition category, + bool isPositive) + { + if (string.IsNullOrWhiteSpace(value) + || value.Contains('\r', StringComparison.Ordinal) + || value.Contains('\n', StringComparison.Ordinal) + || value.Contains('[', StringComparison.Ordinal) + || value.Contains(']', StringComparison.Ordinal) + || IsResponseWrapper(value)) + { + string passName = isPositive ? "positive" : "negative"; + throw new InvalidDataException( + $"LM Studio returned invalid output for category '{category.Name}' {passName} pass."); + } + } + + private static bool IsResponseWrapper(string value) + { + bool isDoubleQuoted = value.Length >= 2 + && value[0] == '"' + && value[^1] == '"'; + bool isSingleQuoted = value.Length >= 2 + && value[0] == '\'' + && value[^1] == '\''; + bool isJsonObject = value.Length >= 2 + && value[0] == '{' + && value[^1] == '}'; + bool isJsonArray = value.Length >= 2 + && value[0] == '[' + && value[^1] == ']'; + if (isDoubleQuoted + || isSingleQuoted + || isJsonObject + || isJsonArray + || value.StartsWith("```", StringComparison.Ordinal)) + { + return true; + } + + return ResponsePrefixes.Any(prefix => + value.StartsWith(prefix, StringComparison.OrdinalIgnoreCase)); + } + + private static void Shuffle(IList items, Random random) + { + for (int index = items.Count - 1; index > 0; index--) + { + int swapIndex = random.Next(index + 1); + (items[index], items[swapIndex]) = (items[swapIndex], items[index]); + } + } + + private sealed record PlannedItem( + string SubstitutedText, + bool RequiresLmStudio, + string? ProtectedMedicalTerm, + IReadOnlyList? AllowedMedicalForms, + string? SelectedSubject, + string? Tense, + bool IsFragment); + + private sealed record GeneratedItem( + long PlanOrdinal, + int CategoryId, + bool IsPositive, + TrainingItem Item); + + private sealed class GenerationProgressState + { + private readonly int _totalExpected; + private readonly int _initiallyCommitted; + private readonly int _configuredParallelism; + private readonly TimeProvider _timeProvider; + private readonly long _startedTimestamp; + private long _lastSnapshotTimestamp; + private long _sessionProcessed; + private long _lastSnapshotProcessed; + private int _committedCount; + private int _activeLmRequests; + private int _peakLmRequests; + + public GenerationProgressState( + int totalExpected, + int initiallyCommitted, + int configuredParallelism, + TimeProvider timeProvider) + { + _totalExpected = totalExpected; + _initiallyCommitted = initiallyCommitted; + _committedCount = initiallyCommitted; + _configuredParallelism = configuredParallelism; + _timeProvider = timeProvider; + _startedTimestamp = timeProvider.GetTimestamp(); + _lastSnapshotTimestamp = _startedTimestamp; + } + + public int CommittedCount => Volatile.Read(ref _committedCount); + + public void ItemProcessed() => Interlocked.Increment(ref _sessionProcessed); + + public void SetCommittedCount(int count) => Volatile.Write(ref _committedCount, count); + + public void LmRequestStarted() + { + int active = Interlocked.Increment(ref _activeLmRequests); + int peak = Volatile.Read(ref _peakLmRequests); + while (active > peak) + { + int observed = Interlocked.CompareExchange( + ref _peakLmRequests, + active, + peak); + if (observed == peak) + { + break; + } + + peak = observed; + } + } + + public void LmRequestFinished() => Interlocked.Decrement(ref _activeLmRequests); + + public ProgressSnapshot TakeSnapshot() + { + long timestamp = _timeProvider.GetTimestamp(); + long processed = Volatile.Read(ref _sessionProcessed); + long previousProcessed = Interlocked.Exchange( + ref _lastSnapshotProcessed, + processed); + long previousTimestamp = Interlocked.Exchange( + ref _lastSnapshotTimestamp, + timestamp); + TimeSpan elapsed = _timeProvider.GetElapsedTime(_startedTimestamp, timestamp); + TimeSpan interval = _timeProvider.GetElapsedTime(previousTimestamp, timestamp); + double currentRate = interval.TotalSeconds > 0 + ? (processed - previousProcessed) / interval.TotalSeconds + : 0; + double averageRate = elapsed.TotalSeconds > 0 + ? processed / elapsed.TotalSeconds + : 0; + long overallCompleted = Math.Min( + _totalExpected, + _initiallyCommitted + processed); + long remaining = Math.Max(0, _totalExpected - overallCompleted); + double percent = _totalExpected > 0 + ? overallCompleted * 100.0 / _totalExpected + : 100; + string eta = averageRate > 0 + ? FormatEta(TimeSpan.FromSeconds(remaining / averageRate)) + : "calculating"; + return new ProgressSnapshot( + overallCompleted, + _totalExpected, + percent, + processed, + currentRate, + averageRate, + CommittedCount, + Volatile.Read(ref _activeLmRequests), + _configuredParallelism, + Volatile.Read(ref _peakLmRequests), + eta, + elapsed); + } + } + + private sealed record ProgressSnapshot( + long OverallCompleted, + int TotalExpected, + double Percent, + long SessionProcessed, + double CurrentRate, + double AverageRate, + int CommittedCount, + int ActiveLmRequests, + int ConfiguredParallelism, + int PeakLmRequests, + string Eta, + TimeSpan Elapsed); + + private static string FormatEta(TimeSpan eta) + { + int totalHours = Math.Max(0, (int)eta.TotalHours); + if (totalHours > 0) + { + return $"{totalHours}h {eta.Minutes}m"; + } + + if (eta.Minutes > 0) + { + return $"{eta.Minutes}m {eta.Seconds}s"; + } + + return $"{Math.Max(0, eta.Seconds)}s"; + } + + private static readonly string[] ResponsePrefixes = + [ + "Output:", + "Result:", + "Completed text:", + "Corrected sentence:" + ]; +} \ No newline at end of file diff --git a/PHI.Data.Generator/RLHF.Generator/Keywords/KeywordLoadService.cs b/PHI.Data.Generator/RLHF.Generator/Keywords/KeywordLoadService.cs new file mode 100644 index 0000000..de63a5e --- /dev/null +++ b/PHI.Data.Generator/RLHF.Generator/Keywords/KeywordLoadService.cs @@ -0,0 +1,115 @@ +using Microsoft.EntityFrameworkCore; +using Microsoft.EntityFrameworkCore.Storage; +using RLHF.Generator.Persistence; +using RLHF.Generator.TrainingData; + +namespace RLHF.Generator.Keywords; + +public sealed record KeywordLoadResult( + int SourceKeywordCount, + int SourceVariantCount, + int ExistingKeywordCount, + int ExistingVariantCount, + int InsertedKeywordCount, + int InsertedVariantCount); + +public sealed class KeywordLoadService +{ + private readonly RlhfGeneratorDbContext _dbContext; + private readonly TrainingDataReader _trainingDataReader; + + public KeywordLoadService( + RlhfGeneratorDbContext dbContext, + TrainingDataReader trainingDataReader) + { + _dbContext = dbContext; + _trainingDataReader = trainingDataReader; + } + + public async Task LoadAsync( + CancellationToken cancellationToken = default) + { + List sourceKeywords = []; + foreach (TrainingCategoryDefinition category in TrainingCategories.All) + { + IReadOnlyList values = + await _trainingDataReader.ReadCategoryValuesAsync(category, cancellationToken); + sourceKeywords.AddRange(values.Select(value => new SourceKeyword( + category.Id, + value.CanonicalForm, + value.AllowedForms + .Skip(1) + .Where(variant => !string.IsNullOrWhiteSpace(variant) + && !string.Equals( + variant, + value.CanonicalForm, + StringComparison.OrdinalIgnoreCase)) + .ToArray()))); + } + + List databaseKeywords = await _dbContext.Keywords + .Include(keyword => keyword.Variants) + .ToListAsync(cancellationToken); + int existingKeywordCount = 0; + int existingVariantCount = 0; + int insertedKeywordCount = 0; + int insertedVariantCount = 0; + + await using IDbContextTransaction transaction = + await _dbContext.Database.BeginTransactionAsync(cancellationToken); + foreach (SourceKeyword sourceKeyword in sourceKeywords) + { + Keyword? keyword = databaseKeywords.FirstOrDefault(candidate => + candidate.CategoryId == sourceKeyword.CategoryId + && string.Equals( + candidate.Value, + sourceKeyword.Value, + StringComparison.OrdinalIgnoreCase)); + if (keyword is null) + { + keyword = new Keyword + { + CategoryId = sourceKeyword.CategoryId, + Value = sourceKeyword.Value + }; + databaseKeywords.Add(keyword); + _dbContext.Keywords.Add(keyword); + insertedKeywordCount++; + } + else + { + existingKeywordCount++; + } + + foreach (string sourceVariant in sourceKeyword.Variants) + { + if (keyword.Variants.Any(variant => string.Equals( + variant.Value, + sourceVariant, + StringComparison.OrdinalIgnoreCase))) + { + existingVariantCount++; + continue; + } + + keyword.Variants.Add(new KeywordVariant { Value = sourceVariant }); + insertedVariantCount++; + } + } + + await _dbContext.SaveChangesAsync(cancellationToken); + await transaction.CommitAsync(cancellationToken); + return new KeywordLoadResult( + sourceKeywords.Count, + sourceKeywords.Sum(keyword => keyword.Variants.Count), + existingKeywordCount, + existingVariantCount, + insertedKeywordCount, + insertedVariantCount); + } + + private sealed record SourceKeyword( + int CategoryId, + string Value, + IReadOnlyList Variants); +} \ No newline at end of file diff --git a/PHI.Data.Generator/RLHF.Generator/Keywords/TrainingItemKeywordBackfillService.cs b/PHI.Data.Generator/RLHF.Generator/Keywords/TrainingItemKeywordBackfillService.cs new file mode 100644 index 0000000..8d2ccdf --- /dev/null +++ b/PHI.Data.Generator/RLHF.Generator/Keywords/TrainingItemKeywordBackfillService.cs @@ -0,0 +1,235 @@ +using System.Globalization; +using System.Text; +using Microsoft.EntityFrameworkCore; +using Microsoft.EntityFrameworkCore.Storage; +using RLHF.Generator.Persistence; + +namespace RLHF.Generator.Keywords; + +public sealed record TrainingItemKeywordBackfillResult( + bool DryRun, + int TotalTrainingItemCount, + int AlreadyAssignedCount, + int ProcessedCount, + int UniqueMatchCount, + int UpdatedCount, + int UnmatchedCount, + int AmbiguousCount); + +public sealed class KeywordsNotLoadedException : InvalidOperationException +{ + public KeywordsNotLoadedException() + : base("No keywords are loaded. Run POST /api/keywords/load before backfilling.") + { + } +} + +public sealed class TrainingItemKeywordBackfillService +{ + public const int DefaultBatchSize = 500; + public const int MaximumBatchSize = 5000; + + private readonly RlhfGeneratorDbContext _dbContext; + + public TrainingItemKeywordBackfillService(RlhfGeneratorDbContext dbContext) + { + _dbContext = dbContext; + } + + public async Task BackfillAsync( + bool dryRun = true, + int batchSize = DefaultBatchSize, + CancellationToken cancellationToken = default) + { + if (batchSize is < 1 or > MaximumBatchSize) + { + throw new ArgumentOutOfRangeException( + nameof(batchSize), + $"Batch size must be between 1 and {MaximumBatchSize}."); + } + + List keywords = await _dbContext.Keywords + .AsNoTracking() + .Include(keyword => keyword.Variants) + .ToListAsync(cancellationToken); + if (keywords.Count == 0) + { + throw new KeywordsNotLoadedException(); + } + + IReadOnlyDictionary> catalog = BuildCatalog(keywords); + int totalCount = await _dbContext.TrainingItems.CountAsync(cancellationToken); + int alreadyAssignedCount = await _dbContext.TrainingItems.CountAsync( + item => item.KeywordId != null, + cancellationToken); + int processedCount = 0; + int uniqueMatchCount = 0; + int updatedCount = 0; + int unmatchedCount = 0; + int ambiguousCount = 0; + int lastId = 0; + + while (true) + { + IQueryable query = _dbContext.TrainingItems + .Where(item => item.KeywordId == null && item.Id > lastId) + .OrderBy(item => item.Id) + .Take(batchSize); + List batch = dryRun + ? await query.AsNoTracking().ToListAsync(cancellationToken) + : await query.ToListAsync(cancellationToken); + if (batch.Count == 0) + { + break; + } + + lastId = batch[^1].Id; + foreach (TrainingItem item in batch) + { + HashSet matches = Match(catalog, item.CategoryId, item.Value); + processedCount++; + switch (matches.Count) + { + case 0: + unmatchedCount++; + break; + case 1: + uniqueMatchCount++; + if (!dryRun) + { + item.KeywordId = matches.Single(); + updatedCount++; + } + break; + default: + ambiguousCount++; + break; + } + } + + if (!dryRun) + { + await using IDbContextTransaction transaction = + await _dbContext.Database.BeginTransactionAsync(cancellationToken); + await _dbContext.SaveChangesAsync(cancellationToken); + await transaction.CommitAsync(cancellationToken); + _dbContext.ChangeTracker.Clear(); + } + } + + return new TrainingItemKeywordBackfillResult( + dryRun, + totalCount, + alreadyAssignedCount, + processedCount, + uniqueMatchCount, + updatedCount, + unmatchedCount, + ambiguousCount); + } + + private static IReadOnlyDictionary> BuildCatalog( + IEnumerable keywords) => keywords + .GroupBy(keyword => keyword.CategoryId) + .ToDictionary( + category => category.Key, + category => (IReadOnlyList)category + .SelectMany(keyword => keyword.Variants + .Select(variant => new Surface(Normalize(variant.Value), keyword.Id)) + .Prepend(new Surface(Normalize(keyword.Value), keyword.Id))) + .Where(surface => surface.Value.Length > 0) + .OrderByDescending(surface => surface.Value.Length) + .ToArray()); + + private static HashSet Match( + IReadOnlyDictionary> catalog, + int categoryId, + string value) + { + HashSet keywordIds = []; + if (!catalog.TryGetValue(categoryId, out IReadOnlyList? surfaces)) + { + return keywordIds; + } + + string normalizedValue = Normalize(value); + List occupiedSpans = []; + foreach (Surface surface in surfaces) + { + int searchIndex = 0; + while (searchIndex <= normalizedValue.Length - surface.Value.Length) + { + int matchIndex = normalizedValue.IndexOf( + surface.Value, + searchIndex, + StringComparison.OrdinalIgnoreCase); + if (matchIndex < 0) + { + break; + } + + int matchEnd = matchIndex + surface.Value.Length; + bool hasBoundaries = !IsLetterOrDigitBefore(normalizedValue, matchIndex) + && !IsLetterOrDigitAt(normalizedValue, matchEnd); + bool overlaps = occupiedSpans.Any(span => + surface.Value.Length < span.Length + && matchIndex < span.Start + span.Length + && matchEnd > span.Start); + if (hasBoundaries && !overlaps) + { + occupiedSpans.Add(new Span(matchIndex, surface.Value.Length)); + keywordIds.Add(surface.KeywordId); + } + + searchIndex = matchIndex + Math.Max(1, surface.Value.Length); + } + } + + return keywordIds; + } + + private static string Normalize(string value) + { + string decomposed = value.Normalize(NormalizationForm.FormD); + StringBuilder normalized = new(decomposed.Length); + foreach (Rune rune in decomposed.EnumerateRunes()) + { + UnicodeCategory category = Rune.GetUnicodeCategory(rune); + if (category is not UnicodeCategory.NonSpacingMark + and not UnicodeCategory.SpacingCombiningMark + and not UnicodeCategory.EnclosingMark) + { + normalized.Append(rune); + } + } + + return normalized.ToString(); + } + + private static bool IsLetterOrDigitAt(string value, int index) => + index >= 0 + && index < value.Length + && Rune.IsLetterOrDigit(Rune.GetRuneAt(value, index)); + + private static bool IsLetterOrDigitBefore(string value, int index) + { + if (index <= 0 || index > value.Length) + { + return false; + } + + int runeStart = index - 1; + if (runeStart > 0 + && char.IsLowSurrogate(value[runeStart]) + && char.IsHighSurrogate(value[runeStart - 1])) + { + runeStart--; + } + + return Rune.IsLetterOrDigit(Rune.GetRuneAt(value, runeStart)); + } + + private sealed record Surface(string Value, int KeywordId); + + private sealed record Span(int Start, int Length); +} \ No newline at end of file diff --git a/PHI.Data.Generator/RLHF.Generator/LmStudio/LmStudioClient.cs b/PHI.Data.Generator/RLHF.Generator/LmStudio/LmStudioClient.cs new file mode 100644 index 0000000..a8ed5a9 --- /dev/null +++ b/PHI.Data.Generator/RLHF.Generator/LmStudio/LmStudioClient.cs @@ -0,0 +1,382 @@ +using System.Net.Http.Json; +using System.Text; +using System.Text.Json; +using System.Text.Json.Serialization; + +namespace RLHF.Generator.LmStudio; + +public sealed class LmStudioClient +{ + private readonly HttpClient _httpClient; + private readonly LmStudioOptions _options; + + public LmStudioClient(HttpClient httpClient, LmStudioOptions options) + { + ArgumentNullException.ThrowIfNull(httpClient); + ArgumentNullException.ThrowIfNull(options); + + ValidateOptions(options); + + _httpClient = httpClient; + _options = options; + } + + public async Task CompleteAsync( + string text, + string? tense, + bool isFragment, + string? protectedSubject = null, + string? protectedMedicalTerm = null, + IReadOnlyList? allowedMedicalForms = null, + CancellationToken cancellationToken = default) + { + if (string.IsNullOrWhiteSpace(text)) + { + throw new ArgumentException("Completion text is required.", nameof(text)); + } + + if (!SentenceTenses.TryNormalize(tense, out string? normalizedTense)) + { + throw new ArgumentException( + "Supported tense values are past, present, and future.", + nameof(tense)); + } + + if (protectedSubject is not null && protectedSubject.Trim().Length == 0) + { + throw new ArgumentException( + "Protected subject cannot be empty or whitespace.", + nameof(protectedSubject)); + } + + if (protectedMedicalTerm is not null && protectedMedicalTerm.Trim().Length == 0) + { + throw new ArgumentException( + "Protected medical term cannot be empty or whitespace.", + nameof(protectedMedicalTerm)); + } + + if (allowedMedicalForms is not null + && (allowedMedicalForms.Count == 0 + || allowedMedicalForms.Any(string.IsNullOrWhiteSpace))) + { + throw new ArgumentException( + "Allowed medical forms cannot be empty or contain empty values.", + nameof(allowedMedicalForms)); + } + + string resolvedText = ResolveIndefiniteArticles(text); + if (isFragment) + { + resolvedText = ResolveFragmentAuxiliaries(resolvedText, normalizedTense); + } + + bool requiresMedicalFormSelection = allowedMedicalForms?.Count > 1; + if (!requiresMedicalFormSelection + && isFragment + && normalizedTense is not null + && resolvedText.IndexOfAny(['[', ']']) < 0 + && !BeginsWithRecognizableVerbPhrase(resolvedText)) + { + return resolvedText; + } + + if (!requiresMedicalFormSelection + && isFragment + && normalizedTense is null + && resolvedText.IndexOfAny(['[', ']']) < 0) + { + return resolvedText; + } + + List userLines = [$"Is fragment: {isFragment.ToString().ToLowerInvariant()}"]; + if (protectedSubject is not null) + { + userLines.Add($"Protected subject: {protectedSubject}"); + } + + if (protectedMedicalTerm is not null) + { + userLines.Add($"Protected medical term: {protectedMedicalTerm}"); + } + + if (allowedMedicalForms is not null) + { + userLines.Add($"Allowed medical forms: {string.Join(" | ", allowedMedicalForms)}"); + } + + if (normalizedTense is not null) + { + userLines.Add($"Requested tense: {normalizedTense}"); + } + + userLines.Add($"Sentence: {resolvedText}"); + string userContent = string.Join('\n', userLines); + + var payload = new + { + model = _options.ModelName, + messages = new[] + { + new { role = "system", content = _options.SystemPrompt }, + new { role = "user", content = userContent } + }, + temperature = _options.Temperature, + top_p = _options.TopP, + max_tokens = _options.MaxTokens, + seed = _options.Seed, + reasoning_effort = "none", + stream = false + }; + + using JsonContent requestContent = JsonContent.Create(payload); + using HttpResponseMessage response = await _httpClient.PostAsync( + _options.ChatCompletionsUrl, + requestContent, + cancellationToken); + string responseBody = await response.Content.ReadAsStringAsync(cancellationToken); + + if (!response.IsSuccessStatusCode) + { + throw new HttpRequestException( + $"LM Studio returned HTTP {(int)response.StatusCode} ({response.StatusCode}): {responseBody}", + null, + response.StatusCode); + } + + LmStudioResponse? completion = JsonSerializer.Deserialize(responseBody); + if (completion?.Choices is null || completion.Choices.Count == 0) + { + throw new InvalidDataException("LM Studio response contains no choices."); + } + + LmStudioMessage? message = completion.Choices[0].Message; + if (message is null) + { + throw new InvalidDataException("LM Studio response choice contains no message."); + } + + if (string.IsNullOrWhiteSpace(message.Content)) + { + throw new InvalidDataException("LM Studio response message contains no content."); + } + + return message.Content.Trim(); + } + + private static bool BeginsWithRecognizableVerbPhrase(string text) + { + int wordOffset = 0; + while (wordOffset < text.Length && char.IsWhiteSpace(text[wordOffset])) + { + wordOffset++; + } + + while (wordOffset < text.Length && IsOpeningPunctuation(text[wordOffset])) + { + wordOffset++; + while (wordOffset < text.Length && char.IsWhiteSpace(text[wordOffset])) + { + wordOffset++; + } + } + + int wordEnd = wordOffset; + while (wordEnd < text.Length && char.IsLetter(text[wordEnd])) + { + wordEnd++; + } + + if (wordEnd == wordOffset) + { + return false; + } + + string firstWord = text[wordOffset..wordEnd]; + return firstWord.EndsWith("ing", StringComparison.OrdinalIgnoreCase) + || FragmentVerbWords.Contains(firstWord, StringComparer.OrdinalIgnoreCase); + } + + private static readonly string[] FragmentVerbWords = + [ + "am", "is", "are", "was", "were", "be", "been", "being", + "has", "have", "had", "do", "does", "did", "can", "could", + "may", "might", "must", "shall", "should", "will", "would" + ]; + + private static string ResolveFragmentAuxiliaries(string text, string? normalizedTense) + { + string beReplacement = normalizedTense switch + { + SentenceTenses.Past => "was", + SentenceTenses.Future => "will be", + _ => "is" + }; + string haveReplacement = normalizedTense switch + { + SentenceTenses.Past => "had", + SentenceTenses.Future => "will have", + _ => "has" + }; + + return text + .Replace("[is|are|was|were]", beReplacement, StringComparison.Ordinal) + .Replace("[has|have|had]", haveReplacement, StringComparison.Ordinal); + } + + private static string ResolveIndefiniteArticles(string text) + { + const string articleExpression = "[a|an]"; + int occurrenceOffset = text.IndexOf(articleExpression, StringComparison.Ordinal); + if (occurrenceOffset < 0) + { + return text; + } + + StringBuilder result = new(text.Length); + int sourceOffset = 0; + while (occurrenceOffset >= 0) + { + int followingOffset = occurrenceOffset + articleExpression.Length; + result.Append(text, sourceOffset, occurrenceOffset - sourceOffset); + result.Append(SelectIndefiniteArticle(text, followingOffset)); + sourceOffset = followingOffset; + occurrenceOffset = text.IndexOf( + articleExpression, + sourceOffset, + StringComparison.Ordinal); + } + + result.Append(text, sourceOffset, text.Length - sourceOffset); + return result.ToString(); + } + + private static string SelectIndefiniteArticle(string text, int followingOffset) + { + while (followingOffset < text.Length && char.IsWhiteSpace(text[followingOffset])) + { + followingOffset++; + } + + while (followingOffset < text.Length && IsOpeningPunctuation(text[followingOffset])) + { + followingOffset++; + while (followingOffset < text.Length && char.IsWhiteSpace(text[followingOffset])) + { + followingOffset++; + } + } + + if (followingOffset >= text.Length || !char.IsLetterOrDigit(text[followingOffset])) + { + throw new InvalidDataException( + "An exact [a|an] expression must be followed by a spoken token."); + } + + int tokenEnd = followingOffset; + while (tokenEnd < text.Length + && (char.IsLetterOrDigit(text[tokenEnd]) || text[tokenEnd] is '-' or '\'')) + { + tokenEnd++; + } + + string token = text[followingOffset..tokenEnd]; + if (AppearsToBeginWithLetterName(token)) + { + return "AEFHILMNORSX".Contains(token[0], StringComparison.Ordinal) ? "an" : "a"; + } + + if (StartsWithAny(token, ["heir", "honest", "honor", "hour"])) + { + return "an"; + } + + if (StartsWithAny( + token, + ["one", "once", "euro", "uni", "unique", "unit", "united", "university", "unicorn", "use", "user", "usual", "utility"])) + { + return "a"; + } + + char firstAlphabeticCharacter = token.First(char.IsLetter); + return "aeiou".Contains(firstAlphabeticCharacter, StringComparison.OrdinalIgnoreCase) + ? "an" + : "a"; + } + + private static bool IsOpeningPunctuation(char character) => + character is '"' or '\'' or '(' or '[' or '{' or '<'; + + private static bool AppearsToBeginWithLetterName(string token) => + char.IsUpper(token[0]) + && (token.Length == 1 + || char.IsUpper(token[1]) + || char.IsDigit(token[1]) + || token[1] == '-'); + + private static bool StartsWithAny(string token, IReadOnlyList prefixes) => + prefixes.Any(prefix => token.StartsWith(prefix, StringComparison.OrdinalIgnoreCase)); + + private static void ValidateOptions(LmStudioOptions options) + { + if (string.IsNullOrWhiteSpace(options.ChatCompletionsUrl)) + { + throw new InvalidOperationException("LmStudio ChatCompletionsUrl is required."); + } + + if (!Uri.TryCreate(options.ChatCompletionsUrl, UriKind.Absolute, out Uri? uri) + || (uri.Scheme != Uri.UriSchemeHttp && uri.Scheme != Uri.UriSchemeHttps)) + { + throw new InvalidOperationException( + "LmStudio ChatCompletionsUrl must be an absolute HTTP or HTTPS URI."); + } + + if (string.IsNullOrWhiteSpace(options.ModelName)) + { + throw new InvalidOperationException("LmStudio ModelName is required."); + } + + if (string.IsNullOrWhiteSpace(options.SystemPrompt)) + { + throw new InvalidOperationException("LmStudio SystemPrompt is required."); + } + + if (options.Temperature < 0) + { + throw new InvalidOperationException("LmStudio Temperature must be greater than or equal to zero."); + } + + if (options.TopP <= 0 || options.TopP > 1) + { + throw new InvalidOperationException("LmStudio TopP must be greater than zero and at most one."); + } + + if (options.MaxTokens <= 0) + { + throw new InvalidOperationException("LmStudio MaxTokens must be greater than zero."); + } + + if (options.TimeoutSeconds <= 0) + { + throw new InvalidOperationException("LmStudio TimeoutSeconds must be greater than zero."); + } + } + + private sealed class LmStudioResponse + { + [JsonPropertyName("choices")] + public List? Choices { get; init; } + } + + private sealed class LmStudioChoice + { + [JsonPropertyName("message")] + public LmStudioMessage? Message { get; init; } + } + + private sealed class LmStudioMessage + { + [JsonPropertyName("content")] + public string? Content { get; init; } + } +} \ No newline at end of file diff --git a/PHI.Data.Generator/RLHF.Generator/LmStudio/LmStudioOptions.cs b/PHI.Data.Generator/RLHF.Generator/LmStudio/LmStudioOptions.cs new file mode 100644 index 0000000..bf67354 --- /dev/null +++ b/PHI.Data.Generator/RLHF.Generator/LmStudio/LmStudioOptions.cs @@ -0,0 +1,22 @@ +namespace RLHF.Generator.LmStudio; + +public sealed class LmStudioOptions +{ + public const string SectionName = "LmStudio"; + + public string ChatCompletionsUrl { get; set; } = string.Empty; + + public string ModelName { get; set; } = string.Empty; + + public string SystemPrompt { get; set; } = string.Empty; + + public double Temperature { get; set; } + + public double TopP { get; set; } + + public int MaxTokens { get; set; } + + public int Seed { get; set; } + + public int TimeoutSeconds { get; set; } +} \ No newline at end of file diff --git a/PHI.Data.Generator/RLHF.Generator/LmStudio/SentenceTenses.cs b/PHI.Data.Generator/RLHF.Generator/LmStudio/SentenceTenses.cs new file mode 100644 index 0000000..b71ca38 --- /dev/null +++ b/PHI.Data.Generator/RLHF.Generator/LmStudio/SentenceTenses.cs @@ -0,0 +1,43 @@ +namespace RLHF.Generator.LmStudio; + +public static class SentenceTenses +{ + public const string Past = "past"; + public const string Present = "present"; + public const string Future = "future"; + + public static bool TryNormalize(string? value, out string? normalized) + { + normalized = null; + if (value is null) + { + return true; + } + + string trimmedValue = value.Trim(); + if (trimmedValue.Length == 0) + { + return false; + } + + if (string.Equals(trimmedValue, Past, StringComparison.OrdinalIgnoreCase)) + { + normalized = Past; + return true; + } + + if (string.Equals(trimmedValue, Present, StringComparison.OrdinalIgnoreCase)) + { + normalized = Present; + return true; + } + + if (string.Equals(trimmedValue, Future, StringComparison.OrdinalIgnoreCase)) + { + normalized = Future; + return true; + } + + return false; + } +} \ No newline at end of file diff --git a/PHI.Data.Generator/RLHF.Generator/Persistence/Category.cs b/PHI.Data.Generator/RLHF.Generator/Persistence/Category.cs new file mode 100644 index 0000000..0b94fbe --- /dev/null +++ b/PHI.Data.Generator/RLHF.Generator/Persistence/Category.cs @@ -0,0 +1,10 @@ +namespace RLHF.Generator.Persistence; + +public sealed class Category +{ + public int Id { get; set; } + + public string Name { get; set; } = string.Empty; + + public ICollection Keywords { get; set; } = []; +} \ No newline at end of file diff --git a/PHI.Data.Generator/RLHF.Generator/Persistence/GenerationRun.cs b/PHI.Data.Generator/RLHF.Generator/Persistence/GenerationRun.cs new file mode 100644 index 0000000..4a1c960 --- /dev/null +++ b/PHI.Data.Generator/RLHF.Generator/Persistence/GenerationRun.cs @@ -0,0 +1,34 @@ +namespace RLHF.Generator.Persistence; + +public sealed class GenerationRun +{ + public Guid Id { get; set; } + + public string Status { get; set; } = GenerationRunStatuses.Pending; + + public int RandomSeed { get; set; } + + public string InputFingerprint { get; set; } = string.Empty; + + public string ConfigurationFingerprint { get; set; } = string.Empty; + + public int? CurrentCategoryId { get; set; } + + public bool? CurrentIsPositive { get; set; } + + public long LastCommittedPlanOrdinal { get; set; } = -1; + + public int TotalExpectedRowCount { get; set; } + + public int TotalCommittedRowCount { get; set; } + + public DateTimeOffset StartedAt { get; set; } + + public DateTimeOffset LastCheckpointAt { get; set; } + + public DateTimeOffset? CompletedAt { get; set; } + + public string? FailureType { get; set; } + + public string? FailureMessage { get; set; } +} \ No newline at end of file diff --git a/PHI.Data.Generator/RLHF.Generator/Persistence/GenerationRunStatuses.cs b/PHI.Data.Generator/RLHF.Generator/Persistence/GenerationRunStatuses.cs new file mode 100644 index 0000000..1a2c59d --- /dev/null +++ b/PHI.Data.Generator/RLHF.Generator/Persistence/GenerationRunStatuses.cs @@ -0,0 +1,18 @@ +namespace RLHF.Generator.Persistence; + +public static class GenerationRunStatuses +{ + public const string Pending = nameof(Pending); + public const string Running = nameof(Running); + public const string Completed = nameof(Completed); + public const string Failed = nameof(Failed); + public const string Cancelled = nameof(Cancelled); + + public static readonly string[] Incomplete = + [ + Pending, + Running, + Failed, + Cancelled + ]; +} \ No newline at end of file diff --git a/PHI.Data.Generator/RLHF.Generator/Persistence/Keyword.cs b/PHI.Data.Generator/RLHF.Generator/Persistence/Keyword.cs new file mode 100644 index 0000000..bc398ea --- /dev/null +++ b/PHI.Data.Generator/RLHF.Generator/Persistence/Keyword.cs @@ -0,0 +1,16 @@ +namespace RLHF.Generator.Persistence; + +public sealed class Keyword +{ + public int Id { get; set; } + + public int CategoryId { get; set; } + + public string Value { get; set; } = string.Empty; + + public Category Category { get; set; } = null!; + + public ICollection Variants { get; set; } = []; + + public ICollection TrainingItems { get; set; } = []; +} \ No newline at end of file diff --git a/PHI.Data.Generator/RLHF.Generator/Persistence/KeywordVariant.cs b/PHI.Data.Generator/RLHF.Generator/Persistence/KeywordVariant.cs new file mode 100644 index 0000000..a356b73 --- /dev/null +++ b/PHI.Data.Generator/RLHF.Generator/Persistence/KeywordVariant.cs @@ -0,0 +1,12 @@ +namespace RLHF.Generator.Persistence; + +public sealed class KeywordVariant +{ + public int Id { get; set; } + + public int ParentId { get; set; } + + public string Value { get; set; } = string.Empty; + + public Keyword Parent { get; set; } = null!; +} \ No newline at end of file diff --git a/PHI.Data.Generator/RLHF.Generator/Persistence/Migrations/20260724081401_InitialCreate.Designer.cs b/PHI.Data.Generator/RLHF.Generator/Persistence/Migrations/20260724081401_InitialCreate.Designer.cs new file mode 100644 index 0000000..18121d9 --- /dev/null +++ b/PHI.Data.Generator/RLHF.Generator/Persistence/Migrations/20260724081401_InitialCreate.Designer.cs @@ -0,0 +1,139 @@ +// +using Microsoft.EntityFrameworkCore; +using Microsoft.EntityFrameworkCore.Infrastructure; +using Microsoft.EntityFrameworkCore.Metadata; +using Microsoft.EntityFrameworkCore.Migrations; +using Microsoft.EntityFrameworkCore.Storage.ValueConversion; +using RLHF.Generator.Persistence; + +#nullable disable + +namespace RLHF.Generator.Persistence.Migrations +{ + [DbContext(typeof(RlhfGeneratorDbContext))] + [Migration("20260724081401_InitialCreate")] + partial class InitialCreate + { + /// + protected override void BuildTargetModel(ModelBuilder modelBuilder) + { +#pragma warning disable 612, 618 + modelBuilder + .HasAnnotation("ProductVersion", "10.0.8") + .HasAnnotation("Relational:MaxIdentifierLength", 128); + + SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder); + + modelBuilder.Entity("RLHF.Generator.Persistence.Category", b => + { + b.Property("Id") + .HasColumnType("int"); + + b.Property("Name") + .IsRequired() + .HasColumnType("nvarchar(128)"); + + b.HasKey("Id"); + + b.ToTable("Category", "dbo"); + + b.HasData( + new + { + Id = 1, + Name = "MEDICAL_ALLERGY" + }, + new + { + Id = 2, + Name = "MEDICAL_DIAGNOSIS" + }, + new + { + Id = 3, + Name = "MEDICAL_FAMILY_HISTORY" + }, + new + { + Id = 4, + Name = "MEDICAL_MEDICATION" + }, + new + { + Id = 5, + Name = "MEDICAL_MENTAL_HEALTH" + }, + new + { + Id = 6, + Name = "MEDICAL_OTHER" + }, + new + { + Id = 7, + Name = "MEDICAL_PHYSICAL_HEALTH" + }, + new + { + Id = 8, + Name = "MEDICAL_PROCEDURE" + }, + new + { + Id = 9, + Name = "MEDICAL_SUBSTANCE_USE" + }, + new + { + Id = 10, + Name = "MEDICAL_SYMPTOM" + }, + new + { + Id = 11, + Name = "MEDICAL_TEST" + }, + new + { + Id = 12, + Name = "MEDICAL_TREATMENT" + }); + }); + + modelBuilder.Entity("RLHF.Generator.Persistence.TrainingItem", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("int"); + + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); + + b.Property("CategoryId") + .HasColumnType("int"); + + b.Property("IsPositive") + .HasColumnType("bit"); + + b.Property("Value") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.HasKey("Id"); + + b.HasIndex("CategoryId"); + + b.ToTable("TrainingItem", "dbo"); + }); + + modelBuilder.Entity("RLHF.Generator.Persistence.TrainingItem", b => + { + b.HasOne("RLHF.Generator.Persistence.Category", null) + .WithMany() + .HasForeignKey("CategoryId") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + }); +#pragma warning restore 612, 618 + } + } +} diff --git a/PHI.Data.Generator/RLHF.Generator/Persistence/Migrations/20260724081401_InitialCreate.cs b/PHI.Data.Generator/RLHF.Generator/Persistence/Migrations/20260724081401_InitialCreate.cs new file mode 100644 index 0000000..e66c15c --- /dev/null +++ b/PHI.Data.Generator/RLHF.Generator/Persistence/Migrations/20260724081401_InitialCreate.cs @@ -0,0 +1,93 @@ +using Microsoft.EntityFrameworkCore.Migrations; + +#nullable disable + +#pragma warning disable CA1814 // Prefer jagged arrays over multidimensional + +namespace RLHF.Generator.Persistence.Migrations +{ + /// + public partial class InitialCreate : Migration + { + /// + protected override void Up(MigrationBuilder migrationBuilder) + { + migrationBuilder.EnsureSchema( + name: "dbo"); + + migrationBuilder.CreateTable( + name: "Category", + schema: "dbo", + columns: table => new + { + Id = table.Column(type: "int", nullable: false), + Name = table.Column(type: "nvarchar(128)", nullable: false) + }, + constraints: table => + { + table.PrimaryKey("PK_Category", x => x.Id); + }); + + migrationBuilder.CreateTable( + name: "TrainingItem", + schema: "dbo", + columns: table => new + { + Id = table.Column(type: "int", nullable: false) + .Annotation("SqlServer:Identity", "1, 1"), + CategoryId = table.Column(type: "int", nullable: false), + IsPositive = table.Column(type: "bit", nullable: false), + Value = table.Column(type: "nvarchar(max)", nullable: false) + }, + constraints: table => + { + table.PrimaryKey("PK_TrainingItem", x => x.Id); + table.ForeignKey( + name: "FK_TrainingItem_Category_CategoryId", + column: x => x.CategoryId, + principalSchema: "dbo", + principalTable: "Category", + principalColumn: "Id", + onDelete: ReferentialAction.Restrict); + }); + + migrationBuilder.InsertData( + schema: "dbo", + table: "Category", + columns: new[] { "Id", "Name" }, + values: new object[,] + { + { 1, "MEDICAL_ALLERGY" }, + { 2, "MEDICAL_DIAGNOSIS" }, + { 3, "MEDICAL_FAMILY_HISTORY" }, + { 4, "MEDICAL_MEDICATION" }, + { 5, "MEDICAL_MENTAL_HEALTH" }, + { 6, "MEDICAL_OTHER" }, + { 7, "MEDICAL_PHYSICAL_HEALTH" }, + { 8, "MEDICAL_PROCEDURE" }, + { 9, "MEDICAL_SUBSTANCE_USE" }, + { 10, "MEDICAL_SYMPTOM" }, + { 11, "MEDICAL_TEST" }, + { 12, "MEDICAL_TREATMENT" } + }); + + migrationBuilder.CreateIndex( + name: "IX_TrainingItem_CategoryId", + schema: "dbo", + table: "TrainingItem", + column: "CategoryId"); + } + + /// + protected override void Down(MigrationBuilder migrationBuilder) + { + migrationBuilder.DropTable( + name: "TrainingItem", + schema: "dbo"); + + migrationBuilder.DropTable( + name: "Category", + schema: "dbo"); + } + } +} diff --git a/PHI.Data.Generator/RLHF.Generator/Persistence/Migrations/20260726045229_DurableGenerationResume.Designer.cs b/PHI.Data.Generator/RLHF.Generator/Persistence/Migrations/20260726045229_DurableGenerationResume.Designer.cs new file mode 100644 index 0000000..838ce94 --- /dev/null +++ b/PHI.Data.Generator/RLHF.Generator/Persistence/Migrations/20260726045229_DurableGenerationResume.Designer.cs @@ -0,0 +1,229 @@ +// +using System; +using Microsoft.EntityFrameworkCore; +using Microsoft.EntityFrameworkCore.Infrastructure; +using Microsoft.EntityFrameworkCore.Metadata; +using Microsoft.EntityFrameworkCore.Migrations; +using Microsoft.EntityFrameworkCore.Storage.ValueConversion; +using RLHF.Generator.Persistence; + +#nullable disable + +namespace RLHF.Generator.Persistence.Migrations +{ + [DbContext(typeof(RlhfGeneratorDbContext))] + [Migration("20260726045229_DurableGenerationResume")] + partial class DurableGenerationResume + { + /// + protected override void BuildTargetModel(ModelBuilder modelBuilder) + { +#pragma warning disable 612, 618 + modelBuilder + .HasAnnotation("ProductVersion", "10.0.8") + .HasAnnotation("Relational:MaxIdentifierLength", 128); + + SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder); + + modelBuilder.Entity("RLHF.Generator.Persistence.Category", b => + { + b.Property("Id") + .HasColumnType("int"); + + b.Property("Name") + .IsRequired() + .HasColumnType("nvarchar(128)"); + + b.HasKey("Id"); + + b.ToTable("Category", "dbo"); + + b.HasData( + new + { + Id = 1, + Name = "MEDICAL_ALLERGY" + }, + new + { + Id = 2, + Name = "MEDICAL_DIAGNOSIS" + }, + new + { + Id = 3, + Name = "MEDICAL_FAMILY_HISTORY" + }, + new + { + Id = 4, + Name = "MEDICAL_MEDICATION" + }, + new + { + Id = 5, + Name = "MEDICAL_MENTAL_HEALTH" + }, + new + { + Id = 6, + Name = "MEDICAL_OTHER" + }, + new + { + Id = 7, + Name = "MEDICAL_PHYSICAL_HEALTH" + }, + new + { + Id = 8, + Name = "MEDICAL_PROCEDURE" + }, + new + { + Id = 9, + Name = "MEDICAL_SUBSTANCE_USE" + }, + new + { + Id = 10, + Name = "MEDICAL_SYMPTOM" + }, + new + { + Id = 11, + Name = "MEDICAL_TEST" + }, + new + { + Id = 12, + Name = "MEDICAL_TREATMENT" + }); + }); + + modelBuilder.Entity("RLHF.Generator.Persistence.GenerationRun", b => + { + b.Property("Id") + .HasColumnType("uniqueidentifier"); + + b.Property("CompletedAt") + .HasColumnType("datetimeoffset"); + + b.Property("ConfigurationFingerprint") + .IsRequired() + .HasColumnType("char(64)"); + + b.Property("CurrentCategoryId") + .HasColumnType("int"); + + b.Property("CurrentIsPositive") + .HasColumnType("bit"); + + b.Property("FailureMessage") + .HasColumnType("nvarchar(1024)"); + + b.Property("FailureType") + .HasColumnType("nvarchar(256)"); + + b.Property("InputFingerprint") + .IsRequired() + .HasColumnType("char(64)"); + + b.Property("LastCheckpointAt") + .HasColumnType("datetimeoffset"); + + b.Property("LastCommittedPlanOrdinal") + .HasColumnType("bigint"); + + b.Property("RandomSeed") + .HasColumnType("int"); + + b.Property("StartedAt") + .HasColumnType("datetimeoffset"); + + b.Property("Status") + .IsRequired() + .HasColumnType("nvarchar(16)"); + + b.Property("TotalCommittedRowCount") + .HasColumnType("int"); + + b.Property("TotalExpectedRowCount") + .HasColumnType("int"); + + b.HasKey("Id"); + + b.HasIndex("CurrentCategoryId"); + + b.HasIndex("Status"); + + b.ToTable("GenerationRun", "dbo"); + }); + + modelBuilder.Entity("RLHF.Generator.Persistence.TrainingItem", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("int"); + + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); + + b.Property("CategoryId") + .HasColumnType("int"); + + b.Property("GenerationRunId") + .HasColumnType("uniqueidentifier"); + + b.Property("IsPositive") + .HasColumnType("bit"); + + b.Property("PlanOrdinal") + .HasColumnType("bigint"); + + b.Property("RecordKey") + .HasColumnType("char(64)"); + + b.Property("Value") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.HasKey("Id"); + + b.HasIndex("CategoryId"); + + b.HasIndex("RecordKey") + .IsUnique() + .HasFilter("[RecordKey] IS NOT NULL"); + + b.HasIndex("GenerationRunId", "PlanOrdinal") + .IsUnique() + .HasFilter("[GenerationRunId] IS NOT NULL AND [PlanOrdinal] IS NOT NULL"); + + b.ToTable("TrainingItem", "dbo"); + }); + + modelBuilder.Entity("RLHF.Generator.Persistence.GenerationRun", b => + { + b.HasOne("RLHF.Generator.Persistence.Category", null) + .WithMany() + .HasForeignKey("CurrentCategoryId") + .OnDelete(DeleteBehavior.Restrict); + }); + + modelBuilder.Entity("RLHF.Generator.Persistence.TrainingItem", b => + { + b.HasOne("RLHF.Generator.Persistence.Category", null) + .WithMany() + .HasForeignKey("CategoryId") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("RLHF.Generator.Persistence.GenerationRun", null) + .WithMany() + .HasForeignKey("GenerationRunId") + .OnDelete(DeleteBehavior.Restrict); + }); +#pragma warning restore 612, 618 + } + } +} diff --git a/PHI.Data.Generator/RLHF.Generator/Persistence/Migrations/20260726045229_DurableGenerationResume.cs b/PHI.Data.Generator/RLHF.Generator/Persistence/Migrations/20260726045229_DurableGenerationResume.cs new file mode 100644 index 0000000..7575e5b --- /dev/null +++ b/PHI.Data.Generator/RLHF.Generator/Persistence/Migrations/20260726045229_DurableGenerationResume.cs @@ -0,0 +1,145 @@ +using System; +using Microsoft.EntityFrameworkCore.Migrations; + +#nullable disable + +namespace RLHF.Generator.Persistence.Migrations +{ + /// + public partial class DurableGenerationResume : Migration + { + /// + protected override void Up(MigrationBuilder migrationBuilder) + { + migrationBuilder.AddColumn( + name: "GenerationRunId", + schema: "dbo", + table: "TrainingItem", + type: "uniqueidentifier", + nullable: true); + + migrationBuilder.AddColumn( + name: "PlanOrdinal", + schema: "dbo", + table: "TrainingItem", + type: "bigint", + nullable: true); + + migrationBuilder.AddColumn( + name: "RecordKey", + schema: "dbo", + table: "TrainingItem", + type: "char(64)", + nullable: true); + + migrationBuilder.CreateTable( + name: "GenerationRun", + schema: "dbo", + columns: table => new + { + Id = table.Column(type: "uniqueidentifier", nullable: false), + Status = table.Column(type: "nvarchar(16)", nullable: false), + RandomSeed = table.Column(type: "int", nullable: false), + InputFingerprint = table.Column(type: "char(64)", nullable: false), + ConfigurationFingerprint = table.Column(type: "char(64)", nullable: false), + CurrentCategoryId = table.Column(type: "int", nullable: true), + CurrentIsPositive = table.Column(type: "bit", nullable: true), + LastCommittedPlanOrdinal = table.Column(type: "bigint", nullable: false), + TotalExpectedRowCount = table.Column(type: "int", nullable: false), + TotalCommittedRowCount = table.Column(type: "int", nullable: false), + StartedAt = table.Column(type: "datetimeoffset", nullable: false), + LastCheckpointAt = table.Column(type: "datetimeoffset", nullable: false), + CompletedAt = table.Column(type: "datetimeoffset", nullable: true), + FailureType = table.Column(type: "nvarchar(256)", nullable: true), + FailureMessage = table.Column(type: "nvarchar(1024)", nullable: true) + }, + constraints: table => + { + table.PrimaryKey("PK_GenerationRun", x => x.Id); + table.ForeignKey( + name: "FK_GenerationRun_Category_CurrentCategoryId", + column: x => x.CurrentCategoryId, + principalSchema: "dbo", + principalTable: "Category", + principalColumn: "Id", + onDelete: ReferentialAction.Restrict); + }); + + migrationBuilder.CreateIndex( + name: "IX_TrainingItem_GenerationRunId_PlanOrdinal", + schema: "dbo", + table: "TrainingItem", + columns: new[] { "GenerationRunId", "PlanOrdinal" }, + unique: true, + filter: "[GenerationRunId] IS NOT NULL AND [PlanOrdinal] IS NOT NULL"); + + migrationBuilder.CreateIndex( + name: "IX_TrainingItem_RecordKey", + schema: "dbo", + table: "TrainingItem", + column: "RecordKey", + unique: true, + filter: "[RecordKey] IS NOT NULL"); + + migrationBuilder.CreateIndex( + name: "IX_GenerationRun_CurrentCategoryId", + schema: "dbo", + table: "GenerationRun", + column: "CurrentCategoryId"); + + migrationBuilder.CreateIndex( + name: "IX_GenerationRun_Status", + schema: "dbo", + table: "GenerationRun", + column: "Status"); + + migrationBuilder.AddForeignKey( + name: "FK_TrainingItem_GenerationRun_GenerationRunId", + schema: "dbo", + table: "TrainingItem", + column: "GenerationRunId", + principalSchema: "dbo", + principalTable: "GenerationRun", + principalColumn: "Id", + onDelete: ReferentialAction.Restrict); + } + + /// + protected override void Down(MigrationBuilder migrationBuilder) + { + migrationBuilder.DropForeignKey( + name: "FK_TrainingItem_GenerationRun_GenerationRunId", + schema: "dbo", + table: "TrainingItem"); + + migrationBuilder.DropTable( + name: "GenerationRun", + schema: "dbo"); + + migrationBuilder.DropIndex( + name: "IX_TrainingItem_GenerationRunId_PlanOrdinal", + schema: "dbo", + table: "TrainingItem"); + + migrationBuilder.DropIndex( + name: "IX_TrainingItem_RecordKey", + schema: "dbo", + table: "TrainingItem"); + + migrationBuilder.DropColumn( + name: "GenerationRunId", + schema: "dbo", + table: "TrainingItem"); + + migrationBuilder.DropColumn( + name: "PlanOrdinal", + schema: "dbo", + table: "TrainingItem"); + + migrationBuilder.DropColumn( + name: "RecordKey", + schema: "dbo", + table: "TrainingItem"); + } + } +} diff --git a/PHI.Data.Generator/RLHF.Generator/Persistence/Migrations/20260727025048_AddKeywordCatalog.Designer.cs b/PHI.Data.Generator/RLHF.Generator/Persistence/Migrations/20260727025048_AddKeywordCatalog.Designer.cs new file mode 100644 index 0000000..fbcc40e --- /dev/null +++ b/PHI.Data.Generator/RLHF.Generator/Persistence/Migrations/20260727025048_AddKeywordCatalog.Designer.cs @@ -0,0 +1,323 @@ +// +using System; +using Microsoft.EntityFrameworkCore; +using Microsoft.EntityFrameworkCore.Infrastructure; +using Microsoft.EntityFrameworkCore.Metadata; +using Microsoft.EntityFrameworkCore.Migrations; +using Microsoft.EntityFrameworkCore.Storage.ValueConversion; +using RLHF.Generator.Persistence; + +#nullable disable + +namespace RLHF.Generator.Persistence.Migrations +{ + [DbContext(typeof(RlhfGeneratorDbContext))] + [Migration("20260727025048_AddKeywordCatalog")] + partial class AddKeywordCatalog + { + /// + protected override void BuildTargetModel(ModelBuilder modelBuilder) + { +#pragma warning disable 612, 618 + modelBuilder + .HasAnnotation("ProductVersion", "10.0.8") + .HasAnnotation("Relational:MaxIdentifierLength", 128); + + SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder); + + modelBuilder.Entity("RLHF.Generator.Persistence.Category", b => + { + b.Property("Id") + .HasColumnType("int"); + + b.Property("Name") + .IsRequired() + .HasColumnType("nvarchar(128)"); + + b.HasKey("Id"); + + b.ToTable("Category", "dbo"); + + b.HasData( + new + { + Id = 1, + Name = "MEDICAL_ALLERGY" + }, + new + { + Id = 2, + Name = "MEDICAL_DIAGNOSIS" + }, + new + { + Id = 3, + Name = "MEDICAL_FAMILY_HISTORY" + }, + new + { + Id = 4, + Name = "MEDICAL_MEDICATION" + }, + new + { + Id = 5, + Name = "MEDICAL_MENTAL_HEALTH" + }, + new + { + Id = 6, + Name = "MEDICAL_OTHER" + }, + new + { + Id = 7, + Name = "MEDICAL_PHYSICAL_HEALTH" + }, + new + { + Id = 8, + Name = "MEDICAL_PROCEDURE" + }, + new + { + Id = 9, + Name = "MEDICAL_SUBSTANCE_USE" + }, + new + { + Id = 10, + Name = "MEDICAL_SYMPTOM" + }, + new + { + Id = 11, + Name = "MEDICAL_TEST" + }, + new + { + Id = 12, + Name = "MEDICAL_TREATMENT" + }); + }); + + modelBuilder.Entity("RLHF.Generator.Persistence.GenerationRun", b => + { + b.Property("Id") + .HasColumnType("uniqueidentifier"); + + b.Property("CompletedAt") + .HasColumnType("datetimeoffset"); + + b.Property("ConfigurationFingerprint") + .IsRequired() + .HasColumnType("char(64)"); + + b.Property("CurrentCategoryId") + .HasColumnType("int"); + + b.Property("CurrentIsPositive") + .HasColumnType("bit"); + + b.Property("FailureMessage") + .HasColumnType("nvarchar(1024)"); + + b.Property("FailureType") + .HasColumnType("nvarchar(256)"); + + b.Property("InputFingerprint") + .IsRequired() + .HasColumnType("char(64)"); + + b.Property("LastCheckpointAt") + .HasColumnType("datetimeoffset"); + + b.Property("LastCommittedPlanOrdinal") + .HasColumnType("bigint"); + + b.Property("RandomSeed") + .HasColumnType("int"); + + b.Property("StartedAt") + .HasColumnType("datetimeoffset"); + + b.Property("Status") + .IsRequired() + .HasColumnType("nvarchar(16)"); + + b.Property("TotalCommittedRowCount") + .HasColumnType("int"); + + b.Property("TotalExpectedRowCount") + .HasColumnType("int"); + + b.HasKey("Id"); + + b.HasIndex("CurrentCategoryId"); + + b.HasIndex("Status"); + + b.ToTable("GenerationRun", "dbo"); + }); + + modelBuilder.Entity("RLHF.Generator.Persistence.Keyword", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("int"); + + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); + + b.Property("CategoryId") + .HasColumnType("int"); + + b.Property("Value") + .IsRequired() + .HasMaxLength(450) + .HasColumnType("nvarchar(450)"); + + b.HasKey("Id"); + + b.HasIndex("CategoryId", "Value") + .IsUnique(); + + b.ToTable("Keyword", "dbo"); + }); + + modelBuilder.Entity("RLHF.Generator.Persistence.KeywordVariant", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("int"); + + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); + + b.Property("ParentId") + .HasColumnType("int"); + + b.Property("Value") + .IsRequired() + .HasMaxLength(450) + .HasColumnType("nvarchar(450)"); + + b.HasKey("Id"); + + b.HasIndex("ParentId", "Value") + .IsUnique(); + + b.ToTable("KeywordVariant", "dbo"); + }); + + modelBuilder.Entity("RLHF.Generator.Persistence.TrainingItem", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("int"); + + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); + + b.Property("CategoryId") + .HasColumnType("int"); + + b.Property("GenerationRunId") + .HasColumnType("uniqueidentifier"); + + b.Property("IsPositive") + .HasColumnType("bit"); + + b.Property("KeywordId") + .HasColumnType("int"); + + b.Property("PlanOrdinal") + .HasColumnType("bigint"); + + b.Property("RecordKey") + .HasColumnType("char(64)"); + + b.Property("Value") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.HasKey("Id"); + + b.HasIndex("CategoryId"); + + b.HasIndex("KeywordId"); + + b.HasIndex("RecordKey") + .IsUnique() + .HasFilter("[RecordKey] IS NOT NULL"); + + b.HasIndex("GenerationRunId", "PlanOrdinal") + .IsUnique() + .HasFilter("[GenerationRunId] IS NOT NULL AND [PlanOrdinal] IS NOT NULL"); + + b.ToTable("TrainingItem", "dbo"); + }); + + modelBuilder.Entity("RLHF.Generator.Persistence.GenerationRun", b => + { + b.HasOne("RLHF.Generator.Persistence.Category", null) + .WithMany() + .HasForeignKey("CurrentCategoryId") + .OnDelete(DeleteBehavior.Restrict); + }); + + modelBuilder.Entity("RLHF.Generator.Persistence.Keyword", b => + { + b.HasOne("RLHF.Generator.Persistence.Category", "Category") + .WithMany("Keywords") + .HasForeignKey("CategoryId") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Category"); + }); + + modelBuilder.Entity("RLHF.Generator.Persistence.KeywordVariant", b => + { + b.HasOne("RLHF.Generator.Persistence.Keyword", "Parent") + .WithMany("Variants") + .HasForeignKey("ParentId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("Parent"); + }); + + modelBuilder.Entity("RLHF.Generator.Persistence.TrainingItem", b => + { + b.HasOne("RLHF.Generator.Persistence.Category", null) + .WithMany() + .HasForeignKey("CategoryId") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("RLHF.Generator.Persistence.GenerationRun", null) + .WithMany() + .HasForeignKey("GenerationRunId") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("RLHF.Generator.Persistence.Keyword", "Keyword") + .WithMany("TrainingItems") + .HasForeignKey("KeywordId") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Keyword"); + }); + + modelBuilder.Entity("RLHF.Generator.Persistence.Category", b => + { + b.Navigation("Keywords"); + }); + + modelBuilder.Entity("RLHF.Generator.Persistence.Keyword", b => + { + b.Navigation("TrainingItems"); + + b.Navigation("Variants"); + }); +#pragma warning restore 612, 618 + } + } +} diff --git a/PHI.Data.Generator/RLHF.Generator/Persistence/Migrations/20260727025048_AddKeywordCatalog.cs b/PHI.Data.Generator/RLHF.Generator/Persistence/Migrations/20260727025048_AddKeywordCatalog.cs new file mode 100644 index 0000000..66df080 --- /dev/null +++ b/PHI.Data.Generator/RLHF.Generator/Persistence/Migrations/20260727025048_AddKeywordCatalog.cs @@ -0,0 +1,122 @@ +using Microsoft.EntityFrameworkCore.Migrations; + +#nullable disable + +namespace RLHF.Generator.Persistence.Migrations +{ + /// + public partial class AddKeywordCatalog : Migration + { + /// + protected override void Up(MigrationBuilder migrationBuilder) + { + migrationBuilder.AddColumn( + name: "KeywordId", + schema: "dbo", + table: "TrainingItem", + type: "int", + nullable: true); + + migrationBuilder.CreateTable( + name: "Keyword", + schema: "dbo", + columns: table => new + { + Id = table.Column(type: "int", nullable: false) + .Annotation("SqlServer:Identity", "1, 1"), + CategoryId = table.Column(type: "int", nullable: false), + Value = table.Column(type: "nvarchar(450)", maxLength: 450, nullable: false) + }, + constraints: table => + { + table.PrimaryKey("PK_Keyword", x => x.Id); + table.ForeignKey( + name: "FK_Keyword_Category_CategoryId", + column: x => x.CategoryId, + principalSchema: "dbo", + principalTable: "Category", + principalColumn: "Id", + onDelete: ReferentialAction.Restrict); + }); + + migrationBuilder.CreateTable( + name: "KeywordVariant", + schema: "dbo", + columns: table => new + { + Id = table.Column(type: "int", nullable: false) + .Annotation("SqlServer:Identity", "1, 1"), + ParentId = table.Column(type: "int", nullable: false), + Value = table.Column(type: "nvarchar(450)", maxLength: 450, nullable: false) + }, + constraints: table => + { + table.PrimaryKey("PK_KeywordVariant", x => x.Id); + table.ForeignKey( + name: "FK_KeywordVariant_Keyword_ParentId", + column: x => x.ParentId, + principalSchema: "dbo", + principalTable: "Keyword", + principalColumn: "Id", + onDelete: ReferentialAction.Cascade); + }); + + migrationBuilder.CreateIndex( + name: "IX_TrainingItem_KeywordId", + schema: "dbo", + table: "TrainingItem", + column: "KeywordId"); + + migrationBuilder.CreateIndex( + name: "IX_Keyword_CategoryId_Value", + schema: "dbo", + table: "Keyword", + columns: new[] { "CategoryId", "Value" }, + unique: true); + + migrationBuilder.CreateIndex( + name: "IX_KeywordVariant_ParentId_Value", + schema: "dbo", + table: "KeywordVariant", + columns: new[] { "ParentId", "Value" }, + unique: true); + + migrationBuilder.AddForeignKey( + name: "FK_TrainingItem_Keyword_KeywordId", + schema: "dbo", + table: "TrainingItem", + column: "KeywordId", + principalSchema: "dbo", + principalTable: "Keyword", + principalColumn: "Id", + onDelete: ReferentialAction.Restrict); + } + + /// + protected override void Down(MigrationBuilder migrationBuilder) + { + migrationBuilder.DropForeignKey( + name: "FK_TrainingItem_Keyword_KeywordId", + schema: "dbo", + table: "TrainingItem"); + + migrationBuilder.DropTable( + name: "KeywordVariant", + schema: "dbo"); + + migrationBuilder.DropTable( + name: "Keyword", + schema: "dbo"); + + migrationBuilder.DropIndex( + name: "IX_TrainingItem_KeywordId", + schema: "dbo", + table: "TrainingItem"); + + migrationBuilder.DropColumn( + name: "KeywordId", + schema: "dbo", + table: "TrainingItem"); + } + } +} diff --git a/PHI.Data.Generator/RLHF.Generator/Persistence/Migrations/RlhfGeneratorDbContextModelSnapshot.cs b/PHI.Data.Generator/RLHF.Generator/Persistence/Migrations/RlhfGeneratorDbContextModelSnapshot.cs new file mode 100644 index 0000000..1b1400b --- /dev/null +++ b/PHI.Data.Generator/RLHF.Generator/Persistence/Migrations/RlhfGeneratorDbContextModelSnapshot.cs @@ -0,0 +1,320 @@ +// +using System; +using Microsoft.EntityFrameworkCore; +using Microsoft.EntityFrameworkCore.Infrastructure; +using Microsoft.EntityFrameworkCore.Metadata; +using Microsoft.EntityFrameworkCore.Storage.ValueConversion; +using RLHF.Generator.Persistence; + +#nullable disable + +namespace RLHF.Generator.Persistence.Migrations +{ + [DbContext(typeof(RlhfGeneratorDbContext))] + partial class RlhfGeneratorDbContextModelSnapshot : ModelSnapshot + { + protected override void BuildModel(ModelBuilder modelBuilder) + { +#pragma warning disable 612, 618 + modelBuilder + .HasAnnotation("ProductVersion", "10.0.8") + .HasAnnotation("Relational:MaxIdentifierLength", 128); + + SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder); + + modelBuilder.Entity("RLHF.Generator.Persistence.Category", b => + { + b.Property("Id") + .HasColumnType("int"); + + b.Property("Name") + .IsRequired() + .HasColumnType("nvarchar(128)"); + + b.HasKey("Id"); + + b.ToTable("Category", "dbo"); + + b.HasData( + new + { + Id = 1, + Name = "MEDICAL_ALLERGY" + }, + new + { + Id = 2, + Name = "MEDICAL_DIAGNOSIS" + }, + new + { + Id = 3, + Name = "MEDICAL_FAMILY_HISTORY" + }, + new + { + Id = 4, + Name = "MEDICAL_MEDICATION" + }, + new + { + Id = 5, + Name = "MEDICAL_MENTAL_HEALTH" + }, + new + { + Id = 6, + Name = "MEDICAL_OTHER" + }, + new + { + Id = 7, + Name = "MEDICAL_PHYSICAL_HEALTH" + }, + new + { + Id = 8, + Name = "MEDICAL_PROCEDURE" + }, + new + { + Id = 9, + Name = "MEDICAL_SUBSTANCE_USE" + }, + new + { + Id = 10, + Name = "MEDICAL_SYMPTOM" + }, + new + { + Id = 11, + Name = "MEDICAL_TEST" + }, + new + { + Id = 12, + Name = "MEDICAL_TREATMENT" + }); + }); + + modelBuilder.Entity("RLHF.Generator.Persistence.GenerationRun", b => + { + b.Property("Id") + .HasColumnType("uniqueidentifier"); + + b.Property("CompletedAt") + .HasColumnType("datetimeoffset"); + + b.Property("ConfigurationFingerprint") + .IsRequired() + .HasColumnType("char(64)"); + + b.Property("CurrentCategoryId") + .HasColumnType("int"); + + b.Property("CurrentIsPositive") + .HasColumnType("bit"); + + b.Property("FailureMessage") + .HasColumnType("nvarchar(1024)"); + + b.Property("FailureType") + .HasColumnType("nvarchar(256)"); + + b.Property("InputFingerprint") + .IsRequired() + .HasColumnType("char(64)"); + + b.Property("LastCheckpointAt") + .HasColumnType("datetimeoffset"); + + b.Property("LastCommittedPlanOrdinal") + .HasColumnType("bigint"); + + b.Property("RandomSeed") + .HasColumnType("int"); + + b.Property("StartedAt") + .HasColumnType("datetimeoffset"); + + b.Property("Status") + .IsRequired() + .HasColumnType("nvarchar(16)"); + + b.Property("TotalCommittedRowCount") + .HasColumnType("int"); + + b.Property("TotalExpectedRowCount") + .HasColumnType("int"); + + b.HasKey("Id"); + + b.HasIndex("CurrentCategoryId"); + + b.HasIndex("Status"); + + b.ToTable("GenerationRun", "dbo"); + }); + + modelBuilder.Entity("RLHF.Generator.Persistence.Keyword", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("int"); + + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); + + b.Property("CategoryId") + .HasColumnType("int"); + + b.Property("Value") + .IsRequired() + .HasMaxLength(450) + .HasColumnType("nvarchar(450)"); + + b.HasKey("Id"); + + b.HasIndex("CategoryId", "Value") + .IsUnique(); + + b.ToTable("Keyword", "dbo"); + }); + + modelBuilder.Entity("RLHF.Generator.Persistence.KeywordVariant", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("int"); + + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); + + b.Property("ParentId") + .HasColumnType("int"); + + b.Property("Value") + .IsRequired() + .HasMaxLength(450) + .HasColumnType("nvarchar(450)"); + + b.HasKey("Id"); + + b.HasIndex("ParentId", "Value") + .IsUnique(); + + b.ToTable("KeywordVariant", "dbo"); + }); + + modelBuilder.Entity("RLHF.Generator.Persistence.TrainingItem", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("int"); + + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); + + b.Property("CategoryId") + .HasColumnType("int"); + + b.Property("GenerationRunId") + .HasColumnType("uniqueidentifier"); + + b.Property("IsPositive") + .HasColumnType("bit"); + + b.Property("KeywordId") + .HasColumnType("int"); + + b.Property("PlanOrdinal") + .HasColumnType("bigint"); + + b.Property("RecordKey") + .HasColumnType("char(64)"); + + b.Property("Value") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.HasKey("Id"); + + b.HasIndex("CategoryId"); + + b.HasIndex("KeywordId"); + + b.HasIndex("RecordKey") + .IsUnique() + .HasFilter("[RecordKey] IS NOT NULL"); + + b.HasIndex("GenerationRunId", "PlanOrdinal") + .IsUnique() + .HasFilter("[GenerationRunId] IS NOT NULL AND [PlanOrdinal] IS NOT NULL"); + + b.ToTable("TrainingItem", "dbo"); + }); + + modelBuilder.Entity("RLHF.Generator.Persistence.GenerationRun", b => + { + b.HasOne("RLHF.Generator.Persistence.Category", null) + .WithMany() + .HasForeignKey("CurrentCategoryId") + .OnDelete(DeleteBehavior.Restrict); + }); + + modelBuilder.Entity("RLHF.Generator.Persistence.Keyword", b => + { + b.HasOne("RLHF.Generator.Persistence.Category", "Category") + .WithMany("Keywords") + .HasForeignKey("CategoryId") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.Navigation("Category"); + }); + + modelBuilder.Entity("RLHF.Generator.Persistence.KeywordVariant", b => + { + b.HasOne("RLHF.Generator.Persistence.Keyword", "Parent") + .WithMany("Variants") + .HasForeignKey("ParentId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("Parent"); + }); + + modelBuilder.Entity("RLHF.Generator.Persistence.TrainingItem", b => + { + b.HasOne("RLHF.Generator.Persistence.Category", null) + .WithMany() + .HasForeignKey("CategoryId") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("RLHF.Generator.Persistence.GenerationRun", null) + .WithMany() + .HasForeignKey("GenerationRunId") + .OnDelete(DeleteBehavior.Restrict); + + b.HasOne("RLHF.Generator.Persistence.Keyword", "Keyword") + .WithMany("TrainingItems") + .HasForeignKey("KeywordId") + .OnDelete(DeleteBehavior.Restrict); + + b.Navigation("Keyword"); + }); + + modelBuilder.Entity("RLHF.Generator.Persistence.Category", b => + { + b.Navigation("Keywords"); + }); + + modelBuilder.Entity("RLHF.Generator.Persistence.Keyword", b => + { + b.Navigation("TrainingItems"); + + b.Navigation("Variants"); + }); +#pragma warning restore 612, 618 + } + } +} diff --git a/PHI.Data.Generator/RLHF.Generator/Persistence/RlhfGeneratorDbContext.cs b/PHI.Data.Generator/RLHF.Generator/Persistence/RlhfGeneratorDbContext.cs new file mode 100644 index 0000000..d1f21e1 --- /dev/null +++ b/PHI.Data.Generator/RLHF.Generator/Persistence/RlhfGeneratorDbContext.cs @@ -0,0 +1,117 @@ +using Microsoft.EntityFrameworkCore; +using RLHF.Generator.TrainingData; + +namespace RLHF.Generator.Persistence; + +public sealed class RlhfGeneratorDbContext : DbContext +{ + public RlhfGeneratorDbContext(DbContextOptions options) + : base(options) + { + } + + public DbSet Categories => Set(); + + public DbSet GenerationRuns => Set(); + + public DbSet Keywords => Set(); + + public DbSet KeywordVariants => Set(); + + public DbSet TrainingItems => Set(); + + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + base.OnModelCreating(modelBuilder); + + modelBuilder.Entity(entity => + { + entity.ToTable("Category", "dbo"); + entity.HasKey(category => category.Id); + entity.Property(category => category.Id).ValueGeneratedNever(); + entity.Property(category => category.Name).HasColumnType("nvarchar(128)").IsRequired(); + entity.HasData(TrainingCategories.All.Select(category => new Category + { + Id = category.Id, + Name = category.Name + })); + }); + + modelBuilder.Entity(entity => + { + entity.ToTable("GenerationRun", "dbo"); + entity.HasKey(run => run.Id); + entity.Property(run => run.Id).ValueGeneratedNever(); + entity.Property(run => run.Status).HasColumnType("nvarchar(16)").IsRequired(); + entity.Property(run => run.InputFingerprint).HasColumnType("char(64)").IsRequired(); + entity.Property(run => run.ConfigurationFingerprint).HasColumnType("char(64)").IsRequired(); + entity.Property(run => run.FailureType).HasColumnType("nvarchar(256)"); + entity.Property(run => run.FailureMessage).HasColumnType("nvarchar(1024)"); + entity.HasIndex(run => run.Status); + entity.HasOne() + .WithMany() + .HasForeignKey(run => run.CurrentCategoryId) + .OnDelete(DeleteBehavior.Restrict); + }); + + modelBuilder.Entity(entity => + { + entity.ToTable("Keyword", "dbo"); + entity.HasKey(keyword => keyword.Id); + entity.Property(keyword => keyword.Id).UseIdentityColumn(1, 1); + entity.Property(keyword => keyword.CategoryId).IsRequired(); + entity.Property(keyword => keyword.Value).HasMaxLength(450).IsRequired(); + entity.HasIndex(keyword => new { keyword.CategoryId, keyword.Value }).IsUnique(); + entity.HasOne(keyword => keyword.Category) + .WithMany(category => category.Keywords) + .HasForeignKey(keyword => keyword.CategoryId) + .OnDelete(DeleteBehavior.Restrict); + }); + + modelBuilder.Entity(entity => + { + entity.ToTable("KeywordVariant", "dbo"); + entity.HasKey(variant => variant.Id); + entity.Property(variant => variant.Id).UseIdentityColumn(1, 1); + entity.Property(variant => variant.ParentId).IsRequired(); + entity.Property(variant => variant.Value).HasMaxLength(450).IsRequired(); + entity.HasIndex(variant => new { variant.ParentId, variant.Value }).IsUnique(); + entity.HasOne(variant => variant.Parent) + .WithMany(keyword => keyword.Variants) + .HasForeignKey(variant => variant.ParentId) + .OnDelete(DeleteBehavior.Cascade); + }); + + modelBuilder.Entity(entity => + { + entity.ToTable("TrainingItem", "dbo"); + entity.HasKey(trainingItem => trainingItem.Id); + entity.Property(trainingItem => trainingItem.Id).UseIdentityColumn(1, 1); + entity.Property(trainingItem => trainingItem.RecordKey).HasColumnType("char(64)"); + entity.Property(trainingItem => trainingItem.Value).HasColumnType("nvarchar(max)").IsRequired(); + entity.HasIndex(trainingItem => trainingItem.KeywordId); + entity.HasIndex(trainingItem => trainingItem.RecordKey) + .IsUnique() + .HasFilter("[RecordKey] IS NOT NULL"); + entity.HasIndex(trainingItem => new + { + trainingItem.GenerationRunId, + trainingItem.PlanOrdinal + }) + .IsUnique() + .HasFilter("[GenerationRunId] IS NOT NULL AND [PlanOrdinal] IS NOT NULL"); + entity.HasOne() + .WithMany() + .HasForeignKey(trainingItem => trainingItem.GenerationRunId) + .OnDelete(DeleteBehavior.Restrict); + entity.HasOne() + .WithMany() + .HasForeignKey(trainingItem => trainingItem.CategoryId) + .OnDelete(DeleteBehavior.Restrict); + entity.HasOne(trainingItem => trainingItem.Keyword) + .WithMany(keyword => keyword.TrainingItems) + .HasForeignKey(trainingItem => trainingItem.KeywordId) + .OnDelete(DeleteBehavior.Restrict); + }); + } +} \ No newline at end of file diff --git a/PHI.Data.Generator/RLHF.Generator/Persistence/RlhfGeneratorDesignTimeDbContextFactory.cs b/PHI.Data.Generator/RLHF.Generator/Persistence/RlhfGeneratorDesignTimeDbContextFactory.cs new file mode 100644 index 0000000..ba3be4c --- /dev/null +++ b/PHI.Data.Generator/RLHF.Generator/Persistence/RlhfGeneratorDesignTimeDbContextFactory.cs @@ -0,0 +1,47 @@ +using Microsoft.Data.SqlClient; +using Microsoft.EntityFrameworkCore; +using Microsoft.EntityFrameworkCore.Design; + +namespace RLHF.Generator.Persistence; + +public sealed class RlhfGeneratorDesignTimeDbContextFactory + : IDesignTimeDbContextFactory +{ + public const string DesignTimeDatabaseName = "RLHFGenerator_DesignTime"; + + private const string DesignTimeConnectionString = + "Data Source=.;Initial Catalog=RLHFGenerator_DesignTime;Integrated Security=True;" + + "Encrypt=True;TrustServerCertificate=True"; + + public RlhfGeneratorDbContext CreateDbContext(string[] args) + { + SqlConnectionStringBuilder connection = new(DesignTimeConnectionString); + ValidateDatabaseName(connection.InitialCatalog); + + DbContextOptions options = + new DbContextOptionsBuilder() + .UseSqlServer(connection.ConnectionString) + .Options; + return new RlhfGeneratorDbContext(options); + } + + public static void ValidateDatabaseName(string? databaseName) + { + if (string.Equals(databaseName, "RLHFGenerator", StringComparison.OrdinalIgnoreCase)) + { + throw new InvalidOperationException( + "EF design-time tooling is forbidden from using the production " + + "RLHFGenerator database."); + } + + if (string.IsNullOrWhiteSpace(databaseName) + || !string.Equals( + databaseName, + DesignTimeDatabaseName, + StringComparison.OrdinalIgnoreCase)) + { + throw new InvalidOperationException( + $"EF design-time database must be '{DesignTimeDatabaseName}'."); + } + } +} \ No newline at end of file diff --git a/PHI.Data.Generator/RLHF.Generator/Persistence/TrainingItem.cs b/PHI.Data.Generator/RLHF.Generator/Persistence/TrainingItem.cs new file mode 100644 index 0000000..30d0351 --- /dev/null +++ b/PHI.Data.Generator/RLHF.Generator/Persistence/TrainingItem.cs @@ -0,0 +1,22 @@ +namespace RLHF.Generator.Persistence; + +public sealed class TrainingItem +{ + public int Id { get; set; } + + public Guid? GenerationRunId { get; set; } + + public long? PlanOrdinal { get; set; } + + public string? RecordKey { get; set; } + + public int CategoryId { get; set; } + + public int? KeywordId { get; set; } + + public bool IsPositive { get; set; } + + public string Value { get; set; } = string.Empty; + + public Keyword? Keyword { get; set; } +} \ No newline at end of file diff --git a/PHI.Data.Generator/RLHF.Generator/Persistence/TrainingItemResetService.cs b/PHI.Data.Generator/RLHF.Generator/Persistence/TrainingItemResetService.cs new file mode 100644 index 0000000..43df8dd --- /dev/null +++ b/PHI.Data.Generator/RLHF.Generator/Persistence/TrainingItemResetService.cs @@ -0,0 +1,27 @@ +using Microsoft.EntityFrameworkCore; +using Microsoft.EntityFrameworkCore.Storage; + +namespace RLHF.Generator.Persistence; + +public sealed class TrainingItemResetService +{ + private readonly RlhfGeneratorDbContext _dbContext; + + public TrainingItemResetService(RlhfGeneratorDbContext dbContext) + { + ArgumentNullException.ThrowIfNull(dbContext); + + _dbContext = dbContext; + } + + public async Task ResetAsync(CancellationToken cancellationToken = default) + { + cancellationToken.ThrowIfCancellationRequested(); + await using IDbContextTransaction transaction = + await _dbContext.Database.BeginTransactionAsync(cancellationToken); + await _dbContext.Database.ExecuteSqlRawAsync( + "TRUNCATE TABLE [dbo].[TrainingItem]; DELETE FROM [dbo].[GenerationRun];", + cancellationToken); + await transaction.CommitAsync(cancellationToken); + } +} \ No newline at end of file diff --git a/PHI.Data.Generator/RLHF.Generator/RLHF.Generator.csproj b/PHI.Data.Generator/RLHF.Generator/RLHF.Generator.csproj new file mode 100644 index 0000000..0dc63e7 --- /dev/null +++ b/PHI.Data.Generator/RLHF.Generator/RLHF.Generator.csproj @@ -0,0 +1,24 @@ + + + + net10.0 + enable + enable + + + + + PreserveNewest + PreserveNewest + + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + + + diff --git a/PHI.Data.Generator/RLHF.Generator/TrainingData/TrainingCategories.cs b/PHI.Data.Generator/RLHF.Generator/TrainingData/TrainingCategories.cs new file mode 100644 index 0000000..7781080 --- /dev/null +++ b/PHI.Data.Generator/RLHF.Generator/TrainingData/TrainingCategories.cs @@ -0,0 +1,54 @@ +using System.Collections.ObjectModel; + +namespace RLHF.Generator.TrainingData; + +public static class TrainingCategories +{ + public static TrainingCategoryDefinition MedicalAllergy { get; } = new(1, "MEDICAL_ALLERGY"); + public static TrainingCategoryDefinition MedicalDiagnosis { get; } = new(2, "MEDICAL_DIAGNOSIS"); + public static TrainingCategoryDefinition MedicalFamilyHistory { get; } = new(3, "MEDICAL_FAMILY_HISTORY"); + public static TrainingCategoryDefinition MedicalMedication { get; } = new(4, "MEDICAL_MEDICATION"); + public static TrainingCategoryDefinition MedicalMentalHealth { get; } = new(5, "MEDICAL_MENTAL_HEALTH"); + public static TrainingCategoryDefinition MedicalOther { get; } = new(6, "MEDICAL_OTHER"); + public static TrainingCategoryDefinition MedicalPhysicalHealth { get; } = new(7, "MEDICAL_PHYSICAL_HEALTH"); + public static TrainingCategoryDefinition MedicalProcedure { get; } = new(8, "MEDICAL_PROCEDURE"); + public static TrainingCategoryDefinition MedicalSubstanceUse { get; } = new(9, "MEDICAL_SUBSTANCE_USE"); + public static TrainingCategoryDefinition MedicalSymptom { get; } = new(10, "MEDICAL_SYMPTOM"); + public static TrainingCategoryDefinition MedicalTest { get; } = new(11, "MEDICAL_TEST"); + public static TrainingCategoryDefinition MedicalTreatment { get; } = new(12, "MEDICAL_TREATMENT"); + + public static IReadOnlyList All { get; } = + new ReadOnlyCollection( + [ + MedicalAllergy, + MedicalDiagnosis, + MedicalFamilyHistory, + MedicalMedication, + MedicalMentalHealth, + MedicalOther, + MedicalPhysicalHealth, + MedicalProcedure, + MedicalSubstanceUse, + MedicalSymptom, + MedicalTest, + MedicalTreatment + ]); + + public static TrainingCategoryDefinition GetByName(string name) + { + if (string.IsNullOrWhiteSpace(name)) + { + throw new ArgumentException("A category name is required.", nameof(name)); + } + + foreach (TrainingCategoryDefinition category in All) + { + if (string.Equals(category.Name, name, StringComparison.OrdinalIgnoreCase)) + { + return category; + } + } + + throw new ArgumentException($"Unsupported category name '{name}'.", nameof(name)); + } +} \ No newline at end of file diff --git a/PHI.Data.Generator/RLHF.Generator/TrainingData/TrainingCategoryDefinition.cs b/PHI.Data.Generator/RLHF.Generator/TrainingData/TrainingCategoryDefinition.cs new file mode 100644 index 0000000..fb22c78 --- /dev/null +++ b/PHI.Data.Generator/RLHF.Generator/TrainingData/TrainingCategoryDefinition.cs @@ -0,0 +1,3 @@ +namespace RLHF.Generator.TrainingData; + +public sealed record TrainingCategoryDefinition(int Id, string Name); \ No newline at end of file diff --git a/PHI.Data.Generator/RLHF.Generator/TrainingData/TrainingCategoryValue.cs b/PHI.Data.Generator/RLHF.Generator/TrainingData/TrainingCategoryValue.cs new file mode 100644 index 0000000..671ac8b --- /dev/null +++ b/PHI.Data.Generator/RLHF.Generator/TrainingData/TrainingCategoryValue.cs @@ -0,0 +1,19 @@ +using System.Collections.ObjectModel; + +namespace RLHF.Generator.TrainingData; + +public sealed record TrainingCategoryValue +{ + public TrainingCategoryValue(string canonicalForm, IReadOnlyList allowedForms) + { + ArgumentException.ThrowIfNullOrWhiteSpace(canonicalForm); + ArgumentNullException.ThrowIfNull(allowedForms); + + CanonicalForm = canonicalForm; + AllowedForms = new ReadOnlyCollection([.. allowedForms]); + } + + public string CanonicalForm { get; } + + public IReadOnlyList AllowedForms { get; } +} diff --git a/PHI.Data.Generator/RLHF.Generator/TrainingData/TrainingDataReader.cs b/PHI.Data.Generator/RLHF.Generator/TrainingData/TrainingDataReader.cs new file mode 100644 index 0000000..0831383 --- /dev/null +++ b/PHI.Data.Generator/RLHF.Generator/TrainingData/TrainingDataReader.cs @@ -0,0 +1,225 @@ +using System.Collections.ObjectModel; + +namespace RLHF.Generator.TrainingData; + +public sealed class TrainingDataReader +{ + public TrainingDataReader(string dataDirectory) + { + if (string.IsNullOrWhiteSpace(dataDirectory)) + { + throw new ArgumentException("A data directory is required.", nameof(dataDirectory)); + } + + DataDirectory = Path.GetFullPath(dataDirectory); + } + + public string DataDirectory { get; } + + public async Task ValidateAsync(CancellationToken cancellationToken = default) + { + if (!Directory.Exists(DataDirectory)) + { + throw new DirectoryNotFoundException($"Data directory not found: '{DataDirectory}'."); + } + + string categoriesDirectory = Path.Combine(DataDirectory, "Categories"); + if (!Directory.Exists(categoriesDirectory)) + { + throw new DirectoryNotFoundException($"Categories directory not found: '{categoriesDirectory}'."); + } + + string patternsDirectory = Path.Combine(DataDirectory, "Patterns"); + if (!Directory.Exists(patternsDirectory)) + { + throw new DirectoryNotFoundException($"Patterns directory not found: '{patternsDirectory}'."); + } + + string subjectsPath = Path.Combine(DataDirectory, "Subjects.txt"); + if (!File.Exists(subjectsPath)) + { + throw new FileNotFoundException($"Subjects file not found: '{subjectsPath}'.", subjectsPath); + } + + HashSet expectedCategoryFiles = TrainingCategories.All + .Select(category => $"{category.Name}.txt") + .ToHashSet(StringComparer.Ordinal); + ValidateFileSet(categoriesDirectory, expectedCategoryFiles, "category"); + + HashSet expectedPatternFiles = TrainingCategories.All + .SelectMany(category => new[] + { + $"{category.Name}.positive.txt", + $"{category.Name}.negative.txt" + }) + .ToHashSet(StringComparer.Ordinal); + ValidateFileSet(patternsDirectory, expectedPatternFiles, "pattern"); + + foreach (TrainingCategoryDefinition category in TrainingCategories.All) + { + await ReadCategoryValuesAsync(category, cancellationToken); + + foreach (bool isPositive in new[] { true, false }) + { + string patternPath = GetPatternPath(category, isPositive); + IReadOnlyList patterns = await ReadActiveLinesAsync(patternPath, cancellationToken); + foreach (string pattern in patterns) + { + if (pattern.Contains("[s]", StringComparison.Ordinal)) + { + throw new InvalidDataException( + $"Legacy placeholder '[s]' found in pattern file '{patternPath}'."); + } + } + } + } + + IReadOnlyList subjects = await ReadActiveLinesAsync(subjectsPath, cancellationToken); + if (!subjects.SequenceEqual(TrainingSubjects.All, StringComparer.Ordinal)) + { + throw new InvalidDataException( + $"Active subjects in '{subjectsPath}' do not exactly match the subject catalog. " + + $"Found: '{string.Join("', '", subjects)}'."); + } + } + + public async Task> ReadCategoryValuesAsync( + TrainingCategoryDefinition category, + CancellationToken cancellationToken = default) + { + ArgumentNullException.ThrowIfNull(category); + + string path = Path.Combine(DataDirectory, "Categories", $"{category.Name}.txt"); + if (!File.Exists(path)) + { + throw new FileNotFoundException($"Required data file not found: '{path}'.", path); + } + + List values = []; + Dictionary formLineNumbers = new(StringComparer.OrdinalIgnoreCase); + using StreamReader reader = File.OpenText(path); + int lineNumber = 0; + while (await reader.ReadLineAsync(cancellationToken) is { } line) + { + lineNumber++; + string trimmedLine = line.Trim(); + if (trimmedLine.Length == 0 || trimmedLine.StartsWith('#')) + { + continue; + } + + string[] forms = trimmedLine + .Split('|') + .Select(form => form.Trim()) + .ToArray(); + if (forms.Any(form => form.Length == 0)) + { + throw new InvalidDataException( + $"Category '{category.Name}' line {lineNumber} contains an empty surface form."); + } + + HashSet lineForms = new(StringComparer.OrdinalIgnoreCase); + foreach (string form in forms) + { + if (!lineForms.Add(form)) + { + throw new InvalidDataException( + $"Category '{category.Name}' line {lineNumber} contains duplicate surface form '{form}'."); + } + + if (formLineNumbers.TryGetValue(form, out int conflictingLineNumber)) + { + throw new InvalidDataException( + $"Category '{category.Name}' surface form '{form}' conflicts between lines " + + $"{conflictingLineNumber} and {lineNumber}."); + } + } + + foreach (string form in forms) + { + formLineNumbers.Add(form, lineNumber); + } + + values.Add(new TrainingCategoryValue(forms[0], forms)); + } + + if (values.Count == 0) + { + throw new InvalidDataException($"Data file contains no active lines: '{path}'."); + } + + return new ReadOnlyCollection(values); + } + + public Task> ReadPatternsAsync( + TrainingCategoryDefinition category, + bool isPositive, + CancellationToken cancellationToken = default) + { + ArgumentNullException.ThrowIfNull(category); + + return ReadActiveLinesAsync(GetPatternPath(category, isPositive), cancellationToken); + } + + private string GetPatternPath(TrainingCategoryDefinition category, bool isPositive) + { + string sentiment = isPositive ? "positive" : "negative"; + return Path.Combine(DataDirectory, "Patterns", $"{category.Name}.{sentiment}.txt"); + } + + private static void ValidateFileSet( + string directory, + IReadOnlySet expectedFiles, + string fileKind) + { + HashSet actualFiles = Directory + .EnumerateFiles(directory, "*.txt", SearchOption.TopDirectoryOnly) + .Select(path => Path.GetFileName(path)!) + .ToHashSet(StringComparer.Ordinal); + + string? missingFile = expectedFiles.FirstOrDefault(file => !actualFiles.Contains(file)); + if (missingFile is not null) + { + string missingPath = Path.Combine(directory, missingFile); + throw new FileNotFoundException( + $"Expected {fileKind} file not found: '{missingPath}'.", + missingPath); + } + + string? unexpectedFile = actualFiles.FirstOrDefault(file => !expectedFiles.Contains(file)); + if (unexpectedFile is not null) + { + throw new InvalidDataException( + $"Unexpected {fileKind} file found: '{Path.Combine(directory, unexpectedFile)}'."); + } + } + + private static async Task> ReadActiveLinesAsync( + string path, + CancellationToken cancellationToken) + { + if (!File.Exists(path)) + { + throw new FileNotFoundException($"Required data file not found: '{path}'.", path); + } + + List activeLines = []; + using StreamReader reader = File.OpenText(path); + + while (await reader.ReadLineAsync(cancellationToken) is { } line) + { + string trimmedLine = line.Trim(); + if (trimmedLine.Length > 0 && !trimmedLine.StartsWith('#')) + { + activeLines.Add(trimmedLine); + } + } + + if (activeLines.Count == 0) + { + throw new InvalidDataException($"Data file contains no active lines: '{path}'."); + } + + return new ReadOnlyCollection(activeLines); + } +} \ No newline at end of file diff --git a/PHI.Data.Generator/RLHF.Generator/TrainingData/TrainingSubjects.cs b/PHI.Data.Generator/RLHF.Generator/TrainingData/TrainingSubjects.cs new file mode 100644 index 0000000..c0829e1 --- /dev/null +++ b/PHI.Data.Generator/RLHF.Generator/TrainingData/TrainingSubjects.cs @@ -0,0 +1,14 @@ +using System.Collections.ObjectModel; + +namespace RLHF.Generator.TrainingData; + +public static class TrainingSubjects +{ + public const string He = nameof(He); + public const string She = nameof(She); + public const string They = nameof(They); + public const string Member = nameof(Member); + + public static IReadOnlyList All { get; } = + new ReadOnlyCollection([He, She, They, Member]); +} \ No newline at end of file diff --git a/README.md b/README.md index ca96d7d..3b82c21 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,3 @@ -# OpenBioLLM PHI Supervised Fine-Tuning +# Model for flagging and redacting PHI -Simple, repeatable pipeline for exporting labeled SQL Server data, fine-tuning Llama3-OpenBioLLM-8B, evaluating it, and producing an LM Studio-compatible GGUF model. +Simple, repeatable pipeline for exporting labeled "Generator" created SQL Server data, fine-tuning / extending Llama3-OpenBioLLM-8B, evaluating it, and producing a GGUF model.