closes #595
This commit is contained in:
parent
d9dfaff735
commit
4e90a3529e
|
@ -821,15 +821,15 @@ birth_datetime
|
|||
<td style="text-align:left;">
|
||||
</td>
|
||||
<td style="text-align:left;">
|
||||
This field is not required but highly encouraged. For data sources that
|
||||
provide the precise datetime of birth, that value should be stored in
|
||||
this field. If birth_datetime is not provided in the source, use the
|
||||
following logic to infer the date: If day_of_birth is null and
|
||||
month_of_birth is not null then use the first of the month in that year.
|
||||
If month_of_birth is null or if day_of_birth AND month_of_birth are both
|
||||
null and the person has records during their year of birth then use the
|
||||
date of the earliest record, otherwise use the 15th of June of that
|
||||
year. If time of birth is not given use midnight (00:00:0000).
|
||||
This field is not required but highly encouraged for data sources that
|
||||
provide the precise datetime of birth. If birth_datetime is not provided
|
||||
in the source, use the following logic to infer the date: If
|
||||
day_of_birth is null and month_of_birth is not null then use the first
|
||||
of the month in that year. If month_of_birth is null or if day_of_birth
|
||||
AND month_of_birth are both null and the person has records during their
|
||||
year of birth then use the date of the earliest record, otherwise use
|
||||
the 15th of June of that year. If time of birth is not given use
|
||||
midnight (00:00:0000).
|
||||
</td>
|
||||
<td style="text-align:left;">
|
||||
datetime
|
||||
|
@ -3893,10 +3893,18 @@ days_supply
|
|||
<td style="text-align:left;">
|
||||
</td>
|
||||
<td style="text-align:left;">
|
||||
Days supply of the drug. This should be the verbatim days_supply as
|
||||
given on the prescription. If the drug is physician administered use
|
||||
duration end date if given or set to 1 as default if duration is not
|
||||
available.
|
||||
The number of days of supply of the medication as recorded in the
|
||||
original prescription or dispensing record. Days supply can differ from
|
||||
actual drug duration (i.e. prescribed days supply vs actual
|
||||
exposure).”,“The field should be left empty if the source data does not
|
||||
contain a verbatim days_supply, and should not be calculated from other
|
||||
fields.<br><br>Negative values are not allowed. Several actions are
|
||||
possible: 1) record is not trustworthy and we remove the record
|
||||
entirely. 2) we trust the record and leave days_supply empty or 3)
|
||||
record needs to be combined with other record (e.g. reversal of
|
||||
prescription). High values (>365 days) should be investigated. If
|
||||
considered an error in the source data (e.g. typo), the value needs to
|
||||
be excluded to prevent creation of unrealistic long eras.
|
||||
</td>
|
||||
<td style="text-align:left;">
|
||||
integer
|
||||
|
@ -14477,14 +14485,19 @@ No
|
|||
class="section level3 tabset tabset-pills">
|
||||
<h3 class="tabset tabset-pills">source_to_concept_map</h3>
|
||||
<p><strong>Table Description</strong></p>
|
||||
<p>The source to concept map table is a legacy data structure within the
|
||||
OMOP Common Data Model, recommended for use in ETL processes to maintain
|
||||
local source codes which are not available as Concepts in the
|
||||
Standardized Vocabularies, and to establish mappings for each source
|
||||
code into a Standard Concept as target_concept_ids that can be used to
|
||||
populate the Common Data Model tables. The SOURCE_TO_CONCEPT_MAP table
|
||||
is no longer populated with content within the Standardized Vocabularies
|
||||
published to the OMOP community.</p>
|
||||
<p>The source to concept map table is recommended for use in ETL
|
||||
processes to maintain local source codes which are not available as
|
||||
Concepts in the Standardized Vocabularies, and to establish mappings for
|
||||
each source code into a Standard Concept as target_concept_ids that can
|
||||
be used to populate the Common Data Model tables. The
|
||||
SOURCE_TO_CONCEPT_MAP table is no longer populated with content within
|
||||
the Standardized Vocabularies published to the OMOP community.
|
||||
<strong>There are OHDSI tools to help you populate this table; <a
|
||||
href="https://github.com/OHDSI/Usagi">Usagi</a> and <a
|
||||
href="https://github.com/ohdsi/Perseus">Perseus</a>. You can read more
|
||||
about OMOP vocabulary mapping in <a
|
||||
href="https://ohdsi.github.io/TheBookOfOhdsi/ExtractTransformLoad.html#step-2-create-the-code-mappings">The
|
||||
Book of OHDSI Chapter 6.3</a>.</strong></p>
|
||||
<p><strong>User Guide</strong></p>
|
||||
<p>NA</p>
|
||||
<p><strong>ETL Conventions</strong></p>
|
||||
|
|
|
@ -100,7 +100,7 @@ drug_exposure,refills,No,integer,This is only filled in when the record is comin
|
|||
drug_exposure,quantity,No,float,NA,"To find the dose form of a drug the RELATIONSHIP table can be used where the relationship_id is 'Has dose form'. If liquid, quantity stands for the total amount dispensed or ordered of ingredient in the units given by the drug_strength table. If the unit from the source data does not align with the unit in the DRUG_STRENGTH table the quantity should be converted to the correct unit given in DRUG_STRENGTH. For clinical drugs with fixed dose forms (tablets etc.) the quantity is the number of units/tablets/capsules prescribed or dispensed (can be partial, but then only 1/2 or 1/3, not 0.01). Clinical drugs with divisible dose forms (injections) the quantity is the amount of ingredient the patient got. For example, if the injection is 2mg/mL but the patient got 80mL then quantity is reported as 160.
|
||||
Quantified clinical drugs with divisible dose forms (prefilled syringes), the quantity is the amount of ingredient similar to clinical drugs. Please see [how to calculate drug dose](https://ohdsi.github.io/CommonDataModel/drug_dose.html) for more information.
|
||||
",No,No,NA,NA,NA,NA,NA
|
||||
drug_exposure,days_supply,No,integer,"The number of days of supply of the medication as recorded in the original prescription or dispensing record. Days supply can differ from actual drug duration (i.e. prescribed days supply vs actual exposure).","The field should be left empty if the source data does not contain a verbatim days_supply, and should not be calculated from other fields.Negative values are not allowed. Several actions are possible: 1) record is not trustworthy and we remove the record entirely. 2) we trust the record and leave days_supply empty or 3) record needs to be combined with other record (e.g. reversal of prescription). High values (>365 days) should be investigated. If considered an error in the source data (e.g. typo), the value needs to be excluded to prevent creation of unrealistic long eras.",No,No,NA,NA,NA,NA,NA
|
||||
drug_exposure,days_supply,No,integer,The number of days of supply of the medication as recorded in the original prescription or dispensing record. Days supply can differ from actual drug duration (i.e. prescribed days supply vs actual exposure).,"The field should be left empty if the source data does not contain a verbatim days_supply, and should not be calculated from other fields.<br><br>Negative values are not allowed. Several actions are possible: 1) record is not trustworthy and we remove the record entirely. 2) we trust the record and leave days_supply empty or 3) record needs to be combined with other record (e.g. reversal of prescription). High values (>365 days) should be investigated. If considered an error in the source data (e.g. typo), the value needs to be excluded to prevent creation of unrealistic long eras.",No,No,NA,NA,NA,NA,NA
|
||||
drug_exposure,sig,No,varchar(MAX),This is the verbatim instruction for the drug as written by the provider.,"Put the written out instructions for the drug as it is verbatim in the source, if available.",No,No,NA,NA,NA,NA,NA
|
||||
drug_exposure,route_concept_id,No,integer,NA,The standard CONCEPT_ID that the ROUTE_SOURCE_VALUE maps to in the route domain.,No,Yes,CONCEPT,CONCEPT_ID,Route,NA,NA
|
||||
drug_exposure,lot_number,No,varchar(50),NA,NA,No,No,NA,NA,NA,NA,NA
|
||||
|
@ -316,7 +316,7 @@ cost,drg_concept_id,No,integer,NA,NA,No,Yes,CONCEPT,CONCEPT_ID,NA,NA,NA
|
|||
cost,drg_source_value,No,varchar(3),Diagnosis Related Groups are US codes used to classify hospital cases into one of approximately 500 groups.,NA,No,No,NA,NA,NA,NA,NA
|
||||
drug_era,drug_era_id,Yes,integer,NA,NA,Yes,No,NA,NA,NA,NA,NA
|
||||
drug_era,person_id,Yes,integer,NA,NA,No,Yes,PERSON,PERSON_ID,NA,NA,NA
|
||||
drug_era,drug_concept_id,Yes,integer,The Concept Id representing the specific drug ingredient.,NA,No,Yes,CONCEPT,CONCEPT_ID,Drug,Ingredient,NA
|
||||
drug_era,drug_concept_id,Yes,integer,The drug_concept_id should conform to the concept class 'ingredient' as the drug_era is an era of time where a person is exposed to a particular drug ingredient.,NA,No,Yes,CONCEPT,CONCEPT_ID,Drug,Ingredient,NA
|
||||
drug_era,drug_era_start_date,Yes,date,NA,"The Drug Era Start Date is the start date of the first Drug Exposure for a given ingredient, with at least 31 days since the previous exposure.",No,No,NA,NA,NA,NA,NA
|
||||
drug_era,drug_era_end_date,Yes,date,NA,"The Drug Era End Date is the end date of the last Drug Exposure. The End Date of each Drug Exposure is either taken from the field drug_exposure_end_date or, as it is typically not available, inferred using the following rules:
|
||||
For pharmacy prescription data, the date when the drug was dispensed plus the number of days of supply are used to extrapolate the End Date for the Drug Exposure. Depending on the country-specific healthcare system, this supply information is either explicitly provided in the day_supply field or inferred from package size or similar information.
|
||||
|
|
|
|
@ -100,7 +100,7 @@ drug_exposure,refills,No,integer,This is only filled in when the record is comin
|
|||
drug_exposure,quantity,No,float,NA,"To find the dose form of a drug the RELATIONSHIP table can be used where the relationship_id is 'Has dose form'. If liquid, quantity stands for the total amount dispensed or ordered of ingredient in the units given by the drug_strength table. If the unit from the source data does not align with the unit in the DRUG_STRENGTH table the quantity should be converted to the correct unit given in DRUG_STRENGTH. For clinical drugs with fixed dose forms (tablets etc.) the quantity is the number of units/tablets/capsules prescribed or dispensed (can be partial, but then only 1/2 or 1/3, not 0.01). Clinical drugs with divisible dose forms (injections) the quantity is the amount of ingredient the patient got. For example, if the injection is 2mg/mL but the patient got 80mL then quantity is reported as 160.
|
||||
Quantified clinical drugs with divisible dose forms (prefilled syringes), the quantity is the amount of ingredient similar to clinical drugs. Please see [how to calculate drug dose](https://ohdsi.github.io/CommonDataModel/drug_dose.html) for more information.
|
||||
",No,No,NA,NA,NA,NA,NA
|
||||
drug_exposure,days_supply,No,integer,NA,Days supply of the drug. This should be the verbatim days_supply as given on the prescription. If the drug is physician administered use duration end date if given or set to 1 as default if duration is not available.,No,No,NA,NA,NA,NA,NA
|
||||
drug_exposure,days_supply,No,integer,NA,"The number of days of supply of the medication as recorded in the original prescription or dispensing record. Days supply can differ from actual drug duration (i.e. prescribed days supply vs actual exposure)."",""The field should be left empty if the source data does not contain a verbatim days_supply, and should not be calculated from other fields.<br><br>Negative values are not allowed. Several actions are possible: 1) record is not trustworthy and we remove the record entirely. 2) we trust the record and leave days_supply empty or 3) record needs to be combined with other record (e.g. reversal of prescription). High values (>365 days) should be investigated. If considered an error in the source data (e.g. typo), the value needs to be excluded to prevent creation of unrealistic long eras.",No,No,NA,NA,NA,NA,NA
|
||||
drug_exposure,sig,No,varchar(MAX),This is the verbatim instruction for the drug as written by the provider.,"Put the written out instructions for the drug as it is verbatim in the source, if available.",No,No,NA,NA,NA,NA,NA
|
||||
drug_exposure,route_concept_id,No,integer,NA,The standard CONCEPT_ID that the ROUTE_SOURCE_VALUE maps to in the route domain.,No,Yes,CONCEPT,CONCEPT_ID,Route,NA,NA
|
||||
drug_exposure,lot_number,No,varchar(50),NA,NA,No,No,NA,NA,NA,NA,NA
|
||||
|
@ -334,7 +334,7 @@ cost,drg_concept_id,No,integer,NA,NA,No,Yes,CONCEPT,CONCEPT_ID,NA,NA,NA
|
|||
cost,drg_source_value,No,varchar(3),Diagnosis Related Groups are US codes used to classify hospital cases into one of approximately 500 groups.,NA,No,No,NA,NA,NA,NA,NA
|
||||
drug_era,drug_era_id,Yes,integer,NA,NA,Yes,No,NA,NA,NA,NA,NA
|
||||
drug_era,person_id,Yes,integer,NA,NA,No,Yes,PERSON,PERSON_ID,NA,NA,NA
|
||||
drug_era,drug_concept_id,Yes,integer,The Concept Id representing the specific drug ingredient.,NA,No,Yes,CONCEPT,CONCEPT_ID,Drug,Ingredient,NA
|
||||
drug_era,drug_concept_id,Yes,integer,The drug_concept_id should conform to the concept class 'ingredient' as the drug_era is an era of time where a person is exposed to a particular drug ingredient.,NA,No,Yes,CONCEPT,CONCEPT_ID,Drug,Ingredient,NA
|
||||
drug_era,drug_era_start_date,Yes,date,NA,"The Drug Era Start Date is the start date of the first Drug Exposure for a given ingredient, with at least 31 days since the previous exposure.",No,No,NA,NA,NA,NA,NA
|
||||
drug_era,drug_era_end_date,Yes,date,NA,"The Drug Era End Date is the end date of the last Drug Exposure. The End Date of each Drug Exposure is either taken from the field drug_exposure_end_date or, as it is typically not available, inferred using the following rules:
|
||||
For pharmacy prescription data, the date when the drug was dispensed plus the number of days of supply are used to extrapolate the End Date for the Drug Exposure. Depending on the country-specific healthcare system, this supply information is either explicitly provided in the day_supply field or inferred from package size or similar information.
|
||||
|
|
|
Loading…
Reference in New Issue