rag
healthcare
omop
ehr
data-engineering
ehr-omop-rag-assistant / data /omop_corpus.json
mieraci22's picture
Prepare EHR to OMOP RAG Space
c221896
Raw
History Blame Contribute Delete
5.89 kB
[
{
"doc_id": "visit_concept",
"domain": "visit",
"target_table": "visit_occurrence",
"target_field": "visit_concept_id",
"title": "Standard visit type",
"content": "For a Visit, visit_concept_id represents the standard kind of encounter, such as inpatient, outpatient, emergency room, or telehealth. Map the local encounter class to a standard Visit concept.",
"source_url": "https://ohdsi.github.io/CommonDataModel/cdm54.html#VISIT_OCCURRENCE",
"aliases": "encounter_class patient_class visit_category service_setting enc_type clinical kind care setting inpatient outpatient emergency telehealth ER clinic"
},
{
"doc_id": "visit_start",
"domain": "visit",
"target_table": "visit_occurrence",
"target_field": "visit_start_datetime",
"title": "Visit start timestamp",
"content": "visit_start_datetime stores the date and time when the encounter begins, such as admission, arrival, or check-in time. Preserve timestamp precision when it is available.",
"source_url": "https://ohdsi.github.io/CommonDataModel/cdm54.html#VISIT_OCCURRENCE",
"aliases": "admit_dttm arrival_time encounter_begin_ts checkin_datetime visit_start admission arrival beginning first encounter time"
},
{
"doc_id": "visit_end",
"domain": "visit",
"target_table": "visit_occurrence",
"target_field": "visit_end_datetime",
"title": "Visit end timestamp",
"content": "visit_end_datetime stores the date and time when the encounter ends, such as discharge, departure, or checkout time. Validate that the end is not before the start.",
"source_url": "https://ohdsi.github.io/CommonDataModel/cdm54.html#VISIT_OCCURRENCE",
"aliases": "discharge_dttm departure_time encounter_end_ts checkout_datetime visit_stop discharge departure ending final encounter time"
},
{
"doc_id": "visit_source",
"domain": "visit",
"target_table": "visit_occurrence",
"target_field": "visit_source_value",
"title": "Original visit source value",
"content": "visit_source_value preserves the original local encounter code or text for traceability after a standard Visit concept is assigned.",
"source_url": "https://ohdsi.github.io/CommonDataModel/cdm54.html#VISIT_OCCURRENCE",
"aliases": "encounter_type_raw local_visit_code source_enc_class visit_type_text raw_patient_class original raw local source value lineage"
},
{
"doc_id": "visit_type",
"domain": "visit",
"target_table": "visit_occurrence",
"target_field": "visit_type_concept_id",
"title": "Visit record provenance",
"content": "visit_type_concept_id records the provenance of the Visit record: how it was captured in the source data, rather than the clinical kind of Visit.",
"source_url": "https://ohdsi.github.io/CommonDataModel/cdm54.html#VISIT_OCCURRENCE",
"aliases": "visit_record_origin encounter_provenance source_capture_method visit_type_source record_type provenance origin capture method record level"
},
{
"doc_id": "drug_concept",
"domain": "medication",
"target_table": "drug_exposure",
"target_field": "drug_concept_id",
"title": "Standard medication concept",
"content": "drug_concept_id represents the source medication as a standard Drug concept, commonly an RxNorm concept. Retain the original medication name or code separately.",
"source_url": "https://ohdsi.github.io/CommonDataModel/cdm54.html#DRUG_EXPOSURE",
"aliases": "medication_name ordered_drug ndc_text med_product drug_code standard medication drug concept RxNorm normalize identifier product"
},
{
"doc_id": "drug_start",
"domain": "medication",
"target_table": "drug_exposure",
"target_field": "drug_exposure_start_datetime",
"title": "Medication exposure start",
"content": "drug_exposure_start_datetime stores when medication exposure begins. For an administration this can be administration time; for an order it can be the order start time.",
"source_url": "https://ohdsi.github.io/CommonDataModel/cdm54.html#DRUG_EXPOSURE",
"aliases": "order_start_dttm admin_time med_begin_ts rx_start_datetime first_dose_time medication exposure start first dose administration order"
},
{
"doc_id": "drug_route",
"domain": "medication",
"target_table": "drug_exposure",
"target_field": "route_concept_id",
"title": "Medication route",
"content": "route_concept_id stores the standard route by which a medication is administered, such as oral, intravenous, or subcutaneous.",
"source_url": "https://ohdsi.github.io/CommonDataModel/cdm54.html#DRUG_EXPOSURE",
"aliases": "admin_route route_text delivery_route med_route route_code route administration oral PO intravenous IV subcutaneous IM topical"
},
{
"doc_id": "drug_quantity",
"domain": "medication",
"target_table": "drug_exposure",
"target_field": "quantity",
"title": "Medication quantity",
"content": "quantity stores the amount of drug ordered, dispensed, or administered when the source quantity can be interpreted consistently with its unit.",
"source_url": "https://ohdsi.github.io/CommonDataModel/cdm54.html#DRUG_EXPOSURE",
"aliases": "quantity_ordered dispense_qty admin_amount order_quantity qty_value quantity amount number units numeric"
},
{
"doc_id": "drug_source",
"domain": "medication",
"target_table": "drug_exposure",
"target_field": "drug_source_value",
"title": "Original medication source value",
"content": "drug_source_value preserves the original medication code or text from the source system for lineage and troubleshooting.",
"source_url": "https://ohdsi.github.io/CommonDataModel/cdm54.html#DRUG_EXPOSURE",
"aliases": "med_source_text raw_drug_name local_med_code original_rx_text source_product_value original raw medication source value lineage troubleshooting"
}
]