Revert "Adding fix to Drug_Era query and conforming to kable updates"
This reverts commit b3ab33e95e
.
This commit is contained in:
parent
b3ab33e95e
commit
8451b5027b
|
@ -24,5 +24,5 @@ Suggests:
|
||||||
RSQLite,
|
RSQLite,
|
||||||
withr
|
withr
|
||||||
NeedsCompilation: no
|
NeedsCompilation: no
|
||||||
RoxygenNote: 7.1.2
|
RoxygenNote: 7.1.1
|
||||||
Config/testthat/edition: 3
|
Config/testthat/edition: 3
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
|
|
||||||
<title>background.knit</title>
|
<title>background.knit</title>
|
||||||
|
|
||||||
<script src="site_libs/header-attrs-2.13/header-attrs.js"></script>
|
<script src="site_libs/header-attrs-2.11/header-attrs.js"></script>
|
||||||
<script src="site_libs/jquery-3.6.0/jquery-3.6.0.min.js"></script>
|
<script src="site_libs/jquery-3.6.0/jquery-3.6.0.min.js"></script>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
<link href="site_libs/bootstrap-3.3.5/css/cosmo.min.css" rel="stylesheet" />
|
<link href="site_libs/bootstrap-3.3.5/css/cosmo.min.css" rel="stylesheet" />
|
||||||
|
@ -63,7 +63,6 @@ if (window.hljs) {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<link rel="stylesheet" href="style.css" type="text/css" />
|
<link rel="stylesheet" href="style.css" type="text/css" />
|
||||||
|
|
||||||
|
|
||||||
|
@ -89,9 +88,6 @@ button.code-folding-btn:focus {
|
||||||
summary {
|
summary {
|
||||||
display: list-item;
|
display: list-item;
|
||||||
}
|
}
|
||||||
details > summary > p:only-child {
|
|
||||||
display: inline;
|
|
||||||
}
|
|
||||||
pre code {
|
pre code {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
@ -316,7 +312,7 @@ div.tocify {
|
||||||
<div class="navbar navbar-default navbar-fixed-top" role="navigation">
|
<div class="navbar navbar-default navbar-fixed-top" role="navigation">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="navbar-header">
|
<div class="navbar-header">
|
||||||
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-bs-toggle="collapse" data-target="#navbar" data-bs-target="#navbar">
|
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar">
|
||||||
<span class="icon-bar"></span>
|
<span class="icon-bar"></span>
|
||||||
<span class="icon-bar"></span>
|
<span class="icon-bar"></span>
|
||||||
<span class="icon-bar"></span>
|
<span class="icon-bar"></span>
|
||||||
|
@ -332,7 +328,7 @@ div.tocify {
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown">
|
<li class="dropdown">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
|
||||||
<span class="fa fa-landmark"></span>
|
<span class="fa fa-landmark"></span>
|
||||||
|
|
||||||
Background
|
Background
|
||||||
|
@ -352,7 +348,7 @@ div.tocify {
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown">
|
<li class="dropdown">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
|
||||||
<span class="fa fa-list-alt"></span>
|
<span class="fa fa-list-alt"></span>
|
||||||
|
|
||||||
Conventions
|
Conventions
|
||||||
|
@ -372,7 +368,7 @@ div.tocify {
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown">
|
<li class="dropdown">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
|
||||||
<span class="fa fa-history"></span>
|
<span class="fa fa-history"></span>
|
||||||
|
|
||||||
CDM Versions
|
CDM Versions
|
||||||
|
@ -390,7 +386,7 @@ div.tocify {
|
||||||
<a href="cdm53.html">CDM v5.3</a>
|
<a href="cdm53.html">CDM v5.3</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown-submenu">
|
<li class="dropdown-submenu">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">NEW CDM v5.4</a>
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">NEW CDM v5.4</a>
|
||||||
<ul class="dropdown-menu" role="menu">
|
<ul class="dropdown-menu" role="menu">
|
||||||
<li>
|
<li>
|
||||||
<a href="cdm54.html">CDM v5.4</a>
|
<a href="cdm54.html">CDM v5.4</a>
|
||||||
|
@ -403,7 +399,7 @@ div.tocify {
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown">
|
<li class="dropdown">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
|
||||||
<span class="fa fa-plus-square"></span>
|
<span class="fa fa-plus-square"></span>
|
||||||
|
|
||||||
Proposals
|
Proposals
|
||||||
|
@ -415,7 +411,7 @@ div.tocify {
|
||||||
<a href="https://github.com/OHDSI/CommonDataModel/issues?q=is%3Aopen+is%3Aissue+label%3AProposal">Under Review</a>
|
<a href="https://github.com/OHDSI/CommonDataModel/issues?q=is%3Aopen+is%3Aissue+label%3AProposal">Under Review</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown-submenu">
|
<li class="dropdown-submenu">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">Accepted</a>
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">Accepted</a>
|
||||||
<ul class="dropdown-menu" role="menu">
|
<ul class="dropdown-menu" role="menu">
|
||||||
<li>
|
<li>
|
||||||
<a href="https://github.com/OHDSI/CommonDataModel/issues/252">Region_concept_id</a>
|
<a href="https://github.com/OHDSI/CommonDataModel/issues/252">Region_concept_id</a>
|
||||||
|
@ -425,7 +421,7 @@ div.tocify {
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown">
|
<li class="dropdown">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
|
||||||
<span class="fa fa-question"></span>
|
<span class="fa fa-question"></span>
|
||||||
|
|
||||||
How to
|
How to
|
||||||
|
@ -445,7 +441,7 @@ div.tocify {
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown">
|
<li class="dropdown">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
|
||||||
<span class="fa fa-life-ring"></span>
|
<span class="fa fa-life-ring"></span>
|
||||||
|
|
||||||
Support
|
Support
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
|
|
||||||
<title>CDM v3</title>
|
<title>CDM v3</title>
|
||||||
|
|
||||||
<script src="site_libs/header-attrs-2.13/header-attrs.js"></script>
|
<script src="site_libs/header-attrs-2.11/header-attrs.js"></script>
|
||||||
<script src="site_libs/jquery-3.6.0/jquery-3.6.0.min.js"></script>
|
<script src="site_libs/jquery-3.6.0/jquery-3.6.0.min.js"></script>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
<link href="site_libs/bootstrap-3.3.5/css/cosmo.min.css" rel="stylesheet" />
|
<link href="site_libs/bootstrap-3.3.5/css/cosmo.min.css" rel="stylesheet" />
|
||||||
|
@ -63,7 +63,6 @@ if (window.hljs) {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<link rel="stylesheet" href="style.css" type="text/css" />
|
<link rel="stylesheet" href="style.css" type="text/css" />
|
||||||
|
|
||||||
|
|
||||||
|
@ -89,9 +88,6 @@ button.code-folding-btn:focus {
|
||||||
summary {
|
summary {
|
||||||
display: list-item;
|
display: list-item;
|
||||||
}
|
}
|
||||||
details > summary > p:only-child {
|
|
||||||
display: inline;
|
|
||||||
}
|
|
||||||
pre code {
|
pre code {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
@ -316,7 +312,7 @@ div.tocify {
|
||||||
<div class="navbar navbar-default navbar-fixed-top" role="navigation">
|
<div class="navbar navbar-default navbar-fixed-top" role="navigation">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="navbar-header">
|
<div class="navbar-header">
|
||||||
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-bs-toggle="collapse" data-target="#navbar" data-bs-target="#navbar">
|
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar">
|
||||||
<span class="icon-bar"></span>
|
<span class="icon-bar"></span>
|
||||||
<span class="icon-bar"></span>
|
<span class="icon-bar"></span>
|
||||||
<span class="icon-bar"></span>
|
<span class="icon-bar"></span>
|
||||||
|
@ -332,7 +328,7 @@ div.tocify {
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown">
|
<li class="dropdown">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
|
||||||
<span class="fa fa-landmark"></span>
|
<span class="fa fa-landmark"></span>
|
||||||
|
|
||||||
Background
|
Background
|
||||||
|
@ -352,7 +348,7 @@ div.tocify {
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown">
|
<li class="dropdown">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
|
||||||
<span class="fa fa-list-alt"></span>
|
<span class="fa fa-list-alt"></span>
|
||||||
|
|
||||||
Conventions
|
Conventions
|
||||||
|
@ -372,7 +368,7 @@ div.tocify {
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown">
|
<li class="dropdown">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
|
||||||
<span class="fa fa-history"></span>
|
<span class="fa fa-history"></span>
|
||||||
|
|
||||||
CDM Versions
|
CDM Versions
|
||||||
|
@ -390,7 +386,7 @@ div.tocify {
|
||||||
<a href="cdm53.html">CDM v5.3</a>
|
<a href="cdm53.html">CDM v5.3</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown-submenu">
|
<li class="dropdown-submenu">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">NEW CDM v5.4</a>
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">NEW CDM v5.4</a>
|
||||||
<ul class="dropdown-menu" role="menu">
|
<ul class="dropdown-menu" role="menu">
|
||||||
<li>
|
<li>
|
||||||
<a href="cdm54.html">CDM v5.4</a>
|
<a href="cdm54.html">CDM v5.4</a>
|
||||||
|
@ -403,7 +399,7 @@ div.tocify {
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown">
|
<li class="dropdown">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
|
||||||
<span class="fa fa-plus-square"></span>
|
<span class="fa fa-plus-square"></span>
|
||||||
|
|
||||||
Proposals
|
Proposals
|
||||||
|
@ -415,7 +411,7 @@ div.tocify {
|
||||||
<a href="https://github.com/OHDSI/CommonDataModel/issues?q=is%3Aopen+is%3Aissue+label%3AProposal">Under Review</a>
|
<a href="https://github.com/OHDSI/CommonDataModel/issues?q=is%3Aopen+is%3Aissue+label%3AProposal">Under Review</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown-submenu">
|
<li class="dropdown-submenu">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">Accepted</a>
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">Accepted</a>
|
||||||
<ul class="dropdown-menu" role="menu">
|
<ul class="dropdown-menu" role="menu">
|
||||||
<li>
|
<li>
|
||||||
<a href="https://github.com/OHDSI/CommonDataModel/issues/252">Region_concept_id</a>
|
<a href="https://github.com/OHDSI/CommonDataModel/issues/252">Region_concept_id</a>
|
||||||
|
@ -425,7 +421,7 @@ div.tocify {
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown">
|
<li class="dropdown">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
|
||||||
<span class="fa fa-question"></span>
|
<span class="fa fa-question"></span>
|
||||||
|
|
||||||
How to
|
How to
|
||||||
|
@ -445,7 +441,7 @@ div.tocify {
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown">
|
<li class="dropdown">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
|
||||||
<span class="fa fa-life-ring"></span>
|
<span class="fa fa-life-ring"></span>
|
||||||
|
|
||||||
Support
|
Support
|
||||||
|
|
6955
docs/cdm53.html
6955
docs/cdm53.html
File diff suppressed because it is too large
Load Diff
|
@ -13,7 +13,7 @@
|
||||||
|
|
||||||
<title>OMOP CDM v5.3.1</title>
|
<title>OMOP CDM v5.3.1</title>
|
||||||
|
|
||||||
<script src="site_libs/header-attrs-2.13/header-attrs.js"></script>
|
<script src="site_libs/header-attrs-2.11/header-attrs.js"></script>
|
||||||
<script src="site_libs/jquery-3.6.0/jquery-3.6.0.min.js"></script>
|
<script src="site_libs/jquery-3.6.0/jquery-3.6.0.min.js"></script>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
<link href="site_libs/bootstrap-3.3.5/css/cosmo.min.css" rel="stylesheet" />
|
<link href="site_libs/bootstrap-3.3.5/css/cosmo.min.css" rel="stylesheet" />
|
||||||
|
@ -63,7 +63,6 @@ if (window.hljs) {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<link rel="stylesheet" href="style.css" type="text/css" />
|
<link rel="stylesheet" href="style.css" type="text/css" />
|
||||||
|
|
||||||
|
|
||||||
|
@ -89,9 +88,6 @@ button.code-folding-btn:focus {
|
||||||
summary {
|
summary {
|
||||||
display: list-item;
|
display: list-item;
|
||||||
}
|
}
|
||||||
details > summary > p:only-child {
|
|
||||||
display: inline;
|
|
||||||
}
|
|
||||||
pre code {
|
pre code {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
@ -316,7 +312,7 @@ div.tocify {
|
||||||
<div class="navbar navbar-default navbar-fixed-top" role="navigation">
|
<div class="navbar navbar-default navbar-fixed-top" role="navigation">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="navbar-header">
|
<div class="navbar-header">
|
||||||
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-bs-toggle="collapse" data-target="#navbar" data-bs-target="#navbar">
|
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar">
|
||||||
<span class="icon-bar"></span>
|
<span class="icon-bar"></span>
|
||||||
<span class="icon-bar"></span>
|
<span class="icon-bar"></span>
|
||||||
<span class="icon-bar"></span>
|
<span class="icon-bar"></span>
|
||||||
|
@ -332,7 +328,7 @@ div.tocify {
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown">
|
<li class="dropdown">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
|
||||||
<span class="fa fa-landmark"></span>
|
<span class="fa fa-landmark"></span>
|
||||||
|
|
||||||
Background
|
Background
|
||||||
|
@ -352,7 +348,7 @@ div.tocify {
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown">
|
<li class="dropdown">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
|
||||||
<span class="fa fa-list-alt"></span>
|
<span class="fa fa-list-alt"></span>
|
||||||
|
|
||||||
Conventions
|
Conventions
|
||||||
|
@ -372,7 +368,7 @@ div.tocify {
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown">
|
<li class="dropdown">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
|
||||||
<span class="fa fa-history"></span>
|
<span class="fa fa-history"></span>
|
||||||
|
|
||||||
CDM Versions
|
CDM Versions
|
||||||
|
@ -390,7 +386,7 @@ div.tocify {
|
||||||
<a href="cdm53.html">CDM v5.3</a>
|
<a href="cdm53.html">CDM v5.3</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown-submenu">
|
<li class="dropdown-submenu">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">NEW CDM v5.4</a>
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">NEW CDM v5.4</a>
|
||||||
<ul class="dropdown-menu" role="menu">
|
<ul class="dropdown-menu" role="menu">
|
||||||
<li>
|
<li>
|
||||||
<a href="cdm54.html">CDM v5.4</a>
|
<a href="cdm54.html">CDM v5.4</a>
|
||||||
|
@ -403,7 +399,7 @@ div.tocify {
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown">
|
<li class="dropdown">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
|
||||||
<span class="fa fa-plus-square"></span>
|
<span class="fa fa-plus-square"></span>
|
||||||
|
|
||||||
Proposals
|
Proposals
|
||||||
|
@ -415,7 +411,7 @@ div.tocify {
|
||||||
<a href="https://github.com/OHDSI/CommonDataModel/issues?q=is%3Aopen+is%3Aissue+label%3AProposal">Under Review</a>
|
<a href="https://github.com/OHDSI/CommonDataModel/issues?q=is%3Aopen+is%3Aissue+label%3AProposal">Under Review</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown-submenu">
|
<li class="dropdown-submenu">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">Accepted</a>
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">Accepted</a>
|
||||||
<ul class="dropdown-menu" role="menu">
|
<ul class="dropdown-menu" role="menu">
|
||||||
<li>
|
<li>
|
||||||
<a href="https://github.com/OHDSI/CommonDataModel/issues/252">Region_concept_id</a>
|
<a href="https://github.com/OHDSI/CommonDataModel/issues/252">Region_concept_id</a>
|
||||||
|
@ -425,7 +421,7 @@ div.tocify {
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown">
|
<li class="dropdown">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
|
||||||
<span class="fa fa-question"></span>
|
<span class="fa fa-question"></span>
|
||||||
|
|
||||||
How to
|
How to
|
||||||
|
@ -445,7 +441,7 @@ div.tocify {
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown">
|
<li class="dropdown">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
|
||||||
<span class="fa fa-life-ring"></span>
|
<span class="fa fa-life-ring"></span>
|
||||||
|
|
||||||
Support
|
Support
|
||||||
|
|
12950
docs/cdm54.html
12950
docs/cdm54.html
File diff suppressed because it is too large
Load Diff
|
@ -13,7 +13,7 @@
|
||||||
|
|
||||||
<title>Changes by Table</title>
|
<title>Changes by Table</title>
|
||||||
|
|
||||||
<script src="site_libs/header-attrs-2.13/header-attrs.js"></script>
|
<script src="site_libs/header-attrs-2.11/header-attrs.js"></script>
|
||||||
<script src="site_libs/jquery-3.6.0/jquery-3.6.0.min.js"></script>
|
<script src="site_libs/jquery-3.6.0/jquery-3.6.0.min.js"></script>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
<link href="site_libs/bootstrap-3.3.5/css/cosmo.min.css" rel="stylesheet" />
|
<link href="site_libs/bootstrap-3.3.5/css/cosmo.min.css" rel="stylesheet" />
|
||||||
|
@ -63,7 +63,6 @@ if (window.hljs) {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<link rel="stylesheet" href="style.css" type="text/css" />
|
<link rel="stylesheet" href="style.css" type="text/css" />
|
||||||
|
|
||||||
|
|
||||||
|
@ -89,9 +88,6 @@ button.code-folding-btn:focus {
|
||||||
summary {
|
summary {
|
||||||
display: list-item;
|
display: list-item;
|
||||||
}
|
}
|
||||||
details > summary > p:only-child {
|
|
||||||
display: inline;
|
|
||||||
}
|
|
||||||
pre code {
|
pre code {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
@ -316,7 +312,7 @@ div.tocify {
|
||||||
<div class="navbar navbar-default navbar-fixed-top" role="navigation">
|
<div class="navbar navbar-default navbar-fixed-top" role="navigation">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="navbar-header">
|
<div class="navbar-header">
|
||||||
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-bs-toggle="collapse" data-target="#navbar" data-bs-target="#navbar">
|
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar">
|
||||||
<span class="icon-bar"></span>
|
<span class="icon-bar"></span>
|
||||||
<span class="icon-bar"></span>
|
<span class="icon-bar"></span>
|
||||||
<span class="icon-bar"></span>
|
<span class="icon-bar"></span>
|
||||||
|
@ -332,7 +328,7 @@ div.tocify {
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown">
|
<li class="dropdown">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
|
||||||
<span class="fa fa-landmark"></span>
|
<span class="fa fa-landmark"></span>
|
||||||
|
|
||||||
Background
|
Background
|
||||||
|
@ -352,7 +348,7 @@ div.tocify {
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown">
|
<li class="dropdown">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
|
||||||
<span class="fa fa-list-alt"></span>
|
<span class="fa fa-list-alt"></span>
|
||||||
|
|
||||||
Conventions
|
Conventions
|
||||||
|
@ -372,7 +368,7 @@ div.tocify {
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown">
|
<li class="dropdown">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
|
||||||
<span class="fa fa-history"></span>
|
<span class="fa fa-history"></span>
|
||||||
|
|
||||||
CDM Versions
|
CDM Versions
|
||||||
|
@ -390,7 +386,7 @@ div.tocify {
|
||||||
<a href="cdm53.html">CDM v5.3</a>
|
<a href="cdm53.html">CDM v5.3</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown-submenu">
|
<li class="dropdown-submenu">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">NEW CDM v5.4</a>
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">NEW CDM v5.4</a>
|
||||||
<ul class="dropdown-menu" role="menu">
|
<ul class="dropdown-menu" role="menu">
|
||||||
<li>
|
<li>
|
||||||
<a href="cdm54.html">CDM v5.4</a>
|
<a href="cdm54.html">CDM v5.4</a>
|
||||||
|
@ -403,7 +399,7 @@ div.tocify {
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown">
|
<li class="dropdown">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
|
||||||
<span class="fa fa-plus-square"></span>
|
<span class="fa fa-plus-square"></span>
|
||||||
|
|
||||||
Proposals
|
Proposals
|
||||||
|
@ -415,7 +411,7 @@ div.tocify {
|
||||||
<a href="https://github.com/OHDSI/CommonDataModel/issues?q=is%3Aopen+is%3Aissue+label%3AProposal">Under Review</a>
|
<a href="https://github.com/OHDSI/CommonDataModel/issues?q=is%3Aopen+is%3Aissue+label%3AProposal">Under Review</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown-submenu">
|
<li class="dropdown-submenu">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">Accepted</a>
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">Accepted</a>
|
||||||
<ul class="dropdown-menu" role="menu">
|
<ul class="dropdown-menu" role="menu">
|
||||||
<li>
|
<li>
|
||||||
<a href="https://github.com/OHDSI/CommonDataModel/issues/252">Region_concept_id</a>
|
<a href="https://github.com/OHDSI/CommonDataModel/issues/252">Region_concept_id</a>
|
||||||
|
@ -425,7 +421,7 @@ div.tocify {
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown">
|
<li class="dropdown">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
|
||||||
<span class="fa fa-question"></span>
|
<span class="fa fa-question"></span>
|
||||||
|
|
||||||
How to
|
How to
|
||||||
|
@ -445,7 +441,7 @@ div.tocify {
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown">
|
<li class="dropdown">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
|
||||||
<span class="fa fa-life-ring"></span>
|
<span class="fa fa-life-ring"></span>
|
||||||
|
|
||||||
Support
|
Support
|
||||||
|
|
12746
docs/cdm60.html
12746
docs/cdm60.html
File diff suppressed because it is too large
Load Diff
|
@ -13,7 +13,7 @@
|
||||||
|
|
||||||
<title>Preserving Privacy in an OMOP CDM Implementation</title>
|
<title>Preserving Privacy in an OMOP CDM Implementation</title>
|
||||||
|
|
||||||
<script src="site_libs/header-attrs-2.13/header-attrs.js"></script>
|
<script src="site_libs/header-attrs-2.11/header-attrs.js"></script>
|
||||||
<script src="site_libs/jquery-3.6.0/jquery-3.6.0.min.js"></script>
|
<script src="site_libs/jquery-3.6.0/jquery-3.6.0.min.js"></script>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
<link href="site_libs/bootstrap-3.3.5/css/cosmo.min.css" rel="stylesheet" />
|
<link href="site_libs/bootstrap-3.3.5/css/cosmo.min.css" rel="stylesheet" />
|
||||||
|
@ -63,7 +63,6 @@ if (window.hljs) {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<link rel="stylesheet" href="style.css" type="text/css" />
|
<link rel="stylesheet" href="style.css" type="text/css" />
|
||||||
|
|
||||||
|
|
||||||
|
@ -89,9 +88,6 @@ button.code-folding-btn:focus {
|
||||||
summary {
|
summary {
|
||||||
display: list-item;
|
display: list-item;
|
||||||
}
|
}
|
||||||
details > summary > p:only-child {
|
|
||||||
display: inline;
|
|
||||||
}
|
|
||||||
pre code {
|
pre code {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
@ -316,7 +312,7 @@ div.tocify {
|
||||||
<div class="navbar navbar-default navbar-fixed-top" role="navigation">
|
<div class="navbar navbar-default navbar-fixed-top" role="navigation">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="navbar-header">
|
<div class="navbar-header">
|
||||||
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-bs-toggle="collapse" data-target="#navbar" data-bs-target="#navbar">
|
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar">
|
||||||
<span class="icon-bar"></span>
|
<span class="icon-bar"></span>
|
||||||
<span class="icon-bar"></span>
|
<span class="icon-bar"></span>
|
||||||
<span class="icon-bar"></span>
|
<span class="icon-bar"></span>
|
||||||
|
@ -332,7 +328,7 @@ div.tocify {
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown">
|
<li class="dropdown">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
|
||||||
<span class="fa fa-landmark"></span>
|
<span class="fa fa-landmark"></span>
|
||||||
|
|
||||||
Background
|
Background
|
||||||
|
@ -352,7 +348,7 @@ div.tocify {
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown">
|
<li class="dropdown">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
|
||||||
<span class="fa fa-list-alt"></span>
|
<span class="fa fa-list-alt"></span>
|
||||||
|
|
||||||
Conventions
|
Conventions
|
||||||
|
@ -372,7 +368,7 @@ div.tocify {
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown">
|
<li class="dropdown">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
|
||||||
<span class="fa fa-history"></span>
|
<span class="fa fa-history"></span>
|
||||||
|
|
||||||
CDM Versions
|
CDM Versions
|
||||||
|
@ -390,7 +386,7 @@ div.tocify {
|
||||||
<a href="cdm53.html">CDM v5.3</a>
|
<a href="cdm53.html">CDM v5.3</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown-submenu">
|
<li class="dropdown-submenu">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">NEW CDM v5.4</a>
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">NEW CDM v5.4</a>
|
||||||
<ul class="dropdown-menu" role="menu">
|
<ul class="dropdown-menu" role="menu">
|
||||||
<li>
|
<li>
|
||||||
<a href="cdm54.html">CDM v5.4</a>
|
<a href="cdm54.html">CDM v5.4</a>
|
||||||
|
@ -403,7 +399,7 @@ div.tocify {
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown">
|
<li class="dropdown">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
|
||||||
<span class="fa fa-plus-square"></span>
|
<span class="fa fa-plus-square"></span>
|
||||||
|
|
||||||
Proposals
|
Proposals
|
||||||
|
@ -415,7 +411,7 @@ div.tocify {
|
||||||
<a href="https://github.com/OHDSI/CommonDataModel/issues?q=is%3Aopen+is%3Aissue+label%3AProposal">Under Review</a>
|
<a href="https://github.com/OHDSI/CommonDataModel/issues?q=is%3Aopen+is%3Aissue+label%3AProposal">Under Review</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown-submenu">
|
<li class="dropdown-submenu">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">Accepted</a>
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">Accepted</a>
|
||||||
<ul class="dropdown-menu" role="menu">
|
<ul class="dropdown-menu" role="menu">
|
||||||
<li>
|
<li>
|
||||||
<a href="https://github.com/OHDSI/CommonDataModel/issues/252">Region_concept_id</a>
|
<a href="https://github.com/OHDSI/CommonDataModel/issues/252">Region_concept_id</a>
|
||||||
|
@ -425,7 +421,7 @@ div.tocify {
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown">
|
<li class="dropdown">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
|
||||||
<span class="fa fa-question"></span>
|
<span class="fa fa-question"></span>
|
||||||
|
|
||||||
How to
|
How to
|
||||||
|
@ -445,7 +441,7 @@ div.tocify {
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown">
|
<li class="dropdown">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
|
||||||
<span class="fa fa-life-ring"></span>
|
<span class="fa fa-life-ring"></span>
|
||||||
|
|
||||||
Support
|
Support
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
|
|
||||||
<title>CDM R Package Demo</title>
|
<title>CDM R Package Demo</title>
|
||||||
|
|
||||||
<script src="site_libs/header-attrs-2.13/header-attrs.js"></script>
|
<script src="site_libs/header-attrs-2.11/header-attrs.js"></script>
|
||||||
<script src="site_libs/jquery-3.6.0/jquery-3.6.0.min.js"></script>
|
<script src="site_libs/jquery-3.6.0/jquery-3.6.0.min.js"></script>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
<link href="site_libs/bootstrap-3.3.5/css/cosmo.min.css" rel="stylesheet" />
|
<link href="site_libs/bootstrap-3.3.5/css/cosmo.min.css" rel="stylesheet" />
|
||||||
|
@ -60,7 +60,6 @@ if (window.hljs) {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<link rel="stylesheet" href="style.css" type="text/css" />
|
<link rel="stylesheet" href="style.css" type="text/css" />
|
||||||
|
|
||||||
|
|
||||||
|
@ -86,9 +85,6 @@ button.code-folding-btn:focus {
|
||||||
summary {
|
summary {
|
||||||
display: list-item;
|
display: list-item;
|
||||||
}
|
}
|
||||||
details > summary > p:only-child {
|
|
||||||
display: inline;
|
|
||||||
}
|
|
||||||
pre code {
|
pre code {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
@ -240,7 +236,7 @@ $(document).ready(function () {
|
||||||
<div class="navbar navbar-default navbar-fixed-top" role="navigation">
|
<div class="navbar navbar-default navbar-fixed-top" role="navigation">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="navbar-header">
|
<div class="navbar-header">
|
||||||
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-bs-toggle="collapse" data-target="#navbar" data-bs-target="#navbar">
|
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar">
|
||||||
<span class="icon-bar"></span>
|
<span class="icon-bar"></span>
|
||||||
<span class="icon-bar"></span>
|
<span class="icon-bar"></span>
|
||||||
<span class="icon-bar"></span>
|
<span class="icon-bar"></span>
|
||||||
|
@ -256,7 +252,7 @@ $(document).ready(function () {
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown">
|
<li class="dropdown">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
|
||||||
<span class="fa fa-landmark"></span>
|
<span class="fa fa-landmark"></span>
|
||||||
|
|
||||||
Background
|
Background
|
||||||
|
@ -276,7 +272,7 @@ $(document).ready(function () {
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown">
|
<li class="dropdown">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
|
||||||
<span class="fa fa-list-alt"></span>
|
<span class="fa fa-list-alt"></span>
|
||||||
|
|
||||||
Conventions
|
Conventions
|
||||||
|
@ -296,7 +292,7 @@ $(document).ready(function () {
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown">
|
<li class="dropdown">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
|
||||||
<span class="fa fa-history"></span>
|
<span class="fa fa-history"></span>
|
||||||
|
|
||||||
CDM Versions
|
CDM Versions
|
||||||
|
@ -314,7 +310,7 @@ $(document).ready(function () {
|
||||||
<a href="cdm53.html">CDM v5.3</a>
|
<a href="cdm53.html">CDM v5.3</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown-submenu">
|
<li class="dropdown-submenu">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">NEW CDM v5.4</a>
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">NEW CDM v5.4</a>
|
||||||
<ul class="dropdown-menu" role="menu">
|
<ul class="dropdown-menu" role="menu">
|
||||||
<li>
|
<li>
|
||||||
<a href="cdm54.html">CDM v5.4</a>
|
<a href="cdm54.html">CDM v5.4</a>
|
||||||
|
@ -327,7 +323,7 @@ $(document).ready(function () {
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown">
|
<li class="dropdown">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
|
||||||
<span class="fa fa-plus-square"></span>
|
<span class="fa fa-plus-square"></span>
|
||||||
|
|
||||||
Proposals
|
Proposals
|
||||||
|
@ -339,7 +335,7 @@ $(document).ready(function () {
|
||||||
<a href="https://github.com/OHDSI/CommonDataModel/issues?q=is%3Aopen+is%3Aissue+label%3AProposal">Under Review</a>
|
<a href="https://github.com/OHDSI/CommonDataModel/issues?q=is%3Aopen+is%3Aissue+label%3AProposal">Under Review</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown-submenu">
|
<li class="dropdown-submenu">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">Accepted</a>
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">Accepted</a>
|
||||||
<ul class="dropdown-menu" role="menu">
|
<ul class="dropdown-menu" role="menu">
|
||||||
<li>
|
<li>
|
||||||
<a href="https://github.com/OHDSI/CommonDataModel/issues/252">Region_concept_id</a>
|
<a href="https://github.com/OHDSI/CommonDataModel/issues/252">Region_concept_id</a>
|
||||||
|
@ -349,7 +345,7 @@ $(document).ready(function () {
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown">
|
<li class="dropdown">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
|
||||||
<span class="fa fa-question"></span>
|
<span class="fa fa-question"></span>
|
||||||
|
|
||||||
How to
|
How to
|
||||||
|
@ -369,7 +365,7 @@ $(document).ready(function () {
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown">
|
<li class="dropdown">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
|
||||||
<span class="fa fa-life-ring"></span>
|
<span class="fa fa-life-ring"></span>
|
||||||
|
|
||||||
Support
|
Support
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
|
|
||||||
<title>cdmRefreshProcess.knit</title>
|
<title>cdmRefreshProcess.knit</title>
|
||||||
|
|
||||||
<script src="site_libs/header-attrs-2.13/header-attrs.js"></script>
|
<script src="site_libs/header-attrs-2.11/header-attrs.js"></script>
|
||||||
<script src="site_libs/jquery-3.6.0/jquery-3.6.0.min.js"></script>
|
<script src="site_libs/jquery-3.6.0/jquery-3.6.0.min.js"></script>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
<link href="site_libs/bootstrap-3.3.5/css/cosmo.min.css" rel="stylesheet" />
|
<link href="site_libs/bootstrap-3.3.5/css/cosmo.min.css" rel="stylesheet" />
|
||||||
|
@ -63,7 +63,6 @@ if (window.hljs) {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<link rel="stylesheet" href="style.css" type="text/css" />
|
<link rel="stylesheet" href="style.css" type="text/css" />
|
||||||
|
|
||||||
|
|
||||||
|
@ -89,9 +88,6 @@ button.code-folding-btn:focus {
|
||||||
summary {
|
summary {
|
||||||
display: list-item;
|
display: list-item;
|
||||||
}
|
}
|
||||||
details > summary > p:only-child {
|
|
||||||
display: inline;
|
|
||||||
}
|
|
||||||
pre code {
|
pre code {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
@ -316,7 +312,7 @@ div.tocify {
|
||||||
<div class="navbar navbar-default navbar-fixed-top" role="navigation">
|
<div class="navbar navbar-default navbar-fixed-top" role="navigation">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="navbar-header">
|
<div class="navbar-header">
|
||||||
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-bs-toggle="collapse" data-target="#navbar" data-bs-target="#navbar">
|
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar">
|
||||||
<span class="icon-bar"></span>
|
<span class="icon-bar"></span>
|
||||||
<span class="icon-bar"></span>
|
<span class="icon-bar"></span>
|
||||||
<span class="icon-bar"></span>
|
<span class="icon-bar"></span>
|
||||||
|
@ -332,7 +328,7 @@ div.tocify {
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown">
|
<li class="dropdown">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
|
||||||
<span class="fa fa-landmark"></span>
|
<span class="fa fa-landmark"></span>
|
||||||
|
|
||||||
Background
|
Background
|
||||||
|
@ -352,7 +348,7 @@ div.tocify {
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown">
|
<li class="dropdown">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
|
||||||
<span class="fa fa-list-alt"></span>
|
<span class="fa fa-list-alt"></span>
|
||||||
|
|
||||||
Conventions
|
Conventions
|
||||||
|
@ -372,7 +368,7 @@ div.tocify {
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown">
|
<li class="dropdown">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
|
||||||
<span class="fa fa-history"></span>
|
<span class="fa fa-history"></span>
|
||||||
|
|
||||||
CDM Versions
|
CDM Versions
|
||||||
|
@ -390,7 +386,7 @@ div.tocify {
|
||||||
<a href="cdm53.html">CDM v5.3</a>
|
<a href="cdm53.html">CDM v5.3</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown-submenu">
|
<li class="dropdown-submenu">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">NEW CDM v5.4</a>
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">NEW CDM v5.4</a>
|
||||||
<ul class="dropdown-menu" role="menu">
|
<ul class="dropdown-menu" role="menu">
|
||||||
<li>
|
<li>
|
||||||
<a href="cdm54.html">CDM v5.4</a>
|
<a href="cdm54.html">CDM v5.4</a>
|
||||||
|
@ -403,7 +399,7 @@ div.tocify {
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown">
|
<li class="dropdown">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
|
||||||
<span class="fa fa-plus-square"></span>
|
<span class="fa fa-plus-square"></span>
|
||||||
|
|
||||||
Proposals
|
Proposals
|
||||||
|
@ -415,7 +411,7 @@ div.tocify {
|
||||||
<a href="https://github.com/OHDSI/CommonDataModel/issues?q=is%3Aopen+is%3Aissue+label%3AProposal">Under Review</a>
|
<a href="https://github.com/OHDSI/CommonDataModel/issues?q=is%3Aopen+is%3Aissue+label%3AProposal">Under Review</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown-submenu">
|
<li class="dropdown-submenu">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">Accepted</a>
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">Accepted</a>
|
||||||
<ul class="dropdown-menu" role="menu">
|
<ul class="dropdown-menu" role="menu">
|
||||||
<li>
|
<li>
|
||||||
<a href="https://github.com/OHDSI/CommonDataModel/issues/252">Region_concept_id</a>
|
<a href="https://github.com/OHDSI/CommonDataModel/issues/252">Region_concept_id</a>
|
||||||
|
@ -425,7 +421,7 @@ div.tocify {
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown">
|
<li class="dropdown">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
|
||||||
<span class="fa fa-question"></span>
|
<span class="fa fa-question"></span>
|
||||||
|
|
||||||
How to
|
How to
|
||||||
|
@ -445,7 +441,7 @@ div.tocify {
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown">
|
<li class="dropdown">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
|
||||||
<span class="fa fa-life-ring"></span>
|
<span class="fa fa-life-ring"></span>
|
||||||
|
|
||||||
Support
|
Support
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
|
|
||||||
<title>Ask A Question</title>
|
<title>Ask A Question</title>
|
||||||
|
|
||||||
<script src="site_libs/header-attrs-2.13/header-attrs.js"></script>
|
<script src="site_libs/header-attrs-2.11/header-attrs.js"></script>
|
||||||
<script src="site_libs/jquery-3.6.0/jquery-3.6.0.min.js"></script>
|
<script src="site_libs/jquery-3.6.0/jquery-3.6.0.min.js"></script>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
<link href="site_libs/bootstrap-3.3.5/css/cosmo.min.css" rel="stylesheet" />
|
<link href="site_libs/bootstrap-3.3.5/css/cosmo.min.css" rel="stylesheet" />
|
||||||
|
@ -63,7 +63,6 @@ if (window.hljs) {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<link rel="stylesheet" href="style.css" type="text/css" />
|
<link rel="stylesheet" href="style.css" type="text/css" />
|
||||||
|
|
||||||
|
|
||||||
|
@ -89,9 +88,6 @@ button.code-folding-btn:focus {
|
||||||
summary {
|
summary {
|
||||||
display: list-item;
|
display: list-item;
|
||||||
}
|
}
|
||||||
details > summary > p:only-child {
|
|
||||||
display: inline;
|
|
||||||
}
|
|
||||||
pre code {
|
pre code {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
@ -316,7 +312,7 @@ div.tocify {
|
||||||
<div class="navbar navbar-default navbar-fixed-top" role="navigation">
|
<div class="navbar navbar-default navbar-fixed-top" role="navigation">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="navbar-header">
|
<div class="navbar-header">
|
||||||
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-bs-toggle="collapse" data-target="#navbar" data-bs-target="#navbar">
|
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar">
|
||||||
<span class="icon-bar"></span>
|
<span class="icon-bar"></span>
|
||||||
<span class="icon-bar"></span>
|
<span class="icon-bar"></span>
|
||||||
<span class="icon-bar"></span>
|
<span class="icon-bar"></span>
|
||||||
|
@ -332,7 +328,7 @@ div.tocify {
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown">
|
<li class="dropdown">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
|
||||||
<span class="fa fa-landmark"></span>
|
<span class="fa fa-landmark"></span>
|
||||||
|
|
||||||
Background
|
Background
|
||||||
|
@ -352,7 +348,7 @@ div.tocify {
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown">
|
<li class="dropdown">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
|
||||||
<span class="fa fa-list-alt"></span>
|
<span class="fa fa-list-alt"></span>
|
||||||
|
|
||||||
Conventions
|
Conventions
|
||||||
|
@ -372,7 +368,7 @@ div.tocify {
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown">
|
<li class="dropdown">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
|
||||||
<span class="fa fa-history"></span>
|
<span class="fa fa-history"></span>
|
||||||
|
|
||||||
CDM Versions
|
CDM Versions
|
||||||
|
@ -390,7 +386,7 @@ div.tocify {
|
||||||
<a href="cdm53.html">CDM v5.3</a>
|
<a href="cdm53.html">CDM v5.3</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown-submenu">
|
<li class="dropdown-submenu">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">NEW CDM v5.4</a>
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">NEW CDM v5.4</a>
|
||||||
<ul class="dropdown-menu" role="menu">
|
<ul class="dropdown-menu" role="menu">
|
||||||
<li>
|
<li>
|
||||||
<a href="cdm54.html">CDM v5.4</a>
|
<a href="cdm54.html">CDM v5.4</a>
|
||||||
|
@ -403,7 +399,7 @@ div.tocify {
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown">
|
<li class="dropdown">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
|
||||||
<span class="fa fa-plus-square"></span>
|
<span class="fa fa-plus-square"></span>
|
||||||
|
|
||||||
Proposals
|
Proposals
|
||||||
|
@ -415,7 +411,7 @@ div.tocify {
|
||||||
<a href="https://github.com/OHDSI/CommonDataModel/issues?q=is%3Aopen+is%3Aissue+label%3AProposal">Under Review</a>
|
<a href="https://github.com/OHDSI/CommonDataModel/issues?q=is%3Aopen+is%3Aissue+label%3AProposal">Under Review</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown-submenu">
|
<li class="dropdown-submenu">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">Accepted</a>
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">Accepted</a>
|
||||||
<ul class="dropdown-menu" role="menu">
|
<ul class="dropdown-menu" role="menu">
|
||||||
<li>
|
<li>
|
||||||
<a href="https://github.com/OHDSI/CommonDataModel/issues/252">Region_concept_id</a>
|
<a href="https://github.com/OHDSI/CommonDataModel/issues/252">Region_concept_id</a>
|
||||||
|
@ -425,7 +421,7 @@ div.tocify {
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown">
|
<li class="dropdown">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
|
||||||
<span class="fa fa-question"></span>
|
<span class="fa fa-question"></span>
|
||||||
|
|
||||||
How to
|
How to
|
||||||
|
@ -445,7 +441,7 @@ div.tocify {
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown">
|
<li class="dropdown">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
|
||||||
<span class="fa fa-life-ring"></span>
|
<span class="fa fa-life-ring"></span>
|
||||||
|
|
||||||
Support
|
Support
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
|
|
||||||
<title>dataModelConventions.knit</title>
|
<title>dataModelConventions.knit</title>
|
||||||
|
|
||||||
<script src="site_libs/header-attrs-2.13/header-attrs.js"></script>
|
<script src="site_libs/header-attrs-2.11/header-attrs.js"></script>
|
||||||
<script src="site_libs/jquery-3.6.0/jquery-3.6.0.min.js"></script>
|
<script src="site_libs/jquery-3.6.0/jquery-3.6.0.min.js"></script>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
<link href="site_libs/bootstrap-3.3.5/css/cosmo.min.css" rel="stylesheet" />
|
<link href="site_libs/bootstrap-3.3.5/css/cosmo.min.css" rel="stylesheet" />
|
||||||
|
@ -63,7 +63,6 @@ if (window.hljs) {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<link rel="stylesheet" href="style.css" type="text/css" />
|
<link rel="stylesheet" href="style.css" type="text/css" />
|
||||||
|
|
||||||
|
|
||||||
|
@ -89,9 +88,6 @@ button.code-folding-btn:focus {
|
||||||
summary {
|
summary {
|
||||||
display: list-item;
|
display: list-item;
|
||||||
}
|
}
|
||||||
details > summary > p:only-child {
|
|
||||||
display: inline;
|
|
||||||
}
|
|
||||||
pre code {
|
pre code {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
@ -316,7 +312,7 @@ div.tocify {
|
||||||
<div class="navbar navbar-default navbar-fixed-top" role="navigation">
|
<div class="navbar navbar-default navbar-fixed-top" role="navigation">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="navbar-header">
|
<div class="navbar-header">
|
||||||
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-bs-toggle="collapse" data-target="#navbar" data-bs-target="#navbar">
|
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar">
|
||||||
<span class="icon-bar"></span>
|
<span class="icon-bar"></span>
|
||||||
<span class="icon-bar"></span>
|
<span class="icon-bar"></span>
|
||||||
<span class="icon-bar"></span>
|
<span class="icon-bar"></span>
|
||||||
|
@ -332,7 +328,7 @@ div.tocify {
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown">
|
<li class="dropdown">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
|
||||||
<span class="fa fa-landmark"></span>
|
<span class="fa fa-landmark"></span>
|
||||||
|
|
||||||
Background
|
Background
|
||||||
|
@ -352,7 +348,7 @@ div.tocify {
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown">
|
<li class="dropdown">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
|
||||||
<span class="fa fa-list-alt"></span>
|
<span class="fa fa-list-alt"></span>
|
||||||
|
|
||||||
Conventions
|
Conventions
|
||||||
|
@ -372,7 +368,7 @@ div.tocify {
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown">
|
<li class="dropdown">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
|
||||||
<span class="fa fa-history"></span>
|
<span class="fa fa-history"></span>
|
||||||
|
|
||||||
CDM Versions
|
CDM Versions
|
||||||
|
@ -390,7 +386,7 @@ div.tocify {
|
||||||
<a href="cdm53.html">CDM v5.3</a>
|
<a href="cdm53.html">CDM v5.3</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown-submenu">
|
<li class="dropdown-submenu">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">NEW CDM v5.4</a>
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">NEW CDM v5.4</a>
|
||||||
<ul class="dropdown-menu" role="menu">
|
<ul class="dropdown-menu" role="menu">
|
||||||
<li>
|
<li>
|
||||||
<a href="cdm54.html">CDM v5.4</a>
|
<a href="cdm54.html">CDM v5.4</a>
|
||||||
|
@ -403,7 +399,7 @@ div.tocify {
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown">
|
<li class="dropdown">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
|
||||||
<span class="fa fa-plus-square"></span>
|
<span class="fa fa-plus-square"></span>
|
||||||
|
|
||||||
Proposals
|
Proposals
|
||||||
|
@ -415,7 +411,7 @@ div.tocify {
|
||||||
<a href="https://github.com/OHDSI/CommonDataModel/issues?q=is%3Aopen+is%3Aissue+label%3AProposal">Under Review</a>
|
<a href="https://github.com/OHDSI/CommonDataModel/issues?q=is%3Aopen+is%3Aissue+label%3AProposal">Under Review</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown-submenu">
|
<li class="dropdown-submenu">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">Accepted</a>
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">Accepted</a>
|
||||||
<ul class="dropdown-menu" role="menu">
|
<ul class="dropdown-menu" role="menu">
|
||||||
<li>
|
<li>
|
||||||
<a href="https://github.com/OHDSI/CommonDataModel/issues/252">Region_concept_id</a>
|
<a href="https://github.com/OHDSI/CommonDataModel/issues/252">Region_concept_id</a>
|
||||||
|
@ -425,7 +421,7 @@ div.tocify {
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown">
|
<li class="dropdown">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
|
||||||
<span class="fa fa-question"></span>
|
<span class="fa fa-question"></span>
|
||||||
|
|
||||||
How to
|
How to
|
||||||
|
@ -445,7 +441,7 @@ div.tocify {
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown">
|
<li class="dropdown">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
|
||||||
<span class="fa fa-life-ring"></span>
|
<span class="fa fa-life-ring"></span>
|
||||||
|
|
||||||
Support
|
Support
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
|
|
||||||
<title>Download</title>
|
<title>Download</title>
|
||||||
|
|
||||||
<script src="site_libs/header-attrs-2.13/header-attrs.js"></script>
|
<script src="site_libs/header-attrs-2.11/header-attrs.js"></script>
|
||||||
<script src="site_libs/jquery-3.6.0/jquery-3.6.0.min.js"></script>
|
<script src="site_libs/jquery-3.6.0/jquery-3.6.0.min.js"></script>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
<link href="site_libs/bootstrap-3.3.5/css/cosmo.min.css" rel="stylesheet" />
|
<link href="site_libs/bootstrap-3.3.5/css/cosmo.min.css" rel="stylesheet" />
|
||||||
|
@ -63,7 +63,6 @@ if (window.hljs) {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<link rel="stylesheet" href="style.css" type="text/css" />
|
<link rel="stylesheet" href="style.css" type="text/css" />
|
||||||
|
|
||||||
|
|
||||||
|
@ -89,9 +88,6 @@ button.code-folding-btn:focus {
|
||||||
summary {
|
summary {
|
||||||
display: list-item;
|
display: list-item;
|
||||||
}
|
}
|
||||||
details > summary > p:only-child {
|
|
||||||
display: inline;
|
|
||||||
}
|
|
||||||
pre code {
|
pre code {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
@ -316,7 +312,7 @@ div.tocify {
|
||||||
<div class="navbar navbar-default navbar-fixed-top" role="navigation">
|
<div class="navbar navbar-default navbar-fixed-top" role="navigation">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="navbar-header">
|
<div class="navbar-header">
|
||||||
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-bs-toggle="collapse" data-target="#navbar" data-bs-target="#navbar">
|
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar">
|
||||||
<span class="icon-bar"></span>
|
<span class="icon-bar"></span>
|
||||||
<span class="icon-bar"></span>
|
<span class="icon-bar"></span>
|
||||||
<span class="icon-bar"></span>
|
<span class="icon-bar"></span>
|
||||||
|
@ -332,7 +328,7 @@ div.tocify {
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown">
|
<li class="dropdown">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
|
||||||
<span class="fa fa-landmark"></span>
|
<span class="fa fa-landmark"></span>
|
||||||
|
|
||||||
Background
|
Background
|
||||||
|
@ -352,7 +348,7 @@ div.tocify {
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown">
|
<li class="dropdown">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
|
||||||
<span class="fa fa-list-alt"></span>
|
<span class="fa fa-list-alt"></span>
|
||||||
|
|
||||||
Conventions
|
Conventions
|
||||||
|
@ -372,7 +368,7 @@ div.tocify {
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown">
|
<li class="dropdown">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
|
||||||
<span class="fa fa-history"></span>
|
<span class="fa fa-history"></span>
|
||||||
|
|
||||||
CDM Versions
|
CDM Versions
|
||||||
|
@ -390,7 +386,7 @@ div.tocify {
|
||||||
<a href="cdm53.html">CDM v5.3</a>
|
<a href="cdm53.html">CDM v5.3</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown-submenu">
|
<li class="dropdown-submenu">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">NEW CDM v5.4</a>
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">NEW CDM v5.4</a>
|
||||||
<ul class="dropdown-menu" role="menu">
|
<ul class="dropdown-menu" role="menu">
|
||||||
<li>
|
<li>
|
||||||
<a href="cdm54.html">CDM v5.4</a>
|
<a href="cdm54.html">CDM v5.4</a>
|
||||||
|
@ -403,7 +399,7 @@ div.tocify {
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown">
|
<li class="dropdown">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
|
||||||
<span class="fa fa-plus-square"></span>
|
<span class="fa fa-plus-square"></span>
|
||||||
|
|
||||||
Proposals
|
Proposals
|
||||||
|
@ -415,7 +411,7 @@ div.tocify {
|
||||||
<a href="https://github.com/OHDSI/CommonDataModel/issues?q=is%3Aopen+is%3Aissue+label%3AProposal">Under Review</a>
|
<a href="https://github.com/OHDSI/CommonDataModel/issues?q=is%3Aopen+is%3Aissue+label%3AProposal">Under Review</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown-submenu">
|
<li class="dropdown-submenu">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">Accepted</a>
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">Accepted</a>
|
||||||
<ul class="dropdown-menu" role="menu">
|
<ul class="dropdown-menu" role="menu">
|
||||||
<li>
|
<li>
|
||||||
<a href="https://github.com/OHDSI/CommonDataModel/issues/252">Region_concept_id</a>
|
<a href="https://github.com/OHDSI/CommonDataModel/issues/252">Region_concept_id</a>
|
||||||
|
@ -425,7 +421,7 @@ div.tocify {
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown">
|
<li class="dropdown">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
|
||||||
<span class="fa fa-question"></span>
|
<span class="fa fa-question"></span>
|
||||||
|
|
||||||
How to
|
How to
|
||||||
|
@ -445,7 +441,7 @@ div.tocify {
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown">
|
<li class="dropdown">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
|
||||||
<span class="fa fa-life-ring"></span>
|
<span class="fa fa-life-ring"></span>
|
||||||
|
|
||||||
Support
|
Support
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
|
|
||||||
<title>drug_dose.knit</title>
|
<title>drug_dose.knit</title>
|
||||||
|
|
||||||
<script src="site_libs/header-attrs-2.13/header-attrs.js"></script>
|
<script src="site_libs/header-attrs-2.11/header-attrs.js"></script>
|
||||||
<script src="site_libs/jquery-3.6.0/jquery-3.6.0.min.js"></script>
|
<script src="site_libs/jquery-3.6.0/jquery-3.6.0.min.js"></script>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
<link href="site_libs/bootstrap-3.3.5/css/cosmo.min.css" rel="stylesheet" />
|
<link href="site_libs/bootstrap-3.3.5/css/cosmo.min.css" rel="stylesheet" />
|
||||||
|
@ -62,7 +62,6 @@ if (window.hljs) {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<link rel="stylesheet" href="style.css" type="text/css" />
|
<link rel="stylesheet" href="style.css" type="text/css" />
|
||||||
|
|
||||||
|
|
||||||
|
@ -88,9 +87,6 @@ button.code-folding-btn:focus {
|
||||||
summary {
|
summary {
|
||||||
display: list-item;
|
display: list-item;
|
||||||
}
|
}
|
||||||
details > summary > p:only-child {
|
|
||||||
display: inline;
|
|
||||||
}
|
|
||||||
pre code {
|
pre code {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
@ -242,7 +238,7 @@ $(document).ready(function () {
|
||||||
<div class="navbar navbar-default navbar-fixed-top" role="navigation">
|
<div class="navbar navbar-default navbar-fixed-top" role="navigation">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="navbar-header">
|
<div class="navbar-header">
|
||||||
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-bs-toggle="collapse" data-target="#navbar" data-bs-target="#navbar">
|
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar">
|
||||||
<span class="icon-bar"></span>
|
<span class="icon-bar"></span>
|
||||||
<span class="icon-bar"></span>
|
<span class="icon-bar"></span>
|
||||||
<span class="icon-bar"></span>
|
<span class="icon-bar"></span>
|
||||||
|
@ -258,7 +254,7 @@ $(document).ready(function () {
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown">
|
<li class="dropdown">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
|
||||||
<span class="fa fa-landmark"></span>
|
<span class="fa fa-landmark"></span>
|
||||||
|
|
||||||
Background
|
Background
|
||||||
|
@ -278,7 +274,7 @@ $(document).ready(function () {
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown">
|
<li class="dropdown">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
|
||||||
<span class="fa fa-list-alt"></span>
|
<span class="fa fa-list-alt"></span>
|
||||||
|
|
||||||
Conventions
|
Conventions
|
||||||
|
@ -298,7 +294,7 @@ $(document).ready(function () {
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown">
|
<li class="dropdown">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
|
||||||
<span class="fa fa-history"></span>
|
<span class="fa fa-history"></span>
|
||||||
|
|
||||||
CDM Versions
|
CDM Versions
|
||||||
|
@ -316,7 +312,7 @@ $(document).ready(function () {
|
||||||
<a href="cdm53.html">CDM v5.3</a>
|
<a href="cdm53.html">CDM v5.3</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown-submenu">
|
<li class="dropdown-submenu">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">NEW CDM v5.4</a>
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">NEW CDM v5.4</a>
|
||||||
<ul class="dropdown-menu" role="menu">
|
<ul class="dropdown-menu" role="menu">
|
||||||
<li>
|
<li>
|
||||||
<a href="cdm54.html">CDM v5.4</a>
|
<a href="cdm54.html">CDM v5.4</a>
|
||||||
|
@ -329,7 +325,7 @@ $(document).ready(function () {
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown">
|
<li class="dropdown">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
|
||||||
<span class="fa fa-plus-square"></span>
|
<span class="fa fa-plus-square"></span>
|
||||||
|
|
||||||
Proposals
|
Proposals
|
||||||
|
@ -341,7 +337,7 @@ $(document).ready(function () {
|
||||||
<a href="https://github.com/OHDSI/CommonDataModel/issues?q=is%3Aopen+is%3Aissue+label%3AProposal">Under Review</a>
|
<a href="https://github.com/OHDSI/CommonDataModel/issues?q=is%3Aopen+is%3Aissue+label%3AProposal">Under Review</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown-submenu">
|
<li class="dropdown-submenu">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">Accepted</a>
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">Accepted</a>
|
||||||
<ul class="dropdown-menu" role="menu">
|
<ul class="dropdown-menu" role="menu">
|
||||||
<li>
|
<li>
|
||||||
<a href="https://github.com/OHDSI/CommonDataModel/issues/252">Region_concept_id</a>
|
<a href="https://github.com/OHDSI/CommonDataModel/issues/252">Region_concept_id</a>
|
||||||
|
@ -351,7 +347,7 @@ $(document).ready(function () {
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown">
|
<li class="dropdown">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
|
||||||
<span class="fa fa-question"></span>
|
<span class="fa fa-question"></span>
|
||||||
|
|
||||||
How to
|
How to
|
||||||
|
@ -371,7 +367,7 @@ $(document).ready(function () {
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown">
|
<li class="dropdown">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
|
||||||
<span class="fa fa-life-ring"></span>
|
<span class="fa fa-life-ring"></span>
|
||||||
|
|
||||||
Support
|
Support
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
|
|
||||||
<title>Observation Period Considerations for EHR Data</title>
|
<title>Observation Period Considerations for EHR Data</title>
|
||||||
|
|
||||||
<script src="site_libs/header-attrs-2.13/header-attrs.js"></script>
|
<script src="site_libs/header-attrs-2.11/header-attrs.js"></script>
|
||||||
<script src="site_libs/jquery-3.6.0/jquery-3.6.0.min.js"></script>
|
<script src="site_libs/jquery-3.6.0/jquery-3.6.0.min.js"></script>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
<link href="site_libs/bootstrap-3.3.5/css/cosmo.min.css" rel="stylesheet" />
|
<link href="site_libs/bootstrap-3.3.5/css/cosmo.min.css" rel="stylesheet" />
|
||||||
|
@ -60,7 +60,6 @@ if (window.hljs) {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<link rel="stylesheet" href="style.css" type="text/css" />
|
<link rel="stylesheet" href="style.css" type="text/css" />
|
||||||
|
|
||||||
|
|
||||||
|
@ -86,9 +85,6 @@ button.code-folding-btn:focus {
|
||||||
summary {
|
summary {
|
||||||
display: list-item;
|
display: list-item;
|
||||||
}
|
}
|
||||||
details > summary > p:only-child {
|
|
||||||
display: inline;
|
|
||||||
}
|
|
||||||
pre code {
|
pre code {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
@ -240,7 +236,7 @@ $(document).ready(function () {
|
||||||
<div class="navbar navbar-default navbar-fixed-top" role="navigation">
|
<div class="navbar navbar-default navbar-fixed-top" role="navigation">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="navbar-header">
|
<div class="navbar-header">
|
||||||
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-bs-toggle="collapse" data-target="#navbar" data-bs-target="#navbar">
|
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar">
|
||||||
<span class="icon-bar"></span>
|
<span class="icon-bar"></span>
|
||||||
<span class="icon-bar"></span>
|
<span class="icon-bar"></span>
|
||||||
<span class="icon-bar"></span>
|
<span class="icon-bar"></span>
|
||||||
|
@ -256,7 +252,7 @@ $(document).ready(function () {
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown">
|
<li class="dropdown">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
|
||||||
<span class="fa fa-landmark"></span>
|
<span class="fa fa-landmark"></span>
|
||||||
|
|
||||||
Background
|
Background
|
||||||
|
@ -276,7 +272,7 @@ $(document).ready(function () {
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown">
|
<li class="dropdown">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
|
||||||
<span class="fa fa-list-alt"></span>
|
<span class="fa fa-list-alt"></span>
|
||||||
|
|
||||||
Conventions
|
Conventions
|
||||||
|
@ -296,7 +292,7 @@ $(document).ready(function () {
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown">
|
<li class="dropdown">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
|
||||||
<span class="fa fa-history"></span>
|
<span class="fa fa-history"></span>
|
||||||
|
|
||||||
CDM Versions
|
CDM Versions
|
||||||
|
@ -314,7 +310,7 @@ $(document).ready(function () {
|
||||||
<a href="cdm53.html">CDM v5.3</a>
|
<a href="cdm53.html">CDM v5.3</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown-submenu">
|
<li class="dropdown-submenu">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">NEW CDM v5.4</a>
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">NEW CDM v5.4</a>
|
||||||
<ul class="dropdown-menu" role="menu">
|
<ul class="dropdown-menu" role="menu">
|
||||||
<li>
|
<li>
|
||||||
<a href="cdm54.html">CDM v5.4</a>
|
<a href="cdm54.html">CDM v5.4</a>
|
||||||
|
@ -327,7 +323,7 @@ $(document).ready(function () {
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown">
|
<li class="dropdown">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
|
||||||
<span class="fa fa-plus-square"></span>
|
<span class="fa fa-plus-square"></span>
|
||||||
|
|
||||||
Proposals
|
Proposals
|
||||||
|
@ -339,7 +335,7 @@ $(document).ready(function () {
|
||||||
<a href="https://github.com/OHDSI/CommonDataModel/issues?q=is%3Aopen+is%3Aissue+label%3AProposal">Under Review</a>
|
<a href="https://github.com/OHDSI/CommonDataModel/issues?q=is%3Aopen+is%3Aissue+label%3AProposal">Under Review</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown-submenu">
|
<li class="dropdown-submenu">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">Accepted</a>
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">Accepted</a>
|
||||||
<ul class="dropdown-menu" role="menu">
|
<ul class="dropdown-menu" role="menu">
|
||||||
<li>
|
<li>
|
||||||
<a href="https://github.com/OHDSI/CommonDataModel/issues/252">Region_concept_id</a>
|
<a href="https://github.com/OHDSI/CommonDataModel/issues/252">Region_concept_id</a>
|
||||||
|
@ -349,7 +345,7 @@ $(document).ready(function () {
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown">
|
<li class="dropdown">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
|
||||||
<span class="fa fa-question"></span>
|
<span class="fa fa-question"></span>
|
||||||
|
|
||||||
How to
|
How to
|
||||||
|
@ -369,7 +365,7 @@ $(document).ready(function () {
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown">
|
<li class="dropdown">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
|
||||||
<span class="fa fa-life-ring"></span>
|
<span class="fa fa-life-ring"></span>
|
||||||
|
|
||||||
Support
|
Support
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
|
|
||||||
<title>OMOP CDM Frequently Asked Questions</title>
|
<title>OMOP CDM Frequently Asked Questions</title>
|
||||||
|
|
||||||
<script src="site_libs/header-attrs-2.13/header-attrs.js"></script>
|
<script src="site_libs/header-attrs-2.11/header-attrs.js"></script>
|
||||||
<script src="site_libs/jquery-3.6.0/jquery-3.6.0.min.js"></script>
|
<script src="site_libs/jquery-3.6.0/jquery-3.6.0.min.js"></script>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
<link href="site_libs/bootstrap-3.3.5/css/cosmo.min.css" rel="stylesheet" />
|
<link href="site_libs/bootstrap-3.3.5/css/cosmo.min.css" rel="stylesheet" />
|
||||||
|
@ -60,7 +60,6 @@ if (window.hljs) {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<link rel="stylesheet" href="style.css" type="text/css" />
|
<link rel="stylesheet" href="style.css" type="text/css" />
|
||||||
|
|
||||||
|
|
||||||
|
@ -86,9 +85,6 @@ button.code-folding-btn:focus {
|
||||||
summary {
|
summary {
|
||||||
display: list-item;
|
display: list-item;
|
||||||
}
|
}
|
||||||
details > summary > p:only-child {
|
|
||||||
display: inline;
|
|
||||||
}
|
|
||||||
pre code {
|
pre code {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
@ -240,7 +236,7 @@ $(document).ready(function () {
|
||||||
<div class="navbar navbar-default navbar-fixed-top" role="navigation">
|
<div class="navbar navbar-default navbar-fixed-top" role="navigation">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="navbar-header">
|
<div class="navbar-header">
|
||||||
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-bs-toggle="collapse" data-target="#navbar" data-bs-target="#navbar">
|
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar">
|
||||||
<span class="icon-bar"></span>
|
<span class="icon-bar"></span>
|
||||||
<span class="icon-bar"></span>
|
<span class="icon-bar"></span>
|
||||||
<span class="icon-bar"></span>
|
<span class="icon-bar"></span>
|
||||||
|
@ -256,7 +252,7 @@ $(document).ready(function () {
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown">
|
<li class="dropdown">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
|
||||||
<span class="fa fa-landmark"></span>
|
<span class="fa fa-landmark"></span>
|
||||||
|
|
||||||
Background
|
Background
|
||||||
|
@ -276,7 +272,7 @@ $(document).ready(function () {
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown">
|
<li class="dropdown">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
|
||||||
<span class="fa fa-list-alt"></span>
|
<span class="fa fa-list-alt"></span>
|
||||||
|
|
||||||
Conventions
|
Conventions
|
||||||
|
@ -296,7 +292,7 @@ $(document).ready(function () {
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown">
|
<li class="dropdown">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
|
||||||
<span class="fa fa-history"></span>
|
<span class="fa fa-history"></span>
|
||||||
|
|
||||||
CDM Versions
|
CDM Versions
|
||||||
|
@ -314,7 +310,7 @@ $(document).ready(function () {
|
||||||
<a href="cdm53.html">CDM v5.3</a>
|
<a href="cdm53.html">CDM v5.3</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown-submenu">
|
<li class="dropdown-submenu">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">NEW CDM v5.4</a>
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">NEW CDM v5.4</a>
|
||||||
<ul class="dropdown-menu" role="menu">
|
<ul class="dropdown-menu" role="menu">
|
||||||
<li>
|
<li>
|
||||||
<a href="cdm54.html">CDM v5.4</a>
|
<a href="cdm54.html">CDM v5.4</a>
|
||||||
|
@ -327,7 +323,7 @@ $(document).ready(function () {
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown">
|
<li class="dropdown">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
|
||||||
<span class="fa fa-plus-square"></span>
|
<span class="fa fa-plus-square"></span>
|
||||||
|
|
||||||
Proposals
|
Proposals
|
||||||
|
@ -339,7 +335,7 @@ $(document).ready(function () {
|
||||||
<a href="https://github.com/OHDSI/CommonDataModel/issues?q=is%3Aopen+is%3Aissue+label%3AProposal">Under Review</a>
|
<a href="https://github.com/OHDSI/CommonDataModel/issues?q=is%3Aopen+is%3Aissue+label%3AProposal">Under Review</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown-submenu">
|
<li class="dropdown-submenu">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">Accepted</a>
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">Accepted</a>
|
||||||
<ul class="dropdown-menu" role="menu">
|
<ul class="dropdown-menu" role="menu">
|
||||||
<li>
|
<li>
|
||||||
<a href="https://github.com/OHDSI/CommonDataModel/issues/252">Region_concept_id</a>
|
<a href="https://github.com/OHDSI/CommonDataModel/issues/252">Region_concept_id</a>
|
||||||
|
@ -349,7 +345,7 @@ $(document).ready(function () {
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown">
|
<li class="dropdown">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
|
||||||
<span class="fa fa-question"></span>
|
<span class="fa fa-question"></span>
|
||||||
|
|
||||||
How to
|
How to
|
||||||
|
@ -369,7 +365,7 @@ $(document).ready(function () {
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown">
|
<li class="dropdown">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
|
||||||
<span class="fa fa-life-ring"></span>
|
<span class="fa fa-life-ring"></span>
|
||||||
|
|
||||||
Support
|
Support
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
|
|
||||||
<title>index.knit</title>
|
<title>index.knit</title>
|
||||||
|
|
||||||
<script src="site_libs/header-attrs-2.13/header-attrs.js"></script>
|
<script src="site_libs/header-attrs-2.11/header-attrs.js"></script>
|
||||||
<script src="site_libs/jquery-3.6.0/jquery-3.6.0.min.js"></script>
|
<script src="site_libs/jquery-3.6.0/jquery-3.6.0.min.js"></script>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
<link href="site_libs/bootstrap-3.3.5/css/cosmo.min.css" rel="stylesheet" />
|
<link href="site_libs/bootstrap-3.3.5/css/cosmo.min.css" rel="stylesheet" />
|
||||||
|
@ -60,7 +60,6 @@ if (window.hljs) {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<link rel="stylesheet" href="style.css" type="text/css" />
|
<link rel="stylesheet" href="style.css" type="text/css" />
|
||||||
|
|
||||||
|
|
||||||
|
@ -86,9 +85,6 @@ button.code-folding-btn:focus {
|
||||||
summary {
|
summary {
|
||||||
display: list-item;
|
display: list-item;
|
||||||
}
|
}
|
||||||
details > summary > p:only-child {
|
|
||||||
display: inline;
|
|
||||||
}
|
|
||||||
pre code {
|
pre code {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
@ -240,7 +236,7 @@ $(document).ready(function () {
|
||||||
<div class="navbar navbar-default navbar-fixed-top" role="navigation">
|
<div class="navbar navbar-default navbar-fixed-top" role="navigation">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="navbar-header">
|
<div class="navbar-header">
|
||||||
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-bs-toggle="collapse" data-target="#navbar" data-bs-target="#navbar">
|
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar">
|
||||||
<span class="icon-bar"></span>
|
<span class="icon-bar"></span>
|
||||||
<span class="icon-bar"></span>
|
<span class="icon-bar"></span>
|
||||||
<span class="icon-bar"></span>
|
<span class="icon-bar"></span>
|
||||||
|
@ -256,7 +252,7 @@ $(document).ready(function () {
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown">
|
<li class="dropdown">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
|
||||||
<span class="fa fa-landmark"></span>
|
<span class="fa fa-landmark"></span>
|
||||||
|
|
||||||
Background
|
Background
|
||||||
|
@ -276,7 +272,7 @@ $(document).ready(function () {
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown">
|
<li class="dropdown">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
|
||||||
<span class="fa fa-list-alt"></span>
|
<span class="fa fa-list-alt"></span>
|
||||||
|
|
||||||
Conventions
|
Conventions
|
||||||
|
@ -296,7 +292,7 @@ $(document).ready(function () {
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown">
|
<li class="dropdown">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
|
||||||
<span class="fa fa-history"></span>
|
<span class="fa fa-history"></span>
|
||||||
|
|
||||||
CDM Versions
|
CDM Versions
|
||||||
|
@ -314,7 +310,7 @@ $(document).ready(function () {
|
||||||
<a href="cdm53.html">CDM v5.3</a>
|
<a href="cdm53.html">CDM v5.3</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown-submenu">
|
<li class="dropdown-submenu">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">NEW CDM v5.4</a>
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">NEW CDM v5.4</a>
|
||||||
<ul class="dropdown-menu" role="menu">
|
<ul class="dropdown-menu" role="menu">
|
||||||
<li>
|
<li>
|
||||||
<a href="cdm54.html">CDM v5.4</a>
|
<a href="cdm54.html">CDM v5.4</a>
|
||||||
|
@ -327,7 +323,7 @@ $(document).ready(function () {
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown">
|
<li class="dropdown">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
|
||||||
<span class="fa fa-plus-square"></span>
|
<span class="fa fa-plus-square"></span>
|
||||||
|
|
||||||
Proposals
|
Proposals
|
||||||
|
@ -339,7 +335,7 @@ $(document).ready(function () {
|
||||||
<a href="https://github.com/OHDSI/CommonDataModel/issues?q=is%3Aopen+is%3Aissue+label%3AProposal">Under Review</a>
|
<a href="https://github.com/OHDSI/CommonDataModel/issues?q=is%3Aopen+is%3Aissue+label%3AProposal">Under Review</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown-submenu">
|
<li class="dropdown-submenu">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">Accepted</a>
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">Accepted</a>
|
||||||
<ul class="dropdown-menu" role="menu">
|
<ul class="dropdown-menu" role="menu">
|
||||||
<li>
|
<li>
|
||||||
<a href="https://github.com/OHDSI/CommonDataModel/issues/252">Region_concept_id</a>
|
<a href="https://github.com/OHDSI/CommonDataModel/issues/252">Region_concept_id</a>
|
||||||
|
@ -349,7 +345,7 @@ $(document).ready(function () {
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown">
|
<li class="dropdown">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
|
||||||
<span class="fa fa-question"></span>
|
<span class="fa fa-question"></span>
|
||||||
|
|
||||||
How to
|
How to
|
||||||
|
@ -369,7 +365,7 @@ $(document).ready(function () {
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown">
|
<li class="dropdown">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
|
||||||
<span class="fa fa-life-ring"></span>
|
<span class="fa fa-life-ring"></span>
|
||||||
|
|
||||||
Support
|
Support
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
|
|
||||||
<title>Indices, Primary Keys and Foreign Key Constraints</title>
|
<title>Indices, Primary Keys and Foreign Key Constraints</title>
|
||||||
|
|
||||||
<script src="site_libs/header-attrs-2.13/header-attrs.js"></script>
|
<script src="site_libs/header-attrs-2.11/header-attrs.js"></script>
|
||||||
<script src="site_libs/jquery-3.6.0/jquery-3.6.0.min.js"></script>
|
<script src="site_libs/jquery-3.6.0/jquery-3.6.0.min.js"></script>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
<link href="site_libs/bootstrap-3.3.5/css/cosmo.min.css" rel="stylesheet" />
|
<link href="site_libs/bootstrap-3.3.5/css/cosmo.min.css" rel="stylesheet" />
|
||||||
|
@ -63,7 +63,6 @@ if (window.hljs) {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<link rel="stylesheet" href="style.css" type="text/css" />
|
<link rel="stylesheet" href="style.css" type="text/css" />
|
||||||
|
|
||||||
|
|
||||||
|
@ -89,9 +88,6 @@ button.code-folding-btn:focus {
|
||||||
summary {
|
summary {
|
||||||
display: list-item;
|
display: list-item;
|
||||||
}
|
}
|
||||||
details > summary > p:only-child {
|
|
||||||
display: inline;
|
|
||||||
}
|
|
||||||
pre code {
|
pre code {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
@ -316,7 +312,7 @@ div.tocify {
|
||||||
<div class="navbar navbar-default navbar-fixed-top" role="navigation">
|
<div class="navbar navbar-default navbar-fixed-top" role="navigation">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="navbar-header">
|
<div class="navbar-header">
|
||||||
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-bs-toggle="collapse" data-target="#navbar" data-bs-target="#navbar">
|
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar">
|
||||||
<span class="icon-bar"></span>
|
<span class="icon-bar"></span>
|
||||||
<span class="icon-bar"></span>
|
<span class="icon-bar"></span>
|
||||||
<span class="icon-bar"></span>
|
<span class="icon-bar"></span>
|
||||||
|
@ -332,7 +328,7 @@ div.tocify {
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown">
|
<li class="dropdown">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
|
||||||
<span class="fa fa-landmark"></span>
|
<span class="fa fa-landmark"></span>
|
||||||
|
|
||||||
Background
|
Background
|
||||||
|
@ -352,7 +348,7 @@ div.tocify {
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown">
|
<li class="dropdown">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
|
||||||
<span class="fa fa-list-alt"></span>
|
<span class="fa fa-list-alt"></span>
|
||||||
|
|
||||||
Conventions
|
Conventions
|
||||||
|
@ -372,7 +368,7 @@ div.tocify {
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown">
|
<li class="dropdown">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
|
||||||
<span class="fa fa-history"></span>
|
<span class="fa fa-history"></span>
|
||||||
|
|
||||||
CDM Versions
|
CDM Versions
|
||||||
|
@ -390,7 +386,7 @@ div.tocify {
|
||||||
<a href="cdm53.html">CDM v5.3</a>
|
<a href="cdm53.html">CDM v5.3</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown-submenu">
|
<li class="dropdown-submenu">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">NEW CDM v5.4</a>
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">NEW CDM v5.4</a>
|
||||||
<ul class="dropdown-menu" role="menu">
|
<ul class="dropdown-menu" role="menu">
|
||||||
<li>
|
<li>
|
||||||
<a href="cdm54.html">CDM v5.4</a>
|
<a href="cdm54.html">CDM v5.4</a>
|
||||||
|
@ -403,7 +399,7 @@ div.tocify {
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown">
|
<li class="dropdown">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
|
||||||
<span class="fa fa-plus-square"></span>
|
<span class="fa fa-plus-square"></span>
|
||||||
|
|
||||||
Proposals
|
Proposals
|
||||||
|
@ -415,7 +411,7 @@ div.tocify {
|
||||||
<a href="https://github.com/OHDSI/CommonDataModel/issues?q=is%3Aopen+is%3Aissue+label%3AProposal">Under Review</a>
|
<a href="https://github.com/OHDSI/CommonDataModel/issues?q=is%3Aopen+is%3Aissue+label%3AProposal">Under Review</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown-submenu">
|
<li class="dropdown-submenu">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">Accepted</a>
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">Accepted</a>
|
||||||
<ul class="dropdown-menu" role="menu">
|
<ul class="dropdown-menu" role="menu">
|
||||||
<li>
|
<li>
|
||||||
<a href="https://github.com/OHDSI/CommonDataModel/issues/252">Region_concept_id</a>
|
<a href="https://github.com/OHDSI/CommonDataModel/issues/252">Region_concept_id</a>
|
||||||
|
@ -425,7 +421,7 @@ div.tocify {
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown">
|
<li class="dropdown">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
|
||||||
<span class="fa fa-question"></span>
|
<span class="fa fa-question"></span>
|
||||||
|
|
||||||
How to
|
How to
|
||||||
|
@ -445,7 +441,7 @@ div.tocify {
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown">
|
<li class="dropdown">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
|
||||||
<span class="fa fa-life-ring"></span>
|
<span class="fa fa-life-ring"></span>
|
||||||
|
|
||||||
Support
|
Support
|
||||||
|
|
|
@ -1,12 +0,0 @@
|
||||||
// Pandoc 2.9 adds attributes on both header and div. We remove the former (to
|
|
||||||
// be compatible with the behavior of Pandoc < 2.8).
|
|
||||||
document.addEventListener('DOMContentLoaded', function(e) {
|
|
||||||
var hs = document.querySelectorAll("div.section[class*='level'] > :first-child");
|
|
||||||
var i, h, a;
|
|
||||||
for (i = 0; i < hs.length; i++) {
|
|
||||||
h = hs[i];
|
|
||||||
if (!/^h[1-6]$/i.test(h.tagName)) continue; // it should be a header h1-h6
|
|
||||||
a = h.attributes;
|
|
||||||
while (a.length > 0) h.removeAttribute(a[0].name);
|
|
||||||
}
|
|
||||||
});
|
|
|
@ -34,9 +34,7 @@ window.initializeCodeFolding = function(show) {
|
||||||
showCodeButton.append(showCodeText);
|
showCodeButton.append(showCodeText);
|
||||||
showCodeButton
|
showCodeButton
|
||||||
.attr('data-toggle', 'collapse')
|
.attr('data-toggle', 'collapse')
|
||||||
.attr('data-bs-toggle', 'collapse') // BS5
|
|
||||||
.attr('data-target', '#' + id)
|
.attr('data-target', '#' + id)
|
||||||
.attr('data-bs-target', '#' + id) // BS5
|
|
||||||
.attr('aria-expanded', showThis)
|
.attr('aria-expanded', showThis)
|
||||||
.attr('aria-controls', id);
|
.attr('aria-controls', id);
|
||||||
|
|
||||||
|
|
|
@ -22,12 +22,12 @@ for (cdmVersion in supportedVersions) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
CommonDataModel::buildRelease("5.4")
|
CommonDataModel::buildRelease("5.3")
|
||||||
|
|
||||||
#############
|
#############
|
||||||
# Zipping release
|
# Zipping release
|
||||||
# All dialects
|
# All dialects
|
||||||
CommonDataModel::buildReleaseZip(cdmVersion="5.4", outputfolder="output")
|
CommonDataModel::buildReleaseZip(cdmVersion="5.3", outputfolder="output")
|
||||||
|
|
||||||
buildReleaseZip()
|
buildReleaseZip()
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,2 @@
|
||||||
setwd("/Users/clairblacketer/Documents/Github/CommonDataModel/rmd")#
|
setwd("/Users/clairblacketer/Documents/Github/CommonDataModel/rmd")#
|
||||||
rmarkdown::render_site()
|
rmarkdown::render_site()
|
||||||
setwd("/Users/clairblacketer/Documents/Github/CommonDataModel/rmd")#
|
|
||||||
rmarkdown::render_site()
|
|
||||||
setwd("/Users/clairblacketer/Documents/Github/CommonDataModel/rmd")#
|
|
||||||
rmarkdown::render_site()
|
|
||||||
|
|
|
@ -1,604 +0,0 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
|
|
||||||
<html>
|
|
||||||
|
|
||||||
<head>
|
|
||||||
|
|
||||||
<meta charset="utf-8" />
|
|
||||||
<meta name="generator" content="pandoc" />
|
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=EDGE" />
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<title>background.knit</title>
|
|
||||||
|
|
||||||
<script src="site_libs/header-attrs-2.13/header-attrs.js"></script>
|
|
||||||
<script src="site_libs/jquery-3.6.0/jquery-3.6.0.min.js"></script>
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
||||||
<link href="site_libs/bootstrap-3.3.5/css/cosmo.min.css" rel="stylesheet" />
|
|
||||||
<script src="site_libs/bootstrap-3.3.5/js/bootstrap.min.js"></script>
|
|
||||||
<script src="site_libs/bootstrap-3.3.5/shim/html5shiv.min.js"></script>
|
|
||||||
<script src="site_libs/bootstrap-3.3.5/shim/respond.min.js"></script>
|
|
||||||
<style>h1 {font-size: 34px;}
|
|
||||||
h1.title {font-size: 38px;}
|
|
||||||
h2 {font-size: 30px;}
|
|
||||||
h3 {font-size: 24px;}
|
|
||||||
h4 {font-size: 18px;}
|
|
||||||
h5 {font-size: 16px;}
|
|
||||||
h6 {font-size: 12px;}
|
|
||||||
code {color: inherit; background-color: rgba(0, 0, 0, 0.04);}
|
|
||||||
pre:not([class]) { background-color: white }</style>
|
|
||||||
<script src="site_libs/jqueryui-1.11.4/jquery-ui.min.js"></script>
|
|
||||||
<link href="site_libs/tocify-1.9.1/jquery.tocify.css" rel="stylesheet" />
|
|
||||||
<script src="site_libs/tocify-1.9.1/jquery.tocify.js"></script>
|
|
||||||
<script src="site_libs/navigation-1.1/tabsets.js"></script>
|
|
||||||
<link href="site_libs/highlightjs-9.12.0/default.css" rel="stylesheet" />
|
|
||||||
<script src="site_libs/highlightjs-9.12.0/highlight.js"></script>
|
|
||||||
<link href="site_libs/font-awesome-5.1.0/css/all.css" rel="stylesheet" />
|
|
||||||
<link href="site_libs/font-awesome-5.1.0/css/v4-shims.css" rel="stylesheet" />
|
|
||||||
<link rel='shortcut icon' type='image/x-icon' href='favicon.ico' />
|
|
||||||
|
|
||||||
<style type="text/css">
|
|
||||||
code{white-space: pre-wrap;}
|
|
||||||
span.smallcaps{font-variant: small-caps;}
|
|
||||||
span.underline{text-decoration: underline;}
|
|
||||||
div.column{display: inline-block; vertical-align: top; width: 50%;}
|
|
||||||
div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;}
|
|
||||||
ul.task-list{list-style: none;}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<style type="text/css">code{white-space: pre;}</style>
|
|
||||||
<script type="text/javascript">
|
|
||||||
if (window.hljs) {
|
|
||||||
hljs.configure({languages: []});
|
|
||||||
hljs.initHighlightingOnLoad();
|
|
||||||
if (document.readyState && document.readyState === "complete") {
|
|
||||||
window.setTimeout(function() { hljs.initHighlighting(); }, 0);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<link rel="stylesheet" href="style.css" type="text/css" />
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<style type = "text/css">
|
|
||||||
.main-container {
|
|
||||||
max-width: 940px;
|
|
||||||
margin-left: auto;
|
|
||||||
margin-right: auto;
|
|
||||||
}
|
|
||||||
img {
|
|
||||||
max-width:100%;
|
|
||||||
}
|
|
||||||
.tabbed-pane {
|
|
||||||
padding-top: 12px;
|
|
||||||
}
|
|
||||||
.html-widget {
|
|
||||||
margin-bottom: 20px;
|
|
||||||
}
|
|
||||||
button.code-folding-btn:focus {
|
|
||||||
outline: none;
|
|
||||||
}
|
|
||||||
summary {
|
|
||||||
display: list-item;
|
|
||||||
}
|
|
||||||
details > summary > p:only-child {
|
|
||||||
display: inline;
|
|
||||||
}
|
|
||||||
pre code {
|
|
||||||
padding: 0;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
|
|
||||||
<style type="text/css">
|
|
||||||
.dropdown-submenu {
|
|
||||||
position: relative;
|
|
||||||
}
|
|
||||||
.dropdown-submenu>.dropdown-menu {
|
|
||||||
top: 0;
|
|
||||||
left: 100%;
|
|
||||||
margin-top: -6px;
|
|
||||||
margin-left: -1px;
|
|
||||||
border-radius: 0 6px 6px 6px;
|
|
||||||
}
|
|
||||||
.dropdown-submenu:hover>.dropdown-menu {
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
.dropdown-submenu>a:after {
|
|
||||||
display: block;
|
|
||||||
content: " ";
|
|
||||||
float: right;
|
|
||||||
width: 0;
|
|
||||||
height: 0;
|
|
||||||
border-color: transparent;
|
|
||||||
border-style: solid;
|
|
||||||
border-width: 5px 0 5px 5px;
|
|
||||||
border-left-color: #cccccc;
|
|
||||||
margin-top: 5px;
|
|
||||||
margin-right: -10px;
|
|
||||||
}
|
|
||||||
.dropdown-submenu:hover>a:after {
|
|
||||||
border-left-color: #adb5bd;
|
|
||||||
}
|
|
||||||
.dropdown-submenu.pull-left {
|
|
||||||
float: none;
|
|
||||||
}
|
|
||||||
.dropdown-submenu.pull-left>.dropdown-menu {
|
|
||||||
left: -100%;
|
|
||||||
margin-left: 10px;
|
|
||||||
border-radius: 6px 0 6px 6px;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<script type="text/javascript">
|
|
||||||
// manage active state of menu based on current page
|
|
||||||
$(document).ready(function () {
|
|
||||||
// active menu anchor
|
|
||||||
href = window.location.pathname
|
|
||||||
href = href.substr(href.lastIndexOf('/') + 1)
|
|
||||||
if (href === "")
|
|
||||||
href = "index.html";
|
|
||||||
var menuAnchor = $('a[href="' + href + '"]');
|
|
||||||
|
|
||||||
// mark it active
|
|
||||||
menuAnchor.tab('show');
|
|
||||||
|
|
||||||
// if it's got a parent navbar menu mark it active as well
|
|
||||||
menuAnchor.closest('li.dropdown').addClass('active');
|
|
||||||
|
|
||||||
// Navbar adjustments
|
|
||||||
var navHeight = $(".navbar").first().height() + 15;
|
|
||||||
var style = document.createElement('style');
|
|
||||||
var pt = "padding-top: " + navHeight + "px; ";
|
|
||||||
var mt = "margin-top: -" + navHeight + "px; ";
|
|
||||||
var css = "";
|
|
||||||
// offset scroll position for anchor links (for fixed navbar)
|
|
||||||
for (var i = 1; i <= 6; i++) {
|
|
||||||
css += ".section h" + i + "{ " + pt + mt + "}\n";
|
|
||||||
}
|
|
||||||
style.innerHTML = "body {" + pt + "padding-bottom: 40px; }\n" + css;
|
|
||||||
document.head.appendChild(style);
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<!-- tabsets -->
|
|
||||||
|
|
||||||
<style type="text/css">
|
|
||||||
.tabset-dropdown > .nav-tabs {
|
|
||||||
display: inline-table;
|
|
||||||
max-height: 500px;
|
|
||||||
min-height: 44px;
|
|
||||||
overflow-y: auto;
|
|
||||||
border: 1px solid #ddd;
|
|
||||||
border-radius: 4px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabset-dropdown > .nav-tabs > li.active:before {
|
|
||||||
content: "";
|
|
||||||
font-family: 'Glyphicons Halflings';
|
|
||||||
display: inline-block;
|
|
||||||
padding: 10px;
|
|
||||||
border-right: 1px solid #ddd;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabset-dropdown > .nav-tabs.nav-tabs-open > li.active:before {
|
|
||||||
content: "";
|
|
||||||
border: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabset-dropdown > .nav-tabs.nav-tabs-open:before {
|
|
||||||
content: "";
|
|
||||||
font-family: 'Glyphicons Halflings';
|
|
||||||
display: inline-block;
|
|
||||||
padding: 10px;
|
|
||||||
border-right: 1px solid #ddd;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabset-dropdown > .nav-tabs > li.active {
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabset-dropdown > .nav-tabs > li > a,
|
|
||||||
.tabset-dropdown > .nav-tabs > li > a:focus,
|
|
||||||
.tabset-dropdown > .nav-tabs > li > a:hover {
|
|
||||||
border: none;
|
|
||||||
display: inline-block;
|
|
||||||
border-radius: 4px;
|
|
||||||
background-color: transparent;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabset-dropdown > .nav-tabs.nav-tabs-open > li {
|
|
||||||
display: block;
|
|
||||||
float: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabset-dropdown > .nav-tabs > li {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<!-- code folding -->
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<style type="text/css">
|
|
||||||
|
|
||||||
#TOC {
|
|
||||||
margin: 25px 0px 20px 0px;
|
|
||||||
}
|
|
||||||
@media (max-width: 768px) {
|
|
||||||
#TOC {
|
|
||||||
position: relative;
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@media print {
|
|
||||||
.toc-content {
|
|
||||||
/* see https://github.com/w3c/csswg-drafts/issues/4434 */
|
|
||||||
float: right;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.toc-content {
|
|
||||||
padding-left: 30px;
|
|
||||||
padding-right: 40px;
|
|
||||||
}
|
|
||||||
|
|
||||||
div.main-container {
|
|
||||||
max-width: 1200px;
|
|
||||||
}
|
|
||||||
|
|
||||||
div.tocify {
|
|
||||||
width: 20%;
|
|
||||||
max-width: 260px;
|
|
||||||
max-height: 85%;
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (min-width: 768px) and (max-width: 991px) {
|
|
||||||
div.tocify {
|
|
||||||
width: 25%;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (max-width: 767px) {
|
|
||||||
div.tocify {
|
|
||||||
width: 100%;
|
|
||||||
max-width: none;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.tocify ul, .tocify li {
|
|
||||||
line-height: 20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tocify-subheader .tocify-item {
|
|
||||||
font-size: 0.90em;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tocify .list-group-item {
|
|
||||||
border-radius: 0px;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
</style>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body>
|
|
||||||
|
|
||||||
|
|
||||||
<div class="container-fluid main-container">
|
|
||||||
|
|
||||||
|
|
||||||
<!-- setup 3col/9col grid for toc_float and main content -->
|
|
||||||
<div class="row">
|
|
||||||
<div class="col-xs-12 col-sm-4 col-md-3">
|
|
||||||
<div id="TOC" class="tocify">
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="toc-content col-xs-12 col-sm-8 col-md-9">
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div class="navbar navbar-default navbar-fixed-top" role="navigation">
|
|
||||||
<div class="container">
|
|
||||||
<div class="navbar-header">
|
|
||||||
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-bs-toggle="collapse" data-target="#navbar" data-bs-target="#navbar">
|
|
||||||
<span class="icon-bar"></span>
|
|
||||||
<span class="icon-bar"></span>
|
|
||||||
<span class="icon-bar"></span>
|
|
||||||
</button>
|
|
||||||
<a class="navbar-brand" href="index.html"><div><img src="ohdsi16x16.png"></img> OMOP Common Data Model </div></a>
|
|
||||||
</div>
|
|
||||||
<div id="navbar" class="navbar-collapse collapse">
|
|
||||||
<ul class="nav navbar-nav">
|
|
||||||
<li>
|
|
||||||
<a href="index.html">
|
|
||||||
<span class="fa fa-home"></span>
|
|
||||||
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
|
||||||
<span class="fa fa-landmark"></span>
|
|
||||||
|
|
||||||
Background
|
|
||||||
|
|
||||||
<span class="caret"></span>
|
|
||||||
</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="background.html">Model Background</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="cdmRefreshProcess.html">CDM Refresh Process</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="vocabulary.html">How the Vocabulary is Built</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
|
||||||
<span class="fa fa-list-alt"></span>
|
|
||||||
|
|
||||||
Conventions
|
|
||||||
|
|
||||||
<span class="caret"></span>
|
|
||||||
</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="dataModelConventions.html">General Conventions</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="ehrObsPeriods.html">Observation Periods for EHR Data</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="cdmPrivacy.html">Patient Privacy and OMOP</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
|
||||||
<span class="fa fa-history"></span>
|
|
||||||
|
|
||||||
CDM Versions
|
|
||||||
|
|
||||||
<span class="caret"></span>
|
|
||||||
</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="cdm30.html">CDM v3.0</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="cdm60.html">CDM v6.0</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="cdm53.html">CDM v5.3</a>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown-submenu">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">NEW CDM v5.4</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="cdm54.html">CDM v5.4</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="cdm54Changes.html">Changes from CDM v5.3</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
|
||||||
<span class="fa fa-plus-square"></span>
|
|
||||||
|
|
||||||
Proposals
|
|
||||||
|
|
||||||
<span class="caret"></span>
|
|
||||||
</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="https://github.com/OHDSI/CommonDataModel/issues?q=is%3Aopen+is%3Aissue+label%3AProposal">Under Review</a>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown-submenu">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">Accepted</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="https://github.com/OHDSI/CommonDataModel/issues/252">Region_concept_id</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
|
||||||
<span class="fa fa-question"></span>
|
|
||||||
|
|
||||||
How to
|
|
||||||
|
|
||||||
<span class="caret"></span>
|
|
||||||
</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="download.html">Download the DDL</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="cdmRPackage.html">Use the CDM R Package</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="drug_dose.html">Calculate Drug Dose</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
|
||||||
<span class="fa fa-life-ring"></span>
|
|
||||||
|
|
||||||
Support
|
|
||||||
|
|
||||||
<span class="caret"></span>
|
|
||||||
</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="faq.html">FAQ</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="sqlScripts.html">SQL Scripts</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="contribute.html">Ask a Question</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
<ul class="nav navbar-nav navbar-right">
|
|
||||||
<li>
|
|
||||||
<a href="https://github.com/OHDSI/CommonDataModel">
|
|
||||||
<span class="fa fa-github"></span>
|
|
||||||
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</div><!--/.nav-collapse -->
|
|
||||||
</div><!--/.container -->
|
|
||||||
</div><!--/.navbar -->
|
|
||||||
|
|
||||||
<div id="header">
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<h1 class="title toc-ignore"><div>
|
|
||||||
<img src="ohdsi40x40.png"></img> OMOP CDM Background
|
|
||||||
</div></h1>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<div id="background" class="section level2">
|
|
||||||
<h2>Background</h2>
|
|
||||||
<p>The Observational Medical Outcomes Partnership (OMOP) was a public-private partnership established to inform the appropriate use of observational healthcare databases for studying the effects of medical products. Over the course of the 5-year project and through its community of researchers from industry, government, and academia, OMOP successfully achieved its aims to:</p>
|
|
||||||
<ul>
|
|
||||||
<li>Conduct methodological research to empirically evaluate the performance of various analytical methods on their ability to identify true associations and avoid false findings</li>
|
|
||||||
<li>Develop tools and capabilities for transforming, characterizing, and analysing disparate data sources across the health care delivery spectrum</li>
|
|
||||||
<li>Establish a shared resource so that the broader research community can collaboratively advance the science</li>
|
|
||||||
</ul>
|
|
||||||
<p>The results of OMOP’s research has been widely published and presented at scientific conferences, including <a href="https://www.ohdsi.org/2021-ohdsi-global-symposium-info/">annual symposia</a>.</p>
|
|
||||||
<p>The OMOP Legacy continues…</p>
|
|
||||||
<p>The community is actively using the OMOP Common Data Model for their various research purposes. Those tools will continue to be maintained and supported, and information about this work is available in the <a href="http://www.github.com/ohdsi">public domain</a>.</p>
|
|
||||||
<p>The OMOP Common Data Model will continue to be an open-source community standard for observational healthcare data. The model specifications and associated work products will be placed in the public domain, and the entire research community is encouraged to use these tools to support everybody’s own research activities.</p>
|
|
||||||
</div>
|
|
||||||
<div id="the-role-of-the-common-data-model" class="section level2">
|
|
||||||
<h2>The Role of the Common Data Model</h2>
|
|
||||||
<p>No single observational data source provides a comprehensive view of the clinical data a patient accumulates while receiving healthcare, and therefore none can be sufficient to meet all expected outcome analysis needs. This explains the need for assessing and analyzing multiple data sources concurrently using a common data standard. This standard is provided by the OMOP Common Data Model (CDM).</p>
|
|
||||||
<p>The CDM is designed to support the conduct of research to identify and evaluate associations between interventions (drug exposure, procedures, healthcare policy changes etc.) and outcomes caused by these interventions (condition occurrences, procedures, drug exposure etc.). Outcomes can be efficacious (benefit) or adverse (safety risk). Often times, specific patient cohorts (e.g., those taking a certain drug or suffering from a certain disease) may be defined for treatments or outcomes, using clinical events (diagnoses, observations, procedures, etc.) that occur in predefined temporal relationships to each other. The CDM, combined with its standardized content (via the Standardized Vocabularies), will ensure that research methods can be systematically applied to produce meaningfully comparable and reproducible results.</p>
|
|
||||||
</div>
|
|
||||||
<div id="design-principles" class="section level2">
|
|
||||||
<h2>Design Principles</h2>
|
|
||||||
<p>The CDM is designed to include all observational health data elements (experiences of the patient receiving health care) that are relevant for analytic use cases to support the generation of reliable scientific evidence about disease natural history, healthcare delivery, effects of medical interventions, the identification of demographic information, health care interventions and outcomes.</p>
|
|
||||||
<p>Therefore, the CDM is designed to store observational data to allow for research, under the following principles:</p>
|
|
||||||
<ul>
|
|
||||||
<li><strong>Suitability for purpose:</strong> The CDM aims to provide data organized in a way optimal for analysis, rather than for the purpose of addressing the operational needs of health care providers or payers.</li>
|
|
||||||
<li><strong>Data protection:</strong> All data that might jeopardize the identity and protection of patients, such as names, precise birthdays etc. are limited. Exceptions are possible where the research expressly requires more detailed information, such as precise birth dates for the study of infants.</li>
|
|
||||||
<li><strong>Design of domains:</strong> The domains are modeled in a person-centric relational data model, where for each record the identity of the person and a date is captured as a minimum.</li>
|
|
||||||
<li><strong>Rationale for domains:</strong> Domains are identified and separately defined in an entity-relationship model if they have an analysis use case and the domain has specific attributes that are not otherwise applicable. All other data can be preserved as an observation in an entity-attribute-value structure.</li>
|
|
||||||
<li><strong>Standardized Vocabularies:</strong> To standardize the content of those records, the CDM relies on the Standardized Vocabularies containing all necessary and appropriate corresponding standard healthcare concepts.</li>
|
|
||||||
<li><strong>Reuse of existing vocabularies:</strong> If possible, these concepts are leveraged from national or industry standardization or vocabulary definition organizations or initiatives, such as the National Library of Medicine, the Department of Veterans’ Affairs, the Center of Disease Control and Prevention, etc.</li>
|
|
||||||
<li><strong>Maintaining source codes:</strong> Even though all codes are mapped to the Standardized Vocabularies, the model also stores the original source code to ensure no information is lost.</li>
|
|
||||||
<li><strong>Technology neutrality:</strong> The CDM does not require a specific technology. It can be realized in any relational database, such as Oracle, SQL Server etc., or as SAS analytical datasets.</li>
|
|
||||||
<li><strong>Scalability:</strong> The CDM is optimized for data processing and computational analysis to accommodate data sources that vary in size, including databases with up to hundreds of millions of persons and billions of clinical observations.</li>
|
|
||||||
<li><strong>Backwards compatibility:</strong> All changes from previous CDMs are clearly delineated in the <a href="https://github.com/OHDSI/CommonDataModel">github repository</a>. Older versions of the CDM can be easily created from the CDMv5, and no information is lost that was present previously.</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
|
|
||||||
// add bootstrap table styles to pandoc tables
|
|
||||||
function bootstrapStylePandocTables() {
|
|
||||||
$('tr.odd').parent('tbody').parent('table').addClass('table table-condensed');
|
|
||||||
}
|
|
||||||
$(document).ready(function () {
|
|
||||||
bootstrapStylePandocTables();
|
|
||||||
});
|
|
||||||
|
|
||||||
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<!-- tabsets -->
|
|
||||||
|
|
||||||
<script>
|
|
||||||
$(document).ready(function () {
|
|
||||||
window.buildTabsets("TOC");
|
|
||||||
});
|
|
||||||
|
|
||||||
$(document).ready(function () {
|
|
||||||
$('.tabset-dropdown > .nav-tabs > li').click(function () {
|
|
||||||
$(this).parent().toggleClass('nav-tabs-open');
|
|
||||||
});
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<!-- code folding -->
|
|
||||||
|
|
||||||
<script>
|
|
||||||
$(document).ready(function () {
|
|
||||||
|
|
||||||
// temporarily add toc-ignore selector to headers for the consistency with Pandoc
|
|
||||||
$('.unlisted.unnumbered').addClass('toc-ignore')
|
|
||||||
|
|
||||||
// move toc-ignore selectors from section div to header
|
|
||||||
$('div.section.toc-ignore')
|
|
||||||
.removeClass('toc-ignore')
|
|
||||||
.children('h1,h2,h3,h4,h5').addClass('toc-ignore');
|
|
||||||
|
|
||||||
// establish options
|
|
||||||
var options = {
|
|
||||||
selectors: "h1,h2,h3",
|
|
||||||
theme: "bootstrap3",
|
|
||||||
context: '.toc-content',
|
|
||||||
hashGenerator: function (text) {
|
|
||||||
return text.replace(/[.\\/?&!#<>]/g, '').replace(/\s/g, '_');
|
|
||||||
},
|
|
||||||
ignoreSelector: ".toc-ignore",
|
|
||||||
scrollTo: 0
|
|
||||||
};
|
|
||||||
options.showAndHide = true;
|
|
||||||
options.smoothScroll = true;
|
|
||||||
|
|
||||||
// tocify
|
|
||||||
var toc = $("#TOC").tocify(options).data("toc-tocify");
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<!-- dynamically load mathjax for compatibility with self-contained -->
|
|
||||||
<script>
|
|
||||||
(function () {
|
|
||||||
var script = document.createElement("script");
|
|
||||||
script.type = "text/javascript";
|
|
||||||
script.src = "https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML";
|
|
||||||
document.getElementsByTagName("head")[0].appendChild(script);
|
|
||||||
})();
|
|
||||||
</script>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
</html>
|
|
568
rmd/cdm30.html
568
rmd/cdm30.html
|
@ -1,568 +0,0 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
|
|
||||||
<html>
|
|
||||||
|
|
||||||
<head>
|
|
||||||
|
|
||||||
<meta charset="utf-8" />
|
|
||||||
<meta name="generator" content="pandoc" />
|
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=EDGE" />
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<title>CDM v3</title>
|
|
||||||
|
|
||||||
<script src="site_libs/header-attrs-2.13/header-attrs.js"></script>
|
|
||||||
<script src="site_libs/jquery-3.6.0/jquery-3.6.0.min.js"></script>
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
||||||
<link href="site_libs/bootstrap-3.3.5/css/cosmo.min.css" rel="stylesheet" />
|
|
||||||
<script src="site_libs/bootstrap-3.3.5/js/bootstrap.min.js"></script>
|
|
||||||
<script src="site_libs/bootstrap-3.3.5/shim/html5shiv.min.js"></script>
|
|
||||||
<script src="site_libs/bootstrap-3.3.5/shim/respond.min.js"></script>
|
|
||||||
<style>h1 {font-size: 34px;}
|
|
||||||
h1.title {font-size: 38px;}
|
|
||||||
h2 {font-size: 30px;}
|
|
||||||
h3 {font-size: 24px;}
|
|
||||||
h4 {font-size: 18px;}
|
|
||||||
h5 {font-size: 16px;}
|
|
||||||
h6 {font-size: 12px;}
|
|
||||||
code {color: inherit; background-color: rgba(0, 0, 0, 0.04);}
|
|
||||||
pre:not([class]) { background-color: white }</style>
|
|
||||||
<script src="site_libs/jqueryui-1.11.4/jquery-ui.min.js"></script>
|
|
||||||
<link href="site_libs/tocify-1.9.1/jquery.tocify.css" rel="stylesheet" />
|
|
||||||
<script src="site_libs/tocify-1.9.1/jquery.tocify.js"></script>
|
|
||||||
<script src="site_libs/navigation-1.1/tabsets.js"></script>
|
|
||||||
<link href="site_libs/highlightjs-9.12.0/default.css" rel="stylesheet" />
|
|
||||||
<script src="site_libs/highlightjs-9.12.0/highlight.js"></script>
|
|
||||||
<link href="site_libs/font-awesome-5.1.0/css/all.css" rel="stylesheet" />
|
|
||||||
<link href="site_libs/font-awesome-5.1.0/css/v4-shims.css" rel="stylesheet" />
|
|
||||||
<link rel='shortcut icon' type='image/x-icon' href='favicon.ico' />
|
|
||||||
|
|
||||||
<style type="text/css">
|
|
||||||
code{white-space: pre-wrap;}
|
|
||||||
span.smallcaps{font-variant: small-caps;}
|
|
||||||
span.underline{text-decoration: underline;}
|
|
||||||
div.column{display: inline-block; vertical-align: top; width: 50%;}
|
|
||||||
div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;}
|
|
||||||
ul.task-list{list-style: none;}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<style type="text/css">code{white-space: pre;}</style>
|
|
||||||
<script type="text/javascript">
|
|
||||||
if (window.hljs) {
|
|
||||||
hljs.configure({languages: []});
|
|
||||||
hljs.initHighlightingOnLoad();
|
|
||||||
if (document.readyState && document.readyState === "complete") {
|
|
||||||
window.setTimeout(function() { hljs.initHighlighting(); }, 0);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<link rel="stylesheet" href="style.css" type="text/css" />
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<style type = "text/css">
|
|
||||||
.main-container {
|
|
||||||
max-width: 940px;
|
|
||||||
margin-left: auto;
|
|
||||||
margin-right: auto;
|
|
||||||
}
|
|
||||||
img {
|
|
||||||
max-width:100%;
|
|
||||||
}
|
|
||||||
.tabbed-pane {
|
|
||||||
padding-top: 12px;
|
|
||||||
}
|
|
||||||
.html-widget {
|
|
||||||
margin-bottom: 20px;
|
|
||||||
}
|
|
||||||
button.code-folding-btn:focus {
|
|
||||||
outline: none;
|
|
||||||
}
|
|
||||||
summary {
|
|
||||||
display: list-item;
|
|
||||||
}
|
|
||||||
details > summary > p:only-child {
|
|
||||||
display: inline;
|
|
||||||
}
|
|
||||||
pre code {
|
|
||||||
padding: 0;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
|
|
||||||
<style type="text/css">
|
|
||||||
.dropdown-submenu {
|
|
||||||
position: relative;
|
|
||||||
}
|
|
||||||
.dropdown-submenu>.dropdown-menu {
|
|
||||||
top: 0;
|
|
||||||
left: 100%;
|
|
||||||
margin-top: -6px;
|
|
||||||
margin-left: -1px;
|
|
||||||
border-radius: 0 6px 6px 6px;
|
|
||||||
}
|
|
||||||
.dropdown-submenu:hover>.dropdown-menu {
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
.dropdown-submenu>a:after {
|
|
||||||
display: block;
|
|
||||||
content: " ";
|
|
||||||
float: right;
|
|
||||||
width: 0;
|
|
||||||
height: 0;
|
|
||||||
border-color: transparent;
|
|
||||||
border-style: solid;
|
|
||||||
border-width: 5px 0 5px 5px;
|
|
||||||
border-left-color: #cccccc;
|
|
||||||
margin-top: 5px;
|
|
||||||
margin-right: -10px;
|
|
||||||
}
|
|
||||||
.dropdown-submenu:hover>a:after {
|
|
||||||
border-left-color: #adb5bd;
|
|
||||||
}
|
|
||||||
.dropdown-submenu.pull-left {
|
|
||||||
float: none;
|
|
||||||
}
|
|
||||||
.dropdown-submenu.pull-left>.dropdown-menu {
|
|
||||||
left: -100%;
|
|
||||||
margin-left: 10px;
|
|
||||||
border-radius: 6px 0 6px 6px;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<script type="text/javascript">
|
|
||||||
// manage active state of menu based on current page
|
|
||||||
$(document).ready(function () {
|
|
||||||
// active menu anchor
|
|
||||||
href = window.location.pathname
|
|
||||||
href = href.substr(href.lastIndexOf('/') + 1)
|
|
||||||
if (href === "")
|
|
||||||
href = "index.html";
|
|
||||||
var menuAnchor = $('a[href="' + href + '"]');
|
|
||||||
|
|
||||||
// mark it active
|
|
||||||
menuAnchor.tab('show');
|
|
||||||
|
|
||||||
// if it's got a parent navbar menu mark it active as well
|
|
||||||
menuAnchor.closest('li.dropdown').addClass('active');
|
|
||||||
|
|
||||||
// Navbar adjustments
|
|
||||||
var navHeight = $(".navbar").first().height() + 15;
|
|
||||||
var style = document.createElement('style');
|
|
||||||
var pt = "padding-top: " + navHeight + "px; ";
|
|
||||||
var mt = "margin-top: -" + navHeight + "px; ";
|
|
||||||
var css = "";
|
|
||||||
// offset scroll position for anchor links (for fixed navbar)
|
|
||||||
for (var i = 1; i <= 6; i++) {
|
|
||||||
css += ".section h" + i + "{ " + pt + mt + "}\n";
|
|
||||||
}
|
|
||||||
style.innerHTML = "body {" + pt + "padding-bottom: 40px; }\n" + css;
|
|
||||||
document.head.appendChild(style);
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<!-- tabsets -->
|
|
||||||
|
|
||||||
<style type="text/css">
|
|
||||||
.tabset-dropdown > .nav-tabs {
|
|
||||||
display: inline-table;
|
|
||||||
max-height: 500px;
|
|
||||||
min-height: 44px;
|
|
||||||
overflow-y: auto;
|
|
||||||
border: 1px solid #ddd;
|
|
||||||
border-radius: 4px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabset-dropdown > .nav-tabs > li.active:before {
|
|
||||||
content: "";
|
|
||||||
font-family: 'Glyphicons Halflings';
|
|
||||||
display: inline-block;
|
|
||||||
padding: 10px;
|
|
||||||
border-right: 1px solid #ddd;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabset-dropdown > .nav-tabs.nav-tabs-open > li.active:before {
|
|
||||||
content: "";
|
|
||||||
border: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabset-dropdown > .nav-tabs.nav-tabs-open:before {
|
|
||||||
content: "";
|
|
||||||
font-family: 'Glyphicons Halflings';
|
|
||||||
display: inline-block;
|
|
||||||
padding: 10px;
|
|
||||||
border-right: 1px solid #ddd;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabset-dropdown > .nav-tabs > li.active {
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabset-dropdown > .nav-tabs > li > a,
|
|
||||||
.tabset-dropdown > .nav-tabs > li > a:focus,
|
|
||||||
.tabset-dropdown > .nav-tabs > li > a:hover {
|
|
||||||
border: none;
|
|
||||||
display: inline-block;
|
|
||||||
border-radius: 4px;
|
|
||||||
background-color: transparent;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabset-dropdown > .nav-tabs.nav-tabs-open > li {
|
|
||||||
display: block;
|
|
||||||
float: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabset-dropdown > .nav-tabs > li {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<!-- code folding -->
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<style type="text/css">
|
|
||||||
|
|
||||||
#TOC {
|
|
||||||
margin: 25px 0px 20px 0px;
|
|
||||||
}
|
|
||||||
@media (max-width: 768px) {
|
|
||||||
#TOC {
|
|
||||||
position: relative;
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@media print {
|
|
||||||
.toc-content {
|
|
||||||
/* see https://github.com/w3c/csswg-drafts/issues/4434 */
|
|
||||||
float: right;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.toc-content {
|
|
||||||
padding-left: 30px;
|
|
||||||
padding-right: 40px;
|
|
||||||
}
|
|
||||||
|
|
||||||
div.main-container {
|
|
||||||
max-width: 1200px;
|
|
||||||
}
|
|
||||||
|
|
||||||
div.tocify {
|
|
||||||
width: 20%;
|
|
||||||
max-width: 260px;
|
|
||||||
max-height: 85%;
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (min-width: 768px) and (max-width: 991px) {
|
|
||||||
div.tocify {
|
|
||||||
width: 25%;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (max-width: 767px) {
|
|
||||||
div.tocify {
|
|
||||||
width: 100%;
|
|
||||||
max-width: none;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.tocify ul, .tocify li {
|
|
||||||
line-height: 20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tocify-subheader .tocify-item {
|
|
||||||
font-size: 0.90em;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tocify .list-group-item {
|
|
||||||
border-radius: 0px;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
</style>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body>
|
|
||||||
|
|
||||||
|
|
||||||
<div class="container-fluid main-container">
|
|
||||||
|
|
||||||
|
|
||||||
<!-- setup 3col/9col grid for toc_float and main content -->
|
|
||||||
<div class="row">
|
|
||||||
<div class="col-xs-12 col-sm-4 col-md-3">
|
|
||||||
<div id="TOC" class="tocify">
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="toc-content col-xs-12 col-sm-8 col-md-9">
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div class="navbar navbar-default navbar-fixed-top" role="navigation">
|
|
||||||
<div class="container">
|
|
||||||
<div class="navbar-header">
|
|
||||||
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-bs-toggle="collapse" data-target="#navbar" data-bs-target="#navbar">
|
|
||||||
<span class="icon-bar"></span>
|
|
||||||
<span class="icon-bar"></span>
|
|
||||||
<span class="icon-bar"></span>
|
|
||||||
</button>
|
|
||||||
<a class="navbar-brand" href="index.html"><div><img src="ohdsi16x16.png"></img> OMOP Common Data Model </div></a>
|
|
||||||
</div>
|
|
||||||
<div id="navbar" class="navbar-collapse collapse">
|
|
||||||
<ul class="nav navbar-nav">
|
|
||||||
<li>
|
|
||||||
<a href="index.html">
|
|
||||||
<span class="fa fa-home"></span>
|
|
||||||
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
|
||||||
<span class="fa fa-landmark"></span>
|
|
||||||
|
|
||||||
Background
|
|
||||||
|
|
||||||
<span class="caret"></span>
|
|
||||||
</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="background.html">Model Background</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="cdmRefreshProcess.html">CDM Refresh Process</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="vocabulary.html">How the Vocabulary is Built</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
|
||||||
<span class="fa fa-list-alt"></span>
|
|
||||||
|
|
||||||
Conventions
|
|
||||||
|
|
||||||
<span class="caret"></span>
|
|
||||||
</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="dataModelConventions.html">General Conventions</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="ehrObsPeriods.html">Observation Periods for EHR Data</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="cdmPrivacy.html">Patient Privacy and OMOP</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
|
||||||
<span class="fa fa-history"></span>
|
|
||||||
|
|
||||||
CDM Versions
|
|
||||||
|
|
||||||
<span class="caret"></span>
|
|
||||||
</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="cdm30.html">CDM v3.0</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="cdm60.html">CDM v6.0</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="cdm53.html">CDM v5.3</a>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown-submenu">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">NEW CDM v5.4</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="cdm54.html">CDM v5.4</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="cdm54Changes.html">Changes from CDM v5.3</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
|
||||||
<span class="fa fa-plus-square"></span>
|
|
||||||
|
|
||||||
Proposals
|
|
||||||
|
|
||||||
<span class="caret"></span>
|
|
||||||
</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="https://github.com/OHDSI/CommonDataModel/issues?q=is%3Aopen+is%3Aissue+label%3AProposal">Under Review</a>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown-submenu">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">Accepted</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="https://github.com/OHDSI/CommonDataModel/issues/252">Region_concept_id</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
|
||||||
<span class="fa fa-question"></span>
|
|
||||||
|
|
||||||
How to
|
|
||||||
|
|
||||||
<span class="caret"></span>
|
|
||||||
</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="download.html">Download the DDL</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="cdmRPackage.html">Use the CDM R Package</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="drug_dose.html">Calculate Drug Dose</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
|
||||||
<span class="fa fa-life-ring"></span>
|
|
||||||
|
|
||||||
Support
|
|
||||||
|
|
||||||
<span class="caret"></span>
|
|
||||||
</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="faq.html">FAQ</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="sqlScripts.html">SQL Scripts</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="contribute.html">Ask a Question</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
<ul class="nav navbar-nav navbar-right">
|
|
||||||
<li>
|
|
||||||
<a href="https://github.com/OHDSI/CommonDataModel">
|
|
||||||
<span class="fa fa-github"></span>
|
|
||||||
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</div><!--/.nav-collapse -->
|
|
||||||
</div><!--/.container -->
|
|
||||||
</div><!--/.navbar -->
|
|
||||||
|
|
||||||
<div id="header">
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<h1 class="title toc-ignore">CDM v3</h1>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<p>You can find the specification for CDM v3 at this <a href="https://forums.ohdsi.org/uploads/default/original/1X/2d8b44ea1ee0f9f70427dd2c7332335b8eb6a073.docx">link</a>.</p>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
|
|
||||||
// add bootstrap table styles to pandoc tables
|
|
||||||
function bootstrapStylePandocTables() {
|
|
||||||
$('tr.odd').parent('tbody').parent('table').addClass('table table-condensed');
|
|
||||||
}
|
|
||||||
$(document).ready(function () {
|
|
||||||
bootstrapStylePandocTables();
|
|
||||||
});
|
|
||||||
|
|
||||||
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<!-- tabsets -->
|
|
||||||
|
|
||||||
<script>
|
|
||||||
$(document).ready(function () {
|
|
||||||
window.buildTabsets("TOC");
|
|
||||||
});
|
|
||||||
|
|
||||||
$(document).ready(function () {
|
|
||||||
$('.tabset-dropdown > .nav-tabs > li').click(function () {
|
|
||||||
$(this).parent().toggleClass('nav-tabs-open');
|
|
||||||
});
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<!-- code folding -->
|
|
||||||
|
|
||||||
<script>
|
|
||||||
$(document).ready(function () {
|
|
||||||
|
|
||||||
// temporarily add toc-ignore selector to headers for the consistency with Pandoc
|
|
||||||
$('.unlisted.unnumbered').addClass('toc-ignore')
|
|
||||||
|
|
||||||
// move toc-ignore selectors from section div to header
|
|
||||||
$('div.section.toc-ignore')
|
|
||||||
.removeClass('toc-ignore')
|
|
||||||
.children('h1,h2,h3,h4,h5').addClass('toc-ignore');
|
|
||||||
|
|
||||||
// establish options
|
|
||||||
var options = {
|
|
||||||
selectors: "h1,h2,h3,h4,h5",
|
|
||||||
theme: "bootstrap3",
|
|
||||||
context: '.toc-content',
|
|
||||||
hashGenerator: function (text) {
|
|
||||||
return text.replace(/[.\\/?&!#<>]/g, '').replace(/\s/g, '_');
|
|
||||||
},
|
|
||||||
ignoreSelector: ".toc-ignore",
|
|
||||||
scrollTo: 0
|
|
||||||
};
|
|
||||||
options.showAndHide = true;
|
|
||||||
options.smoothScroll = true;
|
|
||||||
|
|
||||||
// tocify
|
|
||||||
var toc = $("#TOC").tocify(options).data("toc-tocify");
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<!-- dynamically load mathjax for compatibility with self-contained -->
|
|
||||||
<script>
|
|
||||||
(function () {
|
|
||||||
var script = document.createElement("script");
|
|
||||||
script.type = "text/javascript";
|
|
||||||
script.src = "https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML";
|
|
||||||
document.getElementsByTagName("head")[0].appendChild(script);
|
|
||||||
})();
|
|
||||||
</script>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
</html>
|
|
|
@ -91,9 +91,11 @@ for(tb in tables) {
|
||||||
loopTable <- subset(loopTable, select = -c(1))
|
loopTable <- subset(loopTable, select = -c(1))
|
||||||
|
|
||||||
print(kable(x = loopTable, align = "l", row.names = FALSE, format = "html", escape = FALSE) %>%
|
print(kable(x = loopTable, align = "l", row.names = FALSE, format = "html", escape = FALSE) %>%
|
||||||
kable_styling(c("condensed","hover"), position = "center", full_width = T, font_size = 13) %>%
|
column_spec(1, bold = T) %>%
|
||||||
column_spec(1, bold = T))
|
column_spec(2, width = "3in", include_thead = T) %>%
|
||||||
|
column_spec(3, width = "4in", include_thead = T) %>%
|
||||||
|
column_spec(4:9, width = "1in", include_thead = T) %>%
|
||||||
|
kable_styling(c("condensed","hover"), position = "center", full_width = T, font_size = 13))
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
568
rmd/cdm531.html
568
rmd/cdm531.html
|
@ -1,568 +0,0 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
|
|
||||||
<html>
|
|
||||||
|
|
||||||
<head>
|
|
||||||
|
|
||||||
<meta charset="utf-8" />
|
|
||||||
<meta name="generator" content="pandoc" />
|
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=EDGE" />
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<title>OMOP CDM v5.3.1</title>
|
|
||||||
|
|
||||||
<script src="site_libs/header-attrs-2.13/header-attrs.js"></script>
|
|
||||||
<script src="site_libs/jquery-3.6.0/jquery-3.6.0.min.js"></script>
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
||||||
<link href="site_libs/bootstrap-3.3.5/css/cosmo.min.css" rel="stylesheet" />
|
|
||||||
<script src="site_libs/bootstrap-3.3.5/js/bootstrap.min.js"></script>
|
|
||||||
<script src="site_libs/bootstrap-3.3.5/shim/html5shiv.min.js"></script>
|
|
||||||
<script src="site_libs/bootstrap-3.3.5/shim/respond.min.js"></script>
|
|
||||||
<style>h1 {font-size: 34px;}
|
|
||||||
h1.title {font-size: 38px;}
|
|
||||||
h2 {font-size: 30px;}
|
|
||||||
h3 {font-size: 24px;}
|
|
||||||
h4 {font-size: 18px;}
|
|
||||||
h5 {font-size: 16px;}
|
|
||||||
h6 {font-size: 12px;}
|
|
||||||
code {color: inherit; background-color: rgba(0, 0, 0, 0.04);}
|
|
||||||
pre:not([class]) { background-color: white }</style>
|
|
||||||
<script src="site_libs/jqueryui-1.11.4/jquery-ui.min.js"></script>
|
|
||||||
<link href="site_libs/tocify-1.9.1/jquery.tocify.css" rel="stylesheet" />
|
|
||||||
<script src="site_libs/tocify-1.9.1/jquery.tocify.js"></script>
|
|
||||||
<script src="site_libs/navigation-1.1/tabsets.js"></script>
|
|
||||||
<link href="site_libs/highlightjs-9.12.0/default.css" rel="stylesheet" />
|
|
||||||
<script src="site_libs/highlightjs-9.12.0/highlight.js"></script>
|
|
||||||
<link href="site_libs/font-awesome-5.1.0/css/all.css" rel="stylesheet" />
|
|
||||||
<link href="site_libs/font-awesome-5.1.0/css/v4-shims.css" rel="stylesheet" />
|
|
||||||
<link rel='shortcut icon' type='image/x-icon' href='favicon.ico' />
|
|
||||||
|
|
||||||
<style type="text/css">
|
|
||||||
code{white-space: pre-wrap;}
|
|
||||||
span.smallcaps{font-variant: small-caps;}
|
|
||||||
span.underline{text-decoration: underline;}
|
|
||||||
div.column{display: inline-block; vertical-align: top; width: 50%;}
|
|
||||||
div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;}
|
|
||||||
ul.task-list{list-style: none;}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<style type="text/css">code{white-space: pre;}</style>
|
|
||||||
<script type="text/javascript">
|
|
||||||
if (window.hljs) {
|
|
||||||
hljs.configure({languages: []});
|
|
||||||
hljs.initHighlightingOnLoad();
|
|
||||||
if (document.readyState && document.readyState === "complete") {
|
|
||||||
window.setTimeout(function() { hljs.initHighlighting(); }, 0);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<link rel="stylesheet" href="style.css" type="text/css" />
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<style type = "text/css">
|
|
||||||
.main-container {
|
|
||||||
max-width: 940px;
|
|
||||||
margin-left: auto;
|
|
||||||
margin-right: auto;
|
|
||||||
}
|
|
||||||
img {
|
|
||||||
max-width:100%;
|
|
||||||
}
|
|
||||||
.tabbed-pane {
|
|
||||||
padding-top: 12px;
|
|
||||||
}
|
|
||||||
.html-widget {
|
|
||||||
margin-bottom: 20px;
|
|
||||||
}
|
|
||||||
button.code-folding-btn:focus {
|
|
||||||
outline: none;
|
|
||||||
}
|
|
||||||
summary {
|
|
||||||
display: list-item;
|
|
||||||
}
|
|
||||||
details > summary > p:only-child {
|
|
||||||
display: inline;
|
|
||||||
}
|
|
||||||
pre code {
|
|
||||||
padding: 0;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
|
|
||||||
<style type="text/css">
|
|
||||||
.dropdown-submenu {
|
|
||||||
position: relative;
|
|
||||||
}
|
|
||||||
.dropdown-submenu>.dropdown-menu {
|
|
||||||
top: 0;
|
|
||||||
left: 100%;
|
|
||||||
margin-top: -6px;
|
|
||||||
margin-left: -1px;
|
|
||||||
border-radius: 0 6px 6px 6px;
|
|
||||||
}
|
|
||||||
.dropdown-submenu:hover>.dropdown-menu {
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
.dropdown-submenu>a:after {
|
|
||||||
display: block;
|
|
||||||
content: " ";
|
|
||||||
float: right;
|
|
||||||
width: 0;
|
|
||||||
height: 0;
|
|
||||||
border-color: transparent;
|
|
||||||
border-style: solid;
|
|
||||||
border-width: 5px 0 5px 5px;
|
|
||||||
border-left-color: #cccccc;
|
|
||||||
margin-top: 5px;
|
|
||||||
margin-right: -10px;
|
|
||||||
}
|
|
||||||
.dropdown-submenu:hover>a:after {
|
|
||||||
border-left-color: #adb5bd;
|
|
||||||
}
|
|
||||||
.dropdown-submenu.pull-left {
|
|
||||||
float: none;
|
|
||||||
}
|
|
||||||
.dropdown-submenu.pull-left>.dropdown-menu {
|
|
||||||
left: -100%;
|
|
||||||
margin-left: 10px;
|
|
||||||
border-radius: 6px 0 6px 6px;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<script type="text/javascript">
|
|
||||||
// manage active state of menu based on current page
|
|
||||||
$(document).ready(function () {
|
|
||||||
// active menu anchor
|
|
||||||
href = window.location.pathname
|
|
||||||
href = href.substr(href.lastIndexOf('/') + 1)
|
|
||||||
if (href === "")
|
|
||||||
href = "index.html";
|
|
||||||
var menuAnchor = $('a[href="' + href + '"]');
|
|
||||||
|
|
||||||
// mark it active
|
|
||||||
menuAnchor.tab('show');
|
|
||||||
|
|
||||||
// if it's got a parent navbar menu mark it active as well
|
|
||||||
menuAnchor.closest('li.dropdown').addClass('active');
|
|
||||||
|
|
||||||
// Navbar adjustments
|
|
||||||
var navHeight = $(".navbar").first().height() + 15;
|
|
||||||
var style = document.createElement('style');
|
|
||||||
var pt = "padding-top: " + navHeight + "px; ";
|
|
||||||
var mt = "margin-top: -" + navHeight + "px; ";
|
|
||||||
var css = "";
|
|
||||||
// offset scroll position for anchor links (for fixed navbar)
|
|
||||||
for (var i = 1; i <= 6; i++) {
|
|
||||||
css += ".section h" + i + "{ " + pt + mt + "}\n";
|
|
||||||
}
|
|
||||||
style.innerHTML = "body {" + pt + "padding-bottom: 40px; }\n" + css;
|
|
||||||
document.head.appendChild(style);
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<!-- tabsets -->
|
|
||||||
|
|
||||||
<style type="text/css">
|
|
||||||
.tabset-dropdown > .nav-tabs {
|
|
||||||
display: inline-table;
|
|
||||||
max-height: 500px;
|
|
||||||
min-height: 44px;
|
|
||||||
overflow-y: auto;
|
|
||||||
border: 1px solid #ddd;
|
|
||||||
border-radius: 4px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabset-dropdown > .nav-tabs > li.active:before {
|
|
||||||
content: "";
|
|
||||||
font-family: 'Glyphicons Halflings';
|
|
||||||
display: inline-block;
|
|
||||||
padding: 10px;
|
|
||||||
border-right: 1px solid #ddd;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabset-dropdown > .nav-tabs.nav-tabs-open > li.active:before {
|
|
||||||
content: "";
|
|
||||||
border: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabset-dropdown > .nav-tabs.nav-tabs-open:before {
|
|
||||||
content: "";
|
|
||||||
font-family: 'Glyphicons Halflings';
|
|
||||||
display: inline-block;
|
|
||||||
padding: 10px;
|
|
||||||
border-right: 1px solid #ddd;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabset-dropdown > .nav-tabs > li.active {
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabset-dropdown > .nav-tabs > li > a,
|
|
||||||
.tabset-dropdown > .nav-tabs > li > a:focus,
|
|
||||||
.tabset-dropdown > .nav-tabs > li > a:hover {
|
|
||||||
border: none;
|
|
||||||
display: inline-block;
|
|
||||||
border-radius: 4px;
|
|
||||||
background-color: transparent;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabset-dropdown > .nav-tabs.nav-tabs-open > li {
|
|
||||||
display: block;
|
|
||||||
float: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabset-dropdown > .nav-tabs > li {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<!-- code folding -->
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<style type="text/css">
|
|
||||||
|
|
||||||
#TOC {
|
|
||||||
margin: 25px 0px 20px 0px;
|
|
||||||
}
|
|
||||||
@media (max-width: 768px) {
|
|
||||||
#TOC {
|
|
||||||
position: relative;
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@media print {
|
|
||||||
.toc-content {
|
|
||||||
/* see https://github.com/w3c/csswg-drafts/issues/4434 */
|
|
||||||
float: right;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.toc-content {
|
|
||||||
padding-left: 30px;
|
|
||||||
padding-right: 40px;
|
|
||||||
}
|
|
||||||
|
|
||||||
div.main-container {
|
|
||||||
max-width: 1200px;
|
|
||||||
}
|
|
||||||
|
|
||||||
div.tocify {
|
|
||||||
width: 20%;
|
|
||||||
max-width: 260px;
|
|
||||||
max-height: 85%;
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (min-width: 768px) and (max-width: 991px) {
|
|
||||||
div.tocify {
|
|
||||||
width: 25%;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (max-width: 767px) {
|
|
||||||
div.tocify {
|
|
||||||
width: 100%;
|
|
||||||
max-width: none;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.tocify ul, .tocify li {
|
|
||||||
line-height: 20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tocify-subheader .tocify-item {
|
|
||||||
font-size: 0.90em;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tocify .list-group-item {
|
|
||||||
border-radius: 0px;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
</style>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body>
|
|
||||||
|
|
||||||
|
|
||||||
<div class="container-fluid main-container">
|
|
||||||
|
|
||||||
|
|
||||||
<!-- setup 3col/9col grid for toc_float and main content -->
|
|
||||||
<div class="row">
|
|
||||||
<div class="col-xs-12 col-sm-4 col-md-3">
|
|
||||||
<div id="TOC" class="tocify">
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="toc-content col-xs-12 col-sm-8 col-md-9">
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div class="navbar navbar-default navbar-fixed-top" role="navigation">
|
|
||||||
<div class="container">
|
|
||||||
<div class="navbar-header">
|
|
||||||
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-bs-toggle="collapse" data-target="#navbar" data-bs-target="#navbar">
|
|
||||||
<span class="icon-bar"></span>
|
|
||||||
<span class="icon-bar"></span>
|
|
||||||
<span class="icon-bar"></span>
|
|
||||||
</button>
|
|
||||||
<a class="navbar-brand" href="index.html"><div><img src="ohdsi16x16.png"></img> OMOP Common Data Model </div></a>
|
|
||||||
</div>
|
|
||||||
<div id="navbar" class="navbar-collapse collapse">
|
|
||||||
<ul class="nav navbar-nav">
|
|
||||||
<li>
|
|
||||||
<a href="index.html">
|
|
||||||
<span class="fa fa-home"></span>
|
|
||||||
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
|
||||||
<span class="fa fa-landmark"></span>
|
|
||||||
|
|
||||||
Background
|
|
||||||
|
|
||||||
<span class="caret"></span>
|
|
||||||
</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="background.html">Model Background</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="cdmRefreshProcess.html">CDM Refresh Process</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="vocabulary.html">How the Vocabulary is Built</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
|
||||||
<span class="fa fa-list-alt"></span>
|
|
||||||
|
|
||||||
Conventions
|
|
||||||
|
|
||||||
<span class="caret"></span>
|
|
||||||
</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="dataModelConventions.html">General Conventions</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="ehrObsPeriods.html">Observation Periods for EHR Data</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="cdmPrivacy.html">Patient Privacy and OMOP</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
|
||||||
<span class="fa fa-history"></span>
|
|
||||||
|
|
||||||
CDM Versions
|
|
||||||
|
|
||||||
<span class="caret"></span>
|
|
||||||
</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="cdm30.html">CDM v3.0</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="cdm60.html">CDM v6.0</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="cdm53.html">CDM v5.3</a>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown-submenu">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">NEW CDM v5.4</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="cdm54.html">CDM v5.4</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="cdm54Changes.html">Changes from CDM v5.3</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
|
||||||
<span class="fa fa-plus-square"></span>
|
|
||||||
|
|
||||||
Proposals
|
|
||||||
|
|
||||||
<span class="caret"></span>
|
|
||||||
</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="https://github.com/OHDSI/CommonDataModel/issues?q=is%3Aopen+is%3Aissue+label%3AProposal">Under Review</a>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown-submenu">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">Accepted</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="https://github.com/OHDSI/CommonDataModel/issues/252">Region_concept_id</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
|
||||||
<span class="fa fa-question"></span>
|
|
||||||
|
|
||||||
How to
|
|
||||||
|
|
||||||
<span class="caret"></span>
|
|
||||||
</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="download.html">Download the DDL</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="cdmRPackage.html">Use the CDM R Package</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="drug_dose.html">Calculate Drug Dose</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
|
||||||
<span class="fa fa-life-ring"></span>
|
|
||||||
|
|
||||||
Support
|
|
||||||
|
|
||||||
<span class="caret"></span>
|
|
||||||
</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="faq.html">FAQ</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="sqlScripts.html">SQL Scripts</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="contribute.html">Ask a Question</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
<ul class="nav navbar-nav navbar-right">
|
|
||||||
<li>
|
|
||||||
<a href="https://github.com/OHDSI/CommonDataModel">
|
|
||||||
<span class="fa fa-github"></span>
|
|
||||||
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</div><!--/.nav-collapse -->
|
|
||||||
</div><!--/.container -->
|
|
||||||
</div><!--/.navbar -->
|
|
||||||
|
|
||||||
<div id="header">
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<h1 class="title toc-ignore"><strong>OMOP CDM v5.3.1</strong></h1>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<p><strong>This documentation previously referenced v5.3.1. During the OHDSI/CommonDataModel Hack-A-Thon that occurred on August 18, 2021 the decision was made to align documentation with the minor releases. This is because only major and minor releases include changes to the model itself while bug fixes address issues with SQL incompatibility, problems in the code, etc. Hot fixes and minor.micro release can be found through the searching of tags. For the CDM v5.3 specification please see the <a href="https://ohdsi.github.io/CommonDataModel/cdm53.html">5.3 page</a>.</strong></p>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
|
|
||||||
// add bootstrap table styles to pandoc tables
|
|
||||||
function bootstrapStylePandocTables() {
|
|
||||||
$('tr.odd').parent('tbody').parent('table').addClass('table table-condensed');
|
|
||||||
}
|
|
||||||
$(document).ready(function () {
|
|
||||||
bootstrapStylePandocTables();
|
|
||||||
});
|
|
||||||
|
|
||||||
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<!-- tabsets -->
|
|
||||||
|
|
||||||
<script>
|
|
||||||
$(document).ready(function () {
|
|
||||||
window.buildTabsets("TOC");
|
|
||||||
});
|
|
||||||
|
|
||||||
$(document).ready(function () {
|
|
||||||
$('.tabset-dropdown > .nav-tabs > li').click(function () {
|
|
||||||
$(this).parent().toggleClass('nav-tabs-open');
|
|
||||||
});
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<!-- code folding -->
|
|
||||||
|
|
||||||
<script>
|
|
||||||
$(document).ready(function () {
|
|
||||||
|
|
||||||
// temporarily add toc-ignore selector to headers for the consistency with Pandoc
|
|
||||||
$('.unlisted.unnumbered').addClass('toc-ignore')
|
|
||||||
|
|
||||||
// move toc-ignore selectors from section div to header
|
|
||||||
$('div.section.toc-ignore')
|
|
||||||
.removeClass('toc-ignore')
|
|
||||||
.children('h1,h2,h3,h4,h5').addClass('toc-ignore');
|
|
||||||
|
|
||||||
// establish options
|
|
||||||
var options = {
|
|
||||||
selectors: "h1,h2,h3,h4,h5",
|
|
||||||
theme: "bootstrap3",
|
|
||||||
context: '.toc-content',
|
|
||||||
hashGenerator: function (text) {
|
|
||||||
return text.replace(/[.\\/?&!#<>]/g, '').replace(/\s/g, '_');
|
|
||||||
},
|
|
||||||
ignoreSelector: ".toc-ignore",
|
|
||||||
scrollTo: 0
|
|
||||||
};
|
|
||||||
options.showAndHide = true;
|
|
||||||
options.smoothScroll = true;
|
|
||||||
|
|
||||||
// tocify
|
|
||||||
var toc = $("#TOC").tocify(options).data("toc-tocify");
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<!-- dynamically load mathjax for compatibility with self-contained -->
|
|
||||||
<script>
|
|
||||||
(function () {
|
|
||||||
var script = document.createElement("script");
|
|
||||||
script.type = "text/javascript";
|
|
||||||
script.src = "https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML";
|
|
||||||
document.getElementsByTagName("head")[0].appendChild(script);
|
|
||||||
})();
|
|
||||||
</script>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
</html>
|
|
|
@ -107,19 +107,13 @@ for(tb in tables) {
|
||||||
loopTable <- subset(loopTable, select = -c(1))
|
loopTable <- subset(loopTable, select = -c(1))
|
||||||
|
|
||||||
print(kable(x = loopTable, align = "l", row.names = FALSE, format = "html", escape = FALSE) %>%
|
print(kable(x = loopTable, align = "l", row.names = FALSE, format = "html", escape = FALSE) %>%
|
||||||
kable_styling(c("condensed","hover"), position = "center", full_width = T, font_size = 13) %>%
|
column_spec(1, bold = T) %>%
|
||||||
column_spec(1, bold = T))
|
column_spec(2, width = "3in", include_thead = T) %>%
|
||||||
|
column_spec(3, width = "4in", include_thead = T) %>%
|
||||||
|
column_spec(4:9, width = "1in", include_thead = T) %>%
|
||||||
|
kable_styling(c("condensed","hover"), position = "center", full_width = T, font_size = 13))
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# column_spec(2, width = "3in", include_thead = T) %>%
|
|
||||||
# column_spec(3, width = "4in", include_thead = T) %>%
|
|
||||||
# column_spec(4:9, width = "1in", include_thead = T) %>%
|
|
||||||
# kable_styling(c("condensed","hover"), position = "center", full_width = T, font_size = 13) )
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
958
rmd/cdm54.html
958
rmd/cdm54.html
|
@ -1,958 +0,0 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
|
|
||||||
<html>
|
|
||||||
|
|
||||||
<head>
|
|
||||||
|
|
||||||
<meta charset="utf-8" />
|
|
||||||
<meta name="generator" content="pandoc" />
|
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=EDGE" />
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<title>OMOP CDM v5.4</title>
|
|
||||||
|
|
||||||
<script src="site_libs/header-attrs-2.13/header-attrs.js"></script>
|
|
||||||
<script src="site_libs/jquery-3.6.0/jquery-3.6.0.min.js"></script>
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
||||||
<link href="site_libs/bootstrap-3.3.5/css/cosmo.min.css" rel="stylesheet" />
|
|
||||||
<script src="site_libs/bootstrap-3.3.5/js/bootstrap.min.js"></script>
|
|
||||||
<script src="site_libs/bootstrap-3.3.5/shim/html5shiv.min.js"></script>
|
|
||||||
<script src="site_libs/bootstrap-3.3.5/shim/respond.min.js"></script>
|
|
||||||
<style>h1 {font-size: 34px;}
|
|
||||||
h1.title {font-size: 38px;}
|
|
||||||
h2 {font-size: 30px;}
|
|
||||||
h3 {font-size: 24px;}
|
|
||||||
h4 {font-size: 18px;}
|
|
||||||
h5 {font-size: 16px;}
|
|
||||||
h6 {font-size: 12px;}
|
|
||||||
code {color: inherit; background-color: rgba(0, 0, 0, 0.04);}
|
|
||||||
pre:not([class]) { background-color: white }</style>
|
|
||||||
<script src="site_libs/jqueryui-1.11.4/jquery-ui.min.js"></script>
|
|
||||||
<link href="site_libs/tocify-1.9.1/jquery.tocify.css" rel="stylesheet" />
|
|
||||||
<script src="site_libs/tocify-1.9.1/jquery.tocify.js"></script>
|
|
||||||
<script src="site_libs/navigation-1.1/tabsets.js"></script>
|
|
||||||
<link href="site_libs/highlightjs-9.12.0/default.css" rel="stylesheet" />
|
|
||||||
<script src="site_libs/highlightjs-9.12.0/highlight.js"></script>
|
|
||||||
<link href="site_libs/font-awesome-5.1.0/css/all.css" rel="stylesheet" />
|
|
||||||
<link href="site_libs/font-awesome-5.1.0/css/v4-shims.css" rel="stylesheet" />
|
|
||||||
<link rel='shortcut icon' type='image/x-icon' href='favicon.ico' />
|
|
||||||
|
|
||||||
<style type="text/css">
|
|
||||||
code{white-space: pre-wrap;}
|
|
||||||
span.smallcaps{font-variant: small-caps;}
|
|
||||||
span.underline{text-decoration: underline;}
|
|
||||||
div.column{display: inline-block; vertical-align: top; width: 50%;}
|
|
||||||
div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;}
|
|
||||||
ul.task-list{list-style: none;}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<style type="text/css">code{white-space: pre;}</style>
|
|
||||||
<script type="text/javascript">
|
|
||||||
if (window.hljs) {
|
|
||||||
hljs.configure({languages: []});
|
|
||||||
hljs.initHighlightingOnLoad();
|
|
||||||
if (document.readyState && document.readyState === "complete") {
|
|
||||||
window.setTimeout(function() { hljs.initHighlighting(); }, 0);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<link rel="stylesheet" href="style.css" type="text/css" />
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<style type = "text/css">
|
|
||||||
.main-container {
|
|
||||||
max-width: 940px;
|
|
||||||
margin-left: auto;
|
|
||||||
margin-right: auto;
|
|
||||||
}
|
|
||||||
img {
|
|
||||||
max-width:100%;
|
|
||||||
}
|
|
||||||
.tabbed-pane {
|
|
||||||
padding-top: 12px;
|
|
||||||
}
|
|
||||||
.html-widget {
|
|
||||||
margin-bottom: 20px;
|
|
||||||
}
|
|
||||||
button.code-folding-btn:focus {
|
|
||||||
outline: none;
|
|
||||||
}
|
|
||||||
summary {
|
|
||||||
display: list-item;
|
|
||||||
}
|
|
||||||
details > summary > p:only-child {
|
|
||||||
display: inline;
|
|
||||||
}
|
|
||||||
pre code {
|
|
||||||
padding: 0;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
|
|
||||||
<style type="text/css">
|
|
||||||
.dropdown-submenu {
|
|
||||||
position: relative;
|
|
||||||
}
|
|
||||||
.dropdown-submenu>.dropdown-menu {
|
|
||||||
top: 0;
|
|
||||||
left: 100%;
|
|
||||||
margin-top: -6px;
|
|
||||||
margin-left: -1px;
|
|
||||||
border-radius: 0 6px 6px 6px;
|
|
||||||
}
|
|
||||||
.dropdown-submenu:hover>.dropdown-menu {
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
.dropdown-submenu>a:after {
|
|
||||||
display: block;
|
|
||||||
content: " ";
|
|
||||||
float: right;
|
|
||||||
width: 0;
|
|
||||||
height: 0;
|
|
||||||
border-color: transparent;
|
|
||||||
border-style: solid;
|
|
||||||
border-width: 5px 0 5px 5px;
|
|
||||||
border-left-color: #cccccc;
|
|
||||||
margin-top: 5px;
|
|
||||||
margin-right: -10px;
|
|
||||||
}
|
|
||||||
.dropdown-submenu:hover>a:after {
|
|
||||||
border-left-color: #adb5bd;
|
|
||||||
}
|
|
||||||
.dropdown-submenu.pull-left {
|
|
||||||
float: none;
|
|
||||||
}
|
|
||||||
.dropdown-submenu.pull-left>.dropdown-menu {
|
|
||||||
left: -100%;
|
|
||||||
margin-left: 10px;
|
|
||||||
border-radius: 6px 0 6px 6px;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<script type="text/javascript">
|
|
||||||
// manage active state of menu based on current page
|
|
||||||
$(document).ready(function () {
|
|
||||||
// active menu anchor
|
|
||||||
href = window.location.pathname
|
|
||||||
href = href.substr(href.lastIndexOf('/') + 1)
|
|
||||||
if (href === "")
|
|
||||||
href = "index.html";
|
|
||||||
var menuAnchor = $('a[href="' + href + '"]');
|
|
||||||
|
|
||||||
// mark it active
|
|
||||||
menuAnchor.tab('show');
|
|
||||||
|
|
||||||
// if it's got a parent navbar menu mark it active as well
|
|
||||||
menuAnchor.closest('li.dropdown').addClass('active');
|
|
||||||
|
|
||||||
// Navbar adjustments
|
|
||||||
var navHeight = $(".navbar").first().height() + 15;
|
|
||||||
var style = document.createElement('style');
|
|
||||||
var pt = "padding-top: " + navHeight + "px; ";
|
|
||||||
var mt = "margin-top: -" + navHeight + "px; ";
|
|
||||||
var css = "";
|
|
||||||
// offset scroll position for anchor links (for fixed navbar)
|
|
||||||
for (var i = 1; i <= 6; i++) {
|
|
||||||
css += ".section h" + i + "{ " + pt + mt + "}\n";
|
|
||||||
}
|
|
||||||
style.innerHTML = "body {" + pt + "padding-bottom: 40px; }\n" + css;
|
|
||||||
document.head.appendChild(style);
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<!-- tabsets -->
|
|
||||||
|
|
||||||
<style type="text/css">
|
|
||||||
.tabset-dropdown > .nav-tabs {
|
|
||||||
display: inline-table;
|
|
||||||
max-height: 500px;
|
|
||||||
min-height: 44px;
|
|
||||||
overflow-y: auto;
|
|
||||||
border: 1px solid #ddd;
|
|
||||||
border-radius: 4px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabset-dropdown > .nav-tabs > li.active:before {
|
|
||||||
content: "";
|
|
||||||
font-family: 'Glyphicons Halflings';
|
|
||||||
display: inline-block;
|
|
||||||
padding: 10px;
|
|
||||||
border-right: 1px solid #ddd;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabset-dropdown > .nav-tabs.nav-tabs-open > li.active:before {
|
|
||||||
content: "";
|
|
||||||
border: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabset-dropdown > .nav-tabs.nav-tabs-open:before {
|
|
||||||
content: "";
|
|
||||||
font-family: 'Glyphicons Halflings';
|
|
||||||
display: inline-block;
|
|
||||||
padding: 10px;
|
|
||||||
border-right: 1px solid #ddd;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabset-dropdown > .nav-tabs > li.active {
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabset-dropdown > .nav-tabs > li > a,
|
|
||||||
.tabset-dropdown > .nav-tabs > li > a:focus,
|
|
||||||
.tabset-dropdown > .nav-tabs > li > a:hover {
|
|
||||||
border: none;
|
|
||||||
display: inline-block;
|
|
||||||
border-radius: 4px;
|
|
||||||
background-color: transparent;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabset-dropdown > .nav-tabs.nav-tabs-open > li {
|
|
||||||
display: block;
|
|
||||||
float: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabset-dropdown > .nav-tabs > li {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<!-- code folding -->
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<style type="text/css">
|
|
||||||
|
|
||||||
#TOC {
|
|
||||||
margin: 25px 0px 20px 0px;
|
|
||||||
}
|
|
||||||
@media (max-width: 768px) {
|
|
||||||
#TOC {
|
|
||||||
position: relative;
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@media print {
|
|
||||||
.toc-content {
|
|
||||||
/* see https://github.com/w3c/csswg-drafts/issues/4434 */
|
|
||||||
float: right;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.toc-content {
|
|
||||||
padding-left: 30px;
|
|
||||||
padding-right: 40px;
|
|
||||||
}
|
|
||||||
|
|
||||||
div.main-container {
|
|
||||||
max-width: 1200px;
|
|
||||||
}
|
|
||||||
|
|
||||||
div.tocify {
|
|
||||||
width: 20%;
|
|
||||||
max-width: 260px;
|
|
||||||
max-height: 85%;
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (min-width: 768px) and (max-width: 991px) {
|
|
||||||
div.tocify {
|
|
||||||
width: 25%;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (max-width: 767px) {
|
|
||||||
div.tocify {
|
|
||||||
width: 100%;
|
|
||||||
max-width: none;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.tocify ul, .tocify li {
|
|
||||||
line-height: 20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tocify-subheader .tocify-item {
|
|
||||||
font-size: 0.90em;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tocify .list-group-item {
|
|
||||||
border-radius: 0px;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
</style>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body>
|
|
||||||
|
|
||||||
|
|
||||||
<div class="container-fluid main-container">
|
|
||||||
|
|
||||||
|
|
||||||
<!-- setup 3col/9col grid for toc_float and main content -->
|
|
||||||
<div class="row">
|
|
||||||
<div class="col-xs-12 col-sm-4 col-md-3">
|
|
||||||
<div id="TOC" class="tocify">
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="toc-content col-xs-12 col-sm-8 col-md-9">
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div class="navbar navbar-default navbar-fixed-top" role="navigation">
|
|
||||||
<div class="container">
|
|
||||||
<div class="navbar-header">
|
|
||||||
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-bs-toggle="collapse" data-target="#navbar" data-bs-target="#navbar">
|
|
||||||
<span class="icon-bar"></span>
|
|
||||||
<span class="icon-bar"></span>
|
|
||||||
<span class="icon-bar"></span>
|
|
||||||
</button>
|
|
||||||
<a class="navbar-brand" href="index.html"><div><img src="ohdsi16x16.png"></img> OMOP Common Data Model </div></a>
|
|
||||||
</div>
|
|
||||||
<div id="navbar" class="navbar-collapse collapse">
|
|
||||||
<ul class="nav navbar-nav">
|
|
||||||
<li>
|
|
||||||
<a href="index.html">
|
|
||||||
<span class="fa fa-home"></span>
|
|
||||||
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
|
||||||
<span class="fa fa-landmark"></span>
|
|
||||||
|
|
||||||
Background
|
|
||||||
|
|
||||||
<span class="caret"></span>
|
|
||||||
</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="background.html">Model Background</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="cdmRefreshProcess.html">CDM Refresh Process</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="vocabulary.html">How the Vocabulary is Built</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
|
||||||
<span class="fa fa-list-alt"></span>
|
|
||||||
|
|
||||||
Conventions
|
|
||||||
|
|
||||||
<span class="caret"></span>
|
|
||||||
</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="dataModelConventions.html">General Conventions</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="ehrObsPeriods.html">Observation Periods for EHR Data</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="cdmPrivacy.html">Patient Privacy and OMOP</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
|
||||||
<span class="fa fa-history"></span>
|
|
||||||
|
|
||||||
CDM Versions
|
|
||||||
|
|
||||||
<span class="caret"></span>
|
|
||||||
</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="cdm30.html">CDM v3.0</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="cdm60.html">CDM v6.0</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="cdm53.html">CDM v5.3</a>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown-submenu">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">NEW CDM v5.4</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="cdm54.html">CDM v5.4</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="cdm54Changes.html">Changes from CDM v5.3</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
|
||||||
<span class="fa fa-plus-square"></span>
|
|
||||||
|
|
||||||
Proposals
|
|
||||||
|
|
||||||
<span class="caret"></span>
|
|
||||||
</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="https://github.com/OHDSI/CommonDataModel/issues?q=is%3Aopen+is%3Aissue+label%3AProposal">Under Review</a>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown-submenu">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">Accepted</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="https://github.com/OHDSI/CommonDataModel/issues/252">Region_concept_id</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
|
||||||
<span class="fa fa-question"></span>
|
|
||||||
|
|
||||||
How to
|
|
||||||
|
|
||||||
<span class="caret"></span>
|
|
||||||
</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="download.html">Download the DDL</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="cdmRPackage.html">Use the CDM R Package</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="drug_dose.html">Calculate Drug Dose</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
|
||||||
<span class="fa fa-life-ring"></span>
|
|
||||||
|
|
||||||
Support
|
|
||||||
|
|
||||||
<span class="caret"></span>
|
|
||||||
</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="faq.html">FAQ</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="sqlScripts.html">SQL Scripts</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="contribute.html">Ask a Question</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
<ul class="nav navbar-nav navbar-right">
|
|
||||||
<li>
|
|
||||||
<a href="https://github.com/OHDSI/CommonDataModel">
|
|
||||||
<span class="fa fa-github"></span>
|
|
||||||
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</div><!--/.nav-collapse -->
|
|
||||||
</div><!--/.container -->
|
|
||||||
</div><!--/.navbar -->
|
|
||||||
|
|
||||||
<div id="header">
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<h1 class="title toc-ignore"><strong>OMOP CDM v5.4</strong></h1>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<p>This is the specification document for the OMOP Common Data Model, v5.4. <strong>This is the latest version of the OMOP CDM.</strong> Each table is represented with a high-level description and ETL conventions that should be followed. This is continued with a discussion of each field in each table, any conventions related to the field, and constraints that should be followed (like primary key, foreign key, etc). Should you have questions please feel free to visit the <a href="https://forums.ohdsi.org/">forums</a> or the <a href="https://github.com/ohdsi/CommonDataModel/issues">github issue</a> page.</p>
|
|
||||||
<div id="current-support-for-cdm-v5.4" class="section level3">
|
|
||||||
<h3>Current Support for CDM v5.4</h3>
|
|
||||||
<p>The table below details which OHDSI tools support CDM v5.4. There are two levels of support: legacy support means that the tool supports all tables and fields that were present in CDM v5.3 and feature support indicates that the tool supports any new tables and fields in CDM v5.4 that were not present in CDM v5.3. A green check ✅ indicates that the support level for the listed tool is in place, has been tested, and released. A warning sign ⚠️ indicates that the support level for the listed tool has been initiated but has not yet been tested and released. <br></p>
|
|
||||||
<table>
|
|
||||||
<colgroup>
|
|
||||||
<col width="25%" />
|
|
||||||
<col width="25%" />
|
|
||||||
<col width="25%" />
|
|
||||||
<col width="25%" />
|
|
||||||
</colgroup>
|
|
||||||
<thead>
|
|
||||||
<tr class="header">
|
|
||||||
<th><strong>Tool</strong></th>
|
|
||||||
<th><strong>Description</strong></th>
|
|
||||||
<th><strong>Legacy Support</strong></th>
|
|
||||||
<th><strong>Feature Support</strong></th>
|
|
||||||
</tr>
|
|
||||||
</thead>
|
|
||||||
<tbody>
|
|
||||||
<tr class="odd">
|
|
||||||
<td><strong>CDM R package</strong></td>
|
|
||||||
<td>This package can be downloaded from <a href="https://github.com/OHDSI/CommonDataModel/">https://github.com/OHDSI/CommonDataModel/</a>. It functions to dynamically create the OMOP CDM documentation and DDL scripts to instantiate the CDM tables.</td>
|
|
||||||
<td>✅</td>
|
|
||||||
<td>✅</td>
|
|
||||||
</tr>
|
|
||||||
<tr class="even">
|
|
||||||
<td><strong>Data Quality Dashboard</strong></td>
|
|
||||||
<td>This package can be downloaded from <a href="https://github.com/OHDSI/DataQualityDashboard">https://github.com/OHDSI/DataQualityDashboard</a>. It runs a set of > 3500 data quality checks against an OMOP CDM instance and is required to be run on all databases prior to participating in an OHDSI network research study.</td>
|
|
||||||
<td>✅</td>
|
|
||||||
<td>⚠️</td>
|
|
||||||
</tr>
|
|
||||||
<tr class="odd">
|
|
||||||
<td><strong>Achilles</strong></td>
|
|
||||||
<td>This package can be downloaded from <a href="https://github.com/OHDSI/Achilles">https://github.com/OHDSI/Achilles</a>, performing a set of broad database characterizations agains an OMOP CDM instance.</td>
|
|
||||||
<td>✅</td>
|
|
||||||
<td>⚠️</td>
|
|
||||||
</tr>
|
|
||||||
<tr class="even">
|
|
||||||
<td><strong>ARES</strong></td>
|
|
||||||
<td>This package can be downloaded from <a href="https://github.com/OHDSI/Ares">https://github.com/OHDSI/Ares</a> and is designed to display the results from both the ACHILLES and DataQualityDashboard packages to support data quality and characterization research.</td>
|
|
||||||
<td>✅</td>
|
|
||||||
<td>⚠️</td>
|
|
||||||
</tr>
|
|
||||||
<tr class="odd">
|
|
||||||
<td><strong>ATLAS</strong></td>
|
|
||||||
<td>ATLAS is an open source software tool for researchers to conduct scientific analyses on standardized observational data. <a href="http://atlas-demo.ohdsi.org/">Demo</a></td>
|
|
||||||
<td>✅</td>
|
|
||||||
<td>⚠️</td>
|
|
||||||
</tr>
|
|
||||||
<tr class="even">
|
|
||||||
<td><strong>Rabbit-In-A-Hat</strong></td>
|
|
||||||
<td>This package can be downloaded from <a href="https://github.com/OHDSI/WhiteRabbit">https://github.com/OHDSI/WhiteRabbit</a> and is an application for interactive design of an ETL to the OMOP Common Data Model with the help of the the scan report generated by White Rabbit.</td>
|
|
||||||
<td>✅</td>
|
|
||||||
<td>✅</td>
|
|
||||||
</tr>
|
|
||||||
<tr class="odd">
|
|
||||||
<td><strong>Feature Extraction</strong></td>
|
|
||||||
<td>This package can be downloaded from <a href="https://github.com/OHDSI/FeatureExtraction">https://github.com/OHDSI/FeatureExtraction</a>. It is designed to generate features (covariates) for a cohort generated using the OMOP CDM.</td>
|
|
||||||
<td>✅</td>
|
|
||||||
<td>✅*</td>
|
|
||||||
</tr>
|
|
||||||
<tr class="even">
|
|
||||||
<td><strong>Cohort Diagnostics</strong></td>
|
|
||||||
<td>This package can be downloaded from <a href="https://github.com/OHDSI/CohortDiagnostics">https://github.com/OHDSI/CohortDiagnostics</a> and is used to critically evaluate cohort phenotypes.</td>
|
|
||||||
<td>✅</td>
|
|
||||||
<td>⚠️</td>
|
|
||||||
</tr>
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
<p><br> * The <strong>Feature Extraction</strong> package supports all relevant new features in CDM v5.4. For example, it was decided that, from a methodological perspective, the EPISODE and EPISODE_EVENT tables should not be included to define cohort covariates because the events that make up episodes are already pulled in as potential covariates.</p>
|
|
||||||
<p><br></p>
|
|
||||||
<p>Looking to send us a pull request for a bug fix? Please see the <a href="https://github.com/OHDSI/CommonDataModel#readme">readme</a> on the main github page.</p>
|
|
||||||
</div>
|
|
||||||
<div id="clinical-data-tables" class="section level2">
|
|
||||||
<h2><strong>Clinical Data Tables</strong></h2>
|
|
||||||
<div id="person" class="section level3 tabset tabset-pills">
|
|
||||||
<h3 class="tabset tabset-pills">PERSON</h3>
|
|
||||||
<p><strong>Table Description</strong></p>
|
|
||||||
<p>This table serves as the central identity management for all Persons in the database. It contains records that uniquely identify each person or patient, and some demographic information.</p>
|
|
||||||
<p><strong>User Guide</strong></p>
|
|
||||||
<p>All records in this table are independent Persons.</p>
|
|
||||||
<p><strong>ETL Conventions</strong></p>
|
|
||||||
<p>All Persons in a database needs one record in this table, unless they fail data quality requirements specified in the ETL. Persons with no Events should have a record nonetheless. If more than one data source contributes Events to the database, Persons must be reconciled, if possible, across the sources to create one single record per Person. The content of the BIRTH_DATETIME must be equivalent to the content of BIRTH_DAY, BIRTH_MONTH and BIRTH_YEAR.</p>
|
|
||||||
</div>
|
|
||||||
<div id="observation_period" class="section level3 tabset tabset-pills">
|
|
||||||
<h3 class="tabset tabset-pills">OBSERVATION_PERIOD</h3>
|
|
||||||
<p><strong>Table Description</strong></p>
|
|
||||||
<p>This table contains records which define spans of time during which two conditions are expected to hold: (i) Clinical Events that happened to the Person are recorded in the Event tables, and (ii) absense of records indicate such Events did not occur during this span of time.</p>
|
|
||||||
<p><strong>User Guide</strong></p>
|
|
||||||
<p>For each Person, one or more OBSERVATION_PERIOD records may be present, but they will not overlap or be back to back to each other. Events may exist outside all of the time spans of the OBSERVATION_PERIOD records for a patient, however, absence of an Event outside these time spans cannot be construed as evidence of absence of an Event. Incidence or prevalence rates should only be calculated for the time of active OBSERVATION_PERIOD records. When constructing cohorts, outside Events can be used for inclusion criteria definition, but without any guarantee for the performance of these criteria. Also, OBSERVATION_PERIOD records can be as short as a single day, greatly disturbing the denominator of any rate calculation as part of cohort characterizations. To avoid that, apply minimal observation time as a requirement for any cohort definition.</p>
|
|
||||||
<p><strong>ETL Conventions</strong></p>
|
|
||||||
<p>Each Person needs to have at least one OBSERVATION_PERIOD record, which should represent time intervals with a high capture rate of Clinical Events. Some source data have very similar concepts, such as enrollment periods in insurance claims data. In other source data such as most EHR systems these time spans need to be inferred under a set of assumptions. It is the discretion of the ETL developer to define these assumptions. In many ETL solutions the start date of the first occurrence or the first high quality occurrence of a Clinical Event (Condition, Drug, Procedure, Device, Measurement, Visit) is defined as the start of the OBSERVATION_PERIOD record, and the end date of the last occurrence of last high quality occurrence of a Clinical Event, or the end of the database period becomes the end of the OBSERVATOIN_PERIOD for each Person. If a Person only has a single Clinical Event the OBSERVATION_PERIOD record can be as short as one day. Depending on these definitions it is possible that Clinical Events fall outside the time spans defined by OBSERVATION_PERIOD records. Family history or history of Clinical Events generally are not used to generate OBSERVATION_PERIOD records around the time they are referring to. Any two overlapping or adjacent OBSERVATION_PERIOD records have to be merged into one.</p>
|
|
||||||
</div>
|
|
||||||
<div id="visit_occurrence" class="section level3 tabset tabset-pills">
|
|
||||||
<h3 class="tabset tabset-pills">VISIT_OCCURRENCE</h3>
|
|
||||||
<p><strong>Table Description</strong></p>
|
|
||||||
<p>This table contains Events where Persons engage with the healthcare system for a duration of time. They are often also called “Encounters”. Visits are defined by a configuration of circumstances under which they occur, such as (i) whether the patient comes to a healthcare institution, the other way around, or the interaction is remote, (ii) whether and what kind of trained medical staff is delivering the service during the Visit, and (iii) whether the Visit is transient or for a longer period involving a stay in bed.</p>
|
|
||||||
<p><strong>User Guide</strong></p>
|
|
||||||
<p>The configuration defining the Visit are described by Concepts in the Visit Domain, which form a hierarchical structure, but rolling up to generally familiar Visits adopted in most healthcare systems worldwide:</p>
|
|
||||||
<ul>
|
|
||||||
<li><a href="https://athena.ohdsi.org/search-terms/terms/9201">Inpatient Visit</a>: Person visiting hospital, at a Care Site, in bed, for duration of more than one day, with physicians and other Providers permanently available to deliver service around the clock</li>
|
|
||||||
<li><a href="https://athena.ohdsi.org/search-terms/terms/9203">Emergency Room Visit</a>: Person visiting dedicated healthcare institution for treating emergencies, at a Care Site, within one day, with physicians and Providers permanently available to deliver service around the clock</li>
|
|
||||||
<li><a href="https://athena.ohdsi.org/search-terms/terms/262">Emergency Room and Inpatient Visit</a>: Person visiting ER followed by a subsequent Inpatient Visit, where Emergency department is part of hospital, and transition from the ER to other hospital departments is undefined</li>
|
|
||||||
<li><a href="https://athena.ohdsi.org/search-terms/terms/42898160">Non-hospital institution Visit</a>: Person visiting dedicated institution for reasons of poor health, at a Care Site, long-term or permanently, with no physician but possibly other Providers permanently available to deliver service around the clock</li>
|
|
||||||
<li><a href="https://athena.ohdsi.org/search-terms/terms/9202">Outpatient Visit</a>: Person visiting dedicated ambulatory healthcare institution, at a Care Site, within one day, without bed, with physicians or medical Providers delivering service during Visit</li>
|
|
||||||
<li><a href="https://athena.ohdsi.org/search-terms/terms/581476">Home Visit</a>: Provider visiting Person, without a Care Site, within one day, delivering service</li>
|
|
||||||
<li><a href="https://athena.ohdsi.org/search-terms/terms/5083">Telehealth Visit</a>: Patient engages with Provider through communication media</li>
|
|
||||||
<li><a href="https://athena.ohdsi.org/search-terms/terms/581458">Pharmacy Visit</a>: Person visiting pharmacy for dispensing of Drug, at a Care Site, within one day</li>
|
|
||||||
<li><a href="https://athena.ohdsi.org/search-terms/terms/32036">Laboratory Visit</a>: Patient visiting dedicated institution, at a Care Site, within one day, for the purpose of a Measurement.</li>
|
|
||||||
<li><a href="https://athena.ohdsi.org/search-terms/terms/581478">Ambulance Visit</a>: Person using transportation service for the purpose of initiating one of the other Visits, without a Care Site, within one day, potentially with Providers accompanying the Visit and delivering service</li>
|
|
||||||
<li><a href="https://athena.ohdsi.org/search-terms/terms/38004193">Case Management Visit</a>: Person interacting with healthcare system, without a Care Site, within a day, with no Providers involved, for administrative purposes</li>
|
|
||||||
</ul>
|
|
||||||
<p>The Visit duration, or ‘length of stay’, is defined as VISIT_END_DATE - VISIT_START_DATE. For all Visits this is <1 day, except Inpatient Visits and Non-hospital institution Visits. The CDM also contains the VISIT_DETAIL table where additional information about the Visit is stored, for example, transfers between units during an inpatient Visit.</p>
|
|
||||||
<p><strong>ETL Conventions</strong></p>
|
|
||||||
<p>Visits can be derived easily if the source data contain coding systems for Place of Service or Procedures, like CPT codes for well visits. In those cases, the codes can be looked up and mapped to a Standard Visit Concept. Otherwise, Visit Concepts have to be identified in the ETL process. This table will contain concepts in the Visit domain. These concepts are arranged in a hierarchical structure to facilitate cohort definitions by rolling up to generally familiar Visits adopted in most healthcare systems worldwide. Visits can be adjacent to each other, i.e. the end date of one can be identical with the start date of the other. As a consequence, more than one-day Visits or their descendants can be recorded for the same day. Multi-day visits must not overlap, i.e. share days other than start and end days. It is often the case that some logic should be written for how to define visits and how to assign Visit_Concept_Id. For example, in US claims outpatient visits that appear to occur within the time period of an inpatient visit can be rolled into one with the same Visit_Occurrence_Id. In EHR data inpatient visits that are within one day of each other may be strung together to create one visit. It will all depend on the source data and how encounter records should be translated to visit occurrences. Providers can be associated with a Visit through the PROVIDER_ID field, or indirectly through PROCEDURE_OCCURRENCE records linked both to the VISIT and PROVIDER tables.</p>
|
|
||||||
</div>
|
|
||||||
<div id="visit_detail" class="section level3 tabset tabset-pills">
|
|
||||||
<h3 class="tabset tabset-pills">VISIT_DETAIL</h3>
|
|
||||||
<p><strong>Table Description</strong></p>
|
|
||||||
<p>The VISIT_DETAIL table is an optional table used to represents details of each record in the parent VISIT_OCCURRENCE table. A good example of this would be the movement between units in a hospital during an inpatient stay or claim lines associated with a one insurance claim. For every record in the VISIT_OCCURRENCE table there may be 0 or more records in the VISIT_DETAIL table with a 1:n relationship where n may be 0. The VISIT_DETAIL table is structurally very similar to VISIT_OCCURRENCE table and belongs to the visit domain.</p>
|
|
||||||
<p><strong>User Guide</strong></p>
|
|
||||||
<p>The configuration defining the Visit Detail is described by Concepts in the Visit Domain, which form a hierarchical structure. The Visit Detail record will have an associated to the Visit Occurrence record in two ways: <br> 1. The Visit Detail record will have the VISIT_OCCURRENCE_ID it is associated to 2. The VISIT_DETAIL_CONCEPT_ID will be a descendant of the VISIT_CONCEPT_ID for the Visit.</p>
|
|
||||||
<p><strong>ETL Conventions</strong></p>
|
|
||||||
<p>It is not mandatory that the VISIT_DETAIL table be filled in, but if you find that the logic to create VISIT_OCCURRENCE records includes the roll-up of multiple smaller records to create one picture of a Visit then it is a good idea to use VISIT_DETAIL. In EHR data, for example, a Person may be in the hospital but instead of one over-arching Visit their encounters are recorded as times they interacted with a health care provider. A Person in the hospital interacts with multiple providers multiple times a day so the encounters must be strung together using some heuristic (defined by the ETL) to identify the entire Visit. In this case the encounters would be considered Visit Details and the entire Visit would be the Visit Occurrence. In this example it is also possible to use the Vocabulary to distinguish Visit Details from a Visit Occurrence by setting the VISIT_CONCEPT_ID to <a href="https://athena.ohdsi.org/search-terms/terms/9201">9201</a> and the VISIT_DETAIL_CONCEPT_IDs either to 9201 or its children to indicate where the patient was in the hospital at the time of care.</p>
|
|
||||||
</div>
|
|
||||||
<div id="condition_occurrence" class="section level3 tabset tabset-pills">
|
|
||||||
<h3 class="tabset tabset-pills">CONDITION_OCCURRENCE</h3>
|
|
||||||
<p><strong>Table Description</strong></p>
|
|
||||||
<p>This table contains records of Events of a Person suggesting the presence of a disease or medical condition stated as a diagnosis, a sign, or a symptom, which is either observed by a Provider or reported by the patient.</p>
|
|
||||||
<p><strong>User Guide</strong></p>
|
|
||||||
<p>Conditions are defined by Concepts from the Condition domain, which form a complex hierarchy. As a result, the same Person with the same disease may have multiple Condition records, which belong to the same hierarchical family. Most Condition records are mapped from diagnostic codes, but recorded signs, symptoms and summary descriptions also contribute to this table. Rule out diagnoses should not be recorded in this table, but in reality their negating nature is not always captured in the source data, and other precautions must be taken when when identifying Persons who should suffer from the recorded Condition. Record all conditions as they exist in the source data. Any decisions about diagnosis/phenotype definitions would be done through cohort specifications. These cohorts can be housed in the <a href="https://ohdsi.github.io/CommonDataModel/cdm531.html#payer_plan_period">COHORT</a> table. Conditions span a time interval from start to end, but are typically recorded as single snapshot records with no end date. The reason is twofold: (i) At the time of the recording the duration is not known and later not recorded, and (ii) the Persons typically cease interacting with the healthcare system when they feel better, which leads to incomplete capture of resolved Conditions. The <a href="https://ohdsi.github.io/CommonDataModel/cdm531.html#condition_era">CONDITION_ERA</a> table addresses this issue. Family history and past diagnoses (‘history of’) are not recorded in this table. Instead, they are listed in the <a href="https://ohdsi.github.io/CommonDataModel/cdm531.html#observation">OBSERVATION</a> table. Codes written in the process of establishing the diagnosis, such as ‘question of’ of and ‘rule out’, should not represented here. Instead, they should be recorded in the <a href="https://ohdsi.github.io/CommonDataModel/cdm531.html#observation">OBSERVATION</a> table, if they are used for analyses. However, this information is not always available.</p>
|
|
||||||
<p><strong>ETL Conventions</strong></p>
|
|
||||||
<p>Source codes and source text fields mapped to Standard Concepts of the Condition Domain have to be recorded here.</p>
|
|
||||||
</div>
|
|
||||||
<div id="drug_exposure" class="section level3 tabset tabset-pills">
|
|
||||||
<h3 class="tabset tabset-pills">DRUG_EXPOSURE</h3>
|
|
||||||
<p><strong>Table Description</strong></p>
|
|
||||||
<p>This table captures records about the exposure to a Drug ingested or otherwise introduced into the body. A Drug is a biochemical substance formulated in such a way that when administered to a Person it will exert a certain biochemical effect on the metabolism. Drugs include prescription and over-the-counter medicines, vaccines, and large-molecule biologic therapies. Radiological devices ingested or applied locally do not count as Drugs.</p>
|
|
||||||
<p><strong>User Guide</strong></p>
|
|
||||||
<p>The purpose of records in this table is to indicate an exposure to a certain drug as best as possible. In this context a drug is defined as an active ingredient. Drug Exposures are defined by Concepts from the Drug domain, which form a complex hierarchy. As a result, one DRUG_SOURCE_CONCEPT_ID may map to multiple standard concept ids if it is a combination product. Records in this table represent prescriptions written, prescriptions dispensed, and drugs administered by a provider to name a few. The DRUG_TYPE_CONCEPT_ID can be used to find and filter on these types. This table includes additional information about the drug products, the quantity given, and route of administration.</p>
|
|
||||||
<p><strong>ETL Conventions</strong></p>
|
|
||||||
<p>Information about quantity and dose is provided in a variety of different ways and it is important for the ETL to provide as much information as possible from the data. Depending on the provenance of the data fields may be captured differently i.e. quantity for drugs administered may have a separate meaning from quantity for prescriptions dispensed. If a patient has multiple records on the same day for the same drug or procedures the ETL should not de-dupe them unless there is probable reason to believe the item is a true data duplicate. Take note on how to handle refills for prescriptions written.</p>
|
|
||||||
</div>
|
|
||||||
<div id="procedure_occurrence" class="section level3 tabset tabset-pills">
|
|
||||||
<h3 class="tabset tabset-pills">PROCEDURE_OCCURRENCE</h3>
|
|
||||||
<p><strong>Table Description</strong></p>
|
|
||||||
<p>This table contains records of activities or processes ordered by, or carried out by, a healthcare provider on the patient with a diagnostic or therapeutic purpose.</p>
|
|
||||||
<p><strong>User Guide</strong></p>
|
|
||||||
<p>Lab tests are not a procedure, if something is observed with an expected resulting amount and unit then it should be a measurement. Phlebotomy is a procedure but so trivial that it tends to be rarely captured. It can be assumed that there is a phlebotomy procedure associated with many lab tests, therefore it is unnecessary to add them as separate procedures. If the user finds the same procedure over concurrent days, it is assumed those records are part of a procedure lasting more than a day. This logic is in lieu of the procedure_end_date, which will be added in a future version of the CDM.</p>
|
|
||||||
<p><strong>ETL Conventions</strong></p>
|
|
||||||
<p>If a procedure lasts more than a day, then it should be recorded as a separate record for each day the procedure occurred, this logic is in lieu of the PROCEDURE_END_DATE, which will be added in a future version of the CDM. When dealing with duplicate records, the ETL must determine whether to sum them up into one record or keep them separate. Things to consider are: - Same Procedure - Same PROCEDURE_DATETIME - Same Visit Occurrence or Visit Detail - Same Provider - Same Modifier for Procedures. Source codes and source text fields mapped to Standard Concepts of the Procedure Domain have to be recorded here.</p>
|
|
||||||
</div>
|
|
||||||
<div id="device_exposure" class="section level3 tabset tabset-pills">
|
|
||||||
<h3 class="tabset tabset-pills">DEVICE_EXPOSURE</h3>
|
|
||||||
<p><strong>Table Description</strong></p>
|
|
||||||
<p>The Device domain captures information about a person’s exposure to a foreign physical object or instrument which is used for diagnostic or therapeutic purposes through a mechanism beyond chemical action. Devices include implantable objects (e.g. pacemakers, stents, artificial joints), medical equipment and supplies (e.g. bandages, crutches, syringes), other instruments used in medical procedures (e.g. sutures, defibrillators) and material used in clinical care (e.g. adhesives, body material, dental material, surgical material).</p>
|
|
||||||
<p><strong>User Guide</strong></p>
|
|
||||||
<p>The distinction between Devices or supplies and Procedures are sometimes blurry, but the former are physical objects while the latter are actions, often to apply a Device or supply.</p>
|
|
||||||
<p><strong>ETL Conventions</strong></p>
|
|
||||||
<p>Source codes and source text fields mapped to Standard Concepts of the Device Domain have to be recorded here.</p>
|
|
||||||
</div>
|
|
||||||
<div id="measurement" class="section level3 tabset tabset-pills">
|
|
||||||
<h3 class="tabset tabset-pills">MEASUREMENT</h3>
|
|
||||||
<p><strong>Table Description</strong></p>
|
|
||||||
<p>The MEASUREMENT table contains records of Measurements, i.e. structured values (numerical or categorical) obtained through systematic and standardized examination or testing of a Person or Person’s sample. The MEASUREMENT table contains both orders and results of such Measurements as laboratory tests, vital signs, quantitative findings from pathology reports, etc. Measurements are stored as attribute value pairs, with the attribute as the Measurement Concept and the value representing the result. The value can be a Concept (stored in VALUE_AS_CONCEPT), or a numerical value (VALUE_AS_NUMBER) with a Unit (UNIT_CONCEPT_ID). The Procedure for obtaining the sample is housed in the PROCEDURE_OCCURRENCE table, though it is unnecessary to create a PROCEDURE_OCCURRENCE record for each measurement if one does not exist in the source data. Measurements differ from Observations in that they require a standardized test or some other activity to generate a quantitative or qualitative result. If there is no result, it is assumed that the lab test was conducted but the result was not captured.</p>
|
|
||||||
<p><strong>User Guide</strong></p>
|
|
||||||
<p>Measurements are predominately lab tests with a few exceptions, like blood pressure or function tests. Results are given in the form of a value and unit combination. When investigating measurements, look for operator_concept_ids (<, >, etc.).</p>
|
|
||||||
<p><strong>ETL Conventions</strong></p>
|
|
||||||
<p>Only records where the source value maps to a Concept in the measurement domain should be included in this table. Even though each Measurement always has a result, the fields VALUE_AS_NUMBER and VALUE_AS_CONCEPT_ID are not mandatory as often the result is not given in the source data. When the result is not known, the Measurement record represents just the fact that the corresponding Measurement was carried out, which in itself is already useful information for some use cases. For some Measurement Concepts, the result is included in the test. For example, ICD10 CONCEPT_ID <a href="https://athena.ohdsi.org/search-terms/terms/45548980">45548980</a> ‘Abnormal level of unspecified serum enzyme’ indicates a Measurement and the result (abnormal). In those situations, the CONCEPT_RELATIONSHIP table in addition to the ‘Maps to’ record contains a second record with the relationship_id set to ‘Maps to value’. In this example, the ‘Maps to’ relationship directs to <a href="https://athena.ohdsi.org/search-terms/terms/4046263">4046263</a> ‘Enzyme measurement’ as well as a ‘Maps to value’ record to <a href="https://athena.ohdsi.org/search-terms/terms/4135493">4135493</a> ‘Abnormal’.</p>
|
|
||||||
</div>
|
|
||||||
<div id="observation" class="section level3 tabset tabset-pills">
|
|
||||||
<h3 class="tabset tabset-pills">OBSERVATION</h3>
|
|
||||||
<p><strong>Table Description</strong></p>
|
|
||||||
<p>The OBSERVATION table captures clinical facts about a Person obtained in the context of examination, questioning or a procedure. Any data that cannot be represented by any other domains, such as social and lifestyle facts, medical history, family history, etc. are recorded here.</p>
|
|
||||||
<p><strong>User Guide</strong></p>
|
|
||||||
<p>Observations differ from Measurements in that they do not require a standardized test or some other activity to generate clinical fact. Typical observations are medical history, family history, the stated need for certain treatment, social circumstances, lifestyle choices, healthcare utilization patterns, etc. If the generation clinical facts requires a standardized testing such as lab testing or imaging and leads to a standardized result, the data item is recorded in the MEASUREMENT table. If the clinical fact observed determines a sign, symptom, diagnosis of a disease or other medical condition, it is recorded in the CONDITION_OCCURRENCE table. Valid Observation Concepts are not enforced to be from any domain though they still should be Standard Concepts.</p>
|
|
||||||
<p><strong>ETL Conventions</strong></p>
|
|
||||||
<p>Records whose Source Values map to any domain besides Condition, Procedure, Drug, Measurement or Device should be stored in the Observation table. Observations can be stored as attribute value pairs, with the attribute as the Observation Concept and the value representing the clinical fact. This fact can be a Concept (stored in VALUE_AS_CONCEPT), a numerical value (VALUE_AS_NUMBER), a verbatim string (VALUE_AS_STRING), or a datetime (VALUE_AS_DATETIME). Even though Observations do not have an explicit result, the clinical fact can be stated separately from the type of Observation in the VALUE_AS_* fields. It is recommended for Observations that are suggestive statements of positive assertion should have a value of ‘Yes’ (concept_id=4188539), recorded, even though the null value is the equivalent.</p>
|
|
||||||
</div>
|
|
||||||
<div id="death" class="section level3 tabset tabset-pills">
|
|
||||||
<h3 class="tabset tabset-pills">DEATH</h3>
|
|
||||||
<p><strong>Table Description</strong></p>
|
|
||||||
<p>The death domain contains the clinical event for how and when a Person dies. A person can have up to one record if the source system contains evidence about the Death, such as: Condition in an administrative claim, status of enrollment into a health plan, or explicit record in EHR data.</p>
|
|
||||||
</div>
|
|
||||||
<div id="note" class="section level3 tabset tabset-pills">
|
|
||||||
<h3 class="tabset tabset-pills">NOTE</h3>
|
|
||||||
<p><strong>Table Description</strong></p>
|
|
||||||
<p>The NOTE table captures unstructured information that was recorded by a provider about a patient in free text (in ASCII, or preferably in UTF8 format) notes on a given date. The type of note_text is CLOB or varchar(MAX) depending on RDBMS.</p>
|
|
||||||
<p><strong>ETL Conventions</strong></p>
|
|
||||||
<p>HL7/LOINC CDO is a standard for consistent naming of documents to support a range of use cases: retrieval, organization, display, and exchange. It guides the creation of LOINC codes for clinical notes. CDO annotates each document with 5 dimensions:</p>
|
|
||||||
<ul>
|
|
||||||
<li><strong>Kind of Document</strong>: Characterizes the general structure of the document at a macro level (e.g. Anesthesia Consent)</li>
|
|
||||||
<li><strong>Type of Service</strong>: Characterizes the kind of service or activity (e.g. evaluations, consultations, and summaries). The notion of time sequence, e.g., at the beginning (admission) at the end (discharge) is subsumed in this axis. Example: Discharge Teaching.</li>
|
|
||||||
<li><strong>Setting</strong>: Setting is an extension of CMS’s definitions (e.g. Inpatient, Outpatient)</li>
|
|
||||||
<li><strong>Subject Matter Domain (SMD)</strong>: Characterizes the subject matter domain of a note (e.g. Anesthesiology)</li>
|
|
||||||
<li><strong>Role</strong>: Characterizes the training or professional level of the author of the document, but does not break down to specialty or subspecialty (e.g. Physician) Each combination of these 5 dimensions rolls up to a unique LOINC code.</li>
|
|
||||||
</ul>
|
|
||||||
<p>According to CDO requirements, only 2 of the 5 dimensions are required to properly annotate a document; Kind of Document and any one of the other 4 dimensions. However, not all the permutations of the CDO dimensions will necessarily yield an existing LOINC code. Each of these dimensions are contained in the OMOP Vocabulary under the domain of ‘Meas Value’ with each dimension represented as a Concept Class.</p>
|
|
||||||
</div>
|
|
||||||
<div id="note_nlp" class="section level3 tabset tabset-pills">
|
|
||||||
<h3 class="tabset tabset-pills">NOTE_NLP</h3>
|
|
||||||
<p><strong>Table Description</strong></p>
|
|
||||||
<p>The NOTE_NLP table encodes all output of NLP on clinical notes. Each row represents a single extracted term from a note.</p>
|
|
||||||
</div>
|
|
||||||
<div id="specimen" class="section level3 tabset tabset-pills">
|
|
||||||
<h3 class="tabset tabset-pills">SPECIMEN</h3>
|
|
||||||
<p><strong>Table Description</strong></p>
|
|
||||||
<p>The specimen domain contains the records identifying biological samples from a person.</p>
|
|
||||||
<p><strong>ETL Conventions</strong></p>
|
|
||||||
<p>Anatomic site is coded at the most specific level of granularity possible, such that higher level classifications can be derived using the Standardized Vocabularies.</p>
|
|
||||||
</div>
|
|
||||||
<div id="fact_relationship" class="section level3 tabset tabset-pills">
|
|
||||||
<h3 class="tabset tabset-pills">FACT_RELATIONSHIP</h3>
|
|
||||||
<p><strong>Table Description</strong></p>
|
|
||||||
<p>The FACT_RELATIONSHIP table contains records about the relationships between facts stored as records in any table of the CDM. Relationships can be defined between facts from the same domain, or different domains. Examples of Fact Relationships include: <a href="https://athena.ohdsi.org/search-terms/terms?domain=Relationship&standardConcept=Standard&page=2&pageSize=15&query=">Person relationships</a> (parent-child), care site relationships (hierarchical organizational structure of facilities within a health system), indication relationship (between drug exposures and associated conditions), usage relationships (of devices during the course of an associated procedure), or facts derived from one another (measurements derived from an associated specimen).</p>
|
|
||||||
<p><strong>ETL Conventions</strong></p>
|
|
||||||
<p>All relationships are directional, and each relationship is represented twice symmetrically within the FACT_RELATIONSHIP table. For example, two persons if person_id = 1 is the mother of person_id = 2 two records are in the FACT_RELATIONSHIP table (all strings in fact concept_id records in the Concept table: - Person, 1, Person, 2, parent of - Person, 2, Person, 1, child of</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div id="health-system-data-tables" class="section level2">
|
|
||||||
<h2><strong>Health System Data Tables</strong></h2>
|
|
||||||
<div id="location" class="section level3 tabset tabset-pills">
|
|
||||||
<h3 class="tabset tabset-pills">LOCATION</h3>
|
|
||||||
<p><strong>Table Description</strong></p>
|
|
||||||
<p>The LOCATION table represents a generic way to capture physical location or address information of Persons and Care Sites.</p>
|
|
||||||
<p><strong>User Guide</strong></p>
|
|
||||||
<p>The current iteration of the LOCATION table is US centric. Until a major release to correct this, certain fields can be used to represent different international values. <br><br> - STATE can also be used for province or district<br>- ZIP is also the postal code or postcode <br>- COUNTY can also be used to represent region</p>
|
|
||||||
<p><strong>ETL Conventions</strong></p>
|
|
||||||
<p>Each address or Location is unique and is present only once in the table. Locations do not contain names, such as the name of a hospital. In order to construct a full address that can be used in the postal service, the address information from the Location needs to be combined with information from the Care Site.</p>
|
|
||||||
</div>
|
|
||||||
<div id="care_site" class="section level3 tabset tabset-pills">
|
|
||||||
<h3 class="tabset tabset-pills">CARE_SITE</h3>
|
|
||||||
<p><strong>Table Description</strong></p>
|
|
||||||
<p>The CARE_SITE table contains a list of uniquely identified institutional (physical or organizational) units where healthcare delivery is practiced (offices, wards, hospitals, clinics, etc.).</p>
|
|
||||||
<p><strong>ETL Conventions</strong></p>
|
|
||||||
<p>Care site is a unique combination of location_id and place_of_service_source_value. Care site does not take into account the provider (human) information such a specialty. Many source data do not make a distinction between individual and institutional providers. The CARE_SITE table contains the institutional providers. If the source, instead of uniquely identifying individual Care Sites, only provides limited information such as Place of Service, generic or “pooled” Care Site records are listed in the CARE_SITE table. There can be hierarchical and business relationships between Care Sites. For example, wards can belong to clinics or departments, which can in turn belong to hospitals, which in turn can belong to hospital systems, which in turn can belong to HMOs.The relationships between Care Sites are defined in the FACT_RELATIONSHIP table.</p>
|
|
||||||
</div>
|
|
||||||
<div id="provider" class="section level3 tabset tabset-pills">
|
|
||||||
<h3 class="tabset tabset-pills">PROVIDER</h3>
|
|
||||||
<p><strong>Table Description</strong></p>
|
|
||||||
<p>The PROVIDER table contains a list of uniquely identified healthcare providers. These are individuals providing hands-on healthcare to patients, such as physicians, nurses, midwives, physical therapists etc.</p>
|
|
||||||
<p><strong>User Guide</strong></p>
|
|
||||||
<p>Many sources do not make a distinction between individual and institutional providers. The PROVIDER table contains the individual providers. If the source, instead of uniquely identifying individual providers, only provides limited information such as specialty, generic or ‘pooled’ Provider records are listed in the PROVIDER table.</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div id="health-economics-data-tables" class="section level2">
|
|
||||||
<h2><strong>Health Economics Data Tables</strong></h2>
|
|
||||||
<div id="payer_plan_period" class="section level3 tabset tabset-pills">
|
|
||||||
<h3 class="tabset tabset-pills">PAYER_PLAN_PERIOD</h3>
|
|
||||||
<p><strong>Table Description</strong></p>
|
|
||||||
<p>The PAYER_PLAN_PERIOD table captures details of the period of time that a Person is continuously enrolled under a specific health Plan benefit structure from a given Payer. Each Person receiving healthcare is typically covered by a health benefit plan, which pays for (fully or partially), or directly provides, the care. These benefit plans are provided by payers, such as health insurances or state or government agencies. In each plan the details of the health benefits are defined for the Person or her family, and the health benefit Plan might change over time typically with increasing utilization (reaching certain cost thresholds such as deductibles), plan availability and purchasing choices of the Person. The unique combinations of Payer organizations, health benefit Plans and time periods in which they are valid for a Person are recorded in this table.</p>
|
|
||||||
<p><strong>User Guide</strong></p>
|
|
||||||
<p>A Person can have multiple, overlapping, Payer_Plan_Periods in this table. For example, medical and drug coverage in the US can be represented by two Payer_Plan_Periods. The details of the benefit structure of the Plan is rarely known, the idea is just to identify that the Plans are different.</p>
|
|
||||||
</div>
|
|
||||||
<div id="cost" class="section level3 tabset tabset-pills">
|
|
||||||
<h3 class="tabset tabset-pills">COST</h3>
|
|
||||||
<p><strong>Table Description</strong></p>
|
|
||||||
<p>The COST table captures records containing the cost of any medical event recorded in one of the OMOP clinical event tables such as DRUG_EXPOSURE, PROCEDURE_OCCURRENCE, VISIT_OCCURRENCE, VISIT_DETAIL, DEVICE_OCCURRENCE, OBSERVATION or MEASUREMENT.</p>
|
|
||||||
<p>Each record in the cost table account for the amount of money transacted for the clinical event. So, the COST table may be used to represent both receivables (charges) and payments (paid), each transaction type represented by its COST_CONCEPT_ID. The COST_TYPE_CONCEPT_ID field will use concepts in the Standardized Vocabularies to designate the source (provenance) of the cost data. A reference to the health plan information in the PAYER_PLAN_PERIOD table is stored in the record for information used for the adjudication system to determine the persons benefit for the clinical event.</p>
|
|
||||||
<p><strong>User Guide</strong></p>
|
|
||||||
<p>When dealing with summary costs, the cost of the goods or services the provider provides is often not known directly, but derived from the hospital charges multiplied by an average cost-to-charge ratio.</p>
|
|
||||||
<p><strong>ETL Conventions</strong></p>
|
|
||||||
<p>One cost record is generated for each response by a payer. In a claims databases, the payment and payment terms reported by the payer for the goods or services billed will generate one cost record. If the source data has payment information for more than one payer (i.e. primary insurance and secondary insurance payment for one entity), then a cost record is created for each reporting payer. Therefore, it is possible for one procedure to have multiple cost records for each payer, but typically it contains one or no record per entity. Payer reimbursement cost records will be identified by using the PAYER_PLAN_ID field. Drug costs are composed of ingredient cost (the amount charged by the wholesale distributor or manufacturer), the dispensing fee (the amount charged by the pharmacy and the sales tax).</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div id="standardized-derived-elements" class="section level2">
|
|
||||||
<h2><strong>Standardized Derived Elements</strong></h2>
|
|
||||||
<div id="drug_era" class="section level3 tabset tabset-pills">
|
|
||||||
<h3 class="tabset tabset-pills">DRUG_ERA</h3>
|
|
||||||
<p><strong>Table Description</strong></p>
|
|
||||||
<p>A Drug Era is defined as a span of time when the Person is assumed to be exposed to a particular active ingredient. A Drug Era is not the same as a Drug Exposure: Exposures are individual records corresponding to the source when Drug was delivered to the Person, while successive periods of Drug Exposures are combined under certain rules to produce continuous Drug Eras.</p>
|
|
||||||
<p><strong>ETL Conventions</strong></p>
|
|
||||||
<p>The SQL script for generating DRUG_ERA records can be found <a href="https://ohdsi.github.io/CommonDataModel/sqlScripts.html#drug_eras">here</a>.</p>
|
|
||||||
</div>
|
|
||||||
<div id="dose_era" class="section level3 tabset tabset-pills">
|
|
||||||
<h3 class="tabset tabset-pills">DOSE_ERA</h3>
|
|
||||||
<p><strong>Table Description</strong></p>
|
|
||||||
<p>A Dose Era is defined as a span of time when the Person is assumed to be exposed to a constant dose of a specific active ingredient.</p>
|
|
||||||
<p><strong>ETL Conventions</strong></p>
|
|
||||||
<p>Dose Eras will be derived from records in the DRUG_EXPOSURE table and the Dose information from the DRUG_STRENGTH table using a standardized algorithm. Dose Form information is not taken into account. So, if the patient changes between different formulations, or different manufacturers with the same formulation, the Dose Era is still spanning the entire time of exposure to the Ingredient.</p>
|
|
||||||
</div>
|
|
||||||
<div id="condition_era" class="section level3 tabset tabset-pills">
|
|
||||||
<h3 class="tabset tabset-pills">CONDITION_ERA</h3>
|
|
||||||
<p><strong>Table Description</strong></p>
|
|
||||||
<p>A Condition Era is defined as a span of time when the Person is assumed to have a given condition. Similar to Drug Eras, Condition Eras are chronological periods of Condition Occurrence. Combining individual Condition Occurrences into a single Condition Era serves two purposes:</p>
|
|
||||||
<ul>
|
|
||||||
<li>It allows aggregation of chronic conditions that require frequent ongoing care, instead of treating each Condition Occurrence as an independent event.</li>
|
|
||||||
<li>It allows aggregation of multiple, closely timed doctor visits for the same Condition to avoid double-counting the Condition Occurrences. For example, consider a Person who visits her Primary Care Physician (PCP) and who is referred to a specialist. At a later time, the Person visits the specialist, who confirms the PCP’s original diagnosis and provides the appropriate treatment to resolve the condition. These two independent doctor visits should be aggregated into one Condition Era.</li>
|
|
||||||
</ul>
|
|
||||||
<p><strong>ETL Conventions</strong></p>
|
|
||||||
<p>Each Condition Era corresponds to one or many Condition Occurrence records that form a continuous interval. The condition_concept_id field contains Concepts that are identical to those of the CONDITION_OCCURRENCE table records that make up the Condition Era. In contrast to Drug Eras, Condition Eras are not aggregated to contain Conditions of different hierarchical layers. The SQl Script for generating CONDITION_ERA records can be found <a href="https://ohdsi.github.io/CommonDataModel/sqlScripts.html#condition_eras">here</a> The Condition Era Start Date is the start date of the first Condition Occurrence. The Condition Era End Date is the end date of the last Condition Occurrence. Condition Eras are built with a Persistence Window of 30 days, meaning, if no occurrence of the same condition_concept_id happens within 30 days of any one occurrence, it will be considered the condition_era_end_date.</p>
|
|
||||||
</div>
|
|
||||||
<div id="episode" class="section level3 tabset tabset-pills">
|
|
||||||
<h3 class="tabset tabset-pills">EPISODE</h3>
|
|
||||||
<p><strong>Table Description</strong></p>
|
|
||||||
<p>The EPISODE table aggregates lower-level clinical events (VISIT_OCCURRENCE, DRUG_EXPOSURE, PROCEDURE_OCCURRENCE, DEVICE_EXPOSURE) into a higher-level abstraction representing clinically and analytically relevant disease phases,outcomes and treatments. The EPISODE_EVENT table connects qualifying clinical events (VISIT_OCCURRENCE, DRUG_EXPOSURE, PROCEDURE_OCCURRENCE, DEVICE_EXPOSURE) to the appropriate EPISODE entry. For example cancers including their development over time, their treatment, and final resolution.</p>
|
|
||||||
<p><strong>User Guide</strong></p>
|
|
||||||
<p>Valid Episode Concepts belong to the ‘Episode’ domain. For cancer episodes please see [article], for non-cancer episodes please see [article]. If your source data does not have all episodes that are relevant to the therapeutic area, write only those you can easily derive from the data. It is understood that that table is not currently expected to be comprehensive.</p>
|
|
||||||
</div>
|
|
||||||
<div id="episode_event" class="section level3 tabset tabset-pills">
|
|
||||||
<h3 class="tabset tabset-pills">EPISODE_EVENT</h3>
|
|
||||||
<p><strong>Table Description</strong></p>
|
|
||||||
<p>The EPISODE_EVENT table connects qualifying clinical events (such as CONDITION_OCCURRENCE, DRUG_EXPOSURE, PROCEDURE_OCCURRENCE, MEASUREMENT) to the appropriate EPISODE entry. For example, linking the precise location of the metastasis (cancer modifier in MEASUREMENT) to the disease episode.</p>
|
|
||||||
<p><strong>User Guide</strong></p>
|
|
||||||
<p>This connecting table is used instead of the FACT_RELATIONSHIP table for linking low-level events to abstracted Episodes.</p>
|
|
||||||
<p><strong>ETL Conventions</strong></p>
|
|
||||||
<p>Some episodes may not have links to any underlying clinical events. For such episodes, the EPISODE_EVENT table is not populated.</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div id="metadata-tables" class="section level2">
|
|
||||||
<h2><strong>Metadata Tables</strong></h2>
|
|
||||||
<div id="metadata" class="section level3 tabset tabset-pills">
|
|
||||||
<h3 class="tabset tabset-pills">METADATA</h3>
|
|
||||||
<p><strong>Table Description</strong></p>
|
|
||||||
<p>The METADATA table contains metadata information about a dataset that has been transformed to the OMOP Common Data Model.</p>
|
|
||||||
</div>
|
|
||||||
<div id="cdm_source" class="section level3 tabset tabset-pills">
|
|
||||||
<h3 class="tabset tabset-pills">CDM_SOURCE</h3>
|
|
||||||
<p><strong>Table Description</strong></p>
|
|
||||||
<p>The CDM_SOURCE table contains detail about the source database and the process used to transform the data into the OMOP Common Data Model.</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div id="vocabulary-tables" class="section level2">
|
|
||||||
<h2><strong>Vocabulary Tables</strong></h2>
|
|
||||||
<div id="concept" class="section level3 tabset tabset-pills">
|
|
||||||
<h3 class="tabset tabset-pills">CONCEPT</h3>
|
|
||||||
<p><strong>Table Description</strong></p>
|
|
||||||
<p>The Standardized Vocabularies contains records, or Concepts, that uniquely identify each fundamental unit of meaning used to express clinical information in all domain tables of the CDM. Concepts are derived from vocabularies, which represent clinical information across a domain (e.g. conditions, drugs, procedures) through the use of codes and associated descriptions. Some Concepts are designated Standard Concepts, meaning these Concepts can be used as normative expressions of a clinical entity within the OMOP Common Data Model and within standardized analytics. Each Standard Concept belongs to one domain, which defines the location where the Concept would be expected to occur within data tables of the CDM.</p>
|
|
||||||
<p>Concepts can represent broad categories (like ‘Cardiovascular disease’), detailed clinical elements (‘Myocardial infarction of the anterolateral wall’) or modifying characteristics and attributes that define Concepts at various levels of detail (severity of a disease, associated morphology, etc.).</p>
|
|
||||||
<p>Records in the Standardized Vocabularies tables are derived from national or international vocabularies such as SNOMED-CT, RxNorm, and LOINC, or custom Concepts defined to cover various aspects of observational data analysis.</p>
|
|
||||||
</div>
|
|
||||||
<div id="vocabulary" class="section level3 tabset tabset-pills">
|
|
||||||
<h3 class="tabset tabset-pills">VOCABULARY</h3>
|
|
||||||
<p><strong>Table Description</strong></p>
|
|
||||||
<p>The VOCABULARY table includes a list of the Vocabularies collected from various sources or created de novo by the OMOP community. This reference table is populated with a single record for each Vocabulary source and includes a descriptive name and other associated attributes for the Vocabulary.</p>
|
|
||||||
</div>
|
|
||||||
<div id="domain" class="section level3 tabset tabset-pills">
|
|
||||||
<h3 class="tabset tabset-pills">DOMAIN</h3>
|
|
||||||
<p><strong>Table Description</strong></p>
|
|
||||||
<p>The DOMAIN table includes a list of OMOP-defined Domains the Concepts of the Standardized Vocabularies can belong to. A Domain defines the set of allowable Concepts for the standardized fields in the CDM tables. For example, the “Condition” Domain contains Concepts that describe a condition of a patient, and these Concepts can only be stored in the condition_concept_id field of the CONDITION_OCCURRENCE and CONDITION_ERA tables. This reference table is populated with a single record for each Domain and includes a descriptive name for the Domain.</p>
|
|
||||||
</div>
|
|
||||||
<div id="concept_class" class="section level3 tabset tabset-pills">
|
|
||||||
<h3 class="tabset tabset-pills">CONCEPT_CLASS</h3>
|
|
||||||
<p><strong>Table Description</strong></p>
|
|
||||||
<p>The CONCEPT_CLASS table is a reference table, which includes a list of the classifications used to differentiate Concepts within a given Vocabulary. This reference table is populated with a single record for each Concept Class.</p>
|
|
||||||
</div>
|
|
||||||
<div id="concept_relationship" class="section level3 tabset tabset-pills">
|
|
||||||
<h3 class="tabset tabset-pills">CONCEPT_RELATIONSHIP</h3>
|
|
||||||
<p><strong>Table Description</strong></p>
|
|
||||||
<p>The CONCEPT_RELATIONSHIP table contains records that define direct relationships between any two Concepts and the nature or type of the relationship. Each type of a relationship is defined in the RELATIONSHIP table.</p>
|
|
||||||
</div>
|
|
||||||
<div id="relationship" class="section level3 tabset tabset-pills">
|
|
||||||
<h3 class="tabset tabset-pills">RELATIONSHIP</h3>
|
|
||||||
<p><strong>Table Description</strong></p>
|
|
||||||
<p>The RELATIONSHIP table provides a reference list of all types of relationships that can be used to associate any two concepts in the CONCEPT_RELATIONSHP table.</p>
|
|
||||||
</div>
|
|
||||||
<div id="concept_synonym" class="section level3 tabset tabset-pills">
|
|
||||||
<h3 class="tabset tabset-pills">CONCEPT_SYNONYM</h3>
|
|
||||||
<p><strong>Table Description</strong></p>
|
|
||||||
<p>The CONCEPT_SYNONYM table is used to store alternate names and descriptions for Concepts.</p>
|
|
||||||
</div>
|
|
||||||
<div id="concept_ancestor" class="section level3 tabset tabset-pills">
|
|
||||||
<h3 class="tabset tabset-pills">CONCEPT_ANCESTOR</h3>
|
|
||||||
<p><strong>Table Description</strong></p>
|
|
||||||
<p>The CONCEPT_ANCESTOR table is designed to simplify observational analysis by providing the complete hierarchical relationships between Concepts. Only direct parent-child relationships between Concepts are stored in the CONCEPT_RELATIONSHIP table. To determine higher level ancestry connections, all individual direct relationships would have to be navigated at analysis time. The CONCEPT_ANCESTOR table includes records for all parent-child relationships, as well as grandparent-grandchild relationships and those of any other level of lineage. Using the CONCEPT_ANCESTOR table allows for querying for all descendants of a hierarchical concept. For example, drug ingredients and drug products are all descendants of a drug class ancestor.</p>
|
|
||||||
<p>This table is entirely derived from the CONCEPT, CONCEPT_RELATIONSHIP and RELATIONSHIP tables.</p>
|
|
||||||
</div>
|
|
||||||
<div id="source_to_concept_map" 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>
|
|
||||||
</div>
|
|
||||||
<div id="drug_strength" class="section level3 tabset tabset-pills">
|
|
||||||
<h3 class="tabset tabset-pills">DRUG_STRENGTH</h3>
|
|
||||||
<p><strong>Table Description</strong></p>
|
|
||||||
<p>The DRUG_STRENGTH table contains structured content about the amount or concentration and associated units of a specific ingredient contained within a particular drug product. This table is supplemental information to support standardized analysis of drug utilization.</p>
|
|
||||||
</div>
|
|
||||||
<div id="cohort" class="section level3 tabset tabset-pills">
|
|
||||||
<h3 class="tabset tabset-pills">COHORT</h3>
|
|
||||||
<p><strong>Table Description</strong></p>
|
|
||||||
<p>The COHORT table contains records of subjects that satisfy a given set of criteria for a duration of time. The definition of the cohort is contained within the COHORT_DEFINITION table. It is listed as part of the RESULTS schema because it is a table that users of the database as well as tools such as ATLAS need to be able to write to. The CDM and Vocabulary tables are all read-only so it is suggested that the COHORT and COHORT_DEFINTION tables are kept in a separate schema to alleviate confusion.</p>
|
|
||||||
<p><strong>ETL Conventions</strong></p>
|
|
||||||
<p>Cohorts typically include patients diagnosed with a specific condition, patients exposed to a particular drug, but can also be Providers who have performed a specific Procedure. Cohort records must have a Start Date and an End Date, but the End Date may be set to Start Date or could have an applied censor date using the Observation Period Start Date. Cohort records must contain a Subject Id, which can refer to the Person, Provider, Visit record or Care Site though they are most often Person Ids. The Cohort Definition will define the type of subject through the subject concept id. A subject can belong (or not belong) to a cohort at any moment in time. A subject can only have one record in the cohort table for any moment of time, i.e. it is not possible for a person to contain multiple records indicating cohort membership that are overlapping in time</p>
|
|
||||||
</div>
|
|
||||||
<div id="cohort_definition" class="section level3 tabset tabset-pills">
|
|
||||||
<h3 class="tabset tabset-pills">COHORT_DEFINITION</h3>
|
|
||||||
<p><strong>Table Description</strong></p>
|
|
||||||
<p>The COHORT_DEFINITION table contains records defining a Cohort derived from the data through the associated description and syntax and upon instantiation (execution of the algorithm) placed into the COHORT table. Cohorts are a set of subjects that satisfy a given combination of inclusion criteria for a duration of time. The COHORT_DEFINITION table provides a standardized structure for maintaining the rules governing the inclusion of a subject into a cohort, and can store operational programming code to instantiate the cohort within the OMOP Common Data Model.</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
|
|
||||||
// add bootstrap table styles to pandoc tables
|
|
||||||
function bootstrapStylePandocTables() {
|
|
||||||
$('tr.odd').parent('tbody').parent('table').addClass('table table-condensed');
|
|
||||||
}
|
|
||||||
$(document).ready(function () {
|
|
||||||
bootstrapStylePandocTables();
|
|
||||||
});
|
|
||||||
|
|
||||||
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<!-- tabsets -->
|
|
||||||
|
|
||||||
<script>
|
|
||||||
$(document).ready(function () {
|
|
||||||
window.buildTabsets("TOC");
|
|
||||||
});
|
|
||||||
|
|
||||||
$(document).ready(function () {
|
|
||||||
$('.tabset-dropdown > .nav-tabs > li').click(function () {
|
|
||||||
$(this).parent().toggleClass('nav-tabs-open');
|
|
||||||
});
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<!-- code folding -->
|
|
||||||
|
|
||||||
<script>
|
|
||||||
$(document).ready(function () {
|
|
||||||
|
|
||||||
// temporarily add toc-ignore selector to headers for the consistency with Pandoc
|
|
||||||
$('.unlisted.unnumbered').addClass('toc-ignore')
|
|
||||||
|
|
||||||
// move toc-ignore selectors from section div to header
|
|
||||||
$('div.section.toc-ignore')
|
|
||||||
.removeClass('toc-ignore')
|
|
||||||
.children('h1,h2,h3,h4,h5').addClass('toc-ignore');
|
|
||||||
|
|
||||||
// establish options
|
|
||||||
var options = {
|
|
||||||
selectors: "h1,h2,h3,h4,h5",
|
|
||||||
theme: "bootstrap3",
|
|
||||||
context: '.toc-content',
|
|
||||||
hashGenerator: function (text) {
|
|
||||||
return text.replace(/[.\\/?&!#<>]/g, '').replace(/\s/g, '_');
|
|
||||||
},
|
|
||||||
ignoreSelector: ".toc-ignore",
|
|
||||||
scrollTo: 0
|
|
||||||
};
|
|
||||||
options.showAndHide = true;
|
|
||||||
options.smoothScroll = true;
|
|
||||||
|
|
||||||
// tocify
|
|
||||||
var toc = $("#TOC").tocify(options).data("toc-tocify");
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<!-- dynamically load mathjax for compatibility with self-contained -->
|
|
||||||
<script>
|
|
||||||
(function () {
|
|
||||||
var script = document.createElement("script");
|
|
||||||
script.type = "text/javascript";
|
|
||||||
script.src = "https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML";
|
|
||||||
document.getElementsByTagName("head")[0].appendChild(script);
|
|
||||||
})();
|
|
||||||
</script>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
</html>
|
|
|
@ -1,905 +0,0 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
|
|
||||||
<html>
|
|
||||||
|
|
||||||
<head>
|
|
||||||
|
|
||||||
<meta charset="utf-8" />
|
|
||||||
<meta name="generator" content="pandoc" />
|
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=EDGE" />
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<title>Changes by Table</title>
|
|
||||||
|
|
||||||
<script src="site_libs/header-attrs-2.13/header-attrs.js"></script>
|
|
||||||
<script src="site_libs/jquery-3.6.0/jquery-3.6.0.min.js"></script>
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
||||||
<link href="site_libs/bootstrap-3.3.5/css/cosmo.min.css" rel="stylesheet" />
|
|
||||||
<script src="site_libs/bootstrap-3.3.5/js/bootstrap.min.js"></script>
|
|
||||||
<script src="site_libs/bootstrap-3.3.5/shim/html5shiv.min.js"></script>
|
|
||||||
<script src="site_libs/bootstrap-3.3.5/shim/respond.min.js"></script>
|
|
||||||
<style>h1 {font-size: 34px;}
|
|
||||||
h1.title {font-size: 38px;}
|
|
||||||
h2 {font-size: 30px;}
|
|
||||||
h3 {font-size: 24px;}
|
|
||||||
h4 {font-size: 18px;}
|
|
||||||
h5 {font-size: 16px;}
|
|
||||||
h6 {font-size: 12px;}
|
|
||||||
code {color: inherit; background-color: rgba(0, 0, 0, 0.04);}
|
|
||||||
pre:not([class]) { background-color: white }</style>
|
|
||||||
<script src="site_libs/jqueryui-1.11.4/jquery-ui.min.js"></script>
|
|
||||||
<link href="site_libs/tocify-1.9.1/jquery.tocify.css" rel="stylesheet" />
|
|
||||||
<script src="site_libs/tocify-1.9.1/jquery.tocify.js"></script>
|
|
||||||
<script src="site_libs/navigation-1.1/tabsets.js"></script>
|
|
||||||
<link href="site_libs/highlightjs-9.12.0/default.css" rel="stylesheet" />
|
|
||||||
<script src="site_libs/highlightjs-9.12.0/highlight.js"></script>
|
|
||||||
<link href="site_libs/font-awesome-5.1.0/css/all.css" rel="stylesheet" />
|
|
||||||
<link href="site_libs/font-awesome-5.1.0/css/v4-shims.css" rel="stylesheet" />
|
|
||||||
<link rel='shortcut icon' type='image/x-icon' href='favicon.ico' />
|
|
||||||
|
|
||||||
<style type="text/css">
|
|
||||||
code{white-space: pre-wrap;}
|
|
||||||
span.smallcaps{font-variant: small-caps;}
|
|
||||||
span.underline{text-decoration: underline;}
|
|
||||||
div.column{display: inline-block; vertical-align: top; width: 50%;}
|
|
||||||
div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;}
|
|
||||||
ul.task-list{list-style: none;}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<style type="text/css">code{white-space: pre;}</style>
|
|
||||||
<script type="text/javascript">
|
|
||||||
if (window.hljs) {
|
|
||||||
hljs.configure({languages: []});
|
|
||||||
hljs.initHighlightingOnLoad();
|
|
||||||
if (document.readyState && document.readyState === "complete") {
|
|
||||||
window.setTimeout(function() { hljs.initHighlighting(); }, 0);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<link rel="stylesheet" href="style.css" type="text/css" />
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<style type = "text/css">
|
|
||||||
.main-container {
|
|
||||||
max-width: 940px;
|
|
||||||
margin-left: auto;
|
|
||||||
margin-right: auto;
|
|
||||||
}
|
|
||||||
img {
|
|
||||||
max-width:100%;
|
|
||||||
}
|
|
||||||
.tabbed-pane {
|
|
||||||
padding-top: 12px;
|
|
||||||
}
|
|
||||||
.html-widget {
|
|
||||||
margin-bottom: 20px;
|
|
||||||
}
|
|
||||||
button.code-folding-btn:focus {
|
|
||||||
outline: none;
|
|
||||||
}
|
|
||||||
summary {
|
|
||||||
display: list-item;
|
|
||||||
}
|
|
||||||
details > summary > p:only-child {
|
|
||||||
display: inline;
|
|
||||||
}
|
|
||||||
pre code {
|
|
||||||
padding: 0;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
|
|
||||||
<style type="text/css">
|
|
||||||
.dropdown-submenu {
|
|
||||||
position: relative;
|
|
||||||
}
|
|
||||||
.dropdown-submenu>.dropdown-menu {
|
|
||||||
top: 0;
|
|
||||||
left: 100%;
|
|
||||||
margin-top: -6px;
|
|
||||||
margin-left: -1px;
|
|
||||||
border-radius: 0 6px 6px 6px;
|
|
||||||
}
|
|
||||||
.dropdown-submenu:hover>.dropdown-menu {
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
.dropdown-submenu>a:after {
|
|
||||||
display: block;
|
|
||||||
content: " ";
|
|
||||||
float: right;
|
|
||||||
width: 0;
|
|
||||||
height: 0;
|
|
||||||
border-color: transparent;
|
|
||||||
border-style: solid;
|
|
||||||
border-width: 5px 0 5px 5px;
|
|
||||||
border-left-color: #cccccc;
|
|
||||||
margin-top: 5px;
|
|
||||||
margin-right: -10px;
|
|
||||||
}
|
|
||||||
.dropdown-submenu:hover>a:after {
|
|
||||||
border-left-color: #adb5bd;
|
|
||||||
}
|
|
||||||
.dropdown-submenu.pull-left {
|
|
||||||
float: none;
|
|
||||||
}
|
|
||||||
.dropdown-submenu.pull-left>.dropdown-menu {
|
|
||||||
left: -100%;
|
|
||||||
margin-left: 10px;
|
|
||||||
border-radius: 6px 0 6px 6px;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<script type="text/javascript">
|
|
||||||
// manage active state of menu based on current page
|
|
||||||
$(document).ready(function () {
|
|
||||||
// active menu anchor
|
|
||||||
href = window.location.pathname
|
|
||||||
href = href.substr(href.lastIndexOf('/') + 1)
|
|
||||||
if (href === "")
|
|
||||||
href = "index.html";
|
|
||||||
var menuAnchor = $('a[href="' + href + '"]');
|
|
||||||
|
|
||||||
// mark it active
|
|
||||||
menuAnchor.tab('show');
|
|
||||||
|
|
||||||
// if it's got a parent navbar menu mark it active as well
|
|
||||||
menuAnchor.closest('li.dropdown').addClass('active');
|
|
||||||
|
|
||||||
// Navbar adjustments
|
|
||||||
var navHeight = $(".navbar").first().height() + 15;
|
|
||||||
var style = document.createElement('style');
|
|
||||||
var pt = "padding-top: " + navHeight + "px; ";
|
|
||||||
var mt = "margin-top: -" + navHeight + "px; ";
|
|
||||||
var css = "";
|
|
||||||
// offset scroll position for anchor links (for fixed navbar)
|
|
||||||
for (var i = 1; i <= 6; i++) {
|
|
||||||
css += ".section h" + i + "{ " + pt + mt + "}\n";
|
|
||||||
}
|
|
||||||
style.innerHTML = "body {" + pt + "padding-bottom: 40px; }\n" + css;
|
|
||||||
document.head.appendChild(style);
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<!-- tabsets -->
|
|
||||||
|
|
||||||
<style type="text/css">
|
|
||||||
.tabset-dropdown > .nav-tabs {
|
|
||||||
display: inline-table;
|
|
||||||
max-height: 500px;
|
|
||||||
min-height: 44px;
|
|
||||||
overflow-y: auto;
|
|
||||||
border: 1px solid #ddd;
|
|
||||||
border-radius: 4px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabset-dropdown > .nav-tabs > li.active:before {
|
|
||||||
content: "";
|
|
||||||
font-family: 'Glyphicons Halflings';
|
|
||||||
display: inline-block;
|
|
||||||
padding: 10px;
|
|
||||||
border-right: 1px solid #ddd;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabset-dropdown > .nav-tabs.nav-tabs-open > li.active:before {
|
|
||||||
content: "";
|
|
||||||
border: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabset-dropdown > .nav-tabs.nav-tabs-open:before {
|
|
||||||
content: "";
|
|
||||||
font-family: 'Glyphicons Halflings';
|
|
||||||
display: inline-block;
|
|
||||||
padding: 10px;
|
|
||||||
border-right: 1px solid #ddd;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabset-dropdown > .nav-tabs > li.active {
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabset-dropdown > .nav-tabs > li > a,
|
|
||||||
.tabset-dropdown > .nav-tabs > li > a:focus,
|
|
||||||
.tabset-dropdown > .nav-tabs > li > a:hover {
|
|
||||||
border: none;
|
|
||||||
display: inline-block;
|
|
||||||
border-radius: 4px;
|
|
||||||
background-color: transparent;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabset-dropdown > .nav-tabs.nav-tabs-open > li {
|
|
||||||
display: block;
|
|
||||||
float: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabset-dropdown > .nav-tabs > li {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<!-- code folding -->
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<style type="text/css">
|
|
||||||
|
|
||||||
#TOC {
|
|
||||||
margin: 25px 0px 20px 0px;
|
|
||||||
}
|
|
||||||
@media (max-width: 768px) {
|
|
||||||
#TOC {
|
|
||||||
position: relative;
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@media print {
|
|
||||||
.toc-content {
|
|
||||||
/* see https://github.com/w3c/csswg-drafts/issues/4434 */
|
|
||||||
float: right;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.toc-content {
|
|
||||||
padding-left: 30px;
|
|
||||||
padding-right: 40px;
|
|
||||||
}
|
|
||||||
|
|
||||||
div.main-container {
|
|
||||||
max-width: 1200px;
|
|
||||||
}
|
|
||||||
|
|
||||||
div.tocify {
|
|
||||||
width: 20%;
|
|
||||||
max-width: 260px;
|
|
||||||
max-height: 85%;
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (min-width: 768px) and (max-width: 991px) {
|
|
||||||
div.tocify {
|
|
||||||
width: 25%;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (max-width: 767px) {
|
|
||||||
div.tocify {
|
|
||||||
width: 100%;
|
|
||||||
max-width: none;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.tocify ul, .tocify li {
|
|
||||||
line-height: 20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tocify-subheader .tocify-item {
|
|
||||||
font-size: 0.90em;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tocify .list-group-item {
|
|
||||||
border-radius: 0px;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
</style>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body>
|
|
||||||
|
|
||||||
|
|
||||||
<div class="container-fluid main-container">
|
|
||||||
|
|
||||||
|
|
||||||
<!-- setup 3col/9col grid for toc_float and main content -->
|
|
||||||
<div class="row">
|
|
||||||
<div class="col-xs-12 col-sm-4 col-md-3">
|
|
||||||
<div id="TOC" class="tocify">
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="toc-content col-xs-12 col-sm-8 col-md-9">
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div class="navbar navbar-default navbar-fixed-top" role="navigation">
|
|
||||||
<div class="container">
|
|
||||||
<div class="navbar-header">
|
|
||||||
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-bs-toggle="collapse" data-target="#navbar" data-bs-target="#navbar">
|
|
||||||
<span class="icon-bar"></span>
|
|
||||||
<span class="icon-bar"></span>
|
|
||||||
<span class="icon-bar"></span>
|
|
||||||
</button>
|
|
||||||
<a class="navbar-brand" href="index.html"><div><img src="ohdsi16x16.png"></img> OMOP Common Data Model </div></a>
|
|
||||||
</div>
|
|
||||||
<div id="navbar" class="navbar-collapse collapse">
|
|
||||||
<ul class="nav navbar-nav">
|
|
||||||
<li>
|
|
||||||
<a href="index.html">
|
|
||||||
<span class="fa fa-home"></span>
|
|
||||||
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
|
||||||
<span class="fa fa-landmark"></span>
|
|
||||||
|
|
||||||
Background
|
|
||||||
|
|
||||||
<span class="caret"></span>
|
|
||||||
</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="background.html">Model Background</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="cdmRefreshProcess.html">CDM Refresh Process</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="vocabulary.html">How the Vocabulary is Built</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
|
||||||
<span class="fa fa-list-alt"></span>
|
|
||||||
|
|
||||||
Conventions
|
|
||||||
|
|
||||||
<span class="caret"></span>
|
|
||||||
</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="dataModelConventions.html">General Conventions</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="ehrObsPeriods.html">Observation Periods for EHR Data</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="cdmPrivacy.html">Patient Privacy and OMOP</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
|
||||||
<span class="fa fa-history"></span>
|
|
||||||
|
|
||||||
CDM Versions
|
|
||||||
|
|
||||||
<span class="caret"></span>
|
|
||||||
</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="cdm30.html">CDM v3.0</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="cdm60.html">CDM v6.0</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="cdm53.html">CDM v5.3</a>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown-submenu">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">NEW CDM v5.4</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="cdm54.html">CDM v5.4</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="cdm54Changes.html">Changes from CDM v5.3</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
|
||||||
<span class="fa fa-plus-square"></span>
|
|
||||||
|
|
||||||
Proposals
|
|
||||||
|
|
||||||
<span class="caret"></span>
|
|
||||||
</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="https://github.com/OHDSI/CommonDataModel/issues?q=is%3Aopen+is%3Aissue+label%3AProposal">Under Review</a>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown-submenu">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">Accepted</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="https://github.com/OHDSI/CommonDataModel/issues/252">Region_concept_id</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
|
||||||
<span class="fa fa-question"></span>
|
|
||||||
|
|
||||||
How to
|
|
||||||
|
|
||||||
<span class="caret"></span>
|
|
||||||
</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="download.html">Download the DDL</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="cdmRPackage.html">Use the CDM R Package</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="drug_dose.html">Calculate Drug Dose</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
|
||||||
<span class="fa fa-life-ring"></span>
|
|
||||||
|
|
||||||
Support
|
|
||||||
|
|
||||||
<span class="caret"></span>
|
|
||||||
</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="faq.html">FAQ</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="sqlScripts.html">SQL Scripts</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="contribute.html">Ask a Question</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
<ul class="nav navbar-nav navbar-right">
|
|
||||||
<li>
|
|
||||||
<a href="https://github.com/OHDSI/CommonDataModel">
|
|
||||||
<span class="fa fa-github"></span>
|
|
||||||
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</div><!--/.nav-collapse -->
|
|
||||||
</div><!--/.container -->
|
|
||||||
</div><!--/.navbar -->
|
|
||||||
|
|
||||||
<div id="header">
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<h1 class="title toc-ignore"><strong>Changes by Table</strong></h1>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<p><em>from CDM v5.3 -> CDM v5.4</em></p>
|
|
||||||
<p>For a full description of each table and field listed here, please see the <a href="http://ohdsi.github.io/CommonDataModel/cdm54.html">CDM specification</a>.</p>
|
|
||||||
<p>Notation:</p>
|
|
||||||
<ul>
|
|
||||||
<li>a <strong>+</strong> indicates an addition to the model, either a table or field</li>
|
|
||||||
<li>a <strong>-></strong> indicates an alteration either in naming or specification</li>
|
|
||||||
<li>a <strong>-</strong> indicates a subtraction from the model, either a table or field</li>
|
|
||||||
</ul>
|
|
||||||
<div id="person" class="section level2">
|
|
||||||
<h2>PERSON</h2>
|
|
||||||
<ul>
|
|
||||||
<li>No change</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
<div id="observation_period" class="section level2">
|
|
||||||
<h2>OBSERVATION_PERIOD</h2>
|
|
||||||
<ul>
|
|
||||||
<li>No change</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
<div id="visit_occurrence" class="section level2">
|
|
||||||
<h2>VISIT_OCCURRENCE</h2>
|
|
||||||
<ul>
|
|
||||||
<li>Admitting_source_concept_id -> <strong>Admitted_from_concept_id</strong></li>
|
|
||||||
<li>Admitting_source_value -> <strong>Admitted_from_source_value</strong></li>
|
|
||||||
<li>Discharge_to_concept_id -> <strong>Discharged_to_concept_id</strong></li>
|
|
||||||
<li>Discharge_to_source_value -> <strong>Discharged_to_source_value</strong></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
<div id="visit_detail" class="section level2">
|
|
||||||
<h2>VISIT_DETAIL</h2>
|
|
||||||
<ul>
|
|
||||||
<li>Admitting_source_concept_id -> <strong>Admitted_from_concept_id</strong></li>
|
|
||||||
<li>Admitting_source_value -> <strong>Admitted_from_source_value</strong></li>
|
|
||||||
<li>Discharge_to_concept_id -> <strong>Discharged_to_concept_id</strong></li>
|
|
||||||
<li>Discharge_to_source_value -> <strong>Discharged_to_source_value</strong></li>
|
|
||||||
<li>Visit_detail_parent_id -> <strong>Parent_visit_detail_id</strong></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
<div id="condition_occurrence" class="section level2">
|
|
||||||
<h2>CONDITION_OCCURRENCE</h2>
|
|
||||||
<ul>
|
|
||||||
<li>No change</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
<div id="drug_exposure" class="section level2">
|
|
||||||
<h2>DRUG_EXPOSURE</h2>
|
|
||||||
<ul>
|
|
||||||
<li>No change</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
<div id="procedure_occurrence" class="section level2">
|
|
||||||
<h2>PROCEDURE_OCCURRENCE</h2>
|
|
||||||
<ul>
|
|
||||||
<li>+ <strong>Procedure_end_date</strong></li>
|
|
||||||
<li>+ <strong>Procedure_end_datetime</strong></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
<div id="device_exposure" class="section level2">
|
|
||||||
<h2>DEVICE_EXPOSURE</h2>
|
|
||||||
<ul>
|
|
||||||
<li>Unique_device_id -> <strong>Changed to varchar(255)</strong></li>
|
|
||||||
<li>+ <strong>Production_id</strong></li>
|
|
||||||
<li>+ <strong>Unit_concept_id</strong></li>
|
|
||||||
<li>+ <strong>Unit_source_value</strong></li>
|
|
||||||
<li>+ <strong>Unit_source_concept_id</strong></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
<div id="measurement" class="section level2">
|
|
||||||
<h2>MEASUREMENT</h2>
|
|
||||||
<ul>
|
|
||||||
<li>+ <strong>Unit_source_concept_id</strong></li>
|
|
||||||
<li>+ <strong>Measurement_event_id</strong></li>
|
|
||||||
<li>+ <strong>Meas_event_field_concept_id</strong></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
<div id="observation" class="section level2">
|
|
||||||
<h2>OBSERVATION</h2>
|
|
||||||
<ul>
|
|
||||||
<li>+ <strong>Value_source_value</strong></li>
|
|
||||||
<li>+ <strong>Observation_event_id</strong></li>
|
|
||||||
<li>+ <strong>Obs_event_field_concept_id</strong></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
<div id="death" class="section level2">
|
|
||||||
<h2>DEATH</h2>
|
|
||||||
<ul>
|
|
||||||
<li>No change</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
<div id="note" class="section level2">
|
|
||||||
<h2>NOTE</h2>
|
|
||||||
<ul>
|
|
||||||
<li>+ <strong>Note_event_id</strong></li>
|
|
||||||
<li>+ <strong>Note_event_field_concept_id</strong></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
<div id="note_nlp" class="section level2">
|
|
||||||
<h2>NOTE_NLP</h2>
|
|
||||||
<ul>
|
|
||||||
<li>No change</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
<div id="specimen" class="section level2">
|
|
||||||
<h2>SPECIMEN</h2>
|
|
||||||
<ul>
|
|
||||||
<li>No change</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
<div id="fact_relationship" class="section level2">
|
|
||||||
<h2>FACT_RELATIONSHIP</h2>
|
|
||||||
<ul>
|
|
||||||
<li>No change</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
<div id="location" class="section level2">
|
|
||||||
<h2>LOCATION</h2>
|
|
||||||
<ul>
|
|
||||||
<li>+ <strong>Country_concept_id</strong></li>
|
|
||||||
<li>+ <strong>Country_source_value</strong></li>
|
|
||||||
<li>+ <strong>Latitude</strong></li>
|
|
||||||
<li>+ <strong>Longitude</strong></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
<div id="care_site" class="section level2">
|
|
||||||
<h2>CARE_SITE</h2>
|
|
||||||
<ul>
|
|
||||||
<li>No change</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
<div id="payer_plan_period" class="section level2">
|
|
||||||
<h2>PAYER_PLAN_PERIOD</h2>
|
|
||||||
<ul>
|
|
||||||
<li>No change</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
<div id="cost" class="section level2">
|
|
||||||
<h2>COST</h2>
|
|
||||||
<ul>
|
|
||||||
<li>No change</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
<div id="drug_era" class="section level2">
|
|
||||||
<h2>DRUG_ERA</h2>
|
|
||||||
<ul>
|
|
||||||
<li>No change</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
<div id="dose_era" class="section level2">
|
|
||||||
<h2>DOSE_ERA</h2>
|
|
||||||
<ul>
|
|
||||||
<li>No change</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
<div id="condition_era" class="section level2">
|
|
||||||
<h2>CONDITION_ERA</h2>
|
|
||||||
<ul>
|
|
||||||
<li>No change</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
<div id="episode" class="section level2">
|
|
||||||
<h2>+ <strong>EPISODE</strong></h2>
|
|
||||||
<table>
|
|
||||||
<thead>
|
|
||||||
<tr class="header">
|
|
||||||
<th>EPISODE</th>
|
|
||||||
</tr>
|
|
||||||
</thead>
|
|
||||||
<tbody>
|
|
||||||
<tr class="odd">
|
|
||||||
<td>episode_id</td>
|
|
||||||
</tr>
|
|
||||||
<tr class="even">
|
|
||||||
<td>person_id</td>
|
|
||||||
</tr>
|
|
||||||
<tr class="odd">
|
|
||||||
<td>episode_concept_id</td>
|
|
||||||
</tr>
|
|
||||||
<tr class="even">
|
|
||||||
<td>episode_start_date</td>
|
|
||||||
</tr>
|
|
||||||
<tr class="odd">
|
|
||||||
<td>episode_start_datetime</td>
|
|
||||||
</tr>
|
|
||||||
<tr class="even">
|
|
||||||
<td>episode_end_date</td>
|
|
||||||
</tr>
|
|
||||||
<tr class="odd">
|
|
||||||
<td>episode_end_datetime</td>
|
|
||||||
</tr>
|
|
||||||
<tr class="even">
|
|
||||||
<td>episode_parent_id</td>
|
|
||||||
</tr>
|
|
||||||
<tr class="odd">
|
|
||||||
<td>episode_number</td>
|
|
||||||
</tr>
|
|
||||||
<tr class="even">
|
|
||||||
<td>episode_object_concept_id</td>
|
|
||||||
</tr>
|
|
||||||
<tr class="odd">
|
|
||||||
<td>episode_type_concept_id</td>
|
|
||||||
</tr>
|
|
||||||
<tr class="even">
|
|
||||||
<td>episode_source_value</td>
|
|
||||||
</tr>
|
|
||||||
<tr class="odd">
|
|
||||||
<td>episode_source_concept_id</td>
|
|
||||||
</tr>
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
</div>
|
|
||||||
<div id="episode_event" class="section level2">
|
|
||||||
<h2>+ <strong>EPISODE_EVENT</strong></h2>
|
|
||||||
<table>
|
|
||||||
<thead>
|
|
||||||
<tr class="header">
|
|
||||||
<th>EPISODE_EVENT</th>
|
|
||||||
</tr>
|
|
||||||
</thead>
|
|
||||||
<tbody>
|
|
||||||
<tr class="odd">
|
|
||||||
<td>episode_id</td>
|
|
||||||
</tr>
|
|
||||||
<tr class="even">
|
|
||||||
<td>event_id</td>
|
|
||||||
</tr>
|
|
||||||
<tr class="odd">
|
|
||||||
<td>episode_event_field_concept_id</td>
|
|
||||||
</tr>
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
</div>
|
|
||||||
<div id="metadata" class="section level2">
|
|
||||||
<h2>METADATA</h2>
|
|
||||||
<ul>
|
|
||||||
<li>+ <strong>Metadata_id</strong></li>
|
|
||||||
<li>+ <strong>Value_as_number</strong></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
<div id="cdm_source" class="section level2">
|
|
||||||
<h2>CDM_SOURCE</h2>
|
|
||||||
<ul>
|
|
||||||
<li>Cdm_source_name -> <strong>Mandatory field</strong></li>
|
|
||||||
<li>Cdm_source_abbreviation -> <strong>Mandatory field</strong></li>
|
|
||||||
<li>Cdm_holder -> <strong>Mandatory field</strong></li>
|
|
||||||
<li>Source_release_date -> <strong>Mandatory field</strong></li>
|
|
||||||
<li>Cdm_release_date -> <strong>Mandatory field</strong></li>
|
|
||||||
<li>+ <strong>Cdm_version_concept_id</strong></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
<div id="concept" class="section level2">
|
|
||||||
<h2>CONCEPT</h2>
|
|
||||||
<ul>
|
|
||||||
<li>No change</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
<div id="vocabulary" class="section level2">
|
|
||||||
<h2>VOCABULARY</h2>
|
|
||||||
<ul>
|
|
||||||
<li>Vocabulary_reference -> <strong>Non-mandatory field</strong></li>
|
|
||||||
<li>Vocabulary_version -> <strong>Non-mandatory field</strong></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
<div id="domain" class="section level2">
|
|
||||||
<h2>DOMAIN</h2>
|
|
||||||
<ul>
|
|
||||||
<li>No change</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
<div id="concept_class" class="section level2">
|
|
||||||
<h2>CONCEPT_CLASS</h2>
|
|
||||||
<ul>
|
|
||||||
<li>No change</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
<div id="concept_relationship" class="section level2">
|
|
||||||
<h2>CONCEPT_RELATIONSHIP</h2>
|
|
||||||
<ul>
|
|
||||||
<li>No change</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
<div id="relationship" class="section level2">
|
|
||||||
<h2>RELATIONSHIP</h2>
|
|
||||||
<ul>
|
|
||||||
<li>No change</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
<div id="concept_synonym" class="section level2">
|
|
||||||
<h2>CONCEPT_SYNONYM</h2>
|
|
||||||
<ul>
|
|
||||||
<li>No change</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
<div id="concept_ancestor" class="section level2">
|
|
||||||
<h2>CONCEPT_ANCESTOR</h2>
|
|
||||||
<ul>
|
|
||||||
<li>No change</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
<div id="source_to_concept_map" class="section level2">
|
|
||||||
<h2>SOURCE_TO_CONCEPT_MAP</h2>
|
|
||||||
<ul>
|
|
||||||
<li>No change</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
<div id="drug_strength" class="section level2">
|
|
||||||
<h2>DRUG_STRENGTH</h2>
|
|
||||||
<ul>
|
|
||||||
<li>No change</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
<div id="attribute_definition" class="section level2">
|
|
||||||
<h2>- <strong>ATTRIBUTE_DEFINITION</strong></h2>
|
|
||||||
</div>
|
|
||||||
<div id="cohort" class="section level2">
|
|
||||||
<h2>+ <strong>COHORT</strong></h2>
|
|
||||||
<table>
|
|
||||||
<thead>
|
|
||||||
<tr class="header">
|
|
||||||
<th>COHORT</th>
|
|
||||||
</tr>
|
|
||||||
</thead>
|
|
||||||
<tbody>
|
|
||||||
<tr class="odd">
|
|
||||||
<td>cohort_definition_id</td>
|
|
||||||
</tr>
|
|
||||||
<tr class="even">
|
|
||||||
<td>subject_id</td>
|
|
||||||
</tr>
|
|
||||||
<tr class="odd">
|
|
||||||
<td>cohort_start_date</td>
|
|
||||||
</tr>
|
|
||||||
<tr class="even">
|
|
||||||
<td>cohort_end_date</td>
|
|
||||||
</tr>
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
|
|
||||||
// add bootstrap table styles to pandoc tables
|
|
||||||
function bootstrapStylePandocTables() {
|
|
||||||
$('tr.odd').parent('tbody').parent('table').addClass('table table-condensed');
|
|
||||||
}
|
|
||||||
$(document).ready(function () {
|
|
||||||
bootstrapStylePandocTables();
|
|
||||||
});
|
|
||||||
|
|
||||||
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<!-- tabsets -->
|
|
||||||
|
|
||||||
<script>
|
|
||||||
$(document).ready(function () {
|
|
||||||
window.buildTabsets("TOC");
|
|
||||||
});
|
|
||||||
|
|
||||||
$(document).ready(function () {
|
|
||||||
$('.tabset-dropdown > .nav-tabs > li').click(function () {
|
|
||||||
$(this).parent().toggleClass('nav-tabs-open');
|
|
||||||
});
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<!-- code folding -->
|
|
||||||
|
|
||||||
<script>
|
|
||||||
$(document).ready(function () {
|
|
||||||
|
|
||||||
// temporarily add toc-ignore selector to headers for the consistency with Pandoc
|
|
||||||
$('.unlisted.unnumbered').addClass('toc-ignore')
|
|
||||||
|
|
||||||
// move toc-ignore selectors from section div to header
|
|
||||||
$('div.section.toc-ignore')
|
|
||||||
.removeClass('toc-ignore')
|
|
||||||
.children('h1,h2,h3,h4,h5').addClass('toc-ignore');
|
|
||||||
|
|
||||||
// establish options
|
|
||||||
var options = {
|
|
||||||
selectors: "h1,h2,h3",
|
|
||||||
theme: "bootstrap3",
|
|
||||||
context: '.toc-content',
|
|
||||||
hashGenerator: function (text) {
|
|
||||||
return text.replace(/[.\\/?&!#<>]/g, '').replace(/\s/g, '_');
|
|
||||||
},
|
|
||||||
ignoreSelector: ".toc-ignore",
|
|
||||||
scrollTo: 0
|
|
||||||
};
|
|
||||||
options.showAndHide = true;
|
|
||||||
options.smoothScroll = true;
|
|
||||||
|
|
||||||
// tocify
|
|
||||||
var toc = $("#TOC").tocify(options).data("toc-tocify");
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<!-- dynamically load mathjax for compatibility with self-contained -->
|
|
||||||
<script>
|
|
||||||
(function () {
|
|
||||||
var script = document.createElement("script");
|
|
||||||
script.type = "text/javascript";
|
|
||||||
script.src = "https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML";
|
|
||||||
document.getElementsByTagName("head")[0].appendChild(script);
|
|
||||||
})();
|
|
||||||
</script>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
</html>
|
|
|
@ -102,10 +102,12 @@ for(tb in tables) {
|
||||||
loopTable <- subset(cdmSpecsClean, `CDM Table` == tb)
|
loopTable <- subset(cdmSpecsClean, `CDM Table` == tb)
|
||||||
loopTable <- subset(loopTable, select = -c(1))
|
loopTable <- subset(loopTable, select = -c(1))
|
||||||
|
|
||||||
print(kable(x = loopTable, align = "l", row.names = FALSE, format = "html", escape = FALSE) %>%
|
print(kable(x = loopTable, align = "l", row.names = FALSE, format = "html") %>%
|
||||||
kable_styling(c("condensed","hover"), position = "center", full_width = T, font_size = 13) %>%
|
column_spec(1, bold = T) %>%
|
||||||
column_spec(1, bold = T))
|
column_spec(2, width = "3in", include_thead = T) %>%
|
||||||
|
column_spec(3, width = "4in", include_thead = T) %>%
|
||||||
|
column_spec(4:9, width = "1in", include_thead = T) %>%
|
||||||
|
kable_styling(c("condensed","hover"), position = "center", full_width = T, font_size = 13))
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
893
rmd/cdm60.html
893
rmd/cdm60.html
|
@ -1,893 +0,0 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
|
|
||||||
<html>
|
|
||||||
|
|
||||||
<head>
|
|
||||||
|
|
||||||
<meta charset="utf-8" />
|
|
||||||
<meta name="generator" content="pandoc" />
|
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=EDGE" />
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<title>OMOP CDM v6.0</title>
|
|
||||||
|
|
||||||
<script src="site_libs/header-attrs-2.13/header-attrs.js"></script>
|
|
||||||
<script src="site_libs/jquery-3.6.0/jquery-3.6.0.min.js"></script>
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
||||||
<link href="site_libs/bootstrap-3.3.5/css/cosmo.min.css" rel="stylesheet" />
|
|
||||||
<script src="site_libs/bootstrap-3.3.5/js/bootstrap.min.js"></script>
|
|
||||||
<script src="site_libs/bootstrap-3.3.5/shim/html5shiv.min.js"></script>
|
|
||||||
<script src="site_libs/bootstrap-3.3.5/shim/respond.min.js"></script>
|
|
||||||
<style>h1 {font-size: 34px;}
|
|
||||||
h1.title {font-size: 38px;}
|
|
||||||
h2 {font-size: 30px;}
|
|
||||||
h3 {font-size: 24px;}
|
|
||||||
h4 {font-size: 18px;}
|
|
||||||
h5 {font-size: 16px;}
|
|
||||||
h6 {font-size: 12px;}
|
|
||||||
code {color: inherit; background-color: rgba(0, 0, 0, 0.04);}
|
|
||||||
pre:not([class]) { background-color: white }</style>
|
|
||||||
<script src="site_libs/jqueryui-1.11.4/jquery-ui.min.js"></script>
|
|
||||||
<link href="site_libs/tocify-1.9.1/jquery.tocify.css" rel="stylesheet" />
|
|
||||||
<script src="site_libs/tocify-1.9.1/jquery.tocify.js"></script>
|
|
||||||
<script src="site_libs/navigation-1.1/tabsets.js"></script>
|
|
||||||
<link href="site_libs/highlightjs-9.12.0/default.css" rel="stylesheet" />
|
|
||||||
<script src="site_libs/highlightjs-9.12.0/highlight.js"></script>
|
|
||||||
<link href="site_libs/font-awesome-5.1.0/css/all.css" rel="stylesheet" />
|
|
||||||
<link href="site_libs/font-awesome-5.1.0/css/v4-shims.css" rel="stylesheet" />
|
|
||||||
<link rel='shortcut icon' type='image/x-icon' href='favicon.ico' />
|
|
||||||
|
|
||||||
<style type="text/css">
|
|
||||||
code{white-space: pre-wrap;}
|
|
||||||
span.smallcaps{font-variant: small-caps;}
|
|
||||||
span.underline{text-decoration: underline;}
|
|
||||||
div.column{display: inline-block; vertical-align: top; width: 50%;}
|
|
||||||
div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;}
|
|
||||||
ul.task-list{list-style: none;}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<style type="text/css">code{white-space: pre;}</style>
|
|
||||||
<script type="text/javascript">
|
|
||||||
if (window.hljs) {
|
|
||||||
hljs.configure({languages: []});
|
|
||||||
hljs.initHighlightingOnLoad();
|
|
||||||
if (document.readyState && document.readyState === "complete") {
|
|
||||||
window.setTimeout(function() { hljs.initHighlighting(); }, 0);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<link rel="stylesheet" href="style.css" type="text/css" />
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<style type = "text/css">
|
|
||||||
.main-container {
|
|
||||||
max-width: 940px;
|
|
||||||
margin-left: auto;
|
|
||||||
margin-right: auto;
|
|
||||||
}
|
|
||||||
img {
|
|
||||||
max-width:100%;
|
|
||||||
}
|
|
||||||
.tabbed-pane {
|
|
||||||
padding-top: 12px;
|
|
||||||
}
|
|
||||||
.html-widget {
|
|
||||||
margin-bottom: 20px;
|
|
||||||
}
|
|
||||||
button.code-folding-btn:focus {
|
|
||||||
outline: none;
|
|
||||||
}
|
|
||||||
summary {
|
|
||||||
display: list-item;
|
|
||||||
}
|
|
||||||
details > summary > p:only-child {
|
|
||||||
display: inline;
|
|
||||||
}
|
|
||||||
pre code {
|
|
||||||
padding: 0;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
|
|
||||||
<style type="text/css">
|
|
||||||
.dropdown-submenu {
|
|
||||||
position: relative;
|
|
||||||
}
|
|
||||||
.dropdown-submenu>.dropdown-menu {
|
|
||||||
top: 0;
|
|
||||||
left: 100%;
|
|
||||||
margin-top: -6px;
|
|
||||||
margin-left: -1px;
|
|
||||||
border-radius: 0 6px 6px 6px;
|
|
||||||
}
|
|
||||||
.dropdown-submenu:hover>.dropdown-menu {
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
.dropdown-submenu>a:after {
|
|
||||||
display: block;
|
|
||||||
content: " ";
|
|
||||||
float: right;
|
|
||||||
width: 0;
|
|
||||||
height: 0;
|
|
||||||
border-color: transparent;
|
|
||||||
border-style: solid;
|
|
||||||
border-width: 5px 0 5px 5px;
|
|
||||||
border-left-color: #cccccc;
|
|
||||||
margin-top: 5px;
|
|
||||||
margin-right: -10px;
|
|
||||||
}
|
|
||||||
.dropdown-submenu:hover>a:after {
|
|
||||||
border-left-color: #adb5bd;
|
|
||||||
}
|
|
||||||
.dropdown-submenu.pull-left {
|
|
||||||
float: none;
|
|
||||||
}
|
|
||||||
.dropdown-submenu.pull-left>.dropdown-menu {
|
|
||||||
left: -100%;
|
|
||||||
margin-left: 10px;
|
|
||||||
border-radius: 6px 0 6px 6px;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<script type="text/javascript">
|
|
||||||
// manage active state of menu based on current page
|
|
||||||
$(document).ready(function () {
|
|
||||||
// active menu anchor
|
|
||||||
href = window.location.pathname
|
|
||||||
href = href.substr(href.lastIndexOf('/') + 1)
|
|
||||||
if (href === "")
|
|
||||||
href = "index.html";
|
|
||||||
var menuAnchor = $('a[href="' + href + '"]');
|
|
||||||
|
|
||||||
// mark it active
|
|
||||||
menuAnchor.tab('show');
|
|
||||||
|
|
||||||
// if it's got a parent navbar menu mark it active as well
|
|
||||||
menuAnchor.closest('li.dropdown').addClass('active');
|
|
||||||
|
|
||||||
// Navbar adjustments
|
|
||||||
var navHeight = $(".navbar").first().height() + 15;
|
|
||||||
var style = document.createElement('style');
|
|
||||||
var pt = "padding-top: " + navHeight + "px; ";
|
|
||||||
var mt = "margin-top: -" + navHeight + "px; ";
|
|
||||||
var css = "";
|
|
||||||
// offset scroll position for anchor links (for fixed navbar)
|
|
||||||
for (var i = 1; i <= 6; i++) {
|
|
||||||
css += ".section h" + i + "{ " + pt + mt + "}\n";
|
|
||||||
}
|
|
||||||
style.innerHTML = "body {" + pt + "padding-bottom: 40px; }\n" + css;
|
|
||||||
document.head.appendChild(style);
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<!-- tabsets -->
|
|
||||||
|
|
||||||
<style type="text/css">
|
|
||||||
.tabset-dropdown > .nav-tabs {
|
|
||||||
display: inline-table;
|
|
||||||
max-height: 500px;
|
|
||||||
min-height: 44px;
|
|
||||||
overflow-y: auto;
|
|
||||||
border: 1px solid #ddd;
|
|
||||||
border-radius: 4px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabset-dropdown > .nav-tabs > li.active:before {
|
|
||||||
content: "";
|
|
||||||
font-family: 'Glyphicons Halflings';
|
|
||||||
display: inline-block;
|
|
||||||
padding: 10px;
|
|
||||||
border-right: 1px solid #ddd;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabset-dropdown > .nav-tabs.nav-tabs-open > li.active:before {
|
|
||||||
content: "";
|
|
||||||
border: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabset-dropdown > .nav-tabs.nav-tabs-open:before {
|
|
||||||
content: "";
|
|
||||||
font-family: 'Glyphicons Halflings';
|
|
||||||
display: inline-block;
|
|
||||||
padding: 10px;
|
|
||||||
border-right: 1px solid #ddd;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabset-dropdown > .nav-tabs > li.active {
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabset-dropdown > .nav-tabs > li > a,
|
|
||||||
.tabset-dropdown > .nav-tabs > li > a:focus,
|
|
||||||
.tabset-dropdown > .nav-tabs > li > a:hover {
|
|
||||||
border: none;
|
|
||||||
display: inline-block;
|
|
||||||
border-radius: 4px;
|
|
||||||
background-color: transparent;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabset-dropdown > .nav-tabs.nav-tabs-open > li {
|
|
||||||
display: block;
|
|
||||||
float: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabset-dropdown > .nav-tabs > li {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<!-- code folding -->
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<style type="text/css">
|
|
||||||
|
|
||||||
#TOC {
|
|
||||||
margin: 25px 0px 20px 0px;
|
|
||||||
}
|
|
||||||
@media (max-width: 768px) {
|
|
||||||
#TOC {
|
|
||||||
position: relative;
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@media print {
|
|
||||||
.toc-content {
|
|
||||||
/* see https://github.com/w3c/csswg-drafts/issues/4434 */
|
|
||||||
float: right;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.toc-content {
|
|
||||||
padding-left: 30px;
|
|
||||||
padding-right: 40px;
|
|
||||||
}
|
|
||||||
|
|
||||||
div.main-container {
|
|
||||||
max-width: 1200px;
|
|
||||||
}
|
|
||||||
|
|
||||||
div.tocify {
|
|
||||||
width: 20%;
|
|
||||||
max-width: 260px;
|
|
||||||
max-height: 85%;
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (min-width: 768px) and (max-width: 991px) {
|
|
||||||
div.tocify {
|
|
||||||
width: 25%;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (max-width: 767px) {
|
|
||||||
div.tocify {
|
|
||||||
width: 100%;
|
|
||||||
max-width: none;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.tocify ul, .tocify li {
|
|
||||||
line-height: 20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tocify-subheader .tocify-item {
|
|
||||||
font-size: 0.90em;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tocify .list-group-item {
|
|
||||||
border-radius: 0px;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
</style>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body>
|
|
||||||
|
|
||||||
|
|
||||||
<div class="container-fluid main-container">
|
|
||||||
|
|
||||||
|
|
||||||
<!-- setup 3col/9col grid for toc_float and main content -->
|
|
||||||
<div class="row">
|
|
||||||
<div class="col-xs-12 col-sm-4 col-md-3">
|
|
||||||
<div id="TOC" class="tocify">
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="toc-content col-xs-12 col-sm-8 col-md-9">
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div class="navbar navbar-default navbar-fixed-top" role="navigation">
|
|
||||||
<div class="container">
|
|
||||||
<div class="navbar-header">
|
|
||||||
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-bs-toggle="collapse" data-target="#navbar" data-bs-target="#navbar">
|
|
||||||
<span class="icon-bar"></span>
|
|
||||||
<span class="icon-bar"></span>
|
|
||||||
<span class="icon-bar"></span>
|
|
||||||
</button>
|
|
||||||
<a class="navbar-brand" href="index.html"><div><img src="ohdsi16x16.png"></img> OMOP Common Data Model </div></a>
|
|
||||||
</div>
|
|
||||||
<div id="navbar" class="navbar-collapse collapse">
|
|
||||||
<ul class="nav navbar-nav">
|
|
||||||
<li>
|
|
||||||
<a href="index.html">
|
|
||||||
<span class="fa fa-home"></span>
|
|
||||||
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
|
||||||
<span class="fa fa-landmark"></span>
|
|
||||||
|
|
||||||
Background
|
|
||||||
|
|
||||||
<span class="caret"></span>
|
|
||||||
</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="background.html">Model Background</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="cdmRefreshProcess.html">CDM Refresh Process</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="vocabulary.html">How the Vocabulary is Built</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
|
||||||
<span class="fa fa-list-alt"></span>
|
|
||||||
|
|
||||||
Conventions
|
|
||||||
|
|
||||||
<span class="caret"></span>
|
|
||||||
</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="dataModelConventions.html">General Conventions</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="ehrObsPeriods.html">Observation Periods for EHR Data</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="cdmPrivacy.html">Patient Privacy and OMOP</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
|
||||||
<span class="fa fa-history"></span>
|
|
||||||
|
|
||||||
CDM Versions
|
|
||||||
|
|
||||||
<span class="caret"></span>
|
|
||||||
</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="cdm30.html">CDM v3.0</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="cdm60.html">CDM v6.0</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="cdm53.html">CDM v5.3</a>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown-submenu">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">NEW CDM v5.4</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="cdm54.html">CDM v5.4</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="cdm54Changes.html">Changes from CDM v5.3</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
|
||||||
<span class="fa fa-plus-square"></span>
|
|
||||||
|
|
||||||
Proposals
|
|
||||||
|
|
||||||
<span class="caret"></span>
|
|
||||||
</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="https://github.com/OHDSI/CommonDataModel/issues?q=is%3Aopen+is%3Aissue+label%3AProposal">Under Review</a>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown-submenu">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">Accepted</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="https://github.com/OHDSI/CommonDataModel/issues/252">Region_concept_id</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
|
||||||
<span class="fa fa-question"></span>
|
|
||||||
|
|
||||||
How to
|
|
||||||
|
|
||||||
<span class="caret"></span>
|
|
||||||
</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="download.html">Download the DDL</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="cdmRPackage.html">Use the CDM R Package</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="drug_dose.html">Calculate Drug Dose</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
|
||||||
<span class="fa fa-life-ring"></span>
|
|
||||||
|
|
||||||
Support
|
|
||||||
|
|
||||||
<span class="caret"></span>
|
|
||||||
</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="faq.html">FAQ</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="sqlScripts.html">SQL Scripts</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="contribute.html">Ask a Question</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
<ul class="nav navbar-nav navbar-right">
|
|
||||||
<li>
|
|
||||||
<a href="https://github.com/OHDSI/CommonDataModel">
|
|
||||||
<span class="fa fa-github"></span>
|
|
||||||
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</div><!--/.nav-collapse -->
|
|
||||||
</div><!--/.container -->
|
|
||||||
</div><!--/.navbar -->
|
|
||||||
|
|
||||||
<div id="header">
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<h1 class="title toc-ignore"><strong>OMOP CDM v6.0</strong></h1>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<div id="note-about-cdm-v6.0" class="section level2">
|
|
||||||
<h2>NOTE ABOUT CDM v6.0</h2>
|
|
||||||
<p>Please be aware that v6.0 of the OMOP CDM is <strong>not</strong> fully supported by the OHDSI suite of tools and methods. The major difference in CDM v5.3 and CDM v6.0 involves switching the *_datetime fields to mandatory rather than optional. This switch radically changes the assumptions related to exposure and outcome timing. Rather than move forward with v6.0, CDM v5.4 was designed with additions to the model that have been requested by the community while retaining the date structure of medical events in v5.3. Please see our the specifications for <a href="http://ohdsi.github.io/CommonDataModel/cdm54.html">CDM v5.4</a> and detailed <a href="http://ohdsi.github.io/CommonDataModel/cdm54Changes.html">changes from CDM v5.3</a>. <strong>For new collaborators to OHDSI, please transform your data to <a href="https://github.com/OHDSI/CommonDataModel/releases/tag/v5.4.0">CDM v5.4</a> until such time that the v6 series of the CDM is ready for mainstream use.</strong></p>
|
|
||||||
<p>Below is the specification document for the OMOP Common Data Model, v6.0. Each table is represented with a high-level description and ETL conventions that should be followed. This is continued with a discussion of each field in each table, any conventions related to the field, and constraints that should be followed (like primary key, foreign key, etc). Should you have questions please feel free to visit the <a href="https://forums.ohdsi.org/">forums</a> or the <a href="https://github.com/ohdsi/CommonDataModel/issues">github issue</a> page.</p>
|
|
||||||
<p>–after regeneration of DDLs link to csv of cdm link to pdf of cdm documentation link to forum on doc page</p>
|
|
||||||
</div>
|
|
||||||
<div id="changes-in-v6.0" class="section level2">
|
|
||||||
<h2><strong>Changes in v6.0</strong></h2>
|
|
||||||
<ul>
|
|
||||||
<li>Latitude and Longitude added to <a href="https://ohdsi.github.io/CommonDataModel/cdm60.html#location">LOCATION</a></li>
|
|
||||||
<li>Contract owner field added to <a href="https://ohdsi.github.io/CommonDataModel/cdm60.html#payer_plan_period">PAYER_PLAN_PERIOD</a></li>
|
|
||||||
<li>All primary keys were changed to bigint</li>
|
|
||||||
<li>The name of ADMISSION_SOURCE_CONCEPT_ID was changed to ADMITTED_FROM_CONCEPT_ID in <a href="https://ohdsi.github.io/CommonDataModel/cdm60.html#visit_occurrence">VISIT_OCCURRENCE</a> and <a href="https://ohdsi.github.io/CommonDataModel/cdm60.html#visit_detail">VISIT_DETAIL</a></li>
|
|
||||||
<li>All Concept_Ids are now mandatory except for UNIT_CONCEPT_ID, VALUE_AS_CONCEPT_ID, and OPERATOR_CONCEPT_ID. If there is no value available then a Concept_Id should be set to 0 instead of NULL.</li>
|
|
||||||
<li><a href="https://ohdsi.github.io/CommonDataModel/cdm531.html#death">DEATH</a> table removed and DEATH_DATETIME field added to the <a href="https://ohdsi.github.io/CommonDataModel/cdm60.html#person">PERSON</a> table. Cause of death is stored in the <a href="https://ohdsi.github.io/CommonDataModel/cdm60.html#condition_occurrence">CONDITION_OCCURRENCE</a></li>
|
|
||||||
<li>DATETIME fields were made mandatory and date fields were made optional.</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
<div id="clinical-data-tables" class="section level2">
|
|
||||||
<h2><strong>Clinical Data Tables</strong></h2>
|
|
||||||
<div id="person" class="section level3 tabset tabset-pills">
|
|
||||||
<h3 class="tabset tabset-pills">PERSON</h3>
|
|
||||||
<p><strong>Table Description</strong></p>
|
|
||||||
<p>This table serves as the central identity management for all Persons in the database. It contains records that uniquely identify each person or patient, and some demographic information.</p>
|
|
||||||
<p><strong>User Guide</strong></p>
|
|
||||||
<p>All records in this table are independent Persons.</p>
|
|
||||||
<p><strong>ETL Conventions</strong></p>
|
|
||||||
<p>All Persons in a database needs one record in this table, unless they fail data quality requirements specified in the ETL. Persons with no Events should have a record nonetheless. If more than one data source contributes Events to the database, Persons must be reconciled, if possible, across the sources to create one single record per Person. The BIRTH_DATETIME must be equivalent to the content of BIRTH_DAY, BIRTH_MONTH and BIRTH_YEAR. There is a helpful rule listed in table below for how to derive BIRTH_DATETIME if it is not available in the source. <strong>New to CDM v6.0</strong> The person’s death date is now stored in this table instead of the separate DEATH table. In the case that multiple dates of death are given in the source data the ETL should make a choice as to which death date to put in the PERSON table. Any additional dates can be stored in the OBSERVATION table using the concept <a href="https://athena.ohdsi.org/search-terms/terms/4265167">4265167</a> which stands for ‘Date of death’ . Similarly, the cause of death is stored in the CONDITION_OCCURRENCE table using the CONDITION_STATUS_CONCEPT_ID <a href="https://athena.ohdsi.org/search-terms/terms/32891">32891</a> for ‘Cause of death’.</p>
|
|
||||||
</div>
|
|
||||||
<div id="observation_period" class="section level3 tabset tabset-pills">
|
|
||||||
<h3 class="tabset tabset-pills">OBSERVATION_PERIOD</h3>
|
|
||||||
<p><strong>Table Description</strong></p>
|
|
||||||
<p>This table contains records which define spans of time during which two conditions are expected to hold: (i) Clinical Events that happened to the Person are recorded in the Event tables, and (ii) absense of records indicate such Events did not occur during this span of time.</p>
|
|
||||||
<p><strong>User Guide</strong></p>
|
|
||||||
<p>For each Person, one or more OBSERVATION_PERIOD records may be present, but they will not overlap or be back to back to each other. Events may exist outside all of the time spans of the OBSERVATION_PERIOD records for a patient, however, absence of an Event outside these time spans cannot be construed as evidence of absence of an Event. Incidence or prevalence rates should only be calculated for the time of active OBSERVATION_PERIOD records. When constructing cohorts, outside Events can be used for inclusion criteria definition, but without any guarantee for the performance of these criteria. Also, OBSERVATION_PERIOD records can be as short as a single day, greatly disturbing the denominator of any rate calculation as part of cohort characterizations. To avoid that, apply minimal observation time as a requirement for any cohort definition.</p>
|
|
||||||
<p><strong>ETL Conventions</strong></p>
|
|
||||||
<p>Each Person needs to have at least one OBSERVATION_PERIOD record, which should represent time intervals with a high capture rate of Clinical Events. Some source data have very similar concepts, such as enrollment periods in insurance claims data. In other source data such as most EHR systems these time spans need to be inferred under a set of assumptions. It is the discretion of the ETL developer to define these assumptions. In many ETL solutions the start date of the first occurrence or the first high quality occurrence of a Clinical Event (Condition, Drug, Procedure, Device, Measurement, Visit) is defined as the start of the OBSERVATION_PERIOD record, and the end date of the last occurrence of last high quality occurrence of a Clinical Event, or the end of the database period becomes the end of the OBSERVATOIN_PERIOD for each Person. If a Person only has a single Clinical Event the OBSERVATION_PERIOD record can be as short as one day. Depending on these definitions it is possible that Clinical Events fall outside the time spans defined by OBSERVATION_PERIOD records. Family history or history of Clinical Events generally are not used to generate OBSERVATION_PERIOD records around the time they are referring to. Any two overlapping or adjacent OBSERVATION_PERIOD records have to be merged into one.</p>
|
|
||||||
</div>
|
|
||||||
<div id="visit_occurrence" class="section level3 tabset tabset-pills">
|
|
||||||
<h3 class="tabset tabset-pills">VISIT_OCCURRENCE</h3>
|
|
||||||
<p><strong>Table Description</strong></p>
|
|
||||||
<p>This table contains Events where Persons engage with the healthcare system for a duration of time. They are often also called “Encounters”. Visits are defined by a configuration of circumstances under which they occur, such as (i) whether the patient comes to a healthcare institution, the other way around, or the interaction is remote, (ii) whether and what kind of trained medical staff is delivering the service during the Visit, and (iii) whether the Visit is transient or for a longer period involving a stay in bed.</p>
|
|
||||||
<p><strong>User Guide</strong></p>
|
|
||||||
<p>The configuration defining the Visit are described by Concepts in the Visit Domain, which form a hierarchical structure, but rolling up to generally familiar Visits adopted in most healthcare systems worldwide:</p>
|
|
||||||
<ul>
|
|
||||||
<li><a href="https://athena.ohdsi.org/search-terms/terms/9201">Inpatient Visit</a>: Person visiting hospital, at a Care Site, in bed, for duration of more than one day, with physicians and other Providers permanently available to deliver service around the clock</li>
|
|
||||||
<li><a href="https://athena.ohdsi.org/search-terms/terms/9203">Emergency Room Visit</a>: Person visiting dedicated healthcare institution for treating emergencies, at a Care Site, within one day, with physicians and Providers permanently available to deliver service around the clock</li>
|
|
||||||
<li><a href="https://athena.ohdsi.org/search-terms/terms/262">Emergency Room and Inpatient Visit</a>: Person visiting ER followed by a subsequent Inpatient Visit, where Emergency department is part of hospital, and transition from the ER to other hospital departments is undefined</li>
|
|
||||||
<li><a href="https://athena.ohdsi.org/search-terms/terms/42898160">Non-hospital institution Visit</a>: Person visiting dedicated institution for reasons of poor health, at a Care Site, long-term or permanently, with no physician but possibly other Providers permanently available to deliver service around the clock</li>
|
|
||||||
<li><a href="https://athena.ohdsi.org/search-terms/terms/9202">Outpatient Visit</a>: Person visiting dedicated ambulatory healthcare institution, at a Care Site, within one day, without bed, with physicians or medical Providers delivering service during Visit</li>
|
|
||||||
<li><a href="https://athena.ohdsi.org/search-terms/terms/581476">Home Visit</a>: Provider visiting Person, without a Care Site, within one day, delivering service</li>
|
|
||||||
<li><a href="https://athena.ohdsi.org/search-terms/terms/5083">Telehealth Visit</a>: Patient engages with Provider through communication media</li>
|
|
||||||
<li><a href="https://athena.ohdsi.org/search-terms/terms/581458">Pharmacy Visit</a>: Person visiting pharmacy for dispensing of Drug, at a Care Site, within one day</li>
|
|
||||||
<li><a href="https://athena.ohdsi.org/search-terms/terms/32036">Laboratory Visit</a>: Patient visiting dedicated institution, at a Care Site, within one day, for the purpose of a Measurement.</li>
|
|
||||||
<li><a href="https://athena.ohdsi.org/search-terms/terms/581478">Ambulance Visit</a>: Person using transportation service for the purpose of initiating one of the other Visits, without a Care Site, within one day, potentially with Providers accompanying the Visit and delivering service</li>
|
|
||||||
<li><a href="https://athena.ohdsi.org/search-terms/terms/38004193">Case Management Visit</a>: Person interacting with healthcare system, without a Care Site, within a day, with no Providers involved, for administrative purposes</li>
|
|
||||||
</ul>
|
|
||||||
<p>The Visit duration, or ‘length of stay’, is defined as VISIT_END_DATE - VISIT_START_DATE. For all Visits this is <1 day, except Inpatient Visits and Non-hospital institution Visits. The CDM also contains the VISIT_DETAIL table where additional information about the Visit is stored, for example, transfers between units during an inpatient Visit.</p>
|
|
||||||
<p><strong>ETL Conventions</strong></p>
|
|
||||||
<p>Visits can be derived easily if the source data contain coding systems for Place of Service or Procedures, like CPT codes for well visits. In those cases, the codes can be looked up and mapped to a Standard Visit Concept. Otherwise, Visit Concepts have to be identified in the ETL process. This table will contain concepts in the Visit domain. These concepts are arranged in a hierarchical structure to facilitate cohort definitions by rolling up to generally familiar Visits adopted in most healthcare systems worldwide. Visits can be adjacent to each other, i.e. the end date of one can be identical with the start date of the other. As a consequence, more than one-day Visits or their descendants can be recorded for the same day. Multi-day visits must not overlap, i.e. share days other than start and end days. It is often the case that some logic should be written for how to define visits and how to assign Visit_Concept_Id. For example, in US claims outpatient visits that appear to occur within the time period of an inpatient visit can be rolled into one with the same Visit_Occurrence_Id. In EHR data inpatient visits that are within one day of each other may be strung together to create one visit. It will all depend on the source data and how encounter records should be translated to visit occurrences. Providers can be associated with a Visit through the PROVIDER_ID field, or indirectly through PROCEDURE_OCCURRENCE records linked both to the VISIT and PROVIDER tables.</p>
|
|
||||||
</div>
|
|
||||||
<div id="visit_detail" class="section level3 tabset tabset-pills">
|
|
||||||
<h3 class="tabset tabset-pills">VISIT_DETAIL</h3>
|
|
||||||
<p><strong>Table Description</strong></p>
|
|
||||||
<p>The VISIT_DETAIL table is an optional table used to represents details of each record in the parent VISIT_OCCURRENCE table. A good example of this would be the movement between units in a hospital during an inpatient stay or claim lines associated with a one insurance claim. For every record in the VISIT_OCCURRENCE table there may be 0 or more records in the VISIT_DETAIL table with a 1:n relationship where n may be 0. The VISIT_DETAIL table is structurally very similar to VISIT_OCCURRENCE table and belongs to the visit domain.</p>
|
|
||||||
<p><strong>User Guide</strong></p>
|
|
||||||
<p>The configuration defining the Visit Detail is described by Concepts in the Visit Domain, which form a hierarchical structure. The Visit Detail record will have an associated to the Visit Occurrence record in two ways: <br> 1. The Visit Detail record will have the VISIT_OCCURRENCE_ID it is associated to 2. The VISIT_DETAIL_CONCEPT_ID will be a descendant of the VISIT_CONCEPT_ID for the Visit.</p>
|
|
||||||
<p><strong>ETL Conventions</strong></p>
|
|
||||||
<p>It is not mandatory that the VISIT_DETAIL table be filled in, but if you find that the logic to create VISIT_OCCURRENCE records includes the roll-up of multiple smaller records to create one picture of a Visit then it is a good idea to use VISIT_DETAIL. In EHR data, for example, a Person may be in the hospital but instead of one over-arching Visit their encounters are recorded as times they interacted with a health care provider. A Person in the hospital interacts with multiple providers multiple times a day so the encounters must be strung together using some heuristic (defined by the ETL) to identify the entire Visit. In this case the encounters would be considered Visit Details and the entire Visit would be the Visit Occurrence. In this example it is also possible to use the Vocabulary to distinguish Visit Details from a Visit Occurrence by setting the VISIT_CONCEPT_ID to <a href="https://athena.ohdsi.org/search-terms/terms/9201">9201</a> and the VISIT_DETAIL_CONCEPT_IDs either to 9201 or its children to indicate where the patient was in the hospital at the time of care.</p>
|
|
||||||
</div>
|
|
||||||
<div id="condition_occurrence" class="section level3 tabset tabset-pills">
|
|
||||||
<h3 class="tabset tabset-pills">CONDITION_OCCURRENCE</h3>
|
|
||||||
<p><strong>Table Description</strong></p>
|
|
||||||
<p>This table contains records of Events of a Person suggesting the presence of a disease or medical condition stated as a diagnosis, a sign, or a symptom, which is either observed by a Provider or reported by the patient.</p>
|
|
||||||
<p><strong>User Guide</strong></p>
|
|
||||||
<p>Conditions are defined by Concepts from the Condition domain, which form a complex hierarchy. As a result, the same Person with the same disease may have multiple Condition records, which belong to the same hierarchical family. Most Condition records are mapped from diagnostic codes, but recorded signs, symptoms and summary descriptions also contribute to this table. Rule out diagnoses should not be recorded in this table, but in reality their negating nature is not always captured in the source data, and other precautions must be taken when when identifying Persons who should suffer from the recorded Condition. Record all conditions as they exist in the source data. Any decisions about diagnosis/phenotype definitions would be done through cohort specifications. These cohorts can be housed in the <a href="https://ohdsi.github.io/CommonDataModel/cdm531.html#payer_plan_period">COHORT</a> table. Conditions span a time interval from start to end, but are typically recorded as single snapshot records with no end date. The reason is twofold: (i) At the time of the recording the duration is not known and later not recorded, and (ii) the Persons typically cease interacting with the healthcare system when they feel better, which leads to incomplete capture of resolved Conditions. The <a href="https://ohdsi.github.io/CommonDataModel/cdm531.html#condition_era">CONDITION_ERA</a> table addresses this issue. Family history and past diagnoses (‘history of’) are not recorded in this table. Instead, they are listed in the <a href="https://ohdsi.github.io/CommonDataModel/cdm531.html#observation">OBSERVATION</a> table. Codes written in the process of establishing the diagnosis, such as ‘question of’ of and ‘rule out’, should not represented here. Instead, they should be recorded in the <a href="https://ohdsi.github.io/CommonDataModel/cdm531.html#observation">OBSERVATION</a> table, if they are used for analyses. However, this information is not always available.</p>
|
|
||||||
<p><strong>ETL Conventions</strong></p>
|
|
||||||
<p>Source codes and source text fields mapped to Standard Concepts of the Condition Domain have to be recorded here.</p>
|
|
||||||
</div>
|
|
||||||
<div id="drug_exposure" class="section level3 tabset tabset-pills">
|
|
||||||
<h3 class="tabset tabset-pills">DRUG_EXPOSURE</h3>
|
|
||||||
<p><strong>Table Description</strong></p>
|
|
||||||
<p>This table captures records about the exposure to a Drug ingested or otherwise introduced into the body. A Drug is a biochemical substance formulated in such a way that when administered to a Person it will exert a certain biochemical effect on the metabolism. Drugs include prescription and over-the-counter medicines, vaccines, and large-molecule biologic therapies. Radiological devices ingested or applied locally do not count as Drugs.</p>
|
|
||||||
<p><strong>User Guide</strong></p>
|
|
||||||
<p>The purpose of records in this table is to indicate an exposure to a certain drug as best as possible. In this context a drug is defined as an active ingredient. Drug Exposures are defined by Concepts from the Drug domain, which form a complex hierarchy. As a result, one DRUG_SOURCE_CONCEPT_ID may map to multiple standard concept ids if it is a combination product. Records in this table represent prescriptions written, prescriptions dispensed, and drugs administered by a provider to name a few. The DRUG_TYPE_CONCEPT_ID can be used to find and filter on these types. This table includes additional information about the drug products, the quantity given, and route of administration.</p>
|
|
||||||
<p><strong>ETL Conventions</strong></p>
|
|
||||||
<p>Information about quantity and dose is provided in a variety of different ways and it is important for the ETL to provide as much information as possible from the data. Depending on the provenance of the data fields may be captured differently i.e. quantity for drugs administered may have a separate meaning from quantity for prescriptions dispensed. If a patient has multiple records on the same day for the same drug or procedures the ETL should not de-dupe them unless there is probable reason to believe the item is a true data duplicate. Take note on how to handle refills for prescriptions written.</p>
|
|
||||||
</div>
|
|
||||||
<div id="procedure_occurrence" class="section level3 tabset tabset-pills">
|
|
||||||
<h3 class="tabset tabset-pills">PROCEDURE_OCCURRENCE</h3>
|
|
||||||
<p><strong>Table Description</strong></p>
|
|
||||||
<p>This table contains records of activities or processes ordered by, or carried out by, a healthcare provider on the patient with a diagnostic or therapeutic purpose.</p>
|
|
||||||
<p><strong>User Guide</strong></p>
|
|
||||||
<p>Lab tests are not a procedure, if something is observed with an expected resulting amount and unit then it should be a measurement. Phlebotomy is a procedure but so trivial that it tends to be rarely captured. It can be assumed that there is a phlebotomy procedure associated with many lab tests, therefore it is unnecessary to add them as separate procedures. If the user finds the same procedure over concurrent days, it is assumed those records are part of a procedure lasting more than a day. This logic is in lieu of the procedure_end_date, which will be added in a future version of the CDM.</p>
|
|
||||||
<p><strong>ETL Conventions</strong></p>
|
|
||||||
<p>If a procedure lasts more than a day, then it should be recorded as a separate record for each day the procedure occurred, this logic is in lieu of the PROCEDURE_END_DATE, which will be added in a future version of the CDM. When dealing with duplicate records, the ETL must determine whether to sum them up into one record or keep them separate. Things to consider are: - Same Procedure - Same PROCEDURE_DATETIME - Same Visit Occurrence or Visit Detail - Same Provider - Same Modifier for Procedures. Source codes and source text fields mapped to Standard Concepts of the Procedure Domain have to be recorded here.</p>
|
|
||||||
</div>
|
|
||||||
<div id="device_exposure" class="section level3 tabset tabset-pills">
|
|
||||||
<h3 class="tabset tabset-pills">DEVICE_EXPOSURE</h3>
|
|
||||||
<p><strong>Table Description</strong></p>
|
|
||||||
<p>The Device domain captures information about a person’s exposure to a foreign physical object or instrument which is used for diagnostic or therapeutic purposes through a mechanism beyond chemical action. Devices include implantable objects (e.g. pacemakers, stents, artificial joints), medical equipment and supplies (e.g. bandages, crutches, syringes), other instruments used in medical procedures (e.g. sutures, defibrillators) and material used in clinical care (e.g. adhesives, body material, dental material, surgical material).</p>
|
|
||||||
<p><strong>User Guide</strong></p>
|
|
||||||
<p>The distinction between Devices or supplies and Procedures are sometimes blurry, but the former are physical objects while the latter are actions, often to apply a Device or supply.</p>
|
|
||||||
<p><strong>ETL Conventions</strong></p>
|
|
||||||
<p>Source codes and source text fields mapped to Standard Concepts of the Device Domain have to be recorded here.</p>
|
|
||||||
</div>
|
|
||||||
<div id="measurement" class="section level3 tabset tabset-pills">
|
|
||||||
<h3 class="tabset tabset-pills">MEASUREMENT</h3>
|
|
||||||
<p><strong>Table Description</strong></p>
|
|
||||||
<p>The MEASUREMENT table contains records of Measurements, i.e. structured values (numerical or categorical) obtained through systematic and standardized examination or testing of a Person or Person’s sample. The MEASUREMENT table contains both orders and results of such Measurements as laboratory tests, vital signs, quantitative findings from pathology reports, etc. Measurements are stored as attribute value pairs, with the attribute as the Measurement Concept and the value representing the result. The value can be a Concept (stored in VALUE_AS_CONCEPT), or a numerical value (VALUE_AS_NUMBER) with a Unit (UNIT_CONCEPT_ID). The Procedure for obtaining the sample is housed in the PROCEDURE_OCCURRENCE table, though it is unnecessary to create a PROCEDURE_OCCURRENCE record for each measurement if one does not exist in the source data. Measurements differ from Observations in that they require a standardized test or some other activity to generate a quantitative or qualitative result. If there is no result, it is assumed that the lab test was conducted but the result was not captured.</p>
|
|
||||||
<p><strong>User Guide</strong></p>
|
|
||||||
<p>Measurements are predominately lab tests with a few exceptions, like blood pressure or function tests. Results are given in the form of a value and unit combination. When investigating measurements, look for operator_concept_ids (<, >, etc.).</p>
|
|
||||||
<p><strong>ETL Conventions</strong></p>
|
|
||||||
<p>Only records where the source value maps to a Concept in the measurement domain should be included in this table. Even though each Measurement always has a result, the fields VALUE_AS_NUMBER and VALUE_AS_CONCEPT_ID are not mandatory as often the result is not given in the source data. When the result is not known, the Measurement record represents just the fact that the corresponding Measurement was carried out, which in itself is already useful information for some use cases. For some Measurement Concepts, the result is included in the test. For example, ICD10 CONCEPT_ID <a href="https://athena.ohdsi.org/search-terms/terms/45548980">45548980</a> ‘Abnormal level of unspecified serum enzyme’ indicates a Measurement and the result (abnormal). In those situations, the CONCEPT_RELATIONSHIP table in addition to the ‘Maps to’ record contains a second record with the relationship_id set to ‘Maps to value’. In this example, the ‘Maps to’ relationship directs to <a href="https://athena.ohdsi.org/search-terms/terms/4046263">4046263</a> ‘Enzyme measurement’ as well as a ‘Maps to value’ record to <a href="https://athena.ohdsi.org/search-terms/terms/4135493">4135493</a> ‘Abnormal’.</p>
|
|
||||||
</div>
|
|
||||||
<div id="observation" class="section level3 tabset tabset-pills">
|
|
||||||
<h3 class="tabset tabset-pills">OBSERVATION</h3>
|
|
||||||
<p><strong>Table Description</strong></p>
|
|
||||||
<p>The OBSERVATION table captures clinical facts about a Person obtained in the context of examination, questioning or a procedure. Any data that cannot be represented by any other domains, such as social and lifestyle facts, medical history, family history, etc. are recorded here. <strong>New to CDM v6.0</strong> An Observation can now be linked to other records in the CDM instance using the fields OBSERVATION_EVENT_ID and OBS_EVENT_FIELD_CONCEPT_ID. To link another record to an Observation, the primary key goes in OBSERVATION_EVENT_ID (CONDITION_OCCURRENCE_ID, DRUG_EXPOSURE_ID, etc.) and the Concept representing the field where the OBSERVATION_EVENT_ID was taken from go in the OBS_EVENT_FIELD_CONCEPT_ID. For example, a CONDITION_OCCURRENCE of Asthma might be linked to an Observation of a family history of Asthma. In this case the CONDITION_OCCURRENCE_ID of the Asthma record would go in OBSERVATION_EVENT_ID of the family history record and the CONCEPT_ID <a href="https://athena.ohdsi.org/search-terms/terms/1147127">1147127</a> would go in OBS_EVENT_FIELD_CONCEPT_ID to denote that the OBSERVATION_EVENT_ID represents a CONDITION_OCCURRENCE_ID.</p>
|
|
||||||
<p><strong>User Guide</strong></p>
|
|
||||||
<p>Observations differ from Measurements in that they do not require a standardized test or some other activity to generate clinical fact. Typical observations are medical history, family history, the stated need for certain treatment, social circumstances, lifestyle choices, healthcare utilization patterns, etc. If the generation clinical facts requires a standardized testing such as lab testing or imaging and leads to a standardized result, the data item is recorded in the MEASUREMENT table. If the clinical fact observed determines a sign, symptom, diagnosis of a disease or other medical condition, it is recorded in the CONDITION_OCCURRENCE table. Valid Observation Concepts are not enforced to be from any domain though they still should be Standard Concepts.</p>
|
|
||||||
<p><strong>ETL Conventions</strong></p>
|
|
||||||
<p>Records whose Source Values map to any domain besides Condition, Procedure, Drug, Measurement or Device should be stored in the Observation table. Observations can be stored as attribute value pairs, with the attribute as the Observation Concept and the value representing the clinical fact. This fact can be a Concept (stored in VALUE_AS_CONCEPT), a numerical value (VALUE_AS_NUMBER), a verbatim string (VALUE_AS_STRING), or a datetime (VALUE_AS_DATETIME). Even though Observations do not have an explicit result, the clinical fact can be stated separately from the type of Observation in the VALUE_AS_* fields. It is recommended for Observations that are suggestive statements of positive assertion should have a value of ‘Yes’ (concept_id=4188539), recorded, even though the null value is the equivalent.</p>
|
|
||||||
</div>
|
|
||||||
<div id="note" class="section level3 tabset tabset-pills">
|
|
||||||
<h3 class="tabset tabset-pills">NOTE</h3>
|
|
||||||
<p><strong>Table Description</strong></p>
|
|
||||||
<p>The NOTE table captures unstructured information that was recorded by a provider about a patient in free text (in ASCII, or preferably in UTF8 format) notes on a given date. The type of note_text is CLOB or varchar(MAX) depending on RDBMS.</p>
|
|
||||||
<p><strong>ETL Conventions</strong></p>
|
|
||||||
<p>HL7/LOINC CDO is a standard for consistent naming of documents to support a range of use cases: retrieval, organization, display, and exchange. It guides the creation of LOINC codes for clinical notes. CDO annotates each document with 5 dimensions:</p>
|
|
||||||
<ul>
|
|
||||||
<li><strong>Kind of Document</strong>: Characterizes the general structure of the document at a macro level (e.g. Anesthesia Consent)</li>
|
|
||||||
<li><strong>Type of Service</strong>: Characterizes the kind of service or activity (e.g. evaluations, consultations, and summaries). The notion of time sequence, e.g., at the beginning (admission) at the end (discharge) is subsumed in this axis. Example: Discharge Teaching.</li>
|
|
||||||
<li><strong>Setting</strong>: Setting is an extension of CMS’s definitions (e.g. Inpatient, Outpatient)</li>
|
|
||||||
<li><strong>Subject Matter Domain (SMD)</strong>: Characterizes the subject matter domain of a note (e.g. Anesthesiology)</li>
|
|
||||||
<li><strong>Role</strong>: Characterizes the training or professional level of the author of the document, but does not break down to specialty or subspecialty (e.g. Physician) Each combination of these 5 dimensions rolls up to a unique LOINC code.</li>
|
|
||||||
</ul>
|
|
||||||
<p>According to CDO requirements, only 2 of the 5 dimensions are required to properly annotate a document; Kind of Document and any one of the other 4 dimensions. However, not all the permutations of the CDO dimensions will necessarily yield an existing LOINC code. Each of these dimensions are contained in the OMOP Vocabulary under the domain of ‘Meas Value’ with each dimension represented as a Concept Class.</p>
|
|
||||||
</div>
|
|
||||||
<div id="note_nlp" class="section level3 tabset tabset-pills">
|
|
||||||
<h3 class="tabset tabset-pills">NOTE_NLP</h3>
|
|
||||||
<p><strong>Table Description</strong></p>
|
|
||||||
<p>The NOTE_NLP table encodes all output of NLP on clinical notes. Each row represents a single extracted term from a note.</p>
|
|
||||||
</div>
|
|
||||||
<div id="specimen" class="section level3 tabset tabset-pills">
|
|
||||||
<h3 class="tabset tabset-pills">SPECIMEN</h3>
|
|
||||||
<p><strong>Table Description</strong></p>
|
|
||||||
<p>The specimen domain contains the records identifying biological samples from a person.</p>
|
|
||||||
<p><strong>ETL Conventions</strong></p>
|
|
||||||
<p>Anatomic site is coded at the most specific level of granularity possible, such that higher level classifications can be derived using the Standardized Vocabularies.</p>
|
|
||||||
</div>
|
|
||||||
<div id="fact_relationship" class="section level3 tabset tabset-pills">
|
|
||||||
<h3 class="tabset tabset-pills">FACT_RELATIONSHIP</h3>
|
|
||||||
<p><strong>Table Description</strong></p>
|
|
||||||
<p>The FACT_RELATIONSHIP table contains records about the relationships between facts stored as records in any table of the CDM. Relationships can be defined between facts from the same domain, or different domains. Examples of Fact Relationships include: <a href="https://athena.ohdsi.org/search-terms/terms?domain=Relationship&standardConcept=Standard&page=2&pageSize=15&query=">Person relationships</a> (parent-child), care site relationships (hierarchical organizational structure of facilities within a health system), indication relationship (between drug exposures and associated conditions), usage relationships (of devices during the course of an associated procedure), or facts derived from one another (measurements derived from an associated specimen).</p>
|
|
||||||
<p><strong>ETL Conventions</strong></p>
|
|
||||||
<p>All relationships are directional, and each relationship is represented twice symmetrically within the FACT_RELATIONSHIP table. For example, two persons if person_id = 1 is the mother of person_id = 2 two records are in the FACT_RELATIONSHIP table (all strings in fact concept_id records in the Concept table: - Person, 1, Person, 2, parent of - Person, 2, Person, 1, child of</p>
|
|
||||||
</div>
|
|
||||||
<div id="survey_conduct" class="section level3 tabset tabset-pills">
|
|
||||||
<h3 class="tabset tabset-pills">SURVEY_CONDUCT</h3>
|
|
||||||
<p><strong>Table Description</strong></p>
|
|
||||||
<p>The SURVEY_CONDUCT table is used to store an instance of a completed survey or questionnaire.</p>
|
|
||||||
<p><strong>User Guide</strong></p>
|
|
||||||
<p>This table captures details of the individual questionnaire such as who completed it, when it was completed and to which patient treatment or visit it relates to (if any).</p>
|
|
||||||
<p><strong>ETL Conventions</strong></p>
|
|
||||||
<p>Each SURVEY has a SURVEY_CONCEPT_ID, a concept in the CONCEPT table identifying the questionnaire e.g. EQ5D, VR12, SF12. Each questionnaire should exist in the CONCEPT table. Each SURVEY can be optionally related to a specific Visit in order to link it both to the Visit during which it was completed and any subsequent Visit where treatment was assigned based on the patient’s responses.</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div id="health-system-data-tables" class="section level2">
|
|
||||||
<h2><strong>Health System Data Tables</strong></h2>
|
|
||||||
<div id="location" class="section level3 tabset tabset-pills">
|
|
||||||
<h3 class="tabset tabset-pills">LOCATION</h3>
|
|
||||||
<p><strong>Table Description</strong></p>
|
|
||||||
<p>The LOCATION table represents a generic way to capture physical location or address information of Persons and Care Sites. <strong>New to CDM v6.0</strong> The LOCATION table now includes latitude and longitude.</p>
|
|
||||||
<p><strong>ETL Conventions</strong></p>
|
|
||||||
<p>Each address or Location is unique and is present only once in the table. Locations do not contain names, such as the name of a hospital. In order to construct a full address that can be used in the postal service, the address information from the Location needs to be combined with information from the Care Site. For standardized geospatial visualization and analysis, addresses need to be, at the minimum be geocoded into latitude and longitude.</p>
|
|
||||||
</div>
|
|
||||||
<div id="location_history" class="section level3 tabset tabset-pills">
|
|
||||||
<h3 class="tabset tabset-pills">LOCATION_HISTORY</h3>
|
|
||||||
<p><strong>Table Description</strong></p>
|
|
||||||
<p>The LOCATION HISTORY table stores relationships between Persons or Care Sites and geographic locations over time. <strong>This table is new to CDM v6.0</strong></p>
|
|
||||||
</div>
|
|
||||||
<div id="care_site" class="section level3 tabset tabset-pills">
|
|
||||||
<h3 class="tabset tabset-pills">CARE_SITE</h3>
|
|
||||||
<p><strong>Table Description</strong></p>
|
|
||||||
<p>The CARE_SITE table contains a list of uniquely identified institutional (physical or organizational) units where healthcare delivery is practiced (offices, wards, hospitals, clinics, etc.).</p>
|
|
||||||
<p><strong>ETL Conventions</strong></p>
|
|
||||||
<p>Care site is a unique combination of location_id and place_of_service_source_value. Care site does not take into account the provider (human) information such a specialty. Many source data do not make a distinction between individual and institutional providers. The CARE_SITE table contains the institutional providers. If the source, instead of uniquely identifying individual Care Sites, only provides limited information such as Place of Service, generic or “pooled” Care Site records are listed in the CARE_SITE table. There can be hierarchical and business relationships between Care Sites. For example, wards can belong to clinics or departments, which can in turn belong to hospitals, which in turn can belong to hospital systems, which in turn can belong to HMOs.The relationships between Care Sites are defined in the FACT_RELATIONSHIP table.</p>
|
|
||||||
</div>
|
|
||||||
<div id="provider" class="section level3 tabset tabset-pills">
|
|
||||||
<h3 class="tabset tabset-pills">PROVIDER</h3>
|
|
||||||
<p><strong>Table Description</strong></p>
|
|
||||||
<p>The PROVIDER table contains a list of uniquely identified healthcare providers. These are individuals providing hands-on healthcare to patients, such as physicians, nurses, midwives, physical therapists etc.</p>
|
|
||||||
<p><strong>User Guide</strong></p>
|
|
||||||
<p>Many sources do not make a distinction between individual and institutional providers. The PROVIDER table contains the individual providers. If the source, instead of uniquely identifying individual providers, only provides limited information such as specialty, generic or ‘pooled’ Provider records are listed in the PROVIDER table.</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div id="health-economics-data-tables" class="section level2">
|
|
||||||
<h2><strong>Health Economics Data Tables</strong></h2>
|
|
||||||
<div id="payer_plan_period" class="section level3 tabset tabset-pills">
|
|
||||||
<h3 class="tabset tabset-pills">PAYER_PLAN_PERIOD</h3>
|
|
||||||
<p><strong>Table Description</strong></p>
|
|
||||||
<p>The PAYER_PLAN_PERIOD table captures details of the period of time that a Person is continuously enrolled under a specific health Plan benefit structure from a given Payer. Each Person receiving healthcare is typically covered by a health benefit plan, which pays for (fully or partially), or directly provides, the care. These benefit plans are provided by payers, such as health insurances or state or government agencies. In each plan the details of the health benefits are defined for the Person or her family, and the health benefit Plan might change over time typically with increasing utilization (reaching certain cost thresholds such as deductibles), plan availability and purchasing choices of the Person. The unique combinations of Payer organizations, health benefit Plans and time periods in which they are valid for a Person are recorded in this table.</p>
|
|
||||||
<p><strong>User Guide</strong></p>
|
|
||||||
<p>A Person can have multiple, overlapping, Payer_Plan_Periods in this table. For example, medical and drug coverage in the US can be represented by two Payer_Plan_Periods. The details of the benefit structure of the Plan is rarely known, the idea is just to identify that the Plans are different.</p>
|
|
||||||
</div>
|
|
||||||
<div id="cost" class="section level3 tabset tabset-pills">
|
|
||||||
<h3 class="tabset tabset-pills">COST</h3>
|
|
||||||
<p><strong>Table Description</strong></p>
|
|
||||||
<p>The COST table captures records containing the cost of any medical event recorded in one of the OMOP clinical event tables such as DRUG_EXPOSURE, PROCEDURE_OCCURRENCE, VISIT_OCCURRENCE, VISIT_DETAIL, DEVICE_OCCURRENCE, OBSERVATION or MEASUREMENT.</p>
|
|
||||||
<p>Each record in the cost table account for the amount of money transacted for the clinical event. So, the COST table may be used to represent both receivables (charges) and payments (paid), each transaction type represented by its COST_CONCEPT_ID. The COST_TYPE_CONCEPT_ID field will use concepts in the Standardized Vocabularies to designate the source (provenance) of the cost data. A reference to the health plan information in the PAYER_PLAN_PERIOD table is stored in the record for information used for the adjudication system to determine the persons benefit for the clinical event.</p>
|
|
||||||
<p><strong>User Guide</strong></p>
|
|
||||||
<p>When dealing with summary costs, the cost of the goods or services the provider provides is often not known directly, but derived from the hospital charges multiplied by an average cost-to-charge ratio.</p>
|
|
||||||
<p><strong>ETL Conventions</strong></p>
|
|
||||||
<p>One cost record is generated for each response by a payer. In a claims databases, the payment and payment terms reported by the payer for the goods or services billed will generate one cost record. If the source data has payment information for more than one payer (i.e. primary insurance and secondary insurance payment for one entity), then a cost record is created for each reporting payer. Therefore, it is possible for one procedure to have multiple cost records for each payer, but typically it contains one or no record per entity. Payer reimbursement cost records will be identified by using the PAYER_PLAN_ID field. Drug costs are composed of ingredient cost (the amount charged by the wholesale distributor or manufacturer), the dispensing fee (the amount charged by the pharmacy and the sales tax).</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div id="standardized-derived-elements" class="section level2">
|
|
||||||
<h2><strong>Standardized Derived Elements</strong></h2>
|
|
||||||
<div id="drug_era" class="section level3 tabset tabset-pills">
|
|
||||||
<h3 class="tabset tabset-pills">DRUG_ERA</h3>
|
|
||||||
<p><strong>Table Description</strong></p>
|
|
||||||
<p>A Drug Era is defined as a span of time when the Person is assumed to be exposed to a particular active ingredient. A Drug Era is not the same as a Drug Exposure: Exposures are individual records corresponding to the source when Drug was delivered to the Person, while successive periods of Drug Exposures are combined under certain rules to produce continuous Drug Eras.</p>
|
|
||||||
<p><strong>ETL Conventions</strong></p>
|
|
||||||
<p>The SQL script for generating DRUG_ERA records can be found <a href="https://ohdsi.github.io/CommonDataModel/sqlScripts.html#drug_eras">here</a>.</p>
|
|
||||||
</div>
|
|
||||||
<div id="dose_era" class="section level3 tabset tabset-pills">
|
|
||||||
<h3 class="tabset tabset-pills">DOSE_ERA</h3>
|
|
||||||
<p><strong>Table Description</strong></p>
|
|
||||||
<p>A Dose Era is defined as a span of time when the Person is assumed to be exposed to a constant dose of a specific active ingredient.</p>
|
|
||||||
<p><strong>ETL Conventions</strong></p>
|
|
||||||
<p>Dose Eras will be derived from records in the DRUG_EXPOSURE table and the Dose information from the DRUG_STRENGTH table using a standardized algorithm. Dose Form information is not taken into account. So, if the patient changes between different formulations, or different manufacturers with the same formulation, the Dose Era is still spanning the entire time of exposure to the Ingredient.</p>
|
|
||||||
</div>
|
|
||||||
<div id="condition_era" class="section level3 tabset tabset-pills">
|
|
||||||
<h3 class="tabset tabset-pills">CONDITION_ERA</h3>
|
|
||||||
<p><strong>Table Description</strong></p>
|
|
||||||
<p>A Condition Era is defined as a span of time when the Person is assumed to have a given condition. Similar to Drug Eras, Condition Eras are chronological periods of Condition Occurrence. Combining individual Condition Occurrences into a single Condition Era serves two purposes:</p>
|
|
||||||
<ul>
|
|
||||||
<li>It allows aggregation of chronic conditions that require frequent ongoing care, instead of treating each Condition Occurrence as an independent event.</li>
|
|
||||||
<li>It allows aggregation of multiple, closely timed doctor visits for the same Condition to avoid double-counting the Condition Occurrences. For example, consider a Person who visits her Primary Care Physician (PCP) and who is referred to a specialist. At a later time, the Person visits the specialist, who confirms the PCP’s original diagnosis and provides the appropriate treatment to resolve the condition. These two independent doctor visits should be aggregated into one Condition Era.</li>
|
|
||||||
</ul>
|
|
||||||
<p><strong>ETL Conventions</strong></p>
|
|
||||||
<p>Each Condition Era corresponds to one or many Condition Occurrence records that form a continuous interval. The condition_concept_id field contains Concepts that are identical to those of the CONDITION_OCCURRENCE table records that make up the Condition Era. In contrast to Drug Eras, Condition Eras are not aggregated to contain Conditions of different hierarchical layers. The SQl Script for generating CONDITION_ERA records can be found <a href="https://ohdsi.github.io/CommonDataModel/sqlScripts.html#condition_eras">here</a> The Condition Era Start Date is the start date of the first Condition Occurrence. The Condition Era End Date is the end date of the last Condition Occurrence. Condition Eras are built with a Persistence Window of 30 days, meaning, if no occurrence of the same condition_concept_id happens within 30 days of any one occurrence, it will be considered the condition_era_end_date.</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div id="metadata-tables" class="section level2">
|
|
||||||
<h2><strong>Metadata Tables</strong></h2>
|
|
||||||
<div id="metadata" class="section level3 tabset tabset-pills">
|
|
||||||
<h3 class="tabset tabset-pills">METADATA</h3>
|
|
||||||
<p><strong>Table Description</strong></p>
|
|
||||||
<p>The METADATA table contains metadata information about a dataset that has been transformed to the OMOP Common Data Model.</p>
|
|
||||||
</div>
|
|
||||||
<div id="cdm_source" class="section level3 tabset tabset-pills">
|
|
||||||
<h3 class="tabset tabset-pills">CDM_SOURCE</h3>
|
|
||||||
<p><strong>Table Description</strong></p>
|
|
||||||
<p>The CDM_SOURCE table contains detail about the source database and the process used to transform the data into the OMOP Common Data Model.</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div id="vocabulary-tables" class="section level2">
|
|
||||||
<h2><strong>Vocabulary Tables</strong></h2>
|
|
||||||
<div id="concept" class="section level3 tabset tabset-pills">
|
|
||||||
<h3 class="tabset tabset-pills">CONCEPT</h3>
|
|
||||||
<p><strong>Table Description</strong></p>
|
|
||||||
<p>The Standardized Vocabularies contains records, or Concepts, that uniquely identify each fundamental unit of meaning used to express clinical information in all domain tables of the CDM. Concepts are derived from vocabularies, which represent clinical information across a domain (e.g. conditions, drugs, procedures) through the use of codes and associated descriptions. Some Concepts are designated Standard Concepts, meaning these Concepts can be used as normative expressions of a clinical entity within the OMOP Common Data Model and within standardized analytics. Each Standard Concept belongs to one domain, which defines the location where the Concept would be expected to occur within data tables of the CDM.</p>
|
|
||||||
<p>Concepts can represent broad categories (like ‘Cardiovascular disease’), detailed clinical elements (‘Myocardial infarction of the anterolateral wall’) or modifying characteristics and attributes that define Concepts at various levels of detail (severity of a disease, associated morphology, etc.).</p>
|
|
||||||
<p>Records in the Standardized Vocabularies tables are derived from national or international vocabularies such as SNOMED-CT, RxNorm, and LOINC, or custom Concepts defined to cover various aspects of observational data analysis.</p>
|
|
||||||
</div>
|
|
||||||
<div id="vocabulary" class="section level3 tabset tabset-pills">
|
|
||||||
<h3 class="tabset tabset-pills">VOCABULARY</h3>
|
|
||||||
<p><strong>Table Description</strong></p>
|
|
||||||
<p>The VOCABULARY table includes a list of the Vocabularies collected from various sources or created de novo by the OMOP community. This reference table is populated with a single record for each Vocabulary source and includes a descriptive name and other associated attributes for the Vocabulary.</p>
|
|
||||||
</div>
|
|
||||||
<div id="domain" class="section level3 tabset tabset-pills">
|
|
||||||
<h3 class="tabset tabset-pills">DOMAIN</h3>
|
|
||||||
<p><strong>Table Description</strong></p>
|
|
||||||
<p>The DOMAIN table includes a list of OMOP-defined Domains the Concepts of the Standardized Vocabularies can belong to. A Domain defines the set of allowable Concepts for the standardized fields in the CDM tables. For example, the “Condition” Domain contains Concepts that describe a condition of a patient, and these Concepts can only be stored in the condition_concept_id field of the CONDITION_OCCURRENCE and CONDITION_ERA tables. This reference table is populated with a single record for each Domain and includes a descriptive name for the Domain.</p>
|
|
||||||
</div>
|
|
||||||
<div id="concept_class" class="section level3 tabset tabset-pills">
|
|
||||||
<h3 class="tabset tabset-pills">CONCEPT_CLASS</h3>
|
|
||||||
<p><strong>Table Description</strong></p>
|
|
||||||
<p>The CONCEPT_CLASS table is a reference table, which includes a list of the classifications used to differentiate Concepts within a given Vocabulary. This reference table is populated with a single record for each Concept Class.</p>
|
|
||||||
</div>
|
|
||||||
<div id="concept_relationship" class="section level3 tabset tabset-pills">
|
|
||||||
<h3 class="tabset tabset-pills">CONCEPT_RELATIONSHIP</h3>
|
|
||||||
<p><strong>Table Description</strong></p>
|
|
||||||
<p>The CONCEPT_RELATIONSHIP table contains records that define direct relationships between any two Concepts and the nature or type of the relationship. Each type of a relationship is defined in the RELATIONSHIP table.</p>
|
|
||||||
</div>
|
|
||||||
<div id="relationship" class="section level3 tabset tabset-pills">
|
|
||||||
<h3 class="tabset tabset-pills">RELATIONSHIP</h3>
|
|
||||||
<p><strong>Table Description</strong></p>
|
|
||||||
<p>The RELATIONSHIP table provides a reference list of all types of relationships that can be used to associate any two concepts in the CONCEPT_RELATIONSHP table.</p>
|
|
||||||
</div>
|
|
||||||
<div id="concept_synonym" class="section level3 tabset tabset-pills">
|
|
||||||
<h3 class="tabset tabset-pills">CONCEPT_SYNONYM</h3>
|
|
||||||
<p><strong>Table Description</strong></p>
|
|
||||||
<p>The CONCEPT_SYNONYM table is used to store alternate names and descriptions for Concepts.</p>
|
|
||||||
</div>
|
|
||||||
<div id="concept_ancestor" class="section level3 tabset tabset-pills">
|
|
||||||
<h3 class="tabset tabset-pills">CONCEPT_ANCESTOR</h3>
|
|
||||||
<p><strong>Table Description</strong></p>
|
|
||||||
<p>The CONCEPT_ANCESTOR table is designed to simplify observational analysis by providing the complete hierarchical relationships between Concepts. Only direct parent-child relationships between Concepts are stored in the CONCEPT_RELATIONSHIP table. To determine higher level ancestry connections, all individual direct relationships would have to be navigated at analysis time. The CONCEPT_ANCESTOR table includes records for all parent-child relationships, as well as grandparent-grandchild relationships and those of any other level of lineage. Using the CONCEPT_ANCESTOR table allows for querying for all descendants of a hierarchical concept. For example, drug ingredients and drug products are all descendants of a drug class ancestor.</p>
|
|
||||||
<p>This table is entirely derived from the CONCEPT, CONCEPT_RELATIONSHIP and RELATIONSHIP tables.</p>
|
|
||||||
</div>
|
|
||||||
<div id="source_to_concept_map" 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>
|
|
||||||
</div>
|
|
||||||
<div id="drug_strength" class="section level3 tabset tabset-pills">
|
|
||||||
<h3 class="tabset tabset-pills">DRUG_STRENGTH</h3>
|
|
||||||
<p><strong>Table Description</strong></p>
|
|
||||||
<p>The DRUG_STRENGTH table contains structured content about the amount or concentration and associated units of a specific ingredient contained within a particular drug product. This table is supplemental information to support standardized analysis of drug utilization.</p>
|
|
||||||
</div>
|
|
||||||
<div id="cohort" class="section level3 tabset tabset-pills">
|
|
||||||
<h3 class="tabset tabset-pills">COHORT</h3>
|
|
||||||
<p><strong>Table Description</strong></p>
|
|
||||||
<p>The COHORT table contains records of subjects that satisfy a given set of criteria for a duration of time. The definition of the cohort is contained within the COHORT_DEFINITION table. It is listed as part of the RESULTS schema because it is a table that users of the database as well as tools such as ATLAS need to be able to write to. The CDM and Vocabulary tables are all read-only so it is suggested that the COHORT and COHORT_DEFINTION tables are kept in a separate schema to alleviate confusion.</p>
|
|
||||||
<p><strong>ETL Conventions</strong></p>
|
|
||||||
<p>Cohorts typically include patients diagnosed with a specific condition, patients exposed to a particular drug, but can also be Providers who have performed a specific Procedure. Cohort records must have a Start Date and an End Date, but the End Date may be set to Start Date or could have an applied censor date using the Observation Period Start Date. Cohort records must contain a Subject Id, which can refer to the Person, Provider, Visit record or Care Site though they are most often Person Ids. The Cohort Definition will define the type of subject through the subject concept id. A subject can belong (or not belong) to a cohort at any moment in time. A subject can only have one record in the cohort table for any moment of time, i.e. it is not possible for a person to contain multiple records indicating cohort membership that are overlapping in time</p>
|
|
||||||
</div>
|
|
||||||
<div id="cohort_definition" class="section level3 tabset tabset-pills">
|
|
||||||
<h3 class="tabset tabset-pills">COHORT_DEFINITION</h3>
|
|
||||||
<p><strong>Table Description</strong></p>
|
|
||||||
<p>The COHORT_DEFINITION table contains records defining a Cohort derived from the data through the associated description and syntax and upon instantiation (execution of the algorithm) placed into the COHORT table. Cohorts are a set of subjects that satisfy a given combination of inclusion criteria for a duration of time. The COHORT_DEFINITION table provides a standardized structure for maintaining the rules governing the inclusion of a subject into a cohort, and can store operational programming code to instantiate the cohort within the OMOP Common Data Model.</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
|
|
||||||
// add bootstrap table styles to pandoc tables
|
|
||||||
function bootstrapStylePandocTables() {
|
|
||||||
$('tr.odd').parent('tbody').parent('table').addClass('table table-condensed');
|
|
||||||
}
|
|
||||||
$(document).ready(function () {
|
|
||||||
bootstrapStylePandocTables();
|
|
||||||
});
|
|
||||||
|
|
||||||
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<!-- tabsets -->
|
|
||||||
|
|
||||||
<script>
|
|
||||||
$(document).ready(function () {
|
|
||||||
window.buildTabsets("TOC");
|
|
||||||
});
|
|
||||||
|
|
||||||
$(document).ready(function () {
|
|
||||||
$('.tabset-dropdown > .nav-tabs > li').click(function () {
|
|
||||||
$(this).parent().toggleClass('nav-tabs-open');
|
|
||||||
});
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<!-- code folding -->
|
|
||||||
|
|
||||||
<script>
|
|
||||||
$(document).ready(function () {
|
|
||||||
|
|
||||||
// temporarily add toc-ignore selector to headers for the consistency with Pandoc
|
|
||||||
$('.unlisted.unnumbered').addClass('toc-ignore')
|
|
||||||
|
|
||||||
// move toc-ignore selectors from section div to header
|
|
||||||
$('div.section.toc-ignore')
|
|
||||||
.removeClass('toc-ignore')
|
|
||||||
.children('h1,h2,h3,h4,h5').addClass('toc-ignore');
|
|
||||||
|
|
||||||
// establish options
|
|
||||||
var options = {
|
|
||||||
selectors: "h1,h2,h3,h4,h5",
|
|
||||||
theme: "bootstrap3",
|
|
||||||
context: '.toc-content',
|
|
||||||
hashGenerator: function (text) {
|
|
||||||
return text.replace(/[.\\/?&!#<>]/g, '').replace(/\s/g, '_');
|
|
||||||
},
|
|
||||||
ignoreSelector: ".toc-ignore",
|
|
||||||
scrollTo: 0
|
|
||||||
};
|
|
||||||
options.showAndHide = true;
|
|
||||||
options.smoothScroll = true;
|
|
||||||
|
|
||||||
// tocify
|
|
||||||
var toc = $("#TOC").tocify(options).data("toc-tocify");
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<!-- dynamically load mathjax for compatibility with self-contained -->
|
|
||||||
<script>
|
|
||||||
(function () {
|
|
||||||
var script = document.createElement("script");
|
|
||||||
script.type = "text/javascript";
|
|
||||||
script.src = "https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML";
|
|
||||||
document.getElementsByTagName("head")[0].appendChild(script);
|
|
||||||
})();
|
|
||||||
</script>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
</html>
|
|
|
@ -1,681 +0,0 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
|
|
||||||
<html>
|
|
||||||
|
|
||||||
<head>
|
|
||||||
|
|
||||||
<meta charset="utf-8" />
|
|
||||||
<meta name="generator" content="pandoc" />
|
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=EDGE" />
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<title>Preserving Privacy in an OMOP CDM Implementation</title>
|
|
||||||
|
|
||||||
<script src="site_libs/header-attrs-2.13/header-attrs.js"></script>
|
|
||||||
<script src="site_libs/jquery-3.6.0/jquery-3.6.0.min.js"></script>
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
||||||
<link href="site_libs/bootstrap-3.3.5/css/cosmo.min.css" rel="stylesheet" />
|
|
||||||
<script src="site_libs/bootstrap-3.3.5/js/bootstrap.min.js"></script>
|
|
||||||
<script src="site_libs/bootstrap-3.3.5/shim/html5shiv.min.js"></script>
|
|
||||||
<script src="site_libs/bootstrap-3.3.5/shim/respond.min.js"></script>
|
|
||||||
<style>h1 {font-size: 34px;}
|
|
||||||
h1.title {font-size: 38px;}
|
|
||||||
h2 {font-size: 30px;}
|
|
||||||
h3 {font-size: 24px;}
|
|
||||||
h4 {font-size: 18px;}
|
|
||||||
h5 {font-size: 16px;}
|
|
||||||
h6 {font-size: 12px;}
|
|
||||||
code {color: inherit; background-color: rgba(0, 0, 0, 0.04);}
|
|
||||||
pre:not([class]) { background-color: white }</style>
|
|
||||||
<script src="site_libs/jqueryui-1.11.4/jquery-ui.min.js"></script>
|
|
||||||
<link href="site_libs/tocify-1.9.1/jquery.tocify.css" rel="stylesheet" />
|
|
||||||
<script src="site_libs/tocify-1.9.1/jquery.tocify.js"></script>
|
|
||||||
<script src="site_libs/navigation-1.1/tabsets.js"></script>
|
|
||||||
<link href="site_libs/highlightjs-9.12.0/default.css" rel="stylesheet" />
|
|
||||||
<script src="site_libs/highlightjs-9.12.0/highlight.js"></script>
|
|
||||||
<link href="site_libs/font-awesome-5.1.0/css/all.css" rel="stylesheet" />
|
|
||||||
<link href="site_libs/font-awesome-5.1.0/css/v4-shims.css" rel="stylesheet" />
|
|
||||||
<link rel='shortcut icon' type='image/x-icon' href='favicon.ico' />
|
|
||||||
|
|
||||||
<style type="text/css">
|
|
||||||
code{white-space: pre-wrap;}
|
|
||||||
span.smallcaps{font-variant: small-caps;}
|
|
||||||
span.underline{text-decoration: underline;}
|
|
||||||
div.column{display: inline-block; vertical-align: top; width: 50%;}
|
|
||||||
div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;}
|
|
||||||
ul.task-list{list-style: none;}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<style type="text/css">code{white-space: pre;}</style>
|
|
||||||
<script type="text/javascript">
|
|
||||||
if (window.hljs) {
|
|
||||||
hljs.configure({languages: []});
|
|
||||||
hljs.initHighlightingOnLoad();
|
|
||||||
if (document.readyState && document.readyState === "complete") {
|
|
||||||
window.setTimeout(function() { hljs.initHighlighting(); }, 0);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<link rel="stylesheet" href="style.css" type="text/css" />
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<style type = "text/css">
|
|
||||||
.main-container {
|
|
||||||
max-width: 940px;
|
|
||||||
margin-left: auto;
|
|
||||||
margin-right: auto;
|
|
||||||
}
|
|
||||||
img {
|
|
||||||
max-width:100%;
|
|
||||||
}
|
|
||||||
.tabbed-pane {
|
|
||||||
padding-top: 12px;
|
|
||||||
}
|
|
||||||
.html-widget {
|
|
||||||
margin-bottom: 20px;
|
|
||||||
}
|
|
||||||
button.code-folding-btn:focus {
|
|
||||||
outline: none;
|
|
||||||
}
|
|
||||||
summary {
|
|
||||||
display: list-item;
|
|
||||||
}
|
|
||||||
details > summary > p:only-child {
|
|
||||||
display: inline;
|
|
||||||
}
|
|
||||||
pre code {
|
|
||||||
padding: 0;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
|
|
||||||
<style type="text/css">
|
|
||||||
.dropdown-submenu {
|
|
||||||
position: relative;
|
|
||||||
}
|
|
||||||
.dropdown-submenu>.dropdown-menu {
|
|
||||||
top: 0;
|
|
||||||
left: 100%;
|
|
||||||
margin-top: -6px;
|
|
||||||
margin-left: -1px;
|
|
||||||
border-radius: 0 6px 6px 6px;
|
|
||||||
}
|
|
||||||
.dropdown-submenu:hover>.dropdown-menu {
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
.dropdown-submenu>a:after {
|
|
||||||
display: block;
|
|
||||||
content: " ";
|
|
||||||
float: right;
|
|
||||||
width: 0;
|
|
||||||
height: 0;
|
|
||||||
border-color: transparent;
|
|
||||||
border-style: solid;
|
|
||||||
border-width: 5px 0 5px 5px;
|
|
||||||
border-left-color: #cccccc;
|
|
||||||
margin-top: 5px;
|
|
||||||
margin-right: -10px;
|
|
||||||
}
|
|
||||||
.dropdown-submenu:hover>a:after {
|
|
||||||
border-left-color: #adb5bd;
|
|
||||||
}
|
|
||||||
.dropdown-submenu.pull-left {
|
|
||||||
float: none;
|
|
||||||
}
|
|
||||||
.dropdown-submenu.pull-left>.dropdown-menu {
|
|
||||||
left: -100%;
|
|
||||||
margin-left: 10px;
|
|
||||||
border-radius: 6px 0 6px 6px;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<script type="text/javascript">
|
|
||||||
// manage active state of menu based on current page
|
|
||||||
$(document).ready(function () {
|
|
||||||
// active menu anchor
|
|
||||||
href = window.location.pathname
|
|
||||||
href = href.substr(href.lastIndexOf('/') + 1)
|
|
||||||
if (href === "")
|
|
||||||
href = "index.html";
|
|
||||||
var menuAnchor = $('a[href="' + href + '"]');
|
|
||||||
|
|
||||||
// mark it active
|
|
||||||
menuAnchor.tab('show');
|
|
||||||
|
|
||||||
// if it's got a parent navbar menu mark it active as well
|
|
||||||
menuAnchor.closest('li.dropdown').addClass('active');
|
|
||||||
|
|
||||||
// Navbar adjustments
|
|
||||||
var navHeight = $(".navbar").first().height() + 15;
|
|
||||||
var style = document.createElement('style');
|
|
||||||
var pt = "padding-top: " + navHeight + "px; ";
|
|
||||||
var mt = "margin-top: -" + navHeight + "px; ";
|
|
||||||
var css = "";
|
|
||||||
// offset scroll position for anchor links (for fixed navbar)
|
|
||||||
for (var i = 1; i <= 6; i++) {
|
|
||||||
css += ".section h" + i + "{ " + pt + mt + "}\n";
|
|
||||||
}
|
|
||||||
style.innerHTML = "body {" + pt + "padding-bottom: 40px; }\n" + css;
|
|
||||||
document.head.appendChild(style);
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<!-- tabsets -->
|
|
||||||
|
|
||||||
<style type="text/css">
|
|
||||||
.tabset-dropdown > .nav-tabs {
|
|
||||||
display: inline-table;
|
|
||||||
max-height: 500px;
|
|
||||||
min-height: 44px;
|
|
||||||
overflow-y: auto;
|
|
||||||
border: 1px solid #ddd;
|
|
||||||
border-radius: 4px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabset-dropdown > .nav-tabs > li.active:before {
|
|
||||||
content: "";
|
|
||||||
font-family: 'Glyphicons Halflings';
|
|
||||||
display: inline-block;
|
|
||||||
padding: 10px;
|
|
||||||
border-right: 1px solid #ddd;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabset-dropdown > .nav-tabs.nav-tabs-open > li.active:before {
|
|
||||||
content: "";
|
|
||||||
border: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabset-dropdown > .nav-tabs.nav-tabs-open:before {
|
|
||||||
content: "";
|
|
||||||
font-family: 'Glyphicons Halflings';
|
|
||||||
display: inline-block;
|
|
||||||
padding: 10px;
|
|
||||||
border-right: 1px solid #ddd;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabset-dropdown > .nav-tabs > li.active {
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabset-dropdown > .nav-tabs > li > a,
|
|
||||||
.tabset-dropdown > .nav-tabs > li > a:focus,
|
|
||||||
.tabset-dropdown > .nav-tabs > li > a:hover {
|
|
||||||
border: none;
|
|
||||||
display: inline-block;
|
|
||||||
border-radius: 4px;
|
|
||||||
background-color: transparent;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabset-dropdown > .nav-tabs.nav-tabs-open > li {
|
|
||||||
display: block;
|
|
||||||
float: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabset-dropdown > .nav-tabs > li {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<!-- code folding -->
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<style type="text/css">
|
|
||||||
|
|
||||||
#TOC {
|
|
||||||
margin: 25px 0px 20px 0px;
|
|
||||||
}
|
|
||||||
@media (max-width: 768px) {
|
|
||||||
#TOC {
|
|
||||||
position: relative;
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@media print {
|
|
||||||
.toc-content {
|
|
||||||
/* see https://github.com/w3c/csswg-drafts/issues/4434 */
|
|
||||||
float: right;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.toc-content {
|
|
||||||
padding-left: 30px;
|
|
||||||
padding-right: 40px;
|
|
||||||
}
|
|
||||||
|
|
||||||
div.main-container {
|
|
||||||
max-width: 1200px;
|
|
||||||
}
|
|
||||||
|
|
||||||
div.tocify {
|
|
||||||
width: 20%;
|
|
||||||
max-width: 260px;
|
|
||||||
max-height: 85%;
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (min-width: 768px) and (max-width: 991px) {
|
|
||||||
div.tocify {
|
|
||||||
width: 25%;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (max-width: 767px) {
|
|
||||||
div.tocify {
|
|
||||||
width: 100%;
|
|
||||||
max-width: none;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.tocify ul, .tocify li {
|
|
||||||
line-height: 20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tocify-subheader .tocify-item {
|
|
||||||
font-size: 0.90em;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tocify .list-group-item {
|
|
||||||
border-radius: 0px;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
</style>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body>
|
|
||||||
|
|
||||||
|
|
||||||
<div class="container-fluid main-container">
|
|
||||||
|
|
||||||
|
|
||||||
<!-- setup 3col/9col grid for toc_float and main content -->
|
|
||||||
<div class="row">
|
|
||||||
<div class="col-xs-12 col-sm-4 col-md-3">
|
|
||||||
<div id="TOC" class="tocify">
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="toc-content col-xs-12 col-sm-8 col-md-9">
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div class="navbar navbar-default navbar-fixed-top" role="navigation">
|
|
||||||
<div class="container">
|
|
||||||
<div class="navbar-header">
|
|
||||||
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-bs-toggle="collapse" data-target="#navbar" data-bs-target="#navbar">
|
|
||||||
<span class="icon-bar"></span>
|
|
||||||
<span class="icon-bar"></span>
|
|
||||||
<span class="icon-bar"></span>
|
|
||||||
</button>
|
|
||||||
<a class="navbar-brand" href="index.html"><div><img src="ohdsi16x16.png"></img> OMOP Common Data Model </div></a>
|
|
||||||
</div>
|
|
||||||
<div id="navbar" class="navbar-collapse collapse">
|
|
||||||
<ul class="nav navbar-nav">
|
|
||||||
<li>
|
|
||||||
<a href="index.html">
|
|
||||||
<span class="fa fa-home"></span>
|
|
||||||
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
|
||||||
<span class="fa fa-landmark"></span>
|
|
||||||
|
|
||||||
Background
|
|
||||||
|
|
||||||
<span class="caret"></span>
|
|
||||||
</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="background.html">Model Background</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="cdmRefreshProcess.html">CDM Refresh Process</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="vocabulary.html">How the Vocabulary is Built</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
|
||||||
<span class="fa fa-list-alt"></span>
|
|
||||||
|
|
||||||
Conventions
|
|
||||||
|
|
||||||
<span class="caret"></span>
|
|
||||||
</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="dataModelConventions.html">General Conventions</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="ehrObsPeriods.html">Observation Periods for EHR Data</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="cdmPrivacy.html">Patient Privacy and OMOP</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
|
||||||
<span class="fa fa-history"></span>
|
|
||||||
|
|
||||||
CDM Versions
|
|
||||||
|
|
||||||
<span class="caret"></span>
|
|
||||||
</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="cdm30.html">CDM v3.0</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="cdm60.html">CDM v6.0</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="cdm53.html">CDM v5.3</a>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown-submenu">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">NEW CDM v5.4</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="cdm54.html">CDM v5.4</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="cdm54Changes.html">Changes from CDM v5.3</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
|
||||||
<span class="fa fa-plus-square"></span>
|
|
||||||
|
|
||||||
Proposals
|
|
||||||
|
|
||||||
<span class="caret"></span>
|
|
||||||
</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="https://github.com/OHDSI/CommonDataModel/issues?q=is%3Aopen+is%3Aissue+label%3AProposal">Under Review</a>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown-submenu">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">Accepted</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="https://github.com/OHDSI/CommonDataModel/issues/252">Region_concept_id</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
|
||||||
<span class="fa fa-question"></span>
|
|
||||||
|
|
||||||
How to
|
|
||||||
|
|
||||||
<span class="caret"></span>
|
|
||||||
</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="download.html">Download the DDL</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="cdmRPackage.html">Use the CDM R Package</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="drug_dose.html">Calculate Drug Dose</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
|
||||||
<span class="fa fa-life-ring"></span>
|
|
||||||
|
|
||||||
Support
|
|
||||||
|
|
||||||
<span class="caret"></span>
|
|
||||||
</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="faq.html">FAQ</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="sqlScripts.html">SQL Scripts</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="contribute.html">Ask a Question</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
<ul class="nav navbar-nav navbar-right">
|
|
||||||
<li>
|
|
||||||
<a href="https://github.com/OHDSI/CommonDataModel">
|
|
||||||
<span class="fa fa-github"></span>
|
|
||||||
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</div><!--/.nav-collapse -->
|
|
||||||
</div><!--/.container -->
|
|
||||||
</div><!--/.navbar -->
|
|
||||||
|
|
||||||
<div id="header">
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<h1 class="title toc-ignore"><strong>Preserving Privacy in an OMOP CDM Implementation</strong></h1>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<p><em>By Kristin Kostka</em></p>
|
|
||||||
<div id="background" class="section level1">
|
|
||||||
<h1>Background</h1>
|
|
||||||
<p>The OMOP CDM is a person-centric model. Being person-centric means the model can retain attributes that may be considered personal identified information (PII) or protected health information (PHI). There are many different ways a site may treat their OMOP CDM to uphold their privacy protocols. In this article we provide guidance on overall process and the potential fields that should be monitored to adhere to these various privacy preserving protocols.</p>
|
|
||||||
<div id="defining-pii-and-phi" class="section level3">
|
|
||||||
<h3>Defining PII and PHI</h3>
|
|
||||||
<ul>
|
|
||||||
<li>PII is defined as any representation of information that permits the identity of an individual to whom the information applies to be reasonably inferred to either direct or indirect means [1].</li>
|
|
||||||
<li>The United States Department of Health & Human Services´ Office for Civil Rights has defined PHI as any Personal Identifying Information (PII) that – individually or combined – could potentially identify a specific individual, their past, present or future healthcare, or the method of payment. There are eighteen unique identifiers considered to be PHI: 1) names, 2) geographic data, 3) all elements of dates, 4) telephone numbers, 5) FAX numbers, 6) email addresses, 7) Social Security numbers (SSN), 8) medical record numbers (MRN), 9) health plan beneficiary numbers, 10) account numbers, 11) certificate/license numbers, 12) vehicle identifiers and serial numbers including license places, 13) device identifiers and serial numbers, 14) web URLs, 15) internet protocol addresses, 16) biometric identifiers (i.e. retinal scan, fingerprints), 17) full face photos and comparable images, and 18) any unique identifying number, characteristic or code. PHI is no longer considered PHI when it de-identified of these unique attributes. PHI is commonly referred to in relation to the Health Insurance Portability and Accountability Act (HIPAA) and associated legislation such as the Health Information Technology for Economic and Clinical Health Act (HITECH) [2].</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div id="the-data-holders-responsibility" class="section level1">
|
|
||||||
<h1>The Data Holder’s Responsibility</h1>
|
|
||||||
<p>In OHDSI, it is the responsibility of each data holder to know, understand and follow local data governance processes related to use of the OMOP CDM. In the United States, these processes will follow your organization’s local interpretation for maintaining compliance to PII and PHI protection. In OMOP CDM implementations containing European Union citizen data, local governance processes will include measures to comply with General Data Protection Regulation (GDPR) [3]. As a community, the OHDSI data network covers more than 330 databases from 34 countries. There is extensive community knowledge on the interpretation of rule sets and exemplar IRB and local governance workflows that can be made available to institutions navigating these processes for the first time. If your organization does not have an established data governance process, please reach out on the <a href="forums.ohdsi.org">OHDSI Forums</a> under “Implementers” and the community can respond with shared guidance from their own deployments. As a community, we aim to conduct research that keeps patient-level data local and share only aggregate results.</p>
|
|
||||||
</div>
|
|
||||||
<div id="complying-with-privacy-preservation" class="section level1">
|
|
||||||
<h1>Complying with Privacy Preservation</h1>
|
|
||||||
<p>Complying with local governance processes depends on the rule set being used. There may be allowable times when data use agreements and data transfer agreements exist between collaborating institutions to facilitate sharing of PII and PHI. In this section we will discuss common rule sets that organizations adhere to.</p>
|
|
||||||
<div id="limited-data-sets" class="section level2">
|
|
||||||
<h2>Limited Data Sets</h2>
|
|
||||||
<p>A limited data set (LDS) is defined as protected health information that excludes certain direct identifiers of an individual or of relatives, employers or household members of the individual — but may include city, state, ZIP code and elements of dates. A LDS can be disclosed only for purposes of research, public health or health care operations. LDS requirements are dictated by the HIPAA Privacy Rule.</p>
|
|
||||||
</div>
|
|
||||||
<div id="de-identified-data-sets" class="section level2">
|
|
||||||
<h2>De-identified Data Sets</h2>
|
|
||||||
<p>A de-identified data, as defined by Section 164.514(a) of the HIPAA Privacy rule, is health information that does not identify an individual and with respect to which there is no reasonable basis to believe that the information can be used to identify an individual is not individually identifiable health information. There are two methods for achieving de-identification in accordance with HIPAA [4].</p>
|
|
||||||
<ol style="list-style-type: decimal">
|
|
||||||
<li>Expert Determination (§164.514(a))- Implementation specifications: requirements for de-identification of protected health information. A covered entity may determine that health information is not individually identifiable health information only if:</li>
|
|
||||||
</ol>
|
|
||||||
<ol style="list-style-type: decimal">
|
|
||||||
<li>A person with appropriate knowledge of and experience with generally accepted statistical and scientific principles and methods for rendering information not individually identifiable:</li>
|
|
||||||
</ol>
|
|
||||||
<ol style="list-style-type: lower-roman">
|
|
||||||
<li>Applying such principles and methods, determines that the risk is very small that the information could be used, alone or in combination with other reasonably available information, by an anticipated recipient to identify an individual who is a subject of the information; and</li>
|
|
||||||
<li>Documents the methods and results of the analysis that justify such determination.</li>
|
|
||||||
</ol>
|
|
||||||
<ol start="2" style="list-style-type: decimal">
|
|
||||||
<li>Safe Harbor (§164.514(b)) The eighteen unique identifiers are obfuscated. This includes processes such as:</li>
|
|
||||||
</ol>
|
|
||||||
<ol style="list-style-type: upper-alpha">
|
|
||||||
<li>Dates of service are algorithmically shifted to protect patient privacy.</li>
|
|
||||||
<li>Patient ZIP codes are truncated to the first three digits or removed entirely if the ZIP code represents fewer than 20,000 individuals.</li>
|
|
||||||
<li>Removing and, when necessary, replacing unique identifiers AND The entity does not have actual knowledge that the information could be used alone or in combination with other information to identify an individual who is a subject of the information.</li>
|
|
||||||
</ol>
|
|
||||||
</div>
|
|
||||||
<div id="field-level-implications-of-de-identification-processes" class="section level2">
|
|
||||||
<h2>Field-level Implications of De-identification Processes</h2>
|
|
||||||
<div id="person-table-attributes" class="section level3">
|
|
||||||
<h3>PERSON Table Attributes</h3>
|
|
||||||
<p>In the OMOP CDM, the PERSON table serves as the central identity management for all Persons in the database. It contains records that uniquely identify each person or patient, and some demographic information. It is a table that has a number of field-level implications for privacy preserving protocols.</p>
|
|
||||||
<p>Considerations include: - PERSON.person_id should never contain Medical Record Number, Social Security Number or similar uniquely identifiable number. This should be a number that is essentially meaningless but has the ability to be a primary key across tables. - PERSON.year_of_birth, PERSON.month_of_birth and PERSON.date_of_birth, PERSON.birth_datetime may require some redaction or modification depending on interpretation of rule set. Consult local guidance on the need to modify these fields when creating compliant views of de-identified data. - PERSON.person_source_value may contain sensitive information used to generate the person_id field. It is advised to practice caution when creating views of these data. It would be wise to obfuscate or redact this field if you are not sure what is contained in the raw information being extracted, transformed and loaded into the CDM.</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div id="date-fields-across-domains" class="section level2">
|
|
||||||
<h2>Date Fields Across Domains</h2>
|
|
||||||
<p>Date fields are used across many OMOP domains including: OBSERVATION_PERIOD, VISIT_OCCURRENCE, VISIT_DETAIL, CONDITION_OCCURRENCE, DRUG_EXPOSURE, PROCEDURE_OCCURRENCE, DEVICE_EXPOSURE, MEASUREMENT, OBSERVATION, DEATH, NOTE, NOTE_NLP, SPECIMEN, PAYER_PLAN_PERIOD, DRUG_ERA, DOSE_ERA, and CONDITION_ERA.</p>
|
|
||||||
<p>As discussed previously, some rule sets may require algorithmically shifting dates. It is advised that when date shifting is applied, it is done holistically. This means that when shifting dates, you should not treat each record independently. Instead, a robust date shifting algorithm will link off the <em>.person_id (where </em> is the domain name such as CONDITION_OCCURRENCE, etc) and apply the same offset to all events. This allows researchers to have the ability to understand the sequence of events while preserving patient privacy.</p>
|
|
||||||
<p>The implications of not holistically shifting all events together by the same offset means that information may be out of sequence or illogical. An example would be a death record that happens prior to other event records (conditions, drugs, procedures, etc). When applying an algorithmic shift of dates, it is important to educate your OMOP CDM user group of the known offset. This is especially important in temporal studies which may be looking to make statements about disease history relative to the time when an event is observed.</p>
|
|
||||||
<p>Some rule sets do not require algorithmic shifting of dates, such as Limited Data Sets. In these situations, a user of a LDS OMOP CDM would not be expecting dates to the shifted. If a shift is applied, it should be disclosed and the offset amount (e.g. +/- 7 days, +/- 30 days, etc) should be made available to those who have received permission to use a LDS dataset. Otherwise, these data are not upholding the assumptions of the rule set applied.</p>
|
|
||||||
</div>
|
|
||||||
<div id="location-table-attributes" class="section level2">
|
|
||||||
<h2>LOCATION Table Attributes</h2>
|
|
||||||
<p>The LOCATION table represents a generic way to capture physical location or address information of Persons and Care Sites. When applying privacy preserving procedures, this table should be reviewed and scrubbed relative to the rule set. The LOCATION.zip field should be redacted relative to the type of process applied (e.g. 3-digit zip for de-identified data). The LOCATION.location_source_value should be reviewed for potential PII/PHI. It would be wise to obfuscate or redact this field if you are not sure what is contained in the raw information being extracted, transformed and loaded into the CDM.</p>
|
|
||||||
</div>
|
|
||||||
<div id="provider-table-attributes" class="section level2">
|
|
||||||
<h2>PROVIDER Table Attributes</h2>
|
|
||||||
<p>The PROVIDER table contains a list of uniquely identified healthcare providers. These are individuals providing hands-on healthcare to patients, such as physicians, nurses, midwives, physical therapists etc. In some privacy preserving processes, the PROVIDER.npi and PROVIDER.dea fields may be redacted. Please review this field and confirm that you are adhering to privacy rule sets. The PROVIDER.year_of_birth field is an optional field that may also require treatment in certain rule sets.</p>
|
|
||||||
</div>
|
|
||||||
<div id="observation-table-attributes" class="section level2">
|
|
||||||
<h2>OBSERVATION Table Attributes</h2>
|
|
||||||
<p>The OBSERVATION table captures clinical facts about a Person obtained in the context of examination, questioning or a procedure. Any data that cannot be represented by any other domains, such as social and lifestyle facts, medical history, family history, etc. are recorded here.</p>
|
|
||||||
<p>We strongly caution ETL teams to review the OBSERVATION table for potential PII/PHI. In some source systems, there can be information coming in these vocabularies that are not laboratory or clinical observations but instead are patient identifiers. If you search in ATHENA, you will find there are a number of standard terms in the SNOMED and LOINC vocabularies that can represent phone numbers, emails, and other PII information.</p>
|
|
||||||
<p>It is difficult to create an exhaustive list of terms because these ontologies do not maintain or publish lists of terms that may contain patient identifiers. It is, therefore, up to data holders to perform a review of this domain with an eye for these potential privacy issues. The National COVID Cohort Collaborative, a NIH consortium which uses the OMOP CDM, has published a resource for sites needing assistance with identifying these potentially problematic records. A “live” version of this table that will track updates over time is hosted at <a href="https://github.com/data2health/next-gen-data-sharing/blob/master/CodesWithPPIPotential.csv" class="uri">https://github.com/data2health/next-gen-data-sharing/blob/master/CodesWithPPIPotential.csv</a>. We welcome additions to this list from the community.</p>
|
|
||||||
</div>
|
|
||||||
<div id="scrutinizing-_source_value" class="section level2">
|
|
||||||
<h2>Scrutinizing *_source_value</h2>
|
|
||||||
<p>The *_source_value (where * is the domain name such as CONDITION_OCCURRENCE, etc) fields present an opportunity for sites to carry forward potential PII/PHI in ETL processes. Because the convention of the OMOP CDM has minimal boundaries on what are retained in these fields, it is important to treat all source_value fields as potentially containing PII/PHI. We highly advise all data holders to scrutinize these fields when applying privacy preserving processes. It is not uncommon for fields to be overloaded and contain potential patient identifiers. Please use caution when transmitting or making views of these fields available to users.</p>
|
|
||||||
</div>
|
|
||||||
<div id="scrutinizing-string-fields" class="section level2">
|
|
||||||
<h2>Scrutinizing String Fields</h2>
|
|
||||||
<p>Across OMOP Domains, there are many fields which permit the use of strings (e.g. DRUG_EXPOSURE.sig, MEASUREMENT.value_as_string, OBSERVATION.value_as_string, We’ve discussed some of these in prior sections. It is advised that fields with strings often have the potential to contain unintentional PII/PHI. Targeted regular expressions can be built into ETL processes in order to “sniff” out any additional PII (or potential PII)–such as any data in the format of a phone number, or a person or place name. (E.g., the regular expression “Mr.|Mrs.|Dr.|, M.?D.?” will find any string with an English name prefix.) Depending on risk tolerance, the expressions could err toward sensitivity or specificity, and could be tweaked over time to meet different rule sets.</p>
|
|
||||||
<p>Extensive regular expression matching during ETL may add significant processing time and should therefore not be relied upon as a sole solution, but rather an extra protection against edge cases. Other algorithmic rules may also prove useful, such as automatically quarantining records with lengthy string values (which could signal the presence of free text). If these approaches are implemented, records that match the regular expressions or rules can be quarantined in a separate table or staging area to be manually reviewed by a data broker. Thus, in addition to adding another layer of PII protection, another advantage of these approaches is the potential to uncover ways that underlying vocabularies may be contributing to unintentional sharing of PII and create awareness for future privacy preserving processes shared across the community.</p>
|
|
||||||
</div>
|
|
||||||
<div id="note-and-note_nlp-table-attributes" class="section level2">
|
|
||||||
<h2>NOTE and NOTE_NLP Table Attributes</h2>
|
|
||||||
<p>The NOTE table captures unstructured information that was recorded by a provider about a patient in free text (in ASCII, or preferably in UTF8 format) notes on a given date. The NOTE_NLP table encodes all output of NLP on clinical notes. Each row represents a single extracted term from a note. There is a high potential these tables may retain information that is considered PII/PHI. In addition to overall string searching, these tables are likely to be dropped altogether to adhere to the most stringent rule sets.</p>
|
|
||||||
<p>It is highly advised that if you are conducting a study with NOTE and NOTE_NLP table information, please consult with your local governance and privacy officers to ensure compliance with local rule sets.</p>
|
|
||||||
</div>
|
|
||||||
<div id="conclusion" class="section level2">
|
|
||||||
<h2>Conclusion</h2>
|
|
||||||
<p>Privacy preserving processes are not one-size fits all. There are many different rule sets that can be applied to datasets. Data holders are recommended to consult with their local privacy officer(s) to ensure all processes applied to a database are compliant with local interpretation of the selected rule set.</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div id="references" class="section level1">
|
|
||||||
<h1>References</h1>
|
|
||||||
<ol style="list-style-type: decimal">
|
|
||||||
<li>BibText version: <span class="citation">@MISC</span>{noauthor_undated-mg, title = “Guidance on the Protection of Personal Identifiable Information”, abstract = “Personal Identifiable Information (PII) is defined as:”, howpublished = “”, note = “Accessed: 2021-8-18” }</li>
|
|
||||||
</ol>
|
|
||||||
<p>Regular citation: Guidance on the Protection of Personal Identifiable Information. [cited 18 Aug 2021]. Available: <a href="https://www.dol.gov/general/ppii" class="uri">https://www.dol.gov/general/ppii</a></p>
|
|
||||||
<ol start="2" style="list-style-type: decimal">
|
|
||||||
<li>BibText version: <span class="citation">@MISC</span>{HIPAA_Journal2017-yo, title = “What Does {PHI} Stand For?”, author = “{HIPAA Journal}”, abstract = “PHI is a term used in connection with health data, but what does PHI stand for? What information is included in the definition of PHI.”, month = dec, year = 2017, howpublished = “”, note = “Accessed: 2021-8-18”, language = “en” }</li>
|
|
||||||
</ol>
|
|
||||||
<p>Regular citation: HIPAA Journal. What Does PHI Stand For? 23 Dec 2017 [cited 18 Aug 2021]. Available: <a href="https://www.hipaajournal.com/what-does-phi-stand-for/" class="uri">https://www.hipaajournal.com/what-does-phi-stand-for/</a></p>
|
|
||||||
<ol start="3" style="list-style-type: decimal">
|
|
||||||
<li>BibText version:</li>
|
|
||||||
</ol>
|
|
||||||
<p><span class="citation">@MISC</span>{noauthor_2018-mt, title = “General Data Protection Regulation ({GDPR}) Compliance Guidelines”, abstract = “The EU General Data Protection Regulation went into effect on May 25, 2018, replacing the Data Protection Directive 95/46/EC. Designed to increase data privacy for EU citizens, the regulation levies steep fines on organizations that don’t follow the law.”, month = jun, year = 2018, howpublished = “”, note = “Accessed: 2021-8-18”, language = “en” }</p>
|
|
||||||
<p>Regular citation: General Data Protection Regulation (GDPR) Compliance Guidelines. 18 Jun 2018 [cited 18 Aug 2021]. Available: <a href="https://gdpr.eu/" class="uri">https://gdpr.eu/</a></p>
|
|
||||||
<ol start="4" style="list-style-type: decimal">
|
|
||||||
<li>BibText version:</li>
|
|
||||||
</ol>
|
|
||||||
<p><span class="citation">@MISC</span>{Office_for_Civil_Rights_OCR_undated-zy, title = “Methods for De-identification of {PHI}”, author = “{Office for Civil Rights (OCR)}”, abstract = “Guidance about methods and approaches to achieve de-identification in accordance with the Health Insurance Portability and Accountability Act of 1996.”, howpublished = “”, note = “Accessed: 2021-8-19” }</p>
|
|
||||||
<p>Regular citation: Office for Civil Rights (OCR). Methods for De-identification of PHI. [cited 19 Aug 2021]. Available: <a href="https://www.hhs.gov/hipaa/for-professionals/privacy/special-topics/de-identification/index.html" class="uri">https://www.hhs.gov/hipaa/for-professionals/privacy/special-topics/de-identification/index.html</a></p>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
|
|
||||||
// add bootstrap table styles to pandoc tables
|
|
||||||
function bootstrapStylePandocTables() {
|
|
||||||
$('tr.odd').parent('tbody').parent('table').addClass('table table-condensed');
|
|
||||||
}
|
|
||||||
$(document).ready(function () {
|
|
||||||
bootstrapStylePandocTables();
|
|
||||||
});
|
|
||||||
|
|
||||||
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<!-- tabsets -->
|
|
||||||
|
|
||||||
<script>
|
|
||||||
$(document).ready(function () {
|
|
||||||
window.buildTabsets("TOC");
|
|
||||||
});
|
|
||||||
|
|
||||||
$(document).ready(function () {
|
|
||||||
$('.tabset-dropdown > .nav-tabs > li').click(function () {
|
|
||||||
$(this).parent().toggleClass('nav-tabs-open');
|
|
||||||
});
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<!-- code folding -->
|
|
||||||
|
|
||||||
<script>
|
|
||||||
$(document).ready(function () {
|
|
||||||
|
|
||||||
// temporarily add toc-ignore selector to headers for the consistency with Pandoc
|
|
||||||
$('.unlisted.unnumbered').addClass('toc-ignore')
|
|
||||||
|
|
||||||
// move toc-ignore selectors from section div to header
|
|
||||||
$('div.section.toc-ignore')
|
|
||||||
.removeClass('toc-ignore')
|
|
||||||
.children('h1,h2,h3,h4,h5').addClass('toc-ignore');
|
|
||||||
|
|
||||||
// establish options
|
|
||||||
var options = {
|
|
||||||
selectors: "h1,h2,h3",
|
|
||||||
theme: "bootstrap3",
|
|
||||||
context: '.toc-content',
|
|
||||||
hashGenerator: function (text) {
|
|
||||||
return text.replace(/[.\\/?&!#<>]/g, '').replace(/\s/g, '_');
|
|
||||||
},
|
|
||||||
ignoreSelector: ".toc-ignore",
|
|
||||||
scrollTo: 0
|
|
||||||
};
|
|
||||||
options.showAndHide = true;
|
|
||||||
options.smoothScroll = true;
|
|
||||||
|
|
||||||
// tocify
|
|
||||||
var toc = $("#TOC").tocify(options).data("toc-tocify");
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<!-- dynamically load mathjax for compatibility with self-contained -->
|
|
||||||
<script>
|
|
||||||
(function () {
|
|
||||||
var script = document.createElement("script");
|
|
||||||
script.type = "text/javascript";
|
|
||||||
script.src = "https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML";
|
|
||||||
document.getElementsByTagName("head")[0].appendChild(script);
|
|
||||||
})();
|
|
||||||
</script>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
</html>
|
|
|
@ -1,497 +0,0 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
|
|
||||||
<html>
|
|
||||||
|
|
||||||
<head>
|
|
||||||
|
|
||||||
<meta charset="utf-8" />
|
|
||||||
<meta name="generator" content="pandoc" />
|
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=EDGE" />
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<title>CDM R Package Demo</title>
|
|
||||||
|
|
||||||
<script src="site_libs/header-attrs-2.13/header-attrs.js"></script>
|
|
||||||
<script src="site_libs/jquery-3.6.0/jquery-3.6.0.min.js"></script>
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
||||||
<link href="site_libs/bootstrap-3.3.5/css/cosmo.min.css" rel="stylesheet" />
|
|
||||||
<script src="site_libs/bootstrap-3.3.5/js/bootstrap.min.js"></script>
|
|
||||||
<script src="site_libs/bootstrap-3.3.5/shim/html5shiv.min.js"></script>
|
|
||||||
<script src="site_libs/bootstrap-3.3.5/shim/respond.min.js"></script>
|
|
||||||
<style>h1 {font-size: 34px;}
|
|
||||||
h1.title {font-size: 38px;}
|
|
||||||
h2 {font-size: 30px;}
|
|
||||||
h3 {font-size: 24px;}
|
|
||||||
h4 {font-size: 18px;}
|
|
||||||
h5 {font-size: 16px;}
|
|
||||||
h6 {font-size: 12px;}
|
|
||||||
code {color: inherit; background-color: rgba(0, 0, 0, 0.04);}
|
|
||||||
pre:not([class]) { background-color: white }</style>
|
|
||||||
<script src="site_libs/navigation-1.1/tabsets.js"></script>
|
|
||||||
<link href="site_libs/highlightjs-9.12.0/default.css" rel="stylesheet" />
|
|
||||||
<script src="site_libs/highlightjs-9.12.0/highlight.js"></script>
|
|
||||||
<link href="site_libs/font-awesome-5.1.0/css/all.css" rel="stylesheet" />
|
|
||||||
<link href="site_libs/font-awesome-5.1.0/css/v4-shims.css" rel="stylesheet" />
|
|
||||||
<link rel='shortcut icon' type='image/x-icon' href='favicon.ico' />
|
|
||||||
|
|
||||||
<style type="text/css">
|
|
||||||
code{white-space: pre-wrap;}
|
|
||||||
span.smallcaps{font-variant: small-caps;}
|
|
||||||
span.underline{text-decoration: underline;}
|
|
||||||
div.column{display: inline-block; vertical-align: top; width: 50%;}
|
|
||||||
div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;}
|
|
||||||
ul.task-list{list-style: none;}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<style type="text/css">code{white-space: pre;}</style>
|
|
||||||
<script type="text/javascript">
|
|
||||||
if (window.hljs) {
|
|
||||||
hljs.configure({languages: []});
|
|
||||||
hljs.initHighlightingOnLoad();
|
|
||||||
if (document.readyState && document.readyState === "complete") {
|
|
||||||
window.setTimeout(function() { hljs.initHighlighting(); }, 0);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<link rel="stylesheet" href="style.css" type="text/css" />
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<style type = "text/css">
|
|
||||||
.main-container {
|
|
||||||
max-width: 940px;
|
|
||||||
margin-left: auto;
|
|
||||||
margin-right: auto;
|
|
||||||
}
|
|
||||||
img {
|
|
||||||
max-width:100%;
|
|
||||||
}
|
|
||||||
.tabbed-pane {
|
|
||||||
padding-top: 12px;
|
|
||||||
}
|
|
||||||
.html-widget {
|
|
||||||
margin-bottom: 20px;
|
|
||||||
}
|
|
||||||
button.code-folding-btn:focus {
|
|
||||||
outline: none;
|
|
||||||
}
|
|
||||||
summary {
|
|
||||||
display: list-item;
|
|
||||||
}
|
|
||||||
details > summary > p:only-child {
|
|
||||||
display: inline;
|
|
||||||
}
|
|
||||||
pre code {
|
|
||||||
padding: 0;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
|
|
||||||
<style type="text/css">
|
|
||||||
.dropdown-submenu {
|
|
||||||
position: relative;
|
|
||||||
}
|
|
||||||
.dropdown-submenu>.dropdown-menu {
|
|
||||||
top: 0;
|
|
||||||
left: 100%;
|
|
||||||
margin-top: -6px;
|
|
||||||
margin-left: -1px;
|
|
||||||
border-radius: 0 6px 6px 6px;
|
|
||||||
}
|
|
||||||
.dropdown-submenu:hover>.dropdown-menu {
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
.dropdown-submenu>a:after {
|
|
||||||
display: block;
|
|
||||||
content: " ";
|
|
||||||
float: right;
|
|
||||||
width: 0;
|
|
||||||
height: 0;
|
|
||||||
border-color: transparent;
|
|
||||||
border-style: solid;
|
|
||||||
border-width: 5px 0 5px 5px;
|
|
||||||
border-left-color: #cccccc;
|
|
||||||
margin-top: 5px;
|
|
||||||
margin-right: -10px;
|
|
||||||
}
|
|
||||||
.dropdown-submenu:hover>a:after {
|
|
||||||
border-left-color: #adb5bd;
|
|
||||||
}
|
|
||||||
.dropdown-submenu.pull-left {
|
|
||||||
float: none;
|
|
||||||
}
|
|
||||||
.dropdown-submenu.pull-left>.dropdown-menu {
|
|
||||||
left: -100%;
|
|
||||||
margin-left: 10px;
|
|
||||||
border-radius: 6px 0 6px 6px;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<script type="text/javascript">
|
|
||||||
// manage active state of menu based on current page
|
|
||||||
$(document).ready(function () {
|
|
||||||
// active menu anchor
|
|
||||||
href = window.location.pathname
|
|
||||||
href = href.substr(href.lastIndexOf('/') + 1)
|
|
||||||
if (href === "")
|
|
||||||
href = "index.html";
|
|
||||||
var menuAnchor = $('a[href="' + href + '"]');
|
|
||||||
|
|
||||||
// mark it active
|
|
||||||
menuAnchor.tab('show');
|
|
||||||
|
|
||||||
// if it's got a parent navbar menu mark it active as well
|
|
||||||
menuAnchor.closest('li.dropdown').addClass('active');
|
|
||||||
|
|
||||||
// Navbar adjustments
|
|
||||||
var navHeight = $(".navbar").first().height() + 15;
|
|
||||||
var style = document.createElement('style');
|
|
||||||
var pt = "padding-top: " + navHeight + "px; ";
|
|
||||||
var mt = "margin-top: -" + navHeight + "px; ";
|
|
||||||
var css = "";
|
|
||||||
// offset scroll position for anchor links (for fixed navbar)
|
|
||||||
for (var i = 1; i <= 6; i++) {
|
|
||||||
css += ".section h" + i + "{ " + pt + mt + "}\n";
|
|
||||||
}
|
|
||||||
style.innerHTML = "body {" + pt + "padding-bottom: 40px; }\n" + css;
|
|
||||||
document.head.appendChild(style);
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<!-- tabsets -->
|
|
||||||
|
|
||||||
<style type="text/css">
|
|
||||||
.tabset-dropdown > .nav-tabs {
|
|
||||||
display: inline-table;
|
|
||||||
max-height: 500px;
|
|
||||||
min-height: 44px;
|
|
||||||
overflow-y: auto;
|
|
||||||
border: 1px solid #ddd;
|
|
||||||
border-radius: 4px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabset-dropdown > .nav-tabs > li.active:before {
|
|
||||||
content: "";
|
|
||||||
font-family: 'Glyphicons Halflings';
|
|
||||||
display: inline-block;
|
|
||||||
padding: 10px;
|
|
||||||
border-right: 1px solid #ddd;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabset-dropdown > .nav-tabs.nav-tabs-open > li.active:before {
|
|
||||||
content: "";
|
|
||||||
border: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabset-dropdown > .nav-tabs.nav-tabs-open:before {
|
|
||||||
content: "";
|
|
||||||
font-family: 'Glyphicons Halflings';
|
|
||||||
display: inline-block;
|
|
||||||
padding: 10px;
|
|
||||||
border-right: 1px solid #ddd;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabset-dropdown > .nav-tabs > li.active {
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabset-dropdown > .nav-tabs > li > a,
|
|
||||||
.tabset-dropdown > .nav-tabs > li > a:focus,
|
|
||||||
.tabset-dropdown > .nav-tabs > li > a:hover {
|
|
||||||
border: none;
|
|
||||||
display: inline-block;
|
|
||||||
border-radius: 4px;
|
|
||||||
background-color: transparent;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabset-dropdown > .nav-tabs.nav-tabs-open > li {
|
|
||||||
display: block;
|
|
||||||
float: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabset-dropdown > .nav-tabs > li {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<!-- code folding -->
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body>
|
|
||||||
|
|
||||||
|
|
||||||
<div class="container-fluid main-container">
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div class="navbar navbar-default navbar-fixed-top" role="navigation">
|
|
||||||
<div class="container">
|
|
||||||
<div class="navbar-header">
|
|
||||||
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-bs-toggle="collapse" data-target="#navbar" data-bs-target="#navbar">
|
|
||||||
<span class="icon-bar"></span>
|
|
||||||
<span class="icon-bar"></span>
|
|
||||||
<span class="icon-bar"></span>
|
|
||||||
</button>
|
|
||||||
<a class="navbar-brand" href="index.html"><div><img src="ohdsi16x16.png"></img> OMOP Common Data Model </div></a>
|
|
||||||
</div>
|
|
||||||
<div id="navbar" class="navbar-collapse collapse">
|
|
||||||
<ul class="nav navbar-nav">
|
|
||||||
<li>
|
|
||||||
<a href="index.html">
|
|
||||||
<span class="fa fa-home"></span>
|
|
||||||
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
|
||||||
<span class="fa fa-landmark"></span>
|
|
||||||
|
|
||||||
Background
|
|
||||||
|
|
||||||
<span class="caret"></span>
|
|
||||||
</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="background.html">Model Background</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="cdmRefreshProcess.html">CDM Refresh Process</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="vocabulary.html">How the Vocabulary is Built</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
|
||||||
<span class="fa fa-list-alt"></span>
|
|
||||||
|
|
||||||
Conventions
|
|
||||||
|
|
||||||
<span class="caret"></span>
|
|
||||||
</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="dataModelConventions.html">General Conventions</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="ehrObsPeriods.html">Observation Periods for EHR Data</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="cdmPrivacy.html">Patient Privacy and OMOP</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
|
||||||
<span class="fa fa-history"></span>
|
|
||||||
|
|
||||||
CDM Versions
|
|
||||||
|
|
||||||
<span class="caret"></span>
|
|
||||||
</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="cdm30.html">CDM v3.0</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="cdm60.html">CDM v6.0</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="cdm53.html">CDM v5.3</a>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown-submenu">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">NEW CDM v5.4</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="cdm54.html">CDM v5.4</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="cdm54Changes.html">Changes from CDM v5.3</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
|
||||||
<span class="fa fa-plus-square"></span>
|
|
||||||
|
|
||||||
Proposals
|
|
||||||
|
|
||||||
<span class="caret"></span>
|
|
||||||
</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="https://github.com/OHDSI/CommonDataModel/issues?q=is%3Aopen+is%3Aissue+label%3AProposal">Under Review</a>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown-submenu">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">Accepted</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="https://github.com/OHDSI/CommonDataModel/issues/252">Region_concept_id</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
|
||||||
<span class="fa fa-question"></span>
|
|
||||||
|
|
||||||
How to
|
|
||||||
|
|
||||||
<span class="caret"></span>
|
|
||||||
</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="download.html">Download the DDL</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="cdmRPackage.html">Use the CDM R Package</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="drug_dose.html">Calculate Drug Dose</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
|
||||||
<span class="fa fa-life-ring"></span>
|
|
||||||
|
|
||||||
Support
|
|
||||||
|
|
||||||
<span class="caret"></span>
|
|
||||||
</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="faq.html">FAQ</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="sqlScripts.html">SQL Scripts</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="contribute.html">Ask a Question</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
<ul class="nav navbar-nav navbar-right">
|
|
||||||
<li>
|
|
||||||
<a href="https://github.com/OHDSI/CommonDataModel">
|
|
||||||
<span class="fa fa-github"></span>
|
|
||||||
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</div><!--/.nav-collapse -->
|
|
||||||
</div><!--/.container -->
|
|
||||||
</div><!--/.navbar -->
|
|
||||||
|
|
||||||
<div id="header">
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<h1 class="title toc-ignore"><strong>CDM R Package Demo</strong></h1>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<p>Below is an example showing two different ways the CDM R package can be used to create the tables in your environment. First, it uses the <code>buildRelease</code> function to create the DDL files on your machine. Once you have these downloaded you can then run them in your SQL client to set up the empty CDM tables. Second, the script shows the <code>executeDdl</code> function that will connect up to your SQL client directly (assuming your dbms is one of the supported dialects) and instantiate the tables through R.</p>
|
|
||||||
<pre class="r"><code>## First, install the package from GitHub
|
|
||||||
install.packages("devtools")
|
|
||||||
devtools::install_github("OHDSI/CommonDataModel")
|
|
||||||
|
|
||||||
## List the currently supported SQL dialects
|
|
||||||
CommonDataModel::listSupportedDialects()
|
|
||||||
|
|
||||||
## List the currently supported CDM versions
|
|
||||||
CommonDataModel::listSupportedVersions()
|
|
||||||
|
|
||||||
## There are multiple ways to generate the DDLs
|
|
||||||
|
|
||||||
## 1. Use the buildRelease function to generate the text files in the dialect you choose.
|
|
||||||
## This function will put the output files in the folder you specify
|
|
||||||
|
|
||||||
CommonDataModel::buildRelease(cdmVersions = "5.4",
|
|
||||||
targetDialects = "postgresql",
|
|
||||||
outputfolder = "/pathToOutput")
|
|
||||||
|
|
||||||
## 2. If you have an empty schema ready to go, the package will connect and instantiate
|
|
||||||
## the tables for you.
|
|
||||||
|
|
||||||
### 2a. To start, you need to download DatabaseConnector in order to connect to your database.
|
|
||||||
devtools::install_github("DatabaseConnector")
|
|
||||||
|
|
||||||
cd <- DatabaseConnector::createConnectionDetails(dbms = "postgresql",
|
|
||||||
server = "localhost/ohdsi",
|
|
||||||
user = "postgres",
|
|
||||||
password = "postgres",
|
|
||||||
pathToDriver = "/pathToDriver"
|
|
||||||
)
|
|
||||||
|
|
||||||
CommonDataModel::executeDdl(connectionDetails = cd,
|
|
||||||
cdmVersion = "5.4",
|
|
||||||
cdmDatabaseSchema = "ohdsi_demo"
|
|
||||||
)</code></pre>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
|
|
||||||
// add bootstrap table styles to pandoc tables
|
|
||||||
function bootstrapStylePandocTables() {
|
|
||||||
$('tr.odd').parent('tbody').parent('table').addClass('table table-condensed');
|
|
||||||
}
|
|
||||||
$(document).ready(function () {
|
|
||||||
bootstrapStylePandocTables();
|
|
||||||
});
|
|
||||||
|
|
||||||
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<!-- tabsets -->
|
|
||||||
|
|
||||||
<script>
|
|
||||||
$(document).ready(function () {
|
|
||||||
window.buildTabsets("TOC");
|
|
||||||
});
|
|
||||||
|
|
||||||
$(document).ready(function () {
|
|
||||||
$('.tabset-dropdown > .nav-tabs > li').click(function () {
|
|
||||||
$(this).parent().toggleClass('nav-tabs-open');
|
|
||||||
});
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<!-- code folding -->
|
|
||||||
|
|
||||||
|
|
||||||
<!-- dynamically load mathjax for compatibility with self-contained -->
|
|
||||||
<script>
|
|
||||||
(function () {
|
|
||||||
var script = document.createElement("script");
|
|
||||||
script.type = "text/javascript";
|
|
||||||
script.src = "https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML";
|
|
||||||
document.getElementsByTagName("head")[0].appendChild(script);
|
|
||||||
})();
|
|
||||||
</script>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
</html>
|
|
|
@ -1,610 +0,0 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
|
|
||||||
<html>
|
|
||||||
|
|
||||||
<head>
|
|
||||||
|
|
||||||
<meta charset="utf-8" />
|
|
||||||
<meta name="generator" content="pandoc" />
|
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=EDGE" />
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<title>cdmRefreshProcess.knit</title>
|
|
||||||
|
|
||||||
<script src="site_libs/header-attrs-2.13/header-attrs.js"></script>
|
|
||||||
<script src="site_libs/jquery-3.6.0/jquery-3.6.0.min.js"></script>
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
||||||
<link href="site_libs/bootstrap-3.3.5/css/cosmo.min.css" rel="stylesheet" />
|
|
||||||
<script src="site_libs/bootstrap-3.3.5/js/bootstrap.min.js"></script>
|
|
||||||
<script src="site_libs/bootstrap-3.3.5/shim/html5shiv.min.js"></script>
|
|
||||||
<script src="site_libs/bootstrap-3.3.5/shim/respond.min.js"></script>
|
|
||||||
<style>h1 {font-size: 34px;}
|
|
||||||
h1.title {font-size: 38px;}
|
|
||||||
h2 {font-size: 30px;}
|
|
||||||
h3 {font-size: 24px;}
|
|
||||||
h4 {font-size: 18px;}
|
|
||||||
h5 {font-size: 16px;}
|
|
||||||
h6 {font-size: 12px;}
|
|
||||||
code {color: inherit; background-color: rgba(0, 0, 0, 0.04);}
|
|
||||||
pre:not([class]) { background-color: white }</style>
|
|
||||||
<script src="site_libs/jqueryui-1.11.4/jquery-ui.min.js"></script>
|
|
||||||
<link href="site_libs/tocify-1.9.1/jquery.tocify.css" rel="stylesheet" />
|
|
||||||
<script src="site_libs/tocify-1.9.1/jquery.tocify.js"></script>
|
|
||||||
<script src="site_libs/navigation-1.1/tabsets.js"></script>
|
|
||||||
<link href="site_libs/highlightjs-9.12.0/default.css" rel="stylesheet" />
|
|
||||||
<script src="site_libs/highlightjs-9.12.0/highlight.js"></script>
|
|
||||||
<link href="site_libs/font-awesome-5.1.0/css/all.css" rel="stylesheet" />
|
|
||||||
<link href="site_libs/font-awesome-5.1.0/css/v4-shims.css" rel="stylesheet" />
|
|
||||||
<link rel='shortcut icon' type='image/x-icon' href='favicon.ico' />
|
|
||||||
|
|
||||||
<style type="text/css">
|
|
||||||
code{white-space: pre-wrap;}
|
|
||||||
span.smallcaps{font-variant: small-caps;}
|
|
||||||
span.underline{text-decoration: underline;}
|
|
||||||
div.column{display: inline-block; vertical-align: top; width: 50%;}
|
|
||||||
div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;}
|
|
||||||
ul.task-list{list-style: none;}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<style type="text/css">code{white-space: pre;}</style>
|
|
||||||
<script type="text/javascript">
|
|
||||||
if (window.hljs) {
|
|
||||||
hljs.configure({languages: []});
|
|
||||||
hljs.initHighlightingOnLoad();
|
|
||||||
if (document.readyState && document.readyState === "complete") {
|
|
||||||
window.setTimeout(function() { hljs.initHighlighting(); }, 0);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<link rel="stylesheet" href="style.css" type="text/css" />
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<style type = "text/css">
|
|
||||||
.main-container {
|
|
||||||
max-width: 940px;
|
|
||||||
margin-left: auto;
|
|
||||||
margin-right: auto;
|
|
||||||
}
|
|
||||||
img {
|
|
||||||
max-width:100%;
|
|
||||||
}
|
|
||||||
.tabbed-pane {
|
|
||||||
padding-top: 12px;
|
|
||||||
}
|
|
||||||
.html-widget {
|
|
||||||
margin-bottom: 20px;
|
|
||||||
}
|
|
||||||
button.code-folding-btn:focus {
|
|
||||||
outline: none;
|
|
||||||
}
|
|
||||||
summary {
|
|
||||||
display: list-item;
|
|
||||||
}
|
|
||||||
details > summary > p:only-child {
|
|
||||||
display: inline;
|
|
||||||
}
|
|
||||||
pre code {
|
|
||||||
padding: 0;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
|
|
||||||
<style type="text/css">
|
|
||||||
.dropdown-submenu {
|
|
||||||
position: relative;
|
|
||||||
}
|
|
||||||
.dropdown-submenu>.dropdown-menu {
|
|
||||||
top: 0;
|
|
||||||
left: 100%;
|
|
||||||
margin-top: -6px;
|
|
||||||
margin-left: -1px;
|
|
||||||
border-radius: 0 6px 6px 6px;
|
|
||||||
}
|
|
||||||
.dropdown-submenu:hover>.dropdown-menu {
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
.dropdown-submenu>a:after {
|
|
||||||
display: block;
|
|
||||||
content: " ";
|
|
||||||
float: right;
|
|
||||||
width: 0;
|
|
||||||
height: 0;
|
|
||||||
border-color: transparent;
|
|
||||||
border-style: solid;
|
|
||||||
border-width: 5px 0 5px 5px;
|
|
||||||
border-left-color: #cccccc;
|
|
||||||
margin-top: 5px;
|
|
||||||
margin-right: -10px;
|
|
||||||
}
|
|
||||||
.dropdown-submenu:hover>a:after {
|
|
||||||
border-left-color: #adb5bd;
|
|
||||||
}
|
|
||||||
.dropdown-submenu.pull-left {
|
|
||||||
float: none;
|
|
||||||
}
|
|
||||||
.dropdown-submenu.pull-left>.dropdown-menu {
|
|
||||||
left: -100%;
|
|
||||||
margin-left: 10px;
|
|
||||||
border-radius: 6px 0 6px 6px;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<script type="text/javascript">
|
|
||||||
// manage active state of menu based on current page
|
|
||||||
$(document).ready(function () {
|
|
||||||
// active menu anchor
|
|
||||||
href = window.location.pathname
|
|
||||||
href = href.substr(href.lastIndexOf('/') + 1)
|
|
||||||
if (href === "")
|
|
||||||
href = "index.html";
|
|
||||||
var menuAnchor = $('a[href="' + href + '"]');
|
|
||||||
|
|
||||||
// mark it active
|
|
||||||
menuAnchor.tab('show');
|
|
||||||
|
|
||||||
// if it's got a parent navbar menu mark it active as well
|
|
||||||
menuAnchor.closest('li.dropdown').addClass('active');
|
|
||||||
|
|
||||||
// Navbar adjustments
|
|
||||||
var navHeight = $(".navbar").first().height() + 15;
|
|
||||||
var style = document.createElement('style');
|
|
||||||
var pt = "padding-top: " + navHeight + "px; ";
|
|
||||||
var mt = "margin-top: -" + navHeight + "px; ";
|
|
||||||
var css = "";
|
|
||||||
// offset scroll position for anchor links (for fixed navbar)
|
|
||||||
for (var i = 1; i <= 6; i++) {
|
|
||||||
css += ".section h" + i + "{ " + pt + mt + "}\n";
|
|
||||||
}
|
|
||||||
style.innerHTML = "body {" + pt + "padding-bottom: 40px; }\n" + css;
|
|
||||||
document.head.appendChild(style);
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<!-- tabsets -->
|
|
||||||
|
|
||||||
<style type="text/css">
|
|
||||||
.tabset-dropdown > .nav-tabs {
|
|
||||||
display: inline-table;
|
|
||||||
max-height: 500px;
|
|
||||||
min-height: 44px;
|
|
||||||
overflow-y: auto;
|
|
||||||
border: 1px solid #ddd;
|
|
||||||
border-radius: 4px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabset-dropdown > .nav-tabs > li.active:before {
|
|
||||||
content: "";
|
|
||||||
font-family: 'Glyphicons Halflings';
|
|
||||||
display: inline-block;
|
|
||||||
padding: 10px;
|
|
||||||
border-right: 1px solid #ddd;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabset-dropdown > .nav-tabs.nav-tabs-open > li.active:before {
|
|
||||||
content: "";
|
|
||||||
border: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabset-dropdown > .nav-tabs.nav-tabs-open:before {
|
|
||||||
content: "";
|
|
||||||
font-family: 'Glyphicons Halflings';
|
|
||||||
display: inline-block;
|
|
||||||
padding: 10px;
|
|
||||||
border-right: 1px solid #ddd;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabset-dropdown > .nav-tabs > li.active {
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabset-dropdown > .nav-tabs > li > a,
|
|
||||||
.tabset-dropdown > .nav-tabs > li > a:focus,
|
|
||||||
.tabset-dropdown > .nav-tabs > li > a:hover {
|
|
||||||
border: none;
|
|
||||||
display: inline-block;
|
|
||||||
border-radius: 4px;
|
|
||||||
background-color: transparent;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabset-dropdown > .nav-tabs.nav-tabs-open > li {
|
|
||||||
display: block;
|
|
||||||
float: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabset-dropdown > .nav-tabs > li {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<!-- code folding -->
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<style type="text/css">
|
|
||||||
|
|
||||||
#TOC {
|
|
||||||
margin: 25px 0px 20px 0px;
|
|
||||||
}
|
|
||||||
@media (max-width: 768px) {
|
|
||||||
#TOC {
|
|
||||||
position: relative;
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@media print {
|
|
||||||
.toc-content {
|
|
||||||
/* see https://github.com/w3c/csswg-drafts/issues/4434 */
|
|
||||||
float: right;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.toc-content {
|
|
||||||
padding-left: 30px;
|
|
||||||
padding-right: 40px;
|
|
||||||
}
|
|
||||||
|
|
||||||
div.main-container {
|
|
||||||
max-width: 1200px;
|
|
||||||
}
|
|
||||||
|
|
||||||
div.tocify {
|
|
||||||
width: 20%;
|
|
||||||
max-width: 260px;
|
|
||||||
max-height: 85%;
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (min-width: 768px) and (max-width: 991px) {
|
|
||||||
div.tocify {
|
|
||||||
width: 25%;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (max-width: 767px) {
|
|
||||||
div.tocify {
|
|
||||||
width: 100%;
|
|
||||||
max-width: none;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.tocify ul, .tocify li {
|
|
||||||
line-height: 20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tocify-subheader .tocify-item {
|
|
||||||
font-size: 0.90em;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tocify .list-group-item {
|
|
||||||
border-radius: 0px;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
</style>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body>
|
|
||||||
|
|
||||||
|
|
||||||
<div class="container-fluid main-container">
|
|
||||||
|
|
||||||
|
|
||||||
<!-- setup 3col/9col grid for toc_float and main content -->
|
|
||||||
<div class="row">
|
|
||||||
<div class="col-xs-12 col-sm-4 col-md-3">
|
|
||||||
<div id="TOC" class="tocify">
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="toc-content col-xs-12 col-sm-8 col-md-9">
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div class="navbar navbar-default navbar-fixed-top" role="navigation">
|
|
||||||
<div class="container">
|
|
||||||
<div class="navbar-header">
|
|
||||||
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-bs-toggle="collapse" data-target="#navbar" data-bs-target="#navbar">
|
|
||||||
<span class="icon-bar"></span>
|
|
||||||
<span class="icon-bar"></span>
|
|
||||||
<span class="icon-bar"></span>
|
|
||||||
</button>
|
|
||||||
<a class="navbar-brand" href="index.html"><div><img src="ohdsi16x16.png"></img> OMOP Common Data Model </div></a>
|
|
||||||
</div>
|
|
||||||
<div id="navbar" class="navbar-collapse collapse">
|
|
||||||
<ul class="nav navbar-nav">
|
|
||||||
<li>
|
|
||||||
<a href="index.html">
|
|
||||||
<span class="fa fa-home"></span>
|
|
||||||
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
|
||||||
<span class="fa fa-landmark"></span>
|
|
||||||
|
|
||||||
Background
|
|
||||||
|
|
||||||
<span class="caret"></span>
|
|
||||||
</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="background.html">Model Background</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="cdmRefreshProcess.html">CDM Refresh Process</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="vocabulary.html">How the Vocabulary is Built</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
|
||||||
<span class="fa fa-list-alt"></span>
|
|
||||||
|
|
||||||
Conventions
|
|
||||||
|
|
||||||
<span class="caret"></span>
|
|
||||||
</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="dataModelConventions.html">General Conventions</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="ehrObsPeriods.html">Observation Periods for EHR Data</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="cdmPrivacy.html">Patient Privacy and OMOP</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
|
||||||
<span class="fa fa-history"></span>
|
|
||||||
|
|
||||||
CDM Versions
|
|
||||||
|
|
||||||
<span class="caret"></span>
|
|
||||||
</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="cdm30.html">CDM v3.0</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="cdm60.html">CDM v6.0</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="cdm53.html">CDM v5.3</a>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown-submenu">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">NEW CDM v5.4</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="cdm54.html">CDM v5.4</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="cdm54Changes.html">Changes from CDM v5.3</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
|
||||||
<span class="fa fa-plus-square"></span>
|
|
||||||
|
|
||||||
Proposals
|
|
||||||
|
|
||||||
<span class="caret"></span>
|
|
||||||
</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="https://github.com/OHDSI/CommonDataModel/issues?q=is%3Aopen+is%3Aissue+label%3AProposal">Under Review</a>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown-submenu">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">Accepted</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="https://github.com/OHDSI/CommonDataModel/issues/252">Region_concept_id</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
|
||||||
<span class="fa fa-question"></span>
|
|
||||||
|
|
||||||
How to
|
|
||||||
|
|
||||||
<span class="caret"></span>
|
|
||||||
</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="download.html">Download the DDL</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="cdmRPackage.html">Use the CDM R Package</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="drug_dose.html">Calculate Drug Dose</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
|
||||||
<span class="fa fa-life-ring"></span>
|
|
||||||
|
|
||||||
Support
|
|
||||||
|
|
||||||
<span class="caret"></span>
|
|
||||||
</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="faq.html">FAQ</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="sqlScripts.html">SQL Scripts</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="contribute.html">Ask a Question</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
<ul class="nav navbar-nav navbar-right">
|
|
||||||
<li>
|
|
||||||
<a href="https://github.com/OHDSI/CommonDataModel">
|
|
||||||
<span class="fa fa-github"></span>
|
|
||||||
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</div><!--/.nav-collapse -->
|
|
||||||
</div><!--/.container -->
|
|
||||||
</div><!--/.navbar -->
|
|
||||||
|
|
||||||
<div id="header">
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<h1 class="title toc-ignore"><div>
|
|
||||||
<img src="ohdsi40x40.png"></img> CDM Refresh Process
|
|
||||||
</div></h1>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<p>The OMOP Common Data Model is managed by the OHDSI CDM Working Group. The formal remit of the CDM Working Group (WG) is to hear proposals for change, ratifying only those with valid use cases and data to support them. Then, once ratified, these proposals are incorporated into the next version of the CDM. In the past, this was done by the WG alone. The group would invite others from around the community to present use cases for change and suggestions for improvement. The WG would then vote on the proposals and a new CDM version would be released after a certain period of time or if enough proposals were voted in. This approach worked when the community was smaller but as it is growing rapidly the CDM WG needed to adapt the refresh cycle such that everyone has an opportunity to weigh in on the proposed changes.</p>
|
|
||||||
<div id="cdm-refresh-cycle" class="section level2">
|
|
||||||
<h2>CDM Refresh Cycle</h2>
|
|
||||||
<p><img src="images/CDM_refresh_cycle.png" /></p>
|
|
||||||
<div id="define-new-version-completed-for-v5.4" class="section level3">
|
|
||||||
<h3>1. Define New Version [Completed for v5.4]</h3>
|
|
||||||
<p>The image above describes the new CDM refresh cycle. It begins with <strong>defining a new version</strong>. This has been completed for the current cycle. Issues and proposals on the github were considered during a 4-hour workshop where it was decided the next CDM version will be CDM v5.4, building off of CDM v5.3. The group then participated in a rapid-fire voting activity to identify which changes should be incorporated into CDM v5.4. Any items that were not unanimously agreed upon were then discussed in small groups to hone the proposal and suggestions were presented back to the group. The final roadmap for CDM v5.4 can be found <a href="https://github.com/OHDSI/CommonDataModel/projects/3">here</a>.</p>
|
|
||||||
<p>Looking to open a proposal to change or augment the CDM? Please open an <a href="https://github.com/OHDSI/CommonDataModel/issues">issue</a> and use the <strong>proposal template</strong>.</p>
|
|
||||||
</div>
|
|
||||||
<div id="sign-off-from-work-groups-completed-for-v5.4" class="section level3">
|
|
||||||
<h3>2. Sign off from Work Groups [Completed for v5.4]</h3>
|
|
||||||
<p>Each member of the CDM WG is a liaison for another workgroup in the community. They are responsible for presenting the proposed changes to the CDM and collecting the feedback. This has resulted in very helpful suggestions from the EHR, Data Quality, Device, HADES, and ACHILLES groups. This outreach has proven to be very effective and should result in a very stable version.</p>
|
|
||||||
</div>
|
|
||||||
<div id="release-ddls" class="section level3">
|
|
||||||
<h3>3. Release DDLs</h3>
|
|
||||||
<p>After all changes and suggestions are agreed upon by the community and work groups the next step is to generate the DDLs. The CDM WG hosted a hackathon on August 18-19, 2021. During this time the group created an R package to automatically generate the DDLs and the code to instantiate an empty CDM instance. Changes were made to v5.3 to generate v5.4 and the repository was refactored.</p>
|
|
||||||
</div>
|
|
||||||
<div id="software-update" class="section level3">
|
|
||||||
<h3>4. Software Update</h3>
|
|
||||||
<p>There will be period of time once the DDLs are ready to allow the software and methods developers to prepare for the official release of the CDM. This is meant to serve as a buffer so that once the community starts adopting the new model, the tools and methods will be ready to support it.</p>
|
|
||||||
</div>
|
|
||||||
<div id="community-support" class="section level3">
|
|
||||||
<h3>5. Community Support</h3>
|
|
||||||
<p>This is the final stage of the CDM refresh cycle. Once the DDLs are ready and the software and tools supports the new version, the CDM WG will work to help the community convert their data to the new model.</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div id="cdm-wg-meeting-information" class="section level1">
|
|
||||||
<h1>CDM WG Meeting Information</h1>
|
|
||||||
<p>The CDM working group meets the first and third Tuesday of the month. See below for links to the meetings.</p>
|
|
||||||
<p><strong>Every first Tuesday of the month at 1pm est</strong> <a href="https://teams.microsoft.com/l/meetup-join/19%3a133f2b94b86a41a884d4a4d160610148%40thread.tacv2/1601910741972?context=%7b%22Tid%22%3a%22a30f0094-9120-4aab-ba4c-e5509023b2d5%22%2c%22Oid%22%3a%2281c21b6d-448d-4634-abbc-6b0962d1138a%22%7d">Teams Meeting</a></p>
|
|
||||||
<p><strong>Every third Tuesday of the month at 1pm est</strong> <a href="https://teams.microsoft.com/l/meetup-join/19%3a133f2b94b86a41a884d4a4d160610148%40thread.tacv2/1611000164347?context=%7b%22Tid%22%3a%22a30f0094-9120-4aab-ba4c-e5509023b2d5%22%2c%22Oid%22%3a%223c193b7f-c2ab-4bcf-b88c-f89a6b1fba38%22%7d">Teams Meeting</a></p>
|
|
||||||
<p><strong>Note</strong> These were recently changed from a Skype meeting to a Microsoft Teams meeting. If you do you have access to the OHDSI Teams Tenet, please contact Clair Blacketer at <a href="mailto:mblacke@its.jnj.com" class="email">mblacke@its.jnj.com</a>.</p>
|
|
||||||
<div id="cdm-wg-important-links" class="section level3">
|
|
||||||
<h3>CDM WG Important Links</h3>
|
|
||||||
<ul>
|
|
||||||
<li><a href="https://drive.google.com/open?id=1DaNKe6ivIAZPJeI31VJ-pzNB9wS9hDqu">Google Drive Location</a></li>
|
|
||||||
<li><a href="https://docs.google.com/document/d/1WgKePjrI_cGdqn2XQCe1JdGaTzdMqU4p5ihkMt8fcAc/edit?usp=sharing">Running Agenda</a></li>
|
|
||||||
<li><a href="https://github.com/OHDSI/CommonDataModel">CDM Github</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
|
|
||||||
// add bootstrap table styles to pandoc tables
|
|
||||||
function bootstrapStylePandocTables() {
|
|
||||||
$('tr.odd').parent('tbody').parent('table').addClass('table table-condensed');
|
|
||||||
}
|
|
||||||
$(document).ready(function () {
|
|
||||||
bootstrapStylePandocTables();
|
|
||||||
});
|
|
||||||
|
|
||||||
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<!-- tabsets -->
|
|
||||||
|
|
||||||
<script>
|
|
||||||
$(document).ready(function () {
|
|
||||||
window.buildTabsets("TOC");
|
|
||||||
});
|
|
||||||
|
|
||||||
$(document).ready(function () {
|
|
||||||
$('.tabset-dropdown > .nav-tabs > li').click(function () {
|
|
||||||
$(this).parent().toggleClass('nav-tabs-open');
|
|
||||||
});
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<!-- code folding -->
|
|
||||||
|
|
||||||
<script>
|
|
||||||
$(document).ready(function () {
|
|
||||||
|
|
||||||
// temporarily add toc-ignore selector to headers for the consistency with Pandoc
|
|
||||||
$('.unlisted.unnumbered').addClass('toc-ignore')
|
|
||||||
|
|
||||||
// move toc-ignore selectors from section div to header
|
|
||||||
$('div.section.toc-ignore')
|
|
||||||
.removeClass('toc-ignore')
|
|
||||||
.children('h1,h2,h3,h4,h5').addClass('toc-ignore');
|
|
||||||
|
|
||||||
// establish options
|
|
||||||
var options = {
|
|
||||||
selectors: "h1,h2,h3",
|
|
||||||
theme: "bootstrap3",
|
|
||||||
context: '.toc-content',
|
|
||||||
hashGenerator: function (text) {
|
|
||||||
return text.replace(/[.\\/?&!#<>]/g, '').replace(/\s/g, '_');
|
|
||||||
},
|
|
||||||
ignoreSelector: ".toc-ignore",
|
|
||||||
scrollTo: 0
|
|
||||||
};
|
|
||||||
options.showAndHide = true;
|
|
||||||
options.smoothScroll = true;
|
|
||||||
|
|
||||||
// tocify
|
|
||||||
var toc = $("#TOC").tocify(options).data("toc-tocify");
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<!-- dynamically load mathjax for compatibility with self-contained -->
|
|
||||||
<script>
|
|
||||||
(function () {
|
|
||||||
var script = document.createElement("script");
|
|
||||||
script.type = "text/javascript";
|
|
||||||
script.src = "https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML";
|
|
||||||
document.getElementsByTagName("head")[0].appendChild(script);
|
|
||||||
})();
|
|
||||||
</script>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
</html>
|
|
|
@ -1,579 +0,0 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
|
|
||||||
<html>
|
|
||||||
|
|
||||||
<head>
|
|
||||||
|
|
||||||
<meta charset="utf-8" />
|
|
||||||
<meta name="generator" content="pandoc" />
|
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=EDGE" />
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<title>Ask A Question</title>
|
|
||||||
|
|
||||||
<script src="site_libs/header-attrs-2.13/header-attrs.js"></script>
|
|
||||||
<script src="site_libs/jquery-3.6.0/jquery-3.6.0.min.js"></script>
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
||||||
<link href="site_libs/bootstrap-3.3.5/css/cosmo.min.css" rel="stylesheet" />
|
|
||||||
<script src="site_libs/bootstrap-3.3.5/js/bootstrap.min.js"></script>
|
|
||||||
<script src="site_libs/bootstrap-3.3.5/shim/html5shiv.min.js"></script>
|
|
||||||
<script src="site_libs/bootstrap-3.3.5/shim/respond.min.js"></script>
|
|
||||||
<style>h1 {font-size: 34px;}
|
|
||||||
h1.title {font-size: 38px;}
|
|
||||||
h2 {font-size: 30px;}
|
|
||||||
h3 {font-size: 24px;}
|
|
||||||
h4 {font-size: 18px;}
|
|
||||||
h5 {font-size: 16px;}
|
|
||||||
h6 {font-size: 12px;}
|
|
||||||
code {color: inherit; background-color: rgba(0, 0, 0, 0.04);}
|
|
||||||
pre:not([class]) { background-color: white }</style>
|
|
||||||
<script src="site_libs/jqueryui-1.11.4/jquery-ui.min.js"></script>
|
|
||||||
<link href="site_libs/tocify-1.9.1/jquery.tocify.css" rel="stylesheet" />
|
|
||||||
<script src="site_libs/tocify-1.9.1/jquery.tocify.js"></script>
|
|
||||||
<script src="site_libs/navigation-1.1/tabsets.js"></script>
|
|
||||||
<link href="site_libs/highlightjs-9.12.0/default.css" rel="stylesheet" />
|
|
||||||
<script src="site_libs/highlightjs-9.12.0/highlight.js"></script>
|
|
||||||
<link href="site_libs/font-awesome-5.1.0/css/all.css" rel="stylesheet" />
|
|
||||||
<link href="site_libs/font-awesome-5.1.0/css/v4-shims.css" rel="stylesheet" />
|
|
||||||
<link rel='shortcut icon' type='image/x-icon' href='favicon.ico' />
|
|
||||||
|
|
||||||
<style type="text/css">
|
|
||||||
code{white-space: pre-wrap;}
|
|
||||||
span.smallcaps{font-variant: small-caps;}
|
|
||||||
span.underline{text-decoration: underline;}
|
|
||||||
div.column{display: inline-block; vertical-align: top; width: 50%;}
|
|
||||||
div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;}
|
|
||||||
ul.task-list{list-style: none;}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<style type="text/css">code{white-space: pre;}</style>
|
|
||||||
<script type="text/javascript">
|
|
||||||
if (window.hljs) {
|
|
||||||
hljs.configure({languages: []});
|
|
||||||
hljs.initHighlightingOnLoad();
|
|
||||||
if (document.readyState && document.readyState === "complete") {
|
|
||||||
window.setTimeout(function() { hljs.initHighlighting(); }, 0);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<link rel="stylesheet" href="style.css" type="text/css" />
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<style type = "text/css">
|
|
||||||
.main-container {
|
|
||||||
max-width: 940px;
|
|
||||||
margin-left: auto;
|
|
||||||
margin-right: auto;
|
|
||||||
}
|
|
||||||
img {
|
|
||||||
max-width:100%;
|
|
||||||
}
|
|
||||||
.tabbed-pane {
|
|
||||||
padding-top: 12px;
|
|
||||||
}
|
|
||||||
.html-widget {
|
|
||||||
margin-bottom: 20px;
|
|
||||||
}
|
|
||||||
button.code-folding-btn:focus {
|
|
||||||
outline: none;
|
|
||||||
}
|
|
||||||
summary {
|
|
||||||
display: list-item;
|
|
||||||
}
|
|
||||||
details > summary > p:only-child {
|
|
||||||
display: inline;
|
|
||||||
}
|
|
||||||
pre code {
|
|
||||||
padding: 0;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
|
|
||||||
<style type="text/css">
|
|
||||||
.dropdown-submenu {
|
|
||||||
position: relative;
|
|
||||||
}
|
|
||||||
.dropdown-submenu>.dropdown-menu {
|
|
||||||
top: 0;
|
|
||||||
left: 100%;
|
|
||||||
margin-top: -6px;
|
|
||||||
margin-left: -1px;
|
|
||||||
border-radius: 0 6px 6px 6px;
|
|
||||||
}
|
|
||||||
.dropdown-submenu:hover>.dropdown-menu {
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
.dropdown-submenu>a:after {
|
|
||||||
display: block;
|
|
||||||
content: " ";
|
|
||||||
float: right;
|
|
||||||
width: 0;
|
|
||||||
height: 0;
|
|
||||||
border-color: transparent;
|
|
||||||
border-style: solid;
|
|
||||||
border-width: 5px 0 5px 5px;
|
|
||||||
border-left-color: #cccccc;
|
|
||||||
margin-top: 5px;
|
|
||||||
margin-right: -10px;
|
|
||||||
}
|
|
||||||
.dropdown-submenu:hover>a:after {
|
|
||||||
border-left-color: #adb5bd;
|
|
||||||
}
|
|
||||||
.dropdown-submenu.pull-left {
|
|
||||||
float: none;
|
|
||||||
}
|
|
||||||
.dropdown-submenu.pull-left>.dropdown-menu {
|
|
||||||
left: -100%;
|
|
||||||
margin-left: 10px;
|
|
||||||
border-radius: 6px 0 6px 6px;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<script type="text/javascript">
|
|
||||||
// manage active state of menu based on current page
|
|
||||||
$(document).ready(function () {
|
|
||||||
// active menu anchor
|
|
||||||
href = window.location.pathname
|
|
||||||
href = href.substr(href.lastIndexOf('/') + 1)
|
|
||||||
if (href === "")
|
|
||||||
href = "index.html";
|
|
||||||
var menuAnchor = $('a[href="' + href + '"]');
|
|
||||||
|
|
||||||
// mark it active
|
|
||||||
menuAnchor.tab('show');
|
|
||||||
|
|
||||||
// if it's got a parent navbar menu mark it active as well
|
|
||||||
menuAnchor.closest('li.dropdown').addClass('active');
|
|
||||||
|
|
||||||
// Navbar adjustments
|
|
||||||
var navHeight = $(".navbar").first().height() + 15;
|
|
||||||
var style = document.createElement('style');
|
|
||||||
var pt = "padding-top: " + navHeight + "px; ";
|
|
||||||
var mt = "margin-top: -" + navHeight + "px; ";
|
|
||||||
var css = "";
|
|
||||||
// offset scroll position for anchor links (for fixed navbar)
|
|
||||||
for (var i = 1; i <= 6; i++) {
|
|
||||||
css += ".section h" + i + "{ " + pt + mt + "}\n";
|
|
||||||
}
|
|
||||||
style.innerHTML = "body {" + pt + "padding-bottom: 40px; }\n" + css;
|
|
||||||
document.head.appendChild(style);
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<!-- tabsets -->
|
|
||||||
|
|
||||||
<style type="text/css">
|
|
||||||
.tabset-dropdown > .nav-tabs {
|
|
||||||
display: inline-table;
|
|
||||||
max-height: 500px;
|
|
||||||
min-height: 44px;
|
|
||||||
overflow-y: auto;
|
|
||||||
border: 1px solid #ddd;
|
|
||||||
border-radius: 4px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabset-dropdown > .nav-tabs > li.active:before {
|
|
||||||
content: "";
|
|
||||||
font-family: 'Glyphicons Halflings';
|
|
||||||
display: inline-block;
|
|
||||||
padding: 10px;
|
|
||||||
border-right: 1px solid #ddd;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabset-dropdown > .nav-tabs.nav-tabs-open > li.active:before {
|
|
||||||
content: "";
|
|
||||||
border: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabset-dropdown > .nav-tabs.nav-tabs-open:before {
|
|
||||||
content: "";
|
|
||||||
font-family: 'Glyphicons Halflings';
|
|
||||||
display: inline-block;
|
|
||||||
padding: 10px;
|
|
||||||
border-right: 1px solid #ddd;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabset-dropdown > .nav-tabs > li.active {
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabset-dropdown > .nav-tabs > li > a,
|
|
||||||
.tabset-dropdown > .nav-tabs > li > a:focus,
|
|
||||||
.tabset-dropdown > .nav-tabs > li > a:hover {
|
|
||||||
border: none;
|
|
||||||
display: inline-block;
|
|
||||||
border-radius: 4px;
|
|
||||||
background-color: transparent;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabset-dropdown > .nav-tabs.nav-tabs-open > li {
|
|
||||||
display: block;
|
|
||||||
float: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabset-dropdown > .nav-tabs > li {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<!-- code folding -->
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<style type="text/css">
|
|
||||||
|
|
||||||
#TOC {
|
|
||||||
margin: 25px 0px 20px 0px;
|
|
||||||
}
|
|
||||||
@media (max-width: 768px) {
|
|
||||||
#TOC {
|
|
||||||
position: relative;
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@media print {
|
|
||||||
.toc-content {
|
|
||||||
/* see https://github.com/w3c/csswg-drafts/issues/4434 */
|
|
||||||
float: right;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.toc-content {
|
|
||||||
padding-left: 30px;
|
|
||||||
padding-right: 40px;
|
|
||||||
}
|
|
||||||
|
|
||||||
div.main-container {
|
|
||||||
max-width: 1200px;
|
|
||||||
}
|
|
||||||
|
|
||||||
div.tocify {
|
|
||||||
width: 20%;
|
|
||||||
max-width: 260px;
|
|
||||||
max-height: 85%;
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (min-width: 768px) and (max-width: 991px) {
|
|
||||||
div.tocify {
|
|
||||||
width: 25%;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (max-width: 767px) {
|
|
||||||
div.tocify {
|
|
||||||
width: 100%;
|
|
||||||
max-width: none;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.tocify ul, .tocify li {
|
|
||||||
line-height: 20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tocify-subheader .tocify-item {
|
|
||||||
font-size: 0.90em;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tocify .list-group-item {
|
|
||||||
border-radius: 0px;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
</style>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body>
|
|
||||||
|
|
||||||
|
|
||||||
<div class="container-fluid main-container">
|
|
||||||
|
|
||||||
|
|
||||||
<!-- setup 3col/9col grid for toc_float and main content -->
|
|
||||||
<div class="row">
|
|
||||||
<div class="col-xs-12 col-sm-4 col-md-3">
|
|
||||||
<div id="TOC" class="tocify">
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="toc-content col-xs-12 col-sm-8 col-md-9">
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div class="navbar navbar-default navbar-fixed-top" role="navigation">
|
|
||||||
<div class="container">
|
|
||||||
<div class="navbar-header">
|
|
||||||
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-bs-toggle="collapse" data-target="#navbar" data-bs-target="#navbar">
|
|
||||||
<span class="icon-bar"></span>
|
|
||||||
<span class="icon-bar"></span>
|
|
||||||
<span class="icon-bar"></span>
|
|
||||||
</button>
|
|
||||||
<a class="navbar-brand" href="index.html"><div><img src="ohdsi16x16.png"></img> OMOP Common Data Model </div></a>
|
|
||||||
</div>
|
|
||||||
<div id="navbar" class="navbar-collapse collapse">
|
|
||||||
<ul class="nav navbar-nav">
|
|
||||||
<li>
|
|
||||||
<a href="index.html">
|
|
||||||
<span class="fa fa-home"></span>
|
|
||||||
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
|
||||||
<span class="fa fa-landmark"></span>
|
|
||||||
|
|
||||||
Background
|
|
||||||
|
|
||||||
<span class="caret"></span>
|
|
||||||
</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="background.html">Model Background</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="cdmRefreshProcess.html">CDM Refresh Process</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="vocabulary.html">How the Vocabulary is Built</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
|
||||||
<span class="fa fa-list-alt"></span>
|
|
||||||
|
|
||||||
Conventions
|
|
||||||
|
|
||||||
<span class="caret"></span>
|
|
||||||
</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="dataModelConventions.html">General Conventions</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="ehrObsPeriods.html">Observation Periods for EHR Data</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="cdmPrivacy.html">Patient Privacy and OMOP</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
|
||||||
<span class="fa fa-history"></span>
|
|
||||||
|
|
||||||
CDM Versions
|
|
||||||
|
|
||||||
<span class="caret"></span>
|
|
||||||
</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="cdm30.html">CDM v3.0</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="cdm60.html">CDM v6.0</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="cdm53.html">CDM v5.3</a>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown-submenu">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">NEW CDM v5.4</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="cdm54.html">CDM v5.4</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="cdm54Changes.html">Changes from CDM v5.3</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
|
||||||
<span class="fa fa-plus-square"></span>
|
|
||||||
|
|
||||||
Proposals
|
|
||||||
|
|
||||||
<span class="caret"></span>
|
|
||||||
</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="https://github.com/OHDSI/CommonDataModel/issues?q=is%3Aopen+is%3Aissue+label%3AProposal">Under Review</a>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown-submenu">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">Accepted</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="https://github.com/OHDSI/CommonDataModel/issues/252">Region_concept_id</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
|
||||||
<span class="fa fa-question"></span>
|
|
||||||
|
|
||||||
How to
|
|
||||||
|
|
||||||
<span class="caret"></span>
|
|
||||||
</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="download.html">Download the DDL</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="cdmRPackage.html">Use the CDM R Package</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="drug_dose.html">Calculate Drug Dose</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
|
||||||
<span class="fa fa-life-ring"></span>
|
|
||||||
|
|
||||||
Support
|
|
||||||
|
|
||||||
<span class="caret"></span>
|
|
||||||
</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="faq.html">FAQ</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="sqlScripts.html">SQL Scripts</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="contribute.html">Ask a Question</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
<ul class="nav navbar-nav navbar-right">
|
|
||||||
<li>
|
|
||||||
<a href="https://github.com/OHDSI/CommonDataModel">
|
|
||||||
<span class="fa fa-github"></span>
|
|
||||||
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</div><!--/.nav-collapse -->
|
|
||||||
</div><!--/.container -->
|
|
||||||
</div><!--/.navbar -->
|
|
||||||
|
|
||||||
<div id="header">
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<h1 class="title toc-ignore">Ask A Question</h1>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<div id="check-the-forum" class="section level1">
|
|
||||||
<h1>Check the Forum</h1>
|
|
||||||
<p>Chances are someone else has already asked your question on the <a href="https:\forums.ohdsi.org">forum</a> and it has been answered.</p>
|
|
||||||
</div>
|
|
||||||
<div id="check-the-issue-log" class="section level1">
|
|
||||||
<h1>Check the Issue Log</h1>
|
|
||||||
<p>If you think you’ve found a bug you can check to see if someone also had that same problem on our <a href="https://github.com/ohdsi/commondatamodel/issues">issue page</a> of the Common Data Model github. If you don’t see your issue feel free to open one. Try and be as specific as possible. What error message occurs? Can you provide a simple example as to why you are requesting a change to the model?</p>
|
|
||||||
</div>
|
|
||||||
<div id="join-meetings" class="section level1">
|
|
||||||
<h1>Join meetings</h1>
|
|
||||||
<p>Please come to meetings, ask your question and contribute to the discussion! All details can be found on our <a href="https://ohdsi.github.io/CommonDataModel/">home page</a>.</p>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
|
|
||||||
// add bootstrap table styles to pandoc tables
|
|
||||||
function bootstrapStylePandocTables() {
|
|
||||||
$('tr.odd').parent('tbody').parent('table').addClass('table table-condensed');
|
|
||||||
}
|
|
||||||
$(document).ready(function () {
|
|
||||||
bootstrapStylePandocTables();
|
|
||||||
});
|
|
||||||
|
|
||||||
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<!-- tabsets -->
|
|
||||||
|
|
||||||
<script>
|
|
||||||
$(document).ready(function () {
|
|
||||||
window.buildTabsets("TOC");
|
|
||||||
});
|
|
||||||
|
|
||||||
$(document).ready(function () {
|
|
||||||
$('.tabset-dropdown > .nav-tabs > li').click(function () {
|
|
||||||
$(this).parent().toggleClass('nav-tabs-open');
|
|
||||||
});
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<!-- code folding -->
|
|
||||||
|
|
||||||
<script>
|
|
||||||
$(document).ready(function () {
|
|
||||||
|
|
||||||
// temporarily add toc-ignore selector to headers for the consistency with Pandoc
|
|
||||||
$('.unlisted.unnumbered').addClass('toc-ignore')
|
|
||||||
|
|
||||||
// move toc-ignore selectors from section div to header
|
|
||||||
$('div.section.toc-ignore')
|
|
||||||
.removeClass('toc-ignore')
|
|
||||||
.children('h1,h2,h3,h4,h5').addClass('toc-ignore');
|
|
||||||
|
|
||||||
// establish options
|
|
||||||
var options = {
|
|
||||||
selectors: "h1,h2,h3",
|
|
||||||
theme: "bootstrap3",
|
|
||||||
context: '.toc-content',
|
|
||||||
hashGenerator: function (text) {
|
|
||||||
return text.replace(/[.\\/?&!#<>]/g, '').replace(/\s/g, '_');
|
|
||||||
},
|
|
||||||
ignoreSelector: ".toc-ignore",
|
|
||||||
scrollTo: 0
|
|
||||||
};
|
|
||||||
options.showAndHide = true;
|
|
||||||
options.smoothScroll = true;
|
|
||||||
|
|
||||||
// tocify
|
|
||||||
var toc = $("#TOC").tocify(options).data("toc-tocify");
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<!-- dynamically load mathjax for compatibility with self-contained -->
|
|
||||||
<script>
|
|
||||||
(function () {
|
|
||||||
var script = document.createElement("script");
|
|
||||||
script.type = "text/javascript";
|
|
||||||
script.src = "https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML";
|
|
||||||
document.getElementsByTagName("head")[0].appendChild(script);
|
|
||||||
})();
|
|
||||||
</script>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
</html>
|
|
|
@ -1,900 +0,0 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
|
|
||||||
<html>
|
|
||||||
|
|
||||||
<head>
|
|
||||||
|
|
||||||
<meta charset="utf-8" />
|
|
||||||
<meta name="generator" content="pandoc" />
|
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=EDGE" />
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<title>dataModelConventions.knit</title>
|
|
||||||
|
|
||||||
<script src="site_libs/header-attrs-2.13/header-attrs.js"></script>
|
|
||||||
<script src="site_libs/jquery-3.6.0/jquery-3.6.0.min.js"></script>
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
||||||
<link href="site_libs/bootstrap-3.3.5/css/cosmo.min.css" rel="stylesheet" />
|
|
||||||
<script src="site_libs/bootstrap-3.3.5/js/bootstrap.min.js"></script>
|
|
||||||
<script src="site_libs/bootstrap-3.3.5/shim/html5shiv.min.js"></script>
|
|
||||||
<script src="site_libs/bootstrap-3.3.5/shim/respond.min.js"></script>
|
|
||||||
<style>h1 {font-size: 34px;}
|
|
||||||
h1.title {font-size: 38px;}
|
|
||||||
h2 {font-size: 30px;}
|
|
||||||
h3 {font-size: 24px;}
|
|
||||||
h4 {font-size: 18px;}
|
|
||||||
h5 {font-size: 16px;}
|
|
||||||
h6 {font-size: 12px;}
|
|
||||||
code {color: inherit; background-color: rgba(0, 0, 0, 0.04);}
|
|
||||||
pre:not([class]) { background-color: white }</style>
|
|
||||||
<script src="site_libs/jqueryui-1.11.4/jquery-ui.min.js"></script>
|
|
||||||
<link href="site_libs/tocify-1.9.1/jquery.tocify.css" rel="stylesheet" />
|
|
||||||
<script src="site_libs/tocify-1.9.1/jquery.tocify.js"></script>
|
|
||||||
<script src="site_libs/navigation-1.1/tabsets.js"></script>
|
|
||||||
<link href="site_libs/highlightjs-9.12.0/default.css" rel="stylesheet" />
|
|
||||||
<script src="site_libs/highlightjs-9.12.0/highlight.js"></script>
|
|
||||||
<link href="site_libs/font-awesome-5.1.0/css/all.css" rel="stylesheet" />
|
|
||||||
<link href="site_libs/font-awesome-5.1.0/css/v4-shims.css" rel="stylesheet" />
|
|
||||||
<link rel='shortcut icon' type='image/x-icon' href='favicon.ico' />
|
|
||||||
|
|
||||||
<style type="text/css">
|
|
||||||
code{white-space: pre-wrap;}
|
|
||||||
span.smallcaps{font-variant: small-caps;}
|
|
||||||
span.underline{text-decoration: underline;}
|
|
||||||
div.column{display: inline-block; vertical-align: top; width: 50%;}
|
|
||||||
div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;}
|
|
||||||
ul.task-list{list-style: none;}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<style type="text/css">code{white-space: pre;}</style>
|
|
||||||
<script type="text/javascript">
|
|
||||||
if (window.hljs) {
|
|
||||||
hljs.configure({languages: []});
|
|
||||||
hljs.initHighlightingOnLoad();
|
|
||||||
if (document.readyState && document.readyState === "complete") {
|
|
||||||
window.setTimeout(function() { hljs.initHighlighting(); }, 0);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<link rel="stylesheet" href="style.css" type="text/css" />
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<style type = "text/css">
|
|
||||||
.main-container {
|
|
||||||
max-width: 940px;
|
|
||||||
margin-left: auto;
|
|
||||||
margin-right: auto;
|
|
||||||
}
|
|
||||||
img {
|
|
||||||
max-width:100%;
|
|
||||||
}
|
|
||||||
.tabbed-pane {
|
|
||||||
padding-top: 12px;
|
|
||||||
}
|
|
||||||
.html-widget {
|
|
||||||
margin-bottom: 20px;
|
|
||||||
}
|
|
||||||
button.code-folding-btn:focus {
|
|
||||||
outline: none;
|
|
||||||
}
|
|
||||||
summary {
|
|
||||||
display: list-item;
|
|
||||||
}
|
|
||||||
details > summary > p:only-child {
|
|
||||||
display: inline;
|
|
||||||
}
|
|
||||||
pre code {
|
|
||||||
padding: 0;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
|
|
||||||
<style type="text/css">
|
|
||||||
.dropdown-submenu {
|
|
||||||
position: relative;
|
|
||||||
}
|
|
||||||
.dropdown-submenu>.dropdown-menu {
|
|
||||||
top: 0;
|
|
||||||
left: 100%;
|
|
||||||
margin-top: -6px;
|
|
||||||
margin-left: -1px;
|
|
||||||
border-radius: 0 6px 6px 6px;
|
|
||||||
}
|
|
||||||
.dropdown-submenu:hover>.dropdown-menu {
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
.dropdown-submenu>a:after {
|
|
||||||
display: block;
|
|
||||||
content: " ";
|
|
||||||
float: right;
|
|
||||||
width: 0;
|
|
||||||
height: 0;
|
|
||||||
border-color: transparent;
|
|
||||||
border-style: solid;
|
|
||||||
border-width: 5px 0 5px 5px;
|
|
||||||
border-left-color: #cccccc;
|
|
||||||
margin-top: 5px;
|
|
||||||
margin-right: -10px;
|
|
||||||
}
|
|
||||||
.dropdown-submenu:hover>a:after {
|
|
||||||
border-left-color: #adb5bd;
|
|
||||||
}
|
|
||||||
.dropdown-submenu.pull-left {
|
|
||||||
float: none;
|
|
||||||
}
|
|
||||||
.dropdown-submenu.pull-left>.dropdown-menu {
|
|
||||||
left: -100%;
|
|
||||||
margin-left: 10px;
|
|
||||||
border-radius: 6px 0 6px 6px;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<script type="text/javascript">
|
|
||||||
// manage active state of menu based on current page
|
|
||||||
$(document).ready(function () {
|
|
||||||
// active menu anchor
|
|
||||||
href = window.location.pathname
|
|
||||||
href = href.substr(href.lastIndexOf('/') + 1)
|
|
||||||
if (href === "")
|
|
||||||
href = "index.html";
|
|
||||||
var menuAnchor = $('a[href="' + href + '"]');
|
|
||||||
|
|
||||||
// mark it active
|
|
||||||
menuAnchor.tab('show');
|
|
||||||
|
|
||||||
// if it's got a parent navbar menu mark it active as well
|
|
||||||
menuAnchor.closest('li.dropdown').addClass('active');
|
|
||||||
|
|
||||||
// Navbar adjustments
|
|
||||||
var navHeight = $(".navbar").first().height() + 15;
|
|
||||||
var style = document.createElement('style');
|
|
||||||
var pt = "padding-top: " + navHeight + "px; ";
|
|
||||||
var mt = "margin-top: -" + navHeight + "px; ";
|
|
||||||
var css = "";
|
|
||||||
// offset scroll position for anchor links (for fixed navbar)
|
|
||||||
for (var i = 1; i <= 6; i++) {
|
|
||||||
css += ".section h" + i + "{ " + pt + mt + "}\n";
|
|
||||||
}
|
|
||||||
style.innerHTML = "body {" + pt + "padding-bottom: 40px; }\n" + css;
|
|
||||||
document.head.appendChild(style);
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<!-- tabsets -->
|
|
||||||
|
|
||||||
<style type="text/css">
|
|
||||||
.tabset-dropdown > .nav-tabs {
|
|
||||||
display: inline-table;
|
|
||||||
max-height: 500px;
|
|
||||||
min-height: 44px;
|
|
||||||
overflow-y: auto;
|
|
||||||
border: 1px solid #ddd;
|
|
||||||
border-radius: 4px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabset-dropdown > .nav-tabs > li.active:before {
|
|
||||||
content: "";
|
|
||||||
font-family: 'Glyphicons Halflings';
|
|
||||||
display: inline-block;
|
|
||||||
padding: 10px;
|
|
||||||
border-right: 1px solid #ddd;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabset-dropdown > .nav-tabs.nav-tabs-open > li.active:before {
|
|
||||||
content: "";
|
|
||||||
border: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabset-dropdown > .nav-tabs.nav-tabs-open:before {
|
|
||||||
content: "";
|
|
||||||
font-family: 'Glyphicons Halflings';
|
|
||||||
display: inline-block;
|
|
||||||
padding: 10px;
|
|
||||||
border-right: 1px solid #ddd;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabset-dropdown > .nav-tabs > li.active {
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabset-dropdown > .nav-tabs > li > a,
|
|
||||||
.tabset-dropdown > .nav-tabs > li > a:focus,
|
|
||||||
.tabset-dropdown > .nav-tabs > li > a:hover {
|
|
||||||
border: none;
|
|
||||||
display: inline-block;
|
|
||||||
border-radius: 4px;
|
|
||||||
background-color: transparent;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabset-dropdown > .nav-tabs.nav-tabs-open > li {
|
|
||||||
display: block;
|
|
||||||
float: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabset-dropdown > .nav-tabs > li {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<!-- code folding -->
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<style type="text/css">
|
|
||||||
|
|
||||||
#TOC {
|
|
||||||
margin: 25px 0px 20px 0px;
|
|
||||||
}
|
|
||||||
@media (max-width: 768px) {
|
|
||||||
#TOC {
|
|
||||||
position: relative;
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@media print {
|
|
||||||
.toc-content {
|
|
||||||
/* see https://github.com/w3c/csswg-drafts/issues/4434 */
|
|
||||||
float: right;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.toc-content {
|
|
||||||
padding-left: 30px;
|
|
||||||
padding-right: 40px;
|
|
||||||
}
|
|
||||||
|
|
||||||
div.main-container {
|
|
||||||
max-width: 1200px;
|
|
||||||
}
|
|
||||||
|
|
||||||
div.tocify {
|
|
||||||
width: 20%;
|
|
||||||
max-width: 260px;
|
|
||||||
max-height: 85%;
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (min-width: 768px) and (max-width: 991px) {
|
|
||||||
div.tocify {
|
|
||||||
width: 25%;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (max-width: 767px) {
|
|
||||||
div.tocify {
|
|
||||||
width: 100%;
|
|
||||||
max-width: none;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.tocify ul, .tocify li {
|
|
||||||
line-height: 20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tocify-subheader .tocify-item {
|
|
||||||
font-size: 0.90em;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tocify .list-group-item {
|
|
||||||
border-radius: 0px;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
</style>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body>
|
|
||||||
|
|
||||||
|
|
||||||
<div class="container-fluid main-container">
|
|
||||||
|
|
||||||
|
|
||||||
<!-- setup 3col/9col grid for toc_float and main content -->
|
|
||||||
<div class="row">
|
|
||||||
<div class="col-xs-12 col-sm-4 col-md-3">
|
|
||||||
<div id="TOC" class="tocify">
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="toc-content col-xs-12 col-sm-8 col-md-9">
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div class="navbar navbar-default navbar-fixed-top" role="navigation">
|
|
||||||
<div class="container">
|
|
||||||
<div class="navbar-header">
|
|
||||||
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-bs-toggle="collapse" data-target="#navbar" data-bs-target="#navbar">
|
|
||||||
<span class="icon-bar"></span>
|
|
||||||
<span class="icon-bar"></span>
|
|
||||||
<span class="icon-bar"></span>
|
|
||||||
</button>
|
|
||||||
<a class="navbar-brand" href="index.html"><div><img src="ohdsi16x16.png"></img> OMOP Common Data Model </div></a>
|
|
||||||
</div>
|
|
||||||
<div id="navbar" class="navbar-collapse collapse">
|
|
||||||
<ul class="nav navbar-nav">
|
|
||||||
<li>
|
|
||||||
<a href="index.html">
|
|
||||||
<span class="fa fa-home"></span>
|
|
||||||
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
|
||||||
<span class="fa fa-landmark"></span>
|
|
||||||
|
|
||||||
Background
|
|
||||||
|
|
||||||
<span class="caret"></span>
|
|
||||||
</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="background.html">Model Background</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="cdmRefreshProcess.html">CDM Refresh Process</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="vocabulary.html">How the Vocabulary is Built</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
|
||||||
<span class="fa fa-list-alt"></span>
|
|
||||||
|
|
||||||
Conventions
|
|
||||||
|
|
||||||
<span class="caret"></span>
|
|
||||||
</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="dataModelConventions.html">General Conventions</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="ehrObsPeriods.html">Observation Periods for EHR Data</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="cdmPrivacy.html">Patient Privacy and OMOP</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
|
||||||
<span class="fa fa-history"></span>
|
|
||||||
|
|
||||||
CDM Versions
|
|
||||||
|
|
||||||
<span class="caret"></span>
|
|
||||||
</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="cdm30.html">CDM v3.0</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="cdm60.html">CDM v6.0</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="cdm53.html">CDM v5.3</a>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown-submenu">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">NEW CDM v5.4</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="cdm54.html">CDM v5.4</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="cdm54Changes.html">Changes from CDM v5.3</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
|
||||||
<span class="fa fa-plus-square"></span>
|
|
||||||
|
|
||||||
Proposals
|
|
||||||
|
|
||||||
<span class="caret"></span>
|
|
||||||
</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="https://github.com/OHDSI/CommonDataModel/issues?q=is%3Aopen+is%3Aissue+label%3AProposal">Under Review</a>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown-submenu">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">Accepted</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="https://github.com/OHDSI/CommonDataModel/issues/252">Region_concept_id</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
|
||||||
<span class="fa fa-question"></span>
|
|
||||||
|
|
||||||
How to
|
|
||||||
|
|
||||||
<span class="caret"></span>
|
|
||||||
</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="download.html">Download the DDL</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="cdmRPackage.html">Use the CDM R Package</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="drug_dose.html">Calculate Drug Dose</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
|
||||||
<span class="fa fa-life-ring"></span>
|
|
||||||
|
|
||||||
Support
|
|
||||||
|
|
||||||
<span class="caret"></span>
|
|
||||||
</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="faq.html">FAQ</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="sqlScripts.html">SQL Scripts</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="contribute.html">Ask a Question</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
<ul class="nav navbar-nav navbar-right">
|
|
||||||
<li>
|
|
||||||
<a href="https://github.com/OHDSI/CommonDataModel">
|
|
||||||
<span class="fa fa-github"></span>
|
|
||||||
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</div><!--/.nav-collapse -->
|
|
||||||
</div><!--/.container -->
|
|
||||||
</div><!--/.navbar -->
|
|
||||||
|
|
||||||
<div id="header">
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<div id="data-model-conventions" class="section level1">
|
|
||||||
<h1><strong>Data Model Conventions</strong></h1>
|
|
||||||
<p>There are a number of implicit and explicit conventions that have been adopted in the CDM. Developers of methods that run against the CDM need to understand these conventions.</p>
|
|
||||||
<div id="general" class="section level2">
|
|
||||||
<h2><strong>General</strong></h2>
|
|
||||||
<p>The OMOP CDM is platform-independent. Data types are defined generically using ANSI SQL data types (VARCHAR, INTEGER, FLOAT, DATE, DATETIME, CLOB). Precision is provided only for VARCHAR. It reflects the minimal required string length and can be expanded within a CDM instantiation. The CDM does not prescribe the date and datetime format. Standard queries against CDM may vary for local instantiations and date/datetime configurations.</p>
|
|
||||||
<div id="tables" class="section level3">
|
|
||||||
<h3>Tables</h3>
|
|
||||||
<p>For the tables of the main domains of the CDM it is imperative that concepts used are strictly limited to the domain. For example, the CONDITION_OCCURRENCE table contains only information about conditions (diagnoses, signs, symptoms), but no information about procedures. Not all source coding schemes adhere to such rules. For example, ICD-9-CM codes, which contain mostly diagnoses of human disease, also contain information about the status of patients having received a procedure. The ICD-9-CM code V20.3 ‘Newborn health supervision’ defines a continuous procedure and is therefore stored in the PROCEDURE_OCCURRENCE table.</p>
|
|
||||||
</div>
|
|
||||||
<div id="fields" class="section level3">
|
|
||||||
<h3>Fields</h3>
|
|
||||||
<p>Variable names across all tables follow one convention:</p>
|
|
||||||
<table>
|
|
||||||
<colgroup>
|
|
||||||
<col width="29%" />
|
|
||||||
<col width="70%" />
|
|
||||||
</colgroup>
|
|
||||||
<thead>
|
|
||||||
<tr class="header">
|
|
||||||
<th>Notation</th>
|
|
||||||
<th>Description</th>
|
|
||||||
</tr>
|
|
||||||
</thead>
|
|
||||||
<tbody>
|
|
||||||
<tr class="odd">
|
|
||||||
<td><entity>_SOURCE_VALUE</td>
|
|
||||||
<td>Verbatim information from the source data, typically used in ETL to map to CONCEPT_ID, and not to be used by any standard analytics. For example, CONDITION_SOURCE_VALUE = ‘787.02’ was the ICD-9 code captured as a diagnosis from the administrative claim.</td>
|
|
||||||
</tr>
|
|
||||||
<tr class="even">
|
|
||||||
<td><entity>_ID</td>
|
|
||||||
<td>Unique identifiers for key entities, which can serve as foreign keys to establish relationships across entities. For example, PERSON_ID uniquely identifies each individual. VISIT_OCCURRENCE_ID uniquely identifies a PERSON encounter at a point of care.</td>
|
|
||||||
</tr>
|
|
||||||
<tr class="odd">
|
|
||||||
<td><entity>_CONCEPT_ID</td>
|
|
||||||
<td>Foreign key into the Standardized Vocabularies (i.e. the standard_concept attribute for the corresponding term is true), which serves as the primary basis for all standardized analytics. For example, CONDITION_CONCEPT_ID = <a href="http://athena.ohdsi.org/search-terms/terms/31967">31967</a> contains the reference value for the SNOMED concept of ‘Nausea’</td>
|
|
||||||
</tr>
|
|
||||||
<tr class="even">
|
|
||||||
<td><entity>_SOURCE_CONCEPT_ID</td>
|
|
||||||
<td>Foreign key into the Standardized Vocabularies representing the concept and terminology used in the source data, when applicable. For example, CONDITION_SOURCE_CONCEPT_ID = <a href="http://athena.ohdsi.org/search-terms/terms/45431665">45431665</a> denotes the concept of ‘Nausea’ in the Read terminology; the analogous CONDITION_CONCEPT_ID might be 31967, since SNOMED-CT is the Standardized Vocabulary for most clinical diagnoses and findings.</td>
|
|
||||||
</tr>
|
|
||||||
<tr class="odd">
|
|
||||||
<td><entity>_TYPE_CONCEPT_ID</td>
|
|
||||||
<td>Delineates the origin of the source information, standardized within the Standardized Vocabularies. For example, DRUG_TYPE_CONCEPT_ID can allow analysts to discriminate between ‘Pharmacy dispensing’ and ‘Prescription written’</td>
|
|
||||||
</tr>
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div id="vocabulary" class="section level2">
|
|
||||||
<h2><strong>Vocabulary</strong></h2>
|
|
||||||
<div id="concepts" class="section level3">
|
|
||||||
<h3>Concepts</h3>
|
|
||||||
<p>Concepts in the Common Data Model are derived from a number of public or proprietary terminologies such as SNOMED-CT and RxNorm, or custom generated to standardize aspects of observational data. Both types of Concepts are integrated based on the following rules:</p>
|
|
||||||
<ul>
|
|
||||||
<li>All Concepts are maintained centrally by the CDM and Vocabularies Working Group. Additional concepts can be added, as needed, upon request by creating a <a href="https://github.com/OHDSI/Vocabulary-v5.0/issues">Github issue</a>.</li>
|
|
||||||
<li>For all Concepts, whether they are custom generated or adopted from published terminologies, a unique numeric identifier concept_id is assigned and used as the key to link all observational data to the corresponding Concept reference data.</li>
|
|
||||||
<li>The concept_id of a Concept is persistent, i.e. stays the same for the same Concept between releases of the Standardized Vocabularies.</li>
|
|
||||||
<li>A descriptive name for each Concept is stored as the Concept Name as part of the CONCEPT table. Additional names and descriptions for the Concept are stored as Synonyms in the <a href="https://ohdsi.github.io/CommonDataModel/cdm531.html#concept_synonym">CONCEPT_SYNONYM</a> table.</li>
|
|
||||||
<li>Each Concept is assigned to a Domain. For Standard Concepts, there is always a single Domain. Source Concepts can be composite or coordinated entities, and therefore can belong to more than one Domain. The domain_id field of the record contains the abbreviation of the Domain, or Domain combination. Please refer to the Standardized Vocabularies specification for details of the Domain Assignment.</li>
|
|
||||||
<li>Concept Class designations are attributes of Concepts. Each Vocabulary has its own set of permissible Concept Classes, although the same Concept Class can be used by more than one Vocabulary. Depending on the Vocabulary, the Concept Class may categorize Concepts vertically (parallel) or horizontally (hierarchically). See the specification of each vocabulary for details.</li>
|
|
||||||
<li>Concept Class attributes should not be confused with Classification Concepts. These are separate Concepts that have a hierarchical relationship to Standard Concepts or each other, while Concept Classes are unique Vocabulary-specific attributes for each Concept.</li>
|
|
||||||
<li>For Concepts inherited from published terminologies, the source code is retained in the concept_code field and can be used to reference the source vocabulary.</li>
|
|
||||||
<li>Standard Concepts (designated as ‘S’ in the standard_concept field) may appear in CDM tables in all *_concept_id fields, whereas Classification Concepts (‘C’) should not appear in the CDM data, but participate in the construction of the CONCEPT_ANCESTOR table and can be used to identify Descendants that may appear in the data. See CONCEPT_ANCESTOR table. Non-standard Concepts can only appear in *_source_concept_id fields and are not used in <a href="https://ohdsi.github.io/CommonDataModel/cdm531.html#concept_ancestor">CONCEPT_ANCESTOR</a> table. Please refer to the Standardized Vocabularies specifications for details of the Standard Concept designation.</li>
|
|
||||||
<li>The lifespan of a Concept is recorded through its valid_start_date, valid_end_date and the invalid_ reason fields. This allows Concepts to correctly reflect at which point in time were defined. Usually, Concepts get deprecated if their meaning was deemed ambiguous, a duplication of another Concept, or needed revision for scientific reason. For example, drug ingredients get updated when different salt or isomer variants enter the market. Usually, drugs taken off the market do not cause a deprecation by the terminology vendor. Since observational data are valid with respect to the time they are recorded, it is key for the Standardized Vocabularies to provide even obsolete codes and maintain their relationships to other current Concepts .</li>
|
|
||||||
<li>Concepts without a known instantiated date are assigned valid_start_date of ‘1-Jan-1970’.</li>
|
|
||||||
<li>Concepts that are not invalid are assigned valid_end_date of ‘31-Dec-2099’.</li>
|
|
||||||
<li>Deprecated Concepts (with a valid_end_date before the release date of the Standardized Vocabularies) will have a value of ‘D’ (deprecated without successor) or ‘U’ (updated). The updated Concepts have a record in the CONCEPT_RELATIONSHIP table indicating their active replacement Concept.</li>
|
|
||||||
<li>Values for concept_ids generated as part of Standardized Vocabularies will be reserved from 0 to 2,000,000,000. Above this range, concept_ids are available for local use and are guaranteed not to clash with future releases of the Standardized Vocabularies.</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
<div id="vocabularies" class="section level3">
|
|
||||||
<h3>Vocabularies</h3>
|
|
||||||
<ul>
|
|
||||||
<li>There is one record for each Vocabulary. One Vocabulary source or vendor can issue several Vocabularies, each of them creating their own record in the VOCABULARY table. However, the choice of whether a Vocabulary contains Concepts of different Concept Classes, or when these different classes constitute separate Vocabularies cannot precisely be decided based on the definition of what constitutes a Vocabulary. For example, the ICD-9 Volume 1 and 2 codes (ICD9CM, containing predominantly conditions and some procedures and observations) and the ICD-9 Volume 3 codes (ICD9Proc, containing predominantly procedures) are realized as two different Vocabularies. On the other hand, SNOMED-CT codes of the class Condition and those of the class Procedure are part of one and the same Vocabulary. Please refer to the Standardized Vocabularies specifications for details of each Vocabulary.</li>
|
|
||||||
<li>The vocabulary_id field contains an alphanumerical identifier, that can also be used as the abbreviation of the Vocabulary name.</li>
|
|
||||||
<li>The record with vocabulary_id = ‘None’ is reserved to contain information regarding the current version of the Entire Standardized Vocabularies.</li>
|
|
||||||
<li>The vocabulary_name field contains the full official name of the Vocabulary, as well as the source or vendor in parenthesis.</li>
|
|
||||||
<li>Each Vocabulary has an entry in the CONCEPT table, which is recorded in the vocabulary_concept_id field. This is for purposes of creating a closed Information Model, where all entities in the OMOP CDM are covered by a unique Concept.</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
<div id="domains" class="section level3">
|
|
||||||
<h3>Domains</h3>
|
|
||||||
<ul>
|
|
||||||
<li>There is one record for each Domain. The domains are defined by the tables and fields in the OMOP CDM that can contain Concepts describing all the various aspects of the healthcare experience of a patient.</li>
|
|
||||||
<li>The domain_id field contains an alphanumerical identifier, that can also be used as the abbreviation of the Domain.</li>
|
|
||||||
<li>The domain_name field contains the unabbreviated names of the Domain.</li>
|
|
||||||
<li>Each Domain also has an entry in the Concept table, which is recorded in the domain_concept_id field. This is for purposes of creating a closed Information Model, where all entities in the OMOP CDM are covered by unique Concept.</li>
|
|
||||||
<li>Versions prior to v5.0.0 of the OMOP CDM did not support the notion of a Domain.</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
<div id="concept-classes" class="section level3">
|
|
||||||
<h3>Concept Classes</h3>
|
|
||||||
<ul>
|
|
||||||
<li>There is one record for each Concept Class. Concept Classes are used to create additional structure to the Concepts within each Vocabulary. Some Concept Classes are unique to a Vocabulary (for example “Clinical Finding” in SNOMED), but others can be used across different Vocabularies. The separation of Concepts through Concept Classes can be semantically horizontal (each Class subsumes Concepts of the same hierarchical level, akin to sub-Vocabularies within a Vocabulary) or vertical (each Class subsumes Concepts of a certain kind, going across hierarchical levels). For example, Concept Classes in SNOMED are vertical: The classes “Procedure” and “Clinical Finding” define very granular to very generic Concepts. On the other hand, “Clinical Drug” and “Ingredient” Concept Classes define horizontal layers or strata in the RxNorm vocabulary, which all belong to the same concept of a Drug.</li>
|
|
||||||
<li>The concept_class_id field contains an alphanumerical identifier, that can also be used as the abbreviation of the Concept Class.</li>
|
|
||||||
<li>The concept_class_name field contains the unabbreviated names of the Concept Class.</li>
|
|
||||||
<li>Each Concept Class also has an entry in the Concept table, which is recorded in the concept_ class_concept_id field. This is for purposes of creating a closed Information Model, where all entities in the OMOP CDM are covered by unique Concepts.</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
<div id="concept-relationships" class="section level3">
|
|
||||||
<h3>Concept Relationships</h3>
|
|
||||||
<ul>
|
|
||||||
<li>Relationships can generally be classified as hierarchical (parent-child) or non-hierarchical (lateral).</li>
|
|
||||||
<li>All Relationships are directional, and each Concept Relationship is represented twice symmetrically within the CONCEPT_RELATIONSHIP table. For example, the two SNOMED concepts of ‘Acute myocardial infarction of the anterior wall’ and ‘Acute myocardial infarction’ have two Concept Relationships:
|
|
||||||
<ul>
|
|
||||||
<li>‘Acute myocardial infarction of the anterior wall’ ‘Is a’ ‘Acute myocardial infarction’, and</li>
|
|
||||||
<li>‘Acute myocardial infarction’ ‘Subsumes’ ‘Acute myocardial infarction of the anterior wall’.</li>
|
|
||||||
</ul></li>
|
|
||||||
<li>There is one record for each Concept Relationship connecting the same Concepts with the same relationship_id.</li>
|
|
||||||
<li>Since all Concept Relationships exist with their mirror image (concept_id_1 and concept_id_2 swapped, and the relationship_id replaced by the reverse_relationship_id from the RELATIONSHIP table), it is not necessary to query for the existence of a relationship both in the concept_id_1 and concept_id_2 fields.</li>
|
|
||||||
<li>Concept Relationships define direct relationships between Concepts. Indirect relationships through 3rd Concepts are not captured in this table. However, the <a href="https://ohdsi.github.io/CommonDataModel/cdm531.html#concept_ancestor">CONCEPT_ANCESTOR</a> table does this for hierachical relationships over several “generations” of direct relationships.</li>
|
|
||||||
<li>In previous versions of the CDM, the relationship_id used to be a numerical identifier. See the <a href="https://ohdsi.github.io/CommonDataModel/cdm531.html#relationship">RELATIONSHIP</a> table.</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
<div id="relationship-table" class="section level3">
|
|
||||||
<h3>Relationship Table</h3>
|
|
||||||
<ul>
|
|
||||||
<li>There is one record for each Relationship.</li>
|
|
||||||
<li>Relationships are classified as hierarchical (parent-child) or non-hierarchical (lateral)</li>
|
|
||||||
<li>They are used to determine which concept relationship records should be included in the computation of the CONCEPT_ANCESTOR table.</li>
|
|
||||||
<li>The relationship_id field contains an alphanumerical identifier, that can also be used as the abbreviation of the Relationship.</li>
|
|
||||||
<li>The relationship_name field contains the unabbreviated names of the Relationship.</li>
|
|
||||||
<li>Relationships all exist symmetrically, i.e. in both direction. The relationship_id of the opposite Relationship is provided in the reverse_relationship_id field.</li>
|
|
||||||
<li>Each Relationship also has an equivalent entry in the Concept table, which is recorded in the relationship_ concept_id field. This is for purposes of creating a closed Information Model, where all entities in the OMOP CDM are covered by unique Concepts.</li>
|
|
||||||
<li>Hierarchical Relationships are used to build a hierarchical tree out of the Concepts, which is recorded in the <a href="https://ohdsi.github.io/CommonDataModel/cdm531.html#concept_ancestor">CONCEPT_ANCESTOR</a> table. For example, “has_ingredient” is a Relationship between Concept of the Concept Class ‘Clinical Drug’ and those of ‘Ingredient’, and all Ingredients can be classified as the “parental” hierarchical Concepts for the drug products they are part of. All ‘Is a’ Relationships are hierarchical.</li>
|
|
||||||
<li>Relationships, also hierarchical, can be between Concepts within the same Vocabulary or those adopted from different Vocabulary sources.</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
<div id="concept-synonyms" class="section level3">
|
|
||||||
<h3>Concept Synonyms</h3>
|
|
||||||
<ul>
|
|
||||||
<li>The concept_synonym_name field contains a valid Synonym of a concept, including the description in the concept_name itself. I.e. each Concept has at least one Synonym in the <a href="https://ohdsi.github.io/CommonDataModel/cdm531.html#concept_synonym">CONCEPT_SYNONYM</a> table. As an example, for a SNOMED-CT Concept, if the fully specified name is stored as the concept_name of the <a href="https://ohdsi.github.io/CommonDataModel/cdm531.html#concept">CONCEPT</a> table, then the Preferred Term and Synonyms associated with the Concept are stored in the <a href="https://ohdsi.github.io/CommonDataModel/cdm531.html#concept_synonym">CONCEPT_SYNONYM</a> table.</li>
|
|
||||||
<li>Only Synonyms that are active and current are stored in the <a href="https://ohdsi.github.io/CommonDataModel/cdm531.html#concept_synonym">CONCEPT_SYNONYM</a> table. Tracking synonym/description history and mapping of obsolete synonyms to current Concepts/Synonyms is out of scope for the Standard Vocabularies.</li>
|
|
||||||
<li>Currently, only English Synonyms are included.</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
<div id="concept-ancestor" class="section level3">
|
|
||||||
<h3>Concept Ancestor</h3>
|
|
||||||
<ul>
|
|
||||||
<li>Each concept is also recorded as an ancestor of itself.</li>
|
|
||||||
<li>Only valid and Standard Concepts participate in the <a href="https://ohdsi.github.io/CommonDataModel/cdm531.html#concept_ancestor">CONCEPT_ANCESTOR</a> table. It is not possible to find ancestors or descendants of deprecated or Source Concepts.</li>
|
|
||||||
<li>Usually, only Concepts of the same Domain are connected through records of the <a href="https://ohdsi.github.io/CommonDataModel/cdm531.html#concept_ancestor">CONCEPT_ANCESTOR</a> table, but there might be exceptions.</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
<div id="source-to-concept-map" class="section level3">
|
|
||||||
<h3>Source to Concept Map</h3>
|
|
||||||
<ul>
|
|
||||||
<li>This table is no longer used to distribute mapping information between source codes and Standard Concepts for the Standard Vocabularies. Instead, the CONCEPT_RELATIONSHIP table is used for this purpose, using the relationship_id=‘Maps to’.</li>
|
|
||||||
<li>However, this table can still be used for the translation of local source codes into Standard Concepts.</li>
|
|
||||||
<li><strong>Note:</strong> This table should not be used to translate source codes to Source Concepts. The source code of a Source Concept is captured in its concept_code field. If the source codes used in a given database do not follow correct formatting the ETL will have to perform this translation. For example, if ICD-9-CM codes are recorded without a dot the ETL will have to perform a lookup function that allows identifying the correct ICD-9-CM Source Concept (with the dot in the concept_code field).</li>
|
|
||||||
<li>The source_concept_id, or the combination of the fields source_code and the source_vocabulary_id uniquely identifies the source information. It is the equivalent to the concept_id_1 field in the CONCEPT_RELATIONSHIP table.</li>
|
|
||||||
<li>If there is no source_concept_id available because the source codes are local and not supported by the Standard Vocabulary, the content of the field is 0 (zero, not null) encoding an undefined concept. However, local Source Concepts are established (concept_id values above 2,000,000,000).</li>
|
|
||||||
<li>The source_code_description contains an optional description of the source code.</li>
|
|
||||||
<li>The target_concept_id contains the Concept the source code is mapped to. It is equivalent to the concept_id_2 in the CONCEPT_RELATIONSHIP table</li>
|
|
||||||
<li>The target_vocabulary_id field contains the vocabulary_id of the target concept. It is a duplication of the same information in the CONCEPT record of the Target Concept.</li>
|
|
||||||
<li>The fields valid_start_date, valid_end_date and invalid_reason are used to define the life cycle of the mapping information. Invalid mapping records should not be used for mapping information.</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
<div id="drug-strength" class="section level3">
|
|
||||||
<h3>Drug Strength</h3>
|
|
||||||
<ul>
|
|
||||||
<li>The DRUG_STRENGTH table contains information for each active (non-deprecated) Standard Drug Concept.</li>
|
|
||||||
<li>A drug which contains multiple active Ingredients will result in multiple DRUG_STRENGTH records, one for each active ingredient.</li>
|
|
||||||
<li>Ingredient strength information is provided either as absolute amount (usually for solid formulations) or as concentration (usually for liquid formulations).</li>
|
|
||||||
<li>If the absolute amount is provided (for example, ‘Acetaminophen 5 MG Tablet’) the amount_value and amount_unit_concept_id are used to define this content (in this case 5 and ‘MG’).</li>
|
|
||||||
<li>If the concentration is provided (for example ‘Acetaminophen 48 MG/ML Oral Solution’) the numerator_ value in combination with the numerator_unit_concept_id and denominator_unit_concept_id are used to define this content (in this case 48, ‘MG’ and ‘ML’).</li>
|
|
||||||
<li>In case of Quantified Clinical or Branded Drugs the denominator_value contains the total amount of the solution (not the amount of the ingredient). In all other drug concept classes the denominator amount is NULL because the concentration is always normalized to the unit of the denominator. So, a product containing 960 mg in 20 mL is provided as 48 mg/mL in the Clinical Drug and Clinical Drug Component, while as a Quantified Clinical Drug it is written as 960 mg/20 mL.</li>
|
|
||||||
<li>If the strength is provided in % (volume or mass-percent are not distinguished) it is stored in the numerator_value/numerator_unit_concept_id field combination, with both the denominator_value and denominator_unit_concept_id set to NULL. If it is a Quantified Drug the total amount of drug is provided in the denominator_value/denominator_unit_concept_id pair. E.g., the 30 G Isoconazole 2% Topical Cream is provided as 2% / in Clinical Drug and Clinical Drug Component, and as 2% /30 G.</li>
|
|
||||||
<li>Sometimes, one Ingredient is listed with different units within the same drug. This is very rare, and usually this happens if there are more than one Precise Ingredient. For example, ‘Penicillin G, 30 Benzathine 150000 UNT/ML / Penicillin G, Procaine 150000 MEQ/ML Injectable Suspension’ contains Penicillin G in two different forms.</li>
|
|
||||||
<li>Sometimes, different ingredients in liquid drugs are listed with different units in the denominator_ unit_concept_id. This is usually the case if the ingredients are liquids themselves (concentration provided as mL/mL) or solid substances (mg/mg). In these cases, the general assumptions is made that the density of the drug is that of water, and one can assume 1 g = 1 mL.</li>
|
|
||||||
<li>All Drug vocabularies containing Standard Concepts have entries in the DRUG_STRENGTH table.</li>
|
|
||||||
<li>There is now a Concept Class for supplier information whose relationships can be found in CONCEPT_ RELATIONSHIP with a relationship_id of ‘Has supplier’ and ‘Supplier of’</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div id="mapping" class="section level2">
|
|
||||||
<h2><strong>Mapping</strong></h2>
|
|
||||||
<div id="representing-content-as-concepts" class="section level3">
|
|
||||||
<h3>Representing content as Concepts</h3>
|
|
||||||
<p>In CDM data tables the meaning of the content of each record is represented using Concepts. Concepts are stored with their CONCEPT_ID as foreign keys to the CONCEPT table in the Standardized Vocabularies, which contains Concepts necessary to describe the healthcare experience of a patient. If a Standard Concept does not exist or cannot be identified, the Concept with the CONCEPT_ID 0 is used, representing a non-existing or un-mappable concept.</p>
|
|
||||||
<p>Records in the CONCEPT table contain all the detailed information about it (name, domain, class etc.). Concepts, Concept Relationships and other information relating to Concepts is contained in the tables of the Standardized Vocabularies.</p>
|
|
||||||
</div>
|
|
||||||
<div id="concept-ids-and-source-values" class="section level3">
|
|
||||||
<h3>Concept IDs and Source Values</h3>
|
|
||||||
<p>Many tables contain equivalent information multiple times: As a Source Value, a Source Concept and as a Standard Concept.</p>
|
|
||||||
<ul>
|
|
||||||
<li>Source Values contain the codes from public code systems such as ICD-9-CM, NDC, CPT-4 etc. or locally controlled vocabularies (such as F for female and M for male) copied from the source data. Source Values are stored in the *_SOURCE_VALUE fields in the data tables.</li>
|
|
||||||
<li>Concepts are CDM-specific entities that represent the meaning of a clinical fact. Most concepts are based on code systems used in healthcare (called Source Concepts), while others were created de-novo (CONCEPT_CODE = ‘OMOP generated’). Concepts have unique IDs across all domains.</li>
|
|
||||||
<li>Source Concepts are the concepts that represent the code used in the source. Source Concepts are only used for common healthcare code systems, not for OMOP-generated Concepts. Source Concepts are stored in the *_SOURCE_CONCEPT_ID field in the data tables.</li>
|
|
||||||
<li>Standard Concepts are those concepts that are used to define the unique meaning of a clinical entity. For each entity there is one Standard Concept. Standard Concepts are typically drawn from existing public vocabulary sources. Concepts that have the equivalent meaning to a Standard Concept are mapped to the Standard Concept. Standard Concepts are referred to in the <entity>_CONCEPT_ID field of the data tables.</li>
|
|
||||||
</ul>
|
|
||||||
<p>Source Values are only provided for convenience and quality assurance (QA) purposes. Source Values and Source Concepts are optional, while Standard Concepts are mandatory. Source Values may contain information that is only meaningful in the context of a specific data source.</p>
|
|
||||||
</div>
|
|
||||||
<div id="type-concepts" class="section level3">
|
|
||||||
<h3>Type Concepts</h3>
|
|
||||||
<p><em>By Mik Kallfelz and Dmitry Dymshyts</em></p>
|
|
||||||
<p>Type Concepts (ending in _TYPE_CONCEPT_ID) are present in many tables. They are special Concepts with the purpose of indicating from where the data are derived in the source. For example, the Type Concept field can be used to distinguish a DRUG_EXPOSURE record that is derived from a pharmacy-dispensing claim from one indicative of a prescription written in an electronic health record (EHR).</p>
|
|
||||||
<ul>
|
|
||||||
<li>Type concepts help determining the provenance of a record in the OMOP CDM. Many tables hold a specific _type_concept_id field for which <a href="https://athena.ohdsi.org/search-terms/terms?domain=Type+Concept&standardConcept=Standard&page=1&pageSize=15&query=">valid concepts</a> can be used to indicate a particular source of that record. For a condition it can be helpful to know, if it was derived from an EHR system or insurance claims. For a drug exposure it should be very useful to distinguish between prescriptions and actual administrations.</li>
|
|
||||||
<li>In respect to the target table, matching type concepts should be chosen during the ETL step while processing sources. There are various representations in the list of type concepts of which some are quite specific for one table and others can be applied for many tables / domains, as they are quite generic. There is however no plausibility check or dependency between type concepts and tables which means they have to be chosen correctly.</li>
|
|
||||||
<li>There is now one specific <a href="https://github.com/OHDSI/Vocabulary-v5.0/wiki/Vocab.-TYPE_CONCEPT">vocabulary</a> for type concepts which replaced a number of previously existing tables. For example, where previously there was a dedicated vocabulary for Drug Type Concepts, now we would choose the respective ones from the overall vocabulary (and ignore some of the old ones):</li>
|
|
||||||
</ul>
|
|
||||||
<table>
|
|
||||||
<colgroup>
|
|
||||||
<col width="64%" />
|
|
||||||
<col width="35%" />
|
|
||||||
</colgroup>
|
|
||||||
<thead>
|
|
||||||
<tr class="header">
|
|
||||||
<th>Drug Type</th>
|
|
||||||
<th>Type Concept</th>
|
|
||||||
</tr>
|
|
||||||
</thead>
|
|
||||||
<tbody>
|
|
||||||
<tr class="odd">
|
|
||||||
<td>Inpatient administration</td>
|
|
||||||
<td>EHR administration record</td>
|
|
||||||
</tr>
|
|
||||||
<tr class="even">
|
|
||||||
<td>Physician administered drug (identified from EHR problem list)</td>
|
|
||||||
<td>EHR administration record</td>
|
|
||||||
</tr>
|
|
||||||
<tr class="odd">
|
|
||||||
<td>Physician administered drug (identified from referral record)</td>
|
|
||||||
<td>EHR administration record</td>
|
|
||||||
</tr>
|
|
||||||
<tr class="even">
|
|
||||||
<td>Physician administered drug (identified from EHR observation)</td>
|
|
||||||
<td>EHR administration record</td>
|
|
||||||
</tr>
|
|
||||||
<tr class="odd">
|
|
||||||
<td>Physician administered drug (identified from EHR order)</td>
|
|
||||||
<td>EHR administration record</td>
|
|
||||||
</tr>
|
|
||||||
<tr class="even">
|
|
||||||
<td>Prescription dispensed in pharmacy</td>
|
|
||||||
<td>EHR dispensing record</td>
|
|
||||||
</tr>
|
|
||||||
<tr class="odd">
|
|
||||||
<td>Dispensed in Outpatient office</td>
|
|
||||||
<td>EHR dispensing record</td>
|
|
||||||
</tr>
|
|
||||||
<tr class="even">
|
|
||||||
<td>Medication list entry</td>
|
|
||||||
<td>EHR medication list</td>
|
|
||||||
</tr>
|
|
||||||
<tr class="odd">
|
|
||||||
<td>Prescription written</td>
|
|
||||||
<td>EHR prescription</td>
|
|
||||||
</tr>
|
|
||||||
<tr class="even">
|
|
||||||
<td></td>
|
|
||||||
<td>EHR prescription issue record</td>
|
|
||||||
</tr>
|
|
||||||
<tr class="odd">
|
|
||||||
<td>Prescription dispensed through mail order</td>
|
|
||||||
<td>Mail order record</td>
|
|
||||||
</tr>
|
|
||||||
<tr class="even">
|
|
||||||
<td>NLP derived</td>
|
|
||||||
<td>NLP</td>
|
|
||||||
</tr>
|
|
||||||
<tr class="odd">
|
|
||||||
<td>Patient Self-Reported Medication</td>
|
|
||||||
<td>Patient self-report</td>
|
|
||||||
</tr>
|
|
||||||
<tr class="even">
|
|
||||||
<td>Physician administered drug (identified as procedure)</td>
|
|
||||||
<td>Pharmacy claim</td>
|
|
||||||
</tr>
|
|
||||||
<tr class="odd">
|
|
||||||
<td>Drug era - 0 days persistence window</td>
|
|
||||||
<td></td>
|
|
||||||
</tr>
|
|
||||||
<tr class="even">
|
|
||||||
<td>Drug era - 30 days persistence window</td>
|
|
||||||
<td></td>
|
|
||||||
</tr>
|
|
||||||
<tr class="odd">
|
|
||||||
<td>Randomized Drug</td>
|
|
||||||
<td></td>
|
|
||||||
</tr>
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
</div>
|
|
||||||
<div id="time-span-of-available-data" class="section level3">
|
|
||||||
<h3>Time span of available data</h3>
|
|
||||||
<p>Data tables for clinical data contain a datetime stamp (ending in _DATETIME, _START_DATETIME or _END_DATETIME), indicating when that clinical event occurred. As a rule, no record can be outside of a valid OBSERVATION_PERIOD time period. Clinical information that relates to events that happened prior to the first OBSERVATION_PERIOD will be captured as a record in the OBSERVATION table as ‘Medical history’ (CONCEPT_ID = 43054928), with the OBSERVATION_DATETIME set to the first OBSERVATION_PERIOD_START_DATE of that patient, and the VALUE_AS_CONCEPT_ID set to the corresponding CONCEPT_ID for the condition/drug/procedure that occurred in the past. No data occurring after the last OBSERVATION_PERIOD_END_DATE can be valid records in the CDM. * When mapping source data to the CDM, if time is unknown the default time of 00:00:00 should be chosen.</p>
|
|
||||||
</div>
|
|
||||||
<div id="source-values-source-concept-ids-and-standard-concept-ids" class="section level3">
|
|
||||||
<h3>Source Values, Source Concept Ids, and Standard Concept Ids</h3>
|
|
||||||
<p>Each table contains fields for Source Values, Source Concept Ids, and Standard Concept Ids.</p>
|
|
||||||
<ul>
|
|
||||||
<li>Source Values are fields to maintain the verbatim information from the source database, stored as unstructured text, and are generally not to be used by any standardized analytics. There is no standardization for these fields and these columns can be used as the local CDM builders see fit. A typical example would be an ICD-9 code without the decimal from an administrative claim as condition_source_value = ‘78702’ which is how it appeared in the source.</li>
|
|
||||||
<li>Source Concept Ids provide a repeatable representation of the source concept, when the source data are drawn from a commonly-used, internationally-recognized vocabulary that has been distributed with the OMOP Common Data Model. Specific use cases where source vocabulary-specific analytics are required can be accommodated by the use of the *_SOURCE_CONCEPT_ID fields, but these are generally not applicable across disparate data sources. The standard *_CONCEPT_ID fields are <strong>strongly suggested</strong> to be used in all standardized analytics, as specific vocabularies have been established within each data domain to facilitate standardization of both structure and content within the OMOP Common Data Model.</li>
|
|
||||||
</ul>
|
|
||||||
<p>The following provide conventions for processing source data using these three fields in each domain:</p>
|
|
||||||
<p>When processing data where the source value is either free text or a reference to a coding scheme that is not contained within the Standardized Vocabularies:</p>
|
|
||||||
<ul>
|
|
||||||
<li>Map all Source Values to the corresponding Standard CONCEPT_IDs. Store the CONCEPT_IDs in the TARGET_CONCEPT_ID field of the SOURCE_TO_CONCEPT_MAP table.
|
|
||||||
<ul>
|
|
||||||
<li>If a CONCEPT_ID is not available for the source code, the TARGET_CONCEPT_ID field is set to 0.</li>
|
|
||||||
</ul></li>
|
|
||||||
</ul>
|
|
||||||
<p>When processing your data where Source Value is a reference to a coding scheme contained within the Standardized Vocabularies:</p>
|
|
||||||
<ul>
|
|
||||||
<li>Find all CONCEPT_IDs in the Source Vocabulary that correspond to your Source Values. Store the result in the SOURCE_CONCEPT_ID field.
|
|
||||||
<ul>
|
|
||||||
<li>If the source code follows the same formatting as the distributed vocabulary, the mapping can be directly obtained from the CONCEPT table using the CONCEPT_CODE field.</li>
|
|
||||||
<li>If the source code uses alternative formatting (ex. format has removed decimal point from ICD-9 codes), you will need to perform the formatting transformation within the ETL. In this case, you may wish to store the mappings from original codes to SOURCE_CONCEPT_IDs in the SOURCE_TO_CONCEPT_MAP table.</li>
|
|
||||||
<li>If the source code is not found in a vocabulary, the SOURCE_CONCEPT_ID field is set to 0</li>
|
|
||||||
</ul></li>
|
|
||||||
<li>Use the CONCEPT_RELATIONSHIP table to identify the Standard CONCEPT_ID that corresponds to the SOURCE_CONCEPT_ID in the domain.
|
|
||||||
<ul>
|
|
||||||
<li>Each SOURCE_CONCEPT_ID can have 1 or more Standard CONCEPT_IDs mapped to it. Each Standard CONCEPT_ID belongs to only one primary domain but when a source CONCEPT_ID maps to multiple Standard CONCEPT_IDs, it is possible for that SOURCE_CONCEPT_ID to result in records being produced across multiple domains. For example, ICD-10-CM code Z34.00 ‘Encounter for supervision of normal first pregnancy, unspecified trimester’ will be mapped to the SNOMED concept ‘Routine antenatal care’ in the procedure domain and the concept in the condition domain ‘Primagravida’. It is also possible for one SOURCE_CONCEPT_ID to map to multiple Standard CONCEPT_IDs within the same domain. For example, ICD-9-CM code 070.43 ‘Hepatitis E with hepatic coma’ maps to the SNOMED concept for ‘Acute hepatitis E’ and a second SNOMED concept for ‘Hepatic coma’, in which case multiple CONDITION_OCCURRENCE records will be generated for the one source value record.</li>
|
|
||||||
<li>If the SOURCE_CONCEPT_ID is not mappable to any Standard CONCEPT_ID, the <entity>_CONCEPT_ID field is set to 0.</li>
|
|
||||||
</ul></li>
|
|
||||||
<li>Write the data record into the table(s) corresponding to the domain of the Standard CONCEPT_ID(s).
|
|
||||||
<ul>
|
|
||||||
<li>If the Source Value has a SOURCE_CONCEPT_ID but the SOURCE_CONCEPT_ID is not mapped to a Standard CONCEPT_ID, then the domain for the data record, and hence it’s table location, is determined by the DOMAIN_ID field of the CONCEPT record the SOURCE_CONCEPT_ID refers to. The Standard <entity>_CONCEPT_ID is set to 0.</li>
|
|
||||||
<li>If the Source Value cannot be mapped to a SOURCE_CONCEPT_ID or Standard CONCEPT_ID, then direct the data record to the most appropriate CDM domain based on your local knowledge of the intent of the source data and associated value. For example, if the un-mappable Source Value came from a ‘diagnosis’ table then, in the absence of other information, you may choose to record that fact in the CONDITION_OCCURRENCE table.</li>
|
|
||||||
</ul></li>
|
|
||||||
</ul>
|
|
||||||
<p>Each Standard CONCEPT_ID field has a set of allowable CONCEPT_ID values. The allowable values are defined by the domain of the concepts. For example, there is a domain concept of ‘Gender’, for which there are only two allowable standard concepts of practical use (8507 - ‘Male’, 8532- ‘Female’) and one allowable generic concept to represent a standard notion of ‘no information’ (concept_id = 0). This ‘no information’ concept should be used when there is no mapping to a standard concept available or if there is no information available for that field. The exceptions are MEASUREMENT.VALUE_AS_CONCEPT_ID, OBSERVATION.VALUE_AS_CONCEPT_ID, MEASUREMENT.UNIT_CONCEPT_ID, OBSERVATION.UNIT_CONCEPT_ID, MEASUREMENT.OPERATOR_CONCEPT_ID, and OBSERVATION.MODIFIER_CONCEPT_ID, which can be NULL if the data do not contain the information (<a href="https://github.com/OHDSI/Themis/issues/11">THEMIS issue #11</a>).</p>
|
|
||||||
<p>There is no constraint on allowed CONCEPT_IDs within the SOURCE_CONCEPT_ID fields.</p>
|
|
||||||
</div>
|
|
||||||
<div id="custom-source_to_concept_map" class="section level3">
|
|
||||||
<h3>Custom SOURCE_TO_CONCEPT_MAP</h3>
|
|
||||||
<p>When the source data uses coding systems that are not currently in the Standardized Vocabularies (e.g. ICPC codes for diagnoses), the convention is to store the mapping of such source codes to Standard Concepts in the SOURCE_TO_CONCEPT_MAP table. The codes used in the data source can be recorded in the SOURCE_VALUE fields, but no SOURCE_CONCEPT_ID will be available.</p>
|
|
||||||
<p>Custom source codes are not allowed to map to Standard Concepts that are marked as invalid.</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
|
|
||||||
// add bootstrap table styles to pandoc tables
|
|
||||||
function bootstrapStylePandocTables() {
|
|
||||||
$('tr.odd').parent('tbody').parent('table').addClass('table table-condensed');
|
|
||||||
}
|
|
||||||
$(document).ready(function () {
|
|
||||||
bootstrapStylePandocTables();
|
|
||||||
});
|
|
||||||
|
|
||||||
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<!-- tabsets -->
|
|
||||||
|
|
||||||
<script>
|
|
||||||
$(document).ready(function () {
|
|
||||||
window.buildTabsets("TOC");
|
|
||||||
});
|
|
||||||
|
|
||||||
$(document).ready(function () {
|
|
||||||
$('.tabset-dropdown > .nav-tabs > li').click(function () {
|
|
||||||
$(this).parent().toggleClass('nav-tabs-open');
|
|
||||||
});
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<!-- code folding -->
|
|
||||||
|
|
||||||
<script>
|
|
||||||
$(document).ready(function () {
|
|
||||||
|
|
||||||
// temporarily add toc-ignore selector to headers for the consistency with Pandoc
|
|
||||||
$('.unlisted.unnumbered').addClass('toc-ignore')
|
|
||||||
|
|
||||||
// move toc-ignore selectors from section div to header
|
|
||||||
$('div.section.toc-ignore')
|
|
||||||
.removeClass('toc-ignore')
|
|
||||||
.children('h1,h2,h3,h4,h5').addClass('toc-ignore');
|
|
||||||
|
|
||||||
// establish options
|
|
||||||
var options = {
|
|
||||||
selectors: "h1,h2,h3",
|
|
||||||
theme: "bootstrap3",
|
|
||||||
context: '.toc-content',
|
|
||||||
hashGenerator: function (text) {
|
|
||||||
return text.replace(/[.\\/?&!#<>]/g, '').replace(/\s/g, '_');
|
|
||||||
},
|
|
||||||
ignoreSelector: ".toc-ignore",
|
|
||||||
scrollTo: 0
|
|
||||||
};
|
|
||||||
options.showAndHide = true;
|
|
||||||
options.smoothScroll = true;
|
|
||||||
|
|
||||||
// tocify
|
|
||||||
var toc = $("#TOC").tocify(options).data("toc-tocify");
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<!-- dynamically load mathjax for compatibility with self-contained -->
|
|
||||||
<script>
|
|
||||||
(function () {
|
|
||||||
var script = document.createElement("script");
|
|
||||||
script.type = "text/javascript";
|
|
||||||
script.src = "https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML";
|
|
||||||
document.getElementsByTagName("head")[0].appendChild(script);
|
|
||||||
})();
|
|
||||||
</script>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
</html>
|
|
|
@ -1,569 +0,0 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
|
|
||||||
<html>
|
|
||||||
|
|
||||||
<head>
|
|
||||||
|
|
||||||
<meta charset="utf-8" />
|
|
||||||
<meta name="generator" content="pandoc" />
|
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=EDGE" />
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<title>Download</title>
|
|
||||||
|
|
||||||
<script src="site_libs/header-attrs-2.13/header-attrs.js"></script>
|
|
||||||
<script src="site_libs/jquery-3.6.0/jquery-3.6.0.min.js"></script>
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
||||||
<link href="site_libs/bootstrap-3.3.5/css/cosmo.min.css" rel="stylesheet" />
|
|
||||||
<script src="site_libs/bootstrap-3.3.5/js/bootstrap.min.js"></script>
|
|
||||||
<script src="site_libs/bootstrap-3.3.5/shim/html5shiv.min.js"></script>
|
|
||||||
<script src="site_libs/bootstrap-3.3.5/shim/respond.min.js"></script>
|
|
||||||
<style>h1 {font-size: 34px;}
|
|
||||||
h1.title {font-size: 38px;}
|
|
||||||
h2 {font-size: 30px;}
|
|
||||||
h3 {font-size: 24px;}
|
|
||||||
h4 {font-size: 18px;}
|
|
||||||
h5 {font-size: 16px;}
|
|
||||||
h6 {font-size: 12px;}
|
|
||||||
code {color: inherit; background-color: rgba(0, 0, 0, 0.04);}
|
|
||||||
pre:not([class]) { background-color: white }</style>
|
|
||||||
<script src="site_libs/jqueryui-1.11.4/jquery-ui.min.js"></script>
|
|
||||||
<link href="site_libs/tocify-1.9.1/jquery.tocify.css" rel="stylesheet" />
|
|
||||||
<script src="site_libs/tocify-1.9.1/jquery.tocify.js"></script>
|
|
||||||
<script src="site_libs/navigation-1.1/tabsets.js"></script>
|
|
||||||
<link href="site_libs/highlightjs-9.12.0/default.css" rel="stylesheet" />
|
|
||||||
<script src="site_libs/highlightjs-9.12.0/highlight.js"></script>
|
|
||||||
<link href="site_libs/font-awesome-5.1.0/css/all.css" rel="stylesheet" />
|
|
||||||
<link href="site_libs/font-awesome-5.1.0/css/v4-shims.css" rel="stylesheet" />
|
|
||||||
<link rel='shortcut icon' type='image/x-icon' href='favicon.ico' />
|
|
||||||
|
|
||||||
<style type="text/css">
|
|
||||||
code{white-space: pre-wrap;}
|
|
||||||
span.smallcaps{font-variant: small-caps;}
|
|
||||||
span.underline{text-decoration: underline;}
|
|
||||||
div.column{display: inline-block; vertical-align: top; width: 50%;}
|
|
||||||
div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;}
|
|
||||||
ul.task-list{list-style: none;}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<style type="text/css">code{white-space: pre;}</style>
|
|
||||||
<script type="text/javascript">
|
|
||||||
if (window.hljs) {
|
|
||||||
hljs.configure({languages: []});
|
|
||||||
hljs.initHighlightingOnLoad();
|
|
||||||
if (document.readyState && document.readyState === "complete") {
|
|
||||||
window.setTimeout(function() { hljs.initHighlighting(); }, 0);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<link rel="stylesheet" href="style.css" type="text/css" />
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<style type = "text/css">
|
|
||||||
.main-container {
|
|
||||||
max-width: 940px;
|
|
||||||
margin-left: auto;
|
|
||||||
margin-right: auto;
|
|
||||||
}
|
|
||||||
img {
|
|
||||||
max-width:100%;
|
|
||||||
}
|
|
||||||
.tabbed-pane {
|
|
||||||
padding-top: 12px;
|
|
||||||
}
|
|
||||||
.html-widget {
|
|
||||||
margin-bottom: 20px;
|
|
||||||
}
|
|
||||||
button.code-folding-btn:focus {
|
|
||||||
outline: none;
|
|
||||||
}
|
|
||||||
summary {
|
|
||||||
display: list-item;
|
|
||||||
}
|
|
||||||
details > summary > p:only-child {
|
|
||||||
display: inline;
|
|
||||||
}
|
|
||||||
pre code {
|
|
||||||
padding: 0;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
|
|
||||||
<style type="text/css">
|
|
||||||
.dropdown-submenu {
|
|
||||||
position: relative;
|
|
||||||
}
|
|
||||||
.dropdown-submenu>.dropdown-menu {
|
|
||||||
top: 0;
|
|
||||||
left: 100%;
|
|
||||||
margin-top: -6px;
|
|
||||||
margin-left: -1px;
|
|
||||||
border-radius: 0 6px 6px 6px;
|
|
||||||
}
|
|
||||||
.dropdown-submenu:hover>.dropdown-menu {
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
.dropdown-submenu>a:after {
|
|
||||||
display: block;
|
|
||||||
content: " ";
|
|
||||||
float: right;
|
|
||||||
width: 0;
|
|
||||||
height: 0;
|
|
||||||
border-color: transparent;
|
|
||||||
border-style: solid;
|
|
||||||
border-width: 5px 0 5px 5px;
|
|
||||||
border-left-color: #cccccc;
|
|
||||||
margin-top: 5px;
|
|
||||||
margin-right: -10px;
|
|
||||||
}
|
|
||||||
.dropdown-submenu:hover>a:after {
|
|
||||||
border-left-color: #adb5bd;
|
|
||||||
}
|
|
||||||
.dropdown-submenu.pull-left {
|
|
||||||
float: none;
|
|
||||||
}
|
|
||||||
.dropdown-submenu.pull-left>.dropdown-menu {
|
|
||||||
left: -100%;
|
|
||||||
margin-left: 10px;
|
|
||||||
border-radius: 6px 0 6px 6px;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<script type="text/javascript">
|
|
||||||
// manage active state of menu based on current page
|
|
||||||
$(document).ready(function () {
|
|
||||||
// active menu anchor
|
|
||||||
href = window.location.pathname
|
|
||||||
href = href.substr(href.lastIndexOf('/') + 1)
|
|
||||||
if (href === "")
|
|
||||||
href = "index.html";
|
|
||||||
var menuAnchor = $('a[href="' + href + '"]');
|
|
||||||
|
|
||||||
// mark it active
|
|
||||||
menuAnchor.tab('show');
|
|
||||||
|
|
||||||
// if it's got a parent navbar menu mark it active as well
|
|
||||||
menuAnchor.closest('li.dropdown').addClass('active');
|
|
||||||
|
|
||||||
// Navbar adjustments
|
|
||||||
var navHeight = $(".navbar").first().height() + 15;
|
|
||||||
var style = document.createElement('style');
|
|
||||||
var pt = "padding-top: " + navHeight + "px; ";
|
|
||||||
var mt = "margin-top: -" + navHeight + "px; ";
|
|
||||||
var css = "";
|
|
||||||
// offset scroll position for anchor links (for fixed navbar)
|
|
||||||
for (var i = 1; i <= 6; i++) {
|
|
||||||
css += ".section h" + i + "{ " + pt + mt + "}\n";
|
|
||||||
}
|
|
||||||
style.innerHTML = "body {" + pt + "padding-bottom: 40px; }\n" + css;
|
|
||||||
document.head.appendChild(style);
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<!-- tabsets -->
|
|
||||||
|
|
||||||
<style type="text/css">
|
|
||||||
.tabset-dropdown > .nav-tabs {
|
|
||||||
display: inline-table;
|
|
||||||
max-height: 500px;
|
|
||||||
min-height: 44px;
|
|
||||||
overflow-y: auto;
|
|
||||||
border: 1px solid #ddd;
|
|
||||||
border-radius: 4px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabset-dropdown > .nav-tabs > li.active:before {
|
|
||||||
content: "";
|
|
||||||
font-family: 'Glyphicons Halflings';
|
|
||||||
display: inline-block;
|
|
||||||
padding: 10px;
|
|
||||||
border-right: 1px solid #ddd;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabset-dropdown > .nav-tabs.nav-tabs-open > li.active:before {
|
|
||||||
content: "";
|
|
||||||
border: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabset-dropdown > .nav-tabs.nav-tabs-open:before {
|
|
||||||
content: "";
|
|
||||||
font-family: 'Glyphicons Halflings';
|
|
||||||
display: inline-block;
|
|
||||||
padding: 10px;
|
|
||||||
border-right: 1px solid #ddd;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabset-dropdown > .nav-tabs > li.active {
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabset-dropdown > .nav-tabs > li > a,
|
|
||||||
.tabset-dropdown > .nav-tabs > li > a:focus,
|
|
||||||
.tabset-dropdown > .nav-tabs > li > a:hover {
|
|
||||||
border: none;
|
|
||||||
display: inline-block;
|
|
||||||
border-radius: 4px;
|
|
||||||
background-color: transparent;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabset-dropdown > .nav-tabs.nav-tabs-open > li {
|
|
||||||
display: block;
|
|
||||||
float: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabset-dropdown > .nav-tabs > li {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<!-- code folding -->
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<style type="text/css">
|
|
||||||
|
|
||||||
#TOC {
|
|
||||||
margin: 25px 0px 20px 0px;
|
|
||||||
}
|
|
||||||
@media (max-width: 768px) {
|
|
||||||
#TOC {
|
|
||||||
position: relative;
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@media print {
|
|
||||||
.toc-content {
|
|
||||||
/* see https://github.com/w3c/csswg-drafts/issues/4434 */
|
|
||||||
float: right;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.toc-content {
|
|
||||||
padding-left: 30px;
|
|
||||||
padding-right: 40px;
|
|
||||||
}
|
|
||||||
|
|
||||||
div.main-container {
|
|
||||||
max-width: 1200px;
|
|
||||||
}
|
|
||||||
|
|
||||||
div.tocify {
|
|
||||||
width: 20%;
|
|
||||||
max-width: 260px;
|
|
||||||
max-height: 85%;
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (min-width: 768px) and (max-width: 991px) {
|
|
||||||
div.tocify {
|
|
||||||
width: 25%;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (max-width: 767px) {
|
|
||||||
div.tocify {
|
|
||||||
width: 100%;
|
|
||||||
max-width: none;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.tocify ul, .tocify li {
|
|
||||||
line-height: 20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tocify-subheader .tocify-item {
|
|
||||||
font-size: 0.90em;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tocify .list-group-item {
|
|
||||||
border-radius: 0px;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
</style>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body>
|
|
||||||
|
|
||||||
|
|
||||||
<div class="container-fluid main-container">
|
|
||||||
|
|
||||||
|
|
||||||
<!-- setup 3col/9col grid for toc_float and main content -->
|
|
||||||
<div class="row">
|
|
||||||
<div class="col-xs-12 col-sm-4 col-md-3">
|
|
||||||
<div id="TOC" class="tocify">
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="toc-content col-xs-12 col-sm-8 col-md-9">
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div class="navbar navbar-default navbar-fixed-top" role="navigation">
|
|
||||||
<div class="container">
|
|
||||||
<div class="navbar-header">
|
|
||||||
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-bs-toggle="collapse" data-target="#navbar" data-bs-target="#navbar">
|
|
||||||
<span class="icon-bar"></span>
|
|
||||||
<span class="icon-bar"></span>
|
|
||||||
<span class="icon-bar"></span>
|
|
||||||
</button>
|
|
||||||
<a class="navbar-brand" href="index.html"><div><img src="ohdsi16x16.png"></img> OMOP Common Data Model </div></a>
|
|
||||||
</div>
|
|
||||||
<div id="navbar" class="navbar-collapse collapse">
|
|
||||||
<ul class="nav navbar-nav">
|
|
||||||
<li>
|
|
||||||
<a href="index.html">
|
|
||||||
<span class="fa fa-home"></span>
|
|
||||||
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
|
||||||
<span class="fa fa-landmark"></span>
|
|
||||||
|
|
||||||
Background
|
|
||||||
|
|
||||||
<span class="caret"></span>
|
|
||||||
</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="background.html">Model Background</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="cdmRefreshProcess.html">CDM Refresh Process</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="vocabulary.html">How the Vocabulary is Built</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
|
||||||
<span class="fa fa-list-alt"></span>
|
|
||||||
|
|
||||||
Conventions
|
|
||||||
|
|
||||||
<span class="caret"></span>
|
|
||||||
</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="dataModelConventions.html">General Conventions</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="ehrObsPeriods.html">Observation Periods for EHR Data</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="cdmPrivacy.html">Patient Privacy and OMOP</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
|
||||||
<span class="fa fa-history"></span>
|
|
||||||
|
|
||||||
CDM Versions
|
|
||||||
|
|
||||||
<span class="caret"></span>
|
|
||||||
</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="cdm30.html">CDM v3.0</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="cdm60.html">CDM v6.0</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="cdm53.html">CDM v5.3</a>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown-submenu">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">NEW CDM v5.4</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="cdm54.html">CDM v5.4</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="cdm54Changes.html">Changes from CDM v5.3</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
|
||||||
<span class="fa fa-plus-square"></span>
|
|
||||||
|
|
||||||
Proposals
|
|
||||||
|
|
||||||
<span class="caret"></span>
|
|
||||||
</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="https://github.com/OHDSI/CommonDataModel/issues?q=is%3Aopen+is%3Aissue+label%3AProposal">Under Review</a>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown-submenu">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">Accepted</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="https://github.com/OHDSI/CommonDataModel/issues/252">Region_concept_id</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
|
||||||
<span class="fa fa-question"></span>
|
|
||||||
|
|
||||||
How to
|
|
||||||
|
|
||||||
<span class="caret"></span>
|
|
||||||
</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="download.html">Download the DDL</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="cdmRPackage.html">Use the CDM R Package</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="drug_dose.html">Calculate Drug Dose</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
|
||||||
<span class="fa fa-life-ring"></span>
|
|
||||||
|
|
||||||
Support
|
|
||||||
|
|
||||||
<span class="caret"></span>
|
|
||||||
</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="faq.html">FAQ</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="sqlScripts.html">SQL Scripts</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="contribute.html">Ask a Question</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
<ul class="nav navbar-nav navbar-right">
|
|
||||||
<li>
|
|
||||||
<a href="https://github.com/OHDSI/CommonDataModel">
|
|
||||||
<span class="fa fa-github"></span>
|
|
||||||
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</div><!--/.nav-collapse -->
|
|
||||||
</div><!--/.container -->
|
|
||||||
</div><!--/.navbar -->
|
|
||||||
|
|
||||||
<div id="header">
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<h1 class="title toc-ignore">Download</h1>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<p>All code for the ddls, constraints and indices are available on our <a href="https://github.com/OHDSI/CommonDataModel">github</a>. Each version of the Common Data Model is denoted by a <a href="https://github.com/OHDSI/CommonDataModel/tags">release</a>. The OHDSI community supports the database management systems (dbms) Sql Server, Postgresql, Oracle, Redshift, Parallel Data Warehouse, BigQuery, Impala, and Netezza. Included in each release is a folder for each dbms. After downloading, choose the folder for your specific system and you will see all necessary files. For example the Sql Server folder has the ddl, primary key constraints, indices, and foreign key constraints. In contrast, the redshift folder only has a ddl.</p>
|
|
||||||
<p>These sql scripts have been fully tested on Oracle, Sql Server, and Postgresql and the rest are generated using the <a href="https://ohdsi.github.io/SqlRender/">SqlRender package</a>. If run into any problems please let us know by creating an issue on our github.</p>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
|
|
||||||
// add bootstrap table styles to pandoc tables
|
|
||||||
function bootstrapStylePandocTables() {
|
|
||||||
$('tr.odd').parent('tbody').parent('table').addClass('table table-condensed');
|
|
||||||
}
|
|
||||||
$(document).ready(function () {
|
|
||||||
bootstrapStylePandocTables();
|
|
||||||
});
|
|
||||||
|
|
||||||
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<!-- tabsets -->
|
|
||||||
|
|
||||||
<script>
|
|
||||||
$(document).ready(function () {
|
|
||||||
window.buildTabsets("TOC");
|
|
||||||
});
|
|
||||||
|
|
||||||
$(document).ready(function () {
|
|
||||||
$('.tabset-dropdown > .nav-tabs > li').click(function () {
|
|
||||||
$(this).parent().toggleClass('nav-tabs-open');
|
|
||||||
});
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<!-- code folding -->
|
|
||||||
|
|
||||||
<script>
|
|
||||||
$(document).ready(function () {
|
|
||||||
|
|
||||||
// temporarily add toc-ignore selector to headers for the consistency with Pandoc
|
|
||||||
$('.unlisted.unnumbered').addClass('toc-ignore')
|
|
||||||
|
|
||||||
// move toc-ignore selectors from section div to header
|
|
||||||
$('div.section.toc-ignore')
|
|
||||||
.removeClass('toc-ignore')
|
|
||||||
.children('h1,h2,h3,h4,h5').addClass('toc-ignore');
|
|
||||||
|
|
||||||
// establish options
|
|
||||||
var options = {
|
|
||||||
selectors: "h1,h2,h3",
|
|
||||||
theme: "bootstrap3",
|
|
||||||
context: '.toc-content',
|
|
||||||
hashGenerator: function (text) {
|
|
||||||
return text.replace(/[.\\/?&!#<>]/g, '').replace(/\s/g, '_');
|
|
||||||
},
|
|
||||||
ignoreSelector: ".toc-ignore",
|
|
||||||
scrollTo: 0
|
|
||||||
};
|
|
||||||
options.showAndHide = true;
|
|
||||||
options.smoothScroll = true;
|
|
||||||
|
|
||||||
// tocify
|
|
||||||
var toc = $("#TOC").tocify(options).data("toc-tocify");
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<!-- dynamically load mathjax for compatibility with self-contained -->
|
|
||||||
<script>
|
|
||||||
(function () {
|
|
||||||
var script = document.createElement("script");
|
|
||||||
script.type = "text/javascript";
|
|
||||||
script.src = "https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML";
|
|
||||||
document.getElementsByTagName("head")[0].appendChild(script);
|
|
||||||
})();
|
|
||||||
</script>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
</html>
|
|
|
@ -1,467 +0,0 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
|
|
||||||
<html>
|
|
||||||
|
|
||||||
<head>
|
|
||||||
|
|
||||||
<meta charset="utf-8" />
|
|
||||||
<meta name="generator" content="pandoc" />
|
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=EDGE" />
|
|
||||||
|
|
||||||
|
|
||||||
<meta name="author" content="Clair Blacketer" />
|
|
||||||
|
|
||||||
<meta name="date" content="2020-10-06" />
|
|
||||||
|
|
||||||
<title>drug_dose.knit</title>
|
|
||||||
|
|
||||||
<script src="site_libs/header-attrs-2.13/header-attrs.js"></script>
|
|
||||||
<script src="site_libs/jquery-3.6.0/jquery-3.6.0.min.js"></script>
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
||||||
<link href="site_libs/bootstrap-3.3.5/css/cosmo.min.css" rel="stylesheet" />
|
|
||||||
<script src="site_libs/bootstrap-3.3.5/js/bootstrap.min.js"></script>
|
|
||||||
<script src="site_libs/bootstrap-3.3.5/shim/html5shiv.min.js"></script>
|
|
||||||
<script src="site_libs/bootstrap-3.3.5/shim/respond.min.js"></script>
|
|
||||||
<style>h1 {font-size: 34px;}
|
|
||||||
h1.title {font-size: 38px;}
|
|
||||||
h2 {font-size: 30px;}
|
|
||||||
h3 {font-size: 24px;}
|
|
||||||
h4 {font-size: 18px;}
|
|
||||||
h5 {font-size: 16px;}
|
|
||||||
h6 {font-size: 12px;}
|
|
||||||
code {color: inherit; background-color: rgba(0, 0, 0, 0.04);}
|
|
||||||
pre:not([class]) { background-color: white }</style>
|
|
||||||
<script src="site_libs/navigation-1.1/tabsets.js"></script>
|
|
||||||
<link href="site_libs/highlightjs-9.12.0/default.css" rel="stylesheet" />
|
|
||||||
<script src="site_libs/highlightjs-9.12.0/highlight.js"></script>
|
|
||||||
<link href="site_libs/font-awesome-5.1.0/css/all.css" rel="stylesheet" />
|
|
||||||
<link href="site_libs/font-awesome-5.1.0/css/v4-shims.css" rel="stylesheet" />
|
|
||||||
<link rel='shortcut icon' type='image/x-icon' href='favicon.ico' />
|
|
||||||
|
|
||||||
<style type="text/css">
|
|
||||||
code{white-space: pre-wrap;}
|
|
||||||
span.smallcaps{font-variant: small-caps;}
|
|
||||||
span.underline{text-decoration: underline;}
|
|
||||||
div.column{display: inline-block; vertical-align: top; width: 50%;}
|
|
||||||
div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;}
|
|
||||||
ul.task-list{list-style: none;}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<style type="text/css">code{white-space: pre;}</style>
|
|
||||||
<script type="text/javascript">
|
|
||||||
if (window.hljs) {
|
|
||||||
hljs.configure({languages: []});
|
|
||||||
hljs.initHighlightingOnLoad();
|
|
||||||
if (document.readyState && document.readyState === "complete") {
|
|
||||||
window.setTimeout(function() { hljs.initHighlighting(); }, 0);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<link rel="stylesheet" href="style.css" type="text/css" />
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<style type = "text/css">
|
|
||||||
.main-container {
|
|
||||||
max-width: 940px;
|
|
||||||
margin-left: auto;
|
|
||||||
margin-right: auto;
|
|
||||||
}
|
|
||||||
img {
|
|
||||||
max-width:100%;
|
|
||||||
}
|
|
||||||
.tabbed-pane {
|
|
||||||
padding-top: 12px;
|
|
||||||
}
|
|
||||||
.html-widget {
|
|
||||||
margin-bottom: 20px;
|
|
||||||
}
|
|
||||||
button.code-folding-btn:focus {
|
|
||||||
outline: none;
|
|
||||||
}
|
|
||||||
summary {
|
|
||||||
display: list-item;
|
|
||||||
}
|
|
||||||
details > summary > p:only-child {
|
|
||||||
display: inline;
|
|
||||||
}
|
|
||||||
pre code {
|
|
||||||
padding: 0;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
|
|
||||||
<style type="text/css">
|
|
||||||
.dropdown-submenu {
|
|
||||||
position: relative;
|
|
||||||
}
|
|
||||||
.dropdown-submenu>.dropdown-menu {
|
|
||||||
top: 0;
|
|
||||||
left: 100%;
|
|
||||||
margin-top: -6px;
|
|
||||||
margin-left: -1px;
|
|
||||||
border-radius: 0 6px 6px 6px;
|
|
||||||
}
|
|
||||||
.dropdown-submenu:hover>.dropdown-menu {
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
.dropdown-submenu>a:after {
|
|
||||||
display: block;
|
|
||||||
content: " ";
|
|
||||||
float: right;
|
|
||||||
width: 0;
|
|
||||||
height: 0;
|
|
||||||
border-color: transparent;
|
|
||||||
border-style: solid;
|
|
||||||
border-width: 5px 0 5px 5px;
|
|
||||||
border-left-color: #cccccc;
|
|
||||||
margin-top: 5px;
|
|
||||||
margin-right: -10px;
|
|
||||||
}
|
|
||||||
.dropdown-submenu:hover>a:after {
|
|
||||||
border-left-color: #adb5bd;
|
|
||||||
}
|
|
||||||
.dropdown-submenu.pull-left {
|
|
||||||
float: none;
|
|
||||||
}
|
|
||||||
.dropdown-submenu.pull-left>.dropdown-menu {
|
|
||||||
left: -100%;
|
|
||||||
margin-left: 10px;
|
|
||||||
border-radius: 6px 0 6px 6px;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<script type="text/javascript">
|
|
||||||
// manage active state of menu based on current page
|
|
||||||
$(document).ready(function () {
|
|
||||||
// active menu anchor
|
|
||||||
href = window.location.pathname
|
|
||||||
href = href.substr(href.lastIndexOf('/') + 1)
|
|
||||||
if (href === "")
|
|
||||||
href = "index.html";
|
|
||||||
var menuAnchor = $('a[href="' + href + '"]');
|
|
||||||
|
|
||||||
// mark it active
|
|
||||||
menuAnchor.tab('show');
|
|
||||||
|
|
||||||
// if it's got a parent navbar menu mark it active as well
|
|
||||||
menuAnchor.closest('li.dropdown').addClass('active');
|
|
||||||
|
|
||||||
// Navbar adjustments
|
|
||||||
var navHeight = $(".navbar").first().height() + 15;
|
|
||||||
var style = document.createElement('style');
|
|
||||||
var pt = "padding-top: " + navHeight + "px; ";
|
|
||||||
var mt = "margin-top: -" + navHeight + "px; ";
|
|
||||||
var css = "";
|
|
||||||
// offset scroll position for anchor links (for fixed navbar)
|
|
||||||
for (var i = 1; i <= 6; i++) {
|
|
||||||
css += ".section h" + i + "{ " + pt + mt + "}\n";
|
|
||||||
}
|
|
||||||
style.innerHTML = "body {" + pt + "padding-bottom: 40px; }\n" + css;
|
|
||||||
document.head.appendChild(style);
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<!-- tabsets -->
|
|
||||||
|
|
||||||
<style type="text/css">
|
|
||||||
.tabset-dropdown > .nav-tabs {
|
|
||||||
display: inline-table;
|
|
||||||
max-height: 500px;
|
|
||||||
min-height: 44px;
|
|
||||||
overflow-y: auto;
|
|
||||||
border: 1px solid #ddd;
|
|
||||||
border-radius: 4px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabset-dropdown > .nav-tabs > li.active:before {
|
|
||||||
content: "";
|
|
||||||
font-family: 'Glyphicons Halflings';
|
|
||||||
display: inline-block;
|
|
||||||
padding: 10px;
|
|
||||||
border-right: 1px solid #ddd;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabset-dropdown > .nav-tabs.nav-tabs-open > li.active:before {
|
|
||||||
content: "";
|
|
||||||
border: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabset-dropdown > .nav-tabs.nav-tabs-open:before {
|
|
||||||
content: "";
|
|
||||||
font-family: 'Glyphicons Halflings';
|
|
||||||
display: inline-block;
|
|
||||||
padding: 10px;
|
|
||||||
border-right: 1px solid #ddd;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabset-dropdown > .nav-tabs > li.active {
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabset-dropdown > .nav-tabs > li > a,
|
|
||||||
.tabset-dropdown > .nav-tabs > li > a:focus,
|
|
||||||
.tabset-dropdown > .nav-tabs > li > a:hover {
|
|
||||||
border: none;
|
|
||||||
display: inline-block;
|
|
||||||
border-radius: 4px;
|
|
||||||
background-color: transparent;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabset-dropdown > .nav-tabs.nav-tabs-open > li {
|
|
||||||
display: block;
|
|
||||||
float: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabset-dropdown > .nav-tabs > li {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<!-- code folding -->
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body>
|
|
||||||
|
|
||||||
|
|
||||||
<div class="container-fluid main-container">
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div class="navbar navbar-default navbar-fixed-top" role="navigation">
|
|
||||||
<div class="container">
|
|
||||||
<div class="navbar-header">
|
|
||||||
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-bs-toggle="collapse" data-target="#navbar" data-bs-target="#navbar">
|
|
||||||
<span class="icon-bar"></span>
|
|
||||||
<span class="icon-bar"></span>
|
|
||||||
<span class="icon-bar"></span>
|
|
||||||
</button>
|
|
||||||
<a class="navbar-brand" href="index.html"><div><img src="ohdsi16x16.png"></img> OMOP Common Data Model </div></a>
|
|
||||||
</div>
|
|
||||||
<div id="navbar" class="navbar-collapse collapse">
|
|
||||||
<ul class="nav navbar-nav">
|
|
||||||
<li>
|
|
||||||
<a href="index.html">
|
|
||||||
<span class="fa fa-home"></span>
|
|
||||||
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
|
||||||
<span class="fa fa-landmark"></span>
|
|
||||||
|
|
||||||
Background
|
|
||||||
|
|
||||||
<span class="caret"></span>
|
|
||||||
</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="background.html">Model Background</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="cdmRefreshProcess.html">CDM Refresh Process</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="vocabulary.html">How the Vocabulary is Built</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
|
||||||
<span class="fa fa-list-alt"></span>
|
|
||||||
|
|
||||||
Conventions
|
|
||||||
|
|
||||||
<span class="caret"></span>
|
|
||||||
</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="dataModelConventions.html">General Conventions</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="ehrObsPeriods.html">Observation Periods for EHR Data</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="cdmPrivacy.html">Patient Privacy and OMOP</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
|
||||||
<span class="fa fa-history"></span>
|
|
||||||
|
|
||||||
CDM Versions
|
|
||||||
|
|
||||||
<span class="caret"></span>
|
|
||||||
</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="cdm30.html">CDM v3.0</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="cdm60.html">CDM v6.0</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="cdm53.html">CDM v5.3</a>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown-submenu">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">NEW CDM v5.4</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="cdm54.html">CDM v5.4</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="cdm54Changes.html">Changes from CDM v5.3</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
|
||||||
<span class="fa fa-plus-square"></span>
|
|
||||||
|
|
||||||
Proposals
|
|
||||||
|
|
||||||
<span class="caret"></span>
|
|
||||||
</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="https://github.com/OHDSI/CommonDataModel/issues?q=is%3Aopen+is%3Aissue+label%3AProposal">Under Review</a>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown-submenu">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">Accepted</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="https://github.com/OHDSI/CommonDataModel/issues/252">Region_concept_id</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
|
||||||
<span class="fa fa-question"></span>
|
|
||||||
|
|
||||||
How to
|
|
||||||
|
|
||||||
<span class="caret"></span>
|
|
||||||
</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="download.html">Download the DDL</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="cdmRPackage.html">Use the CDM R Package</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="drug_dose.html">Calculate Drug Dose</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
|
||||||
<span class="fa fa-life-ring"></span>
|
|
||||||
|
|
||||||
Support
|
|
||||||
|
|
||||||
<span class="caret"></span>
|
|
||||||
</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="faq.html">FAQ</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="sqlScripts.html">SQL Scripts</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="contribute.html">Ask a Question</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
<ul class="nav navbar-nav navbar-right">
|
|
||||||
<li>
|
|
||||||
<a href="https://github.com/OHDSI/CommonDataModel">
|
|
||||||
<span class="fa fa-github"></span>
|
|
||||||
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</div><!--/.nav-collapse -->
|
|
||||||
</div><!--/.container -->
|
|
||||||
</div><!--/.navbar -->
|
|
||||||
|
|
||||||
<div id="header">
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<div id="how-to-calculate-drug-dose" class="section level1">
|
|
||||||
<h1><strong>How to Calculate Drug Dose</strong></h1>
|
|
||||||
<p>These conventions have been curated to show how to consider calculating cumulative and daily drug dose for a given exposure record. These are high-level examples meant to demonstrate how one might use the DRUG_STRENGTH table and they do not take into account switching or stockpiling.</p>
|
|
||||||
<p><strong>1. Tablets and other fixed amount formulations</strong><br><br> <strong>Example</strong>: Acetaminophen (Paracetamol) 500 mg, 20 tablets.<br> <strong>DRUG_STRENGTH</strong> The denominator_unit is empty<br> <strong>DRUG_EXPOSURE</strong> The quantity refers to number of pieces, e.g. tablets.<br> <em>In the example</em>: 20<br> <code>Ingredient dose= quantity x amount_value [amount_unit_concept_id]</code><br> Acetaminophen dose = 20 x 500mg = 10,000mg<br> Daily dose = Acetaminophen dose/drug duration<br><br></p>
|
|
||||||
<p><strong>2. Puffs of an inhaler</strong><br><br> <strong>Note</strong>: There is no difference to use case 1 above besides that the DRUG_STRENGTH table may put {actuat} in the denominator unit. In this case the strength is provided in the numerator.<br> <strong>DRUG_STRENGTH</strong> The denominator_unit is {actuat}<br> <strong>DRUG_EXPOSURE</strong> The quantity refers to the number of pieces, e.g. puffs<br> <code>Ingredient dose= quantity x numerator_value [numerator_unit_concept_id]</code><br> Daily dose = Ingredient dose/drug duration<br><br> <strong>3. Quantified Drugs which are formulated as a concentration</strong><br><br> <strong>Example</strong>: The Clinical Drug is Acetaminophen 250 mg/mL in a 5mL oral suspension. The Quantified Clinical Drug would have 1250 mg / 5 ml in the DRUG_STRENGTH table. Two suspensions are dispensed.<br> <strong>DRUG_STRENGTH</strong> The denominator_unit is either mg or mL. The denominator_value might be different from 1.<br> <strong>DRUG_EXPOSURE</strong> The quantity refers to a fraction or multiple of the pack.<br> <em>In the example</em>: 2<br> <code>Ingredient dose= quantity x numerator_value [numerator_unit_concept_id]</code><br> <em>Acetaminophen dose</em> = 2 x 1250mg = 2500mg<br> Daily dose = Acetaminophen dose/drug duration<br><br> <strong>4. Drugs with the total amount provided in quantity, e.g. chemotherapeutics</strong><br><br> <strong>Example</strong>: 42799258 “Benzyl Alcohol 0.1 ML/ML / Pramoxine hydrochloride 0.01 MG/MG Topical Gel” dispensed in a 1.25oz pack.<br> <strong>DRUG_STRENGTH</strong> The denominator_unit is either mg or mL.<br> <strong>Example</strong>: Benzyl Alcohol in mL and Pramoxine hydrochloride in mg<br> <strong>DRUG_EXPOSURE</strong> The quantity refers to mL or g.<br> <strong>Example</strong>: 1.25 x 30 <em>(conversion factor oz -> mL)</em> = 37<br> <code>Ingredient dose= quantity x numerator_value [numerator_unit_concept_id]</code><br> <em>Benzyl Alcohol dose</em> = 37 x 0.1mL = 3.7mL<br> Daily dose = Benzyl Alcohol dose/drug duration<br> <em>Pramoxine hydrochloride dose</em> = 37 x 0.01mg x 1000 = 370mg<br> Daily dose = Pramoxine hydrochloride dose/drug duration<br><br> <strong>Note</strong>: The analytical side should check the denominator in the DRUG_STRENGTH table. As mg is used for the second ingredient the factor 1000 will be applied to convert between g and mg.<br><br> <strong>5. Compounded drugs</strong><br><br> <strong>Example</strong>: Ibuprofen 20%/Piroxicam 1% Cream, 30ml in 5ml tubes.<br> <strong>DRUG_STRENGTH</strong> We need entries for the ingredients of Ibuprofen and Piroxicam, probably with an amount_value of 1 and a unit of mg.<br> <strong>DRUG_EXPOSURE</strong> The quantity refers to the total amount of the compound. Use one record in the DRUG_EXPOSURE table for each compound.<br> <strong>Example</strong>: 20% Ibuprofen of 30ml = 6mL, 1% Piroxicam of 30ml = 0.3mL<br> <code>Ingredient dose= Depends on the drugs involved: One of the use cases above.</code> <em>Ibuprofen dose</em> = 6 x 1mg x 1000 = 6000mg<br> Daily dose = Ibuprofen dose/drug duration<br> <em>Piroxicam dose</em> = 0.3 x 1mg x 1000 = 300mg<br> Daily dose = Piroxicam dose/drug duration<br> <strong>Note</strong>: The analytical side determines that the denominator for both ingredients in the DRUG_STRENGTH table is mg and applies the factor 1000 to convert between mL/g and mg.<br><br> <strong>6. Drugs with the active ingredient released over time, e.g. patches</strong><br><br> <strong>Example</strong>: Ethinyl Estradiol 0.000833 MG/HR / norelgestromin 0.00625 MG/HR Weekly Transdermal Patch<br> <strong>DRUG_STRENGTH</strong> The denominator units refer to hour.<br> <strong>Example</strong>: Ethinyl Estradiol 0.000833 mg/h / norelgestromin 0.00625 mg/h<br> <strong>DRUG_EXPOSURE</strong> The quantity refers to the number of pieces.<br> <strong>Example</strong>: 1 patch<br> <code>Ingredient rate= numerator_value [numerator_unit_concept_id]</code><br> <em>Ethinyl Estradiol rate</em> = 0.000833 mg/h<br> <em>norelgestromin rate</em> 0.00625 mg/h<br> <strong>Note</strong>: This can be converted to a daily dosage by multiplying it with 24. (Assuming 1 patch at a time for at least 24 hours)</p>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
|
|
||||||
// add bootstrap table styles to pandoc tables
|
|
||||||
function bootstrapStylePandocTables() {
|
|
||||||
$('tr.odd').parent('tbody').parent('table').addClass('table table-condensed');
|
|
||||||
}
|
|
||||||
$(document).ready(function () {
|
|
||||||
bootstrapStylePandocTables();
|
|
||||||
});
|
|
||||||
|
|
||||||
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<!-- tabsets -->
|
|
||||||
|
|
||||||
<script>
|
|
||||||
$(document).ready(function () {
|
|
||||||
window.buildTabsets("TOC");
|
|
||||||
});
|
|
||||||
|
|
||||||
$(document).ready(function () {
|
|
||||||
$('.tabset-dropdown > .nav-tabs > li').click(function () {
|
|
||||||
$(this).parent().toggleClass('nav-tabs-open');
|
|
||||||
});
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<!-- code folding -->
|
|
||||||
|
|
||||||
|
|
||||||
<!-- dynamically load mathjax for compatibility with self-contained -->
|
|
||||||
<script>
|
|
||||||
(function () {
|
|
||||||
var script = document.createElement("script");
|
|
||||||
script.type = "text/javascript";
|
|
||||||
script.src = "https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML";
|
|
||||||
document.getElementsByTagName("head")[0].appendChild(script);
|
|
||||||
})();
|
|
||||||
</script>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
</html>
|
|
|
@ -1,522 +0,0 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
|
|
||||||
<html>
|
|
||||||
|
|
||||||
<head>
|
|
||||||
|
|
||||||
<meta charset="utf-8" />
|
|
||||||
<meta name="generator" content="pandoc" />
|
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=EDGE" />
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<title>Observation Period Considerations for EHR Data</title>
|
|
||||||
|
|
||||||
<script src="site_libs/header-attrs-2.13/header-attrs.js"></script>
|
|
||||||
<script src="site_libs/jquery-3.6.0/jquery-3.6.0.min.js"></script>
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
||||||
<link href="site_libs/bootstrap-3.3.5/css/cosmo.min.css" rel="stylesheet" />
|
|
||||||
<script src="site_libs/bootstrap-3.3.5/js/bootstrap.min.js"></script>
|
|
||||||
<script src="site_libs/bootstrap-3.3.5/shim/html5shiv.min.js"></script>
|
|
||||||
<script src="site_libs/bootstrap-3.3.5/shim/respond.min.js"></script>
|
|
||||||
<style>h1 {font-size: 34px;}
|
|
||||||
h1.title {font-size: 38px;}
|
|
||||||
h2 {font-size: 30px;}
|
|
||||||
h3 {font-size: 24px;}
|
|
||||||
h4 {font-size: 18px;}
|
|
||||||
h5 {font-size: 16px;}
|
|
||||||
h6 {font-size: 12px;}
|
|
||||||
code {color: inherit; background-color: rgba(0, 0, 0, 0.04);}
|
|
||||||
pre:not([class]) { background-color: white }</style>
|
|
||||||
<script src="site_libs/navigation-1.1/tabsets.js"></script>
|
|
||||||
<link href="site_libs/highlightjs-9.12.0/default.css" rel="stylesheet" />
|
|
||||||
<script src="site_libs/highlightjs-9.12.0/highlight.js"></script>
|
|
||||||
<link href="site_libs/font-awesome-5.1.0/css/all.css" rel="stylesheet" />
|
|
||||||
<link href="site_libs/font-awesome-5.1.0/css/v4-shims.css" rel="stylesheet" />
|
|
||||||
<link rel='shortcut icon' type='image/x-icon' href='favicon.ico' />
|
|
||||||
|
|
||||||
<style type="text/css">
|
|
||||||
code{white-space: pre-wrap;}
|
|
||||||
span.smallcaps{font-variant: small-caps;}
|
|
||||||
span.underline{text-decoration: underline;}
|
|
||||||
div.column{display: inline-block; vertical-align: top; width: 50%;}
|
|
||||||
div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;}
|
|
||||||
ul.task-list{list-style: none;}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<style type="text/css">code{white-space: pre;}</style>
|
|
||||||
<script type="text/javascript">
|
|
||||||
if (window.hljs) {
|
|
||||||
hljs.configure({languages: []});
|
|
||||||
hljs.initHighlightingOnLoad();
|
|
||||||
if (document.readyState && document.readyState === "complete") {
|
|
||||||
window.setTimeout(function() { hljs.initHighlighting(); }, 0);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<link rel="stylesheet" href="style.css" type="text/css" />
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<style type = "text/css">
|
|
||||||
.main-container {
|
|
||||||
max-width: 940px;
|
|
||||||
margin-left: auto;
|
|
||||||
margin-right: auto;
|
|
||||||
}
|
|
||||||
img {
|
|
||||||
max-width:100%;
|
|
||||||
}
|
|
||||||
.tabbed-pane {
|
|
||||||
padding-top: 12px;
|
|
||||||
}
|
|
||||||
.html-widget {
|
|
||||||
margin-bottom: 20px;
|
|
||||||
}
|
|
||||||
button.code-folding-btn:focus {
|
|
||||||
outline: none;
|
|
||||||
}
|
|
||||||
summary {
|
|
||||||
display: list-item;
|
|
||||||
}
|
|
||||||
details > summary > p:only-child {
|
|
||||||
display: inline;
|
|
||||||
}
|
|
||||||
pre code {
|
|
||||||
padding: 0;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
|
|
||||||
<style type="text/css">
|
|
||||||
.dropdown-submenu {
|
|
||||||
position: relative;
|
|
||||||
}
|
|
||||||
.dropdown-submenu>.dropdown-menu {
|
|
||||||
top: 0;
|
|
||||||
left: 100%;
|
|
||||||
margin-top: -6px;
|
|
||||||
margin-left: -1px;
|
|
||||||
border-radius: 0 6px 6px 6px;
|
|
||||||
}
|
|
||||||
.dropdown-submenu:hover>.dropdown-menu {
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
.dropdown-submenu>a:after {
|
|
||||||
display: block;
|
|
||||||
content: " ";
|
|
||||||
float: right;
|
|
||||||
width: 0;
|
|
||||||
height: 0;
|
|
||||||
border-color: transparent;
|
|
||||||
border-style: solid;
|
|
||||||
border-width: 5px 0 5px 5px;
|
|
||||||
border-left-color: #cccccc;
|
|
||||||
margin-top: 5px;
|
|
||||||
margin-right: -10px;
|
|
||||||
}
|
|
||||||
.dropdown-submenu:hover>a:after {
|
|
||||||
border-left-color: #adb5bd;
|
|
||||||
}
|
|
||||||
.dropdown-submenu.pull-left {
|
|
||||||
float: none;
|
|
||||||
}
|
|
||||||
.dropdown-submenu.pull-left>.dropdown-menu {
|
|
||||||
left: -100%;
|
|
||||||
margin-left: 10px;
|
|
||||||
border-radius: 6px 0 6px 6px;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<script type="text/javascript">
|
|
||||||
// manage active state of menu based on current page
|
|
||||||
$(document).ready(function () {
|
|
||||||
// active menu anchor
|
|
||||||
href = window.location.pathname
|
|
||||||
href = href.substr(href.lastIndexOf('/') + 1)
|
|
||||||
if (href === "")
|
|
||||||
href = "index.html";
|
|
||||||
var menuAnchor = $('a[href="' + href + '"]');
|
|
||||||
|
|
||||||
// mark it active
|
|
||||||
menuAnchor.tab('show');
|
|
||||||
|
|
||||||
// if it's got a parent navbar menu mark it active as well
|
|
||||||
menuAnchor.closest('li.dropdown').addClass('active');
|
|
||||||
|
|
||||||
// Navbar adjustments
|
|
||||||
var navHeight = $(".navbar").first().height() + 15;
|
|
||||||
var style = document.createElement('style');
|
|
||||||
var pt = "padding-top: " + navHeight + "px; ";
|
|
||||||
var mt = "margin-top: -" + navHeight + "px; ";
|
|
||||||
var css = "";
|
|
||||||
// offset scroll position for anchor links (for fixed navbar)
|
|
||||||
for (var i = 1; i <= 6; i++) {
|
|
||||||
css += ".section h" + i + "{ " + pt + mt + "}\n";
|
|
||||||
}
|
|
||||||
style.innerHTML = "body {" + pt + "padding-bottom: 40px; }\n" + css;
|
|
||||||
document.head.appendChild(style);
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<!-- tabsets -->
|
|
||||||
|
|
||||||
<style type="text/css">
|
|
||||||
.tabset-dropdown > .nav-tabs {
|
|
||||||
display: inline-table;
|
|
||||||
max-height: 500px;
|
|
||||||
min-height: 44px;
|
|
||||||
overflow-y: auto;
|
|
||||||
border: 1px solid #ddd;
|
|
||||||
border-radius: 4px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabset-dropdown > .nav-tabs > li.active:before {
|
|
||||||
content: "";
|
|
||||||
font-family: 'Glyphicons Halflings';
|
|
||||||
display: inline-block;
|
|
||||||
padding: 10px;
|
|
||||||
border-right: 1px solid #ddd;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabset-dropdown > .nav-tabs.nav-tabs-open > li.active:before {
|
|
||||||
content: "";
|
|
||||||
border: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabset-dropdown > .nav-tabs.nav-tabs-open:before {
|
|
||||||
content: "";
|
|
||||||
font-family: 'Glyphicons Halflings';
|
|
||||||
display: inline-block;
|
|
||||||
padding: 10px;
|
|
||||||
border-right: 1px solid #ddd;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabset-dropdown > .nav-tabs > li.active {
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabset-dropdown > .nav-tabs > li > a,
|
|
||||||
.tabset-dropdown > .nav-tabs > li > a:focus,
|
|
||||||
.tabset-dropdown > .nav-tabs > li > a:hover {
|
|
||||||
border: none;
|
|
||||||
display: inline-block;
|
|
||||||
border-radius: 4px;
|
|
||||||
background-color: transparent;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabset-dropdown > .nav-tabs.nav-tabs-open > li {
|
|
||||||
display: block;
|
|
||||||
float: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabset-dropdown > .nav-tabs > li {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<!-- code folding -->
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body>
|
|
||||||
|
|
||||||
|
|
||||||
<div class="container-fluid main-container">
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div class="navbar navbar-default navbar-fixed-top" role="navigation">
|
|
||||||
<div class="container">
|
|
||||||
<div class="navbar-header">
|
|
||||||
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-bs-toggle="collapse" data-target="#navbar" data-bs-target="#navbar">
|
|
||||||
<span class="icon-bar"></span>
|
|
||||||
<span class="icon-bar"></span>
|
|
||||||
<span class="icon-bar"></span>
|
|
||||||
</button>
|
|
||||||
<a class="navbar-brand" href="index.html"><div><img src="ohdsi16x16.png"></img> OMOP Common Data Model </div></a>
|
|
||||||
</div>
|
|
||||||
<div id="navbar" class="navbar-collapse collapse">
|
|
||||||
<ul class="nav navbar-nav">
|
|
||||||
<li>
|
|
||||||
<a href="index.html">
|
|
||||||
<span class="fa fa-home"></span>
|
|
||||||
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
|
||||||
<span class="fa fa-landmark"></span>
|
|
||||||
|
|
||||||
Background
|
|
||||||
|
|
||||||
<span class="caret"></span>
|
|
||||||
</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="background.html">Model Background</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="cdmRefreshProcess.html">CDM Refresh Process</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="vocabulary.html">How the Vocabulary is Built</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
|
||||||
<span class="fa fa-list-alt"></span>
|
|
||||||
|
|
||||||
Conventions
|
|
||||||
|
|
||||||
<span class="caret"></span>
|
|
||||||
</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="dataModelConventions.html">General Conventions</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="ehrObsPeriods.html">Observation Periods for EHR Data</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="cdmPrivacy.html">Patient Privacy and OMOP</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
|
||||||
<span class="fa fa-history"></span>
|
|
||||||
|
|
||||||
CDM Versions
|
|
||||||
|
|
||||||
<span class="caret"></span>
|
|
||||||
</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="cdm30.html">CDM v3.0</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="cdm60.html">CDM v6.0</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="cdm53.html">CDM v5.3</a>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown-submenu">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">NEW CDM v5.4</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="cdm54.html">CDM v5.4</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="cdm54Changes.html">Changes from CDM v5.3</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
|
||||||
<span class="fa fa-plus-square"></span>
|
|
||||||
|
|
||||||
Proposals
|
|
||||||
|
|
||||||
<span class="caret"></span>
|
|
||||||
</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="https://github.com/OHDSI/CommonDataModel/issues?q=is%3Aopen+is%3Aissue+label%3AProposal">Under Review</a>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown-submenu">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">Accepted</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="https://github.com/OHDSI/CommonDataModel/issues/252">Region_concept_id</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
|
||||||
<span class="fa fa-question"></span>
|
|
||||||
|
|
||||||
How to
|
|
||||||
|
|
||||||
<span class="caret"></span>
|
|
||||||
</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="download.html">Download the DDL</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="cdmRPackage.html">Use the CDM R Package</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="drug_dose.html">Calculate Drug Dose</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
|
||||||
<span class="fa fa-life-ring"></span>
|
|
||||||
|
|
||||||
Support
|
|
||||||
|
|
||||||
<span class="caret"></span>
|
|
||||||
</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="faq.html">FAQ</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="sqlScripts.html">SQL Scripts</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="contribute.html">Ask a Question</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
<ul class="nav navbar-nav navbar-right">
|
|
||||||
<li>
|
|
||||||
<a href="https://github.com/OHDSI/CommonDataModel">
|
|
||||||
<span class="fa fa-github"></span>
|
|
||||||
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</div><!--/.nav-collapse -->
|
|
||||||
</div><!--/.container -->
|
|
||||||
</div><!--/.navbar -->
|
|
||||||
|
|
||||||
<div id="header">
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<h1 class="title toc-ignore"><strong>Observation Period Considerations for EHR Data</strong></h1>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<p><em>By Melanie Philofsky and the EHR Working Group</em></p>
|
|
||||||
<p>The EHR WG convened on July 24, August 7, and August 21, 2020 to discuss the creation of an Observation Period from EHR data. The current and future conventions are not prescriptive enough and leave room for various ways of interpretation. The goals of our discussions were to increase the standardization for the implementation of the OBSERVATION_PERIOD table by providing some general guidelines for determining the start, end, and gaps in Observation Periods. The suggestions we came up with are only “suggestions” at this point. More research should be done to understand how these choices might impact evidence generated using these data. All of these decisions should be tempered by local understanding of patients in the EHR you are ETLing.</p>
|
|
||||||
<ul>
|
|
||||||
<li><em>Note - These suggestions are not intended for HMO EHR sites since HMO EHR Observation Periods more closely resemble claims data Observation Periods.</em></li>
|
|
||||||
</ul>
|
|
||||||
<div id="observation-period-start-date" class="section level2">
|
|
||||||
<h2>Observation Period Start Date</h2>
|
|
||||||
<ul>
|
|
||||||
<li>Generally an Observation Period does NOT begin before birth, however, it might begin before birth IF the pregnant mother receives care recorded in your EHR. The child’s record is then split from the mother’s record at birth but may retain care given during pregnancy. For these children in your dataset, the field <strong>observation_period_start_date should be the birth date minus 9 months</strong></li>
|
|
||||||
<li>An <strong>Observation Period does NOT begin before the implementation of the EHR at your site</strong>. Any records prior to implementation are probably “history of” record types and not a complete EHR record of clinical events.</li>
|
|
||||||
<li>Special consideration should be given to migration from previous EHR, implementation at different sites within your healthcare system, implementation of different modules, etc.</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
<div id="observation-period-end-date" class="section level2">
|
|
||||||
<h2>Observation Period end date</h2>
|
|
||||||
<p>Set the <strong>observation_period_end_date</strong> as the first date from the following:</p>
|
|
||||||
<ul>
|
|
||||||
<li><strong>Date of death + 60 days</strong>
|
|
||||||
<ul>
|
|
||||||
<li>This is a CDM convention to allow events after death (autopsy, final notes, etc).</li>
|
|
||||||
</ul></li>
|
|
||||||
<li><strong>Last clinical event + 60 days</strong>
|
|
||||||
<ul>
|
|
||||||
<li>The assumption is that person will return to the same health provider if an adverse reaction/complication/unresolved condition occurs.</li>
|
|
||||||
</ul></li>
|
|
||||||
<li><strong>Date of the data pull from the system</strong></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
<div id="observation-period-gaps-and-persistence-windows" class="section level2">
|
|
||||||
<h2>Observation Period Gaps and Persistence Windows</h2>
|
|
||||||
<div id="observation-period-gaps" class="section level3">
|
|
||||||
<h3>Observation Period Gaps</h3>
|
|
||||||
<p>Periods of time when a Person does not receive care from your institution and therefore is not observed and should not have an Observation Period. These gaps are usually hard to determine because most Persons don’t announce their departure from an EHR/healthcare institution. Therefore, a heuristic will need to be instituted to determine Observation Period Gaps where the information is not explicit.</p>
|
|
||||||
</div>
|
|
||||||
<div id="observation-period-persistence-window" class="section level3">
|
|
||||||
<h3>Observation Period Persistence Window</h3>
|
|
||||||
<p>Defined as the maximum time allowed between two clinical events under the assumption a Person would have a clinical event recorded, if they are not healthy and seek care.</p>
|
|
||||||
<p><strong>Example:</strong> Person 1 has a series of clinical events recorded from <strong>Jan. 1, 2010 to June 15, 2012</strong>, where the time between clinical events does not exceed 60 days. The next clinical event for Person 1 is on <strong>Oct. 1, 2018</strong>. Starting Oct. 1, 2018 Person 1 has clinical events occurring at least every 90 days up to the present date.</p>
|
|
||||||
<p>There is a 6+ year gap between groups of clinical events recorded in the CDM. After discussion in the EHR WG, we believe this 6+ year gap is indicative of a Person not being seen within our EHR/healthcare institution. Per convention #4 for Observation Period table, “As a general assumption, during an Observation Period any clinical event that happens to the patient is expected to be recorded. Conversely, the absence of data indicates that no clinical events occurred to the patient.” Person 1 has two Observation Periods.</p>
|
|
||||||
<p><strong>1st Observation Period</strong></p>
|
|
||||||
<ul>
|
|
||||||
<li>observation_period_start_date = <strong>01/01/2010</strong></li>
|
|
||||||
<li>observation_period_end_date = <strong>08/15/2012</strong> (Per the end_date guideline above)</li>
|
|
||||||
</ul>
|
|
||||||
<p><strong>2nd Observation Period</strong></p>
|
|
||||||
<ul>
|
|
||||||
<li>observation_period_start_date = <strong>10/01/2018</strong></li>
|
|
||||||
<li>observation_period_end_date = <strong>09/01/2020</strong> (Date of the data pull, per the end_date guideline above)</li>
|
|
||||||
</ul>
|
|
||||||
<p>Now, there are cases where a Person only receives care within you EHR system when absolutely necessary. And if your EHR doesn’t offer primary care services, the majority of Persons who lack healthcare insurance or any other reason why Persons are only seen in urgent or emergent situations, the above heuristic might be too restrictive. This is a guideline. A question the EHR WG debated was how long between clinical events should we assume any clinical event that happens to the Person is expected to be recorded? When should we end one Observation Period and begin another? What should be the time between events for an Observation Period Persistence Window? Wellness checkups/Visits happen approximately every 12-18 months depending on a multitude of factors.</p>
|
|
||||||
<p><strong>Our recommendation: If Observation Period Gaps are 548 days or more, then the previous Observation Period should end and another Observation Period should begin on the date of the next clinical event as per the Person 1 example above.</strong></p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div id="additional-etl-considerations" class="section level2">
|
|
||||||
<h2>Additional ETL considerations</h2>
|
|
||||||
<ul>
|
|
||||||
<li>Implementation of your EHR, migration from previous EHR, implementation at different sites within your healthcare system, implementation of different modules</li>
|
|
||||||
<li>Coverage of your healthcare system within your area, population served by the healthcare system</li>
|
|
||||||
<li>All decisions should be tempered by local understanding of patients in the EHR you are ETLing.</li>
|
|
||||||
</ul>
|
|
||||||
<p>The Observation Period can be created by only one clinical event. However, the clinical event must NOT be from the Death table. If a Death date does not have any other clinical records 18 months before AND 18 months after the death date, then an Observation Period will not be created. We believe this logic is needed because if a Person only has a death death_date without other clinical event records, a Person is most likely not being “observed” when the death occurred. If a Person was being observed at their time of death, then other records (visit, condition, measurement, etc.) would be created. This rule is most relevant for those with death registry data since a Person who dies in the hospital has many clinical event records.</p>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
|
|
||||||
// add bootstrap table styles to pandoc tables
|
|
||||||
function bootstrapStylePandocTables() {
|
|
||||||
$('tr.odd').parent('tbody').parent('table').addClass('table table-condensed');
|
|
||||||
}
|
|
||||||
$(document).ready(function () {
|
|
||||||
bootstrapStylePandocTables();
|
|
||||||
});
|
|
||||||
|
|
||||||
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<!-- tabsets -->
|
|
||||||
|
|
||||||
<script>
|
|
||||||
$(document).ready(function () {
|
|
||||||
window.buildTabsets("TOC");
|
|
||||||
});
|
|
||||||
|
|
||||||
$(document).ready(function () {
|
|
||||||
$('.tabset-dropdown > .nav-tabs > li').click(function () {
|
|
||||||
$(this).parent().toggleClass('nav-tabs-open');
|
|
||||||
});
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<!-- code folding -->
|
|
||||||
|
|
||||||
|
|
||||||
<!-- dynamically load mathjax for compatibility with self-contained -->
|
|
||||||
<script>
|
|
||||||
(function () {
|
|
||||||
var script = document.createElement("script");
|
|
||||||
script.type = "text/javascript";
|
|
||||||
script.src = "https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML";
|
|
||||||
document.getElementsByTagName("head")[0].appendChild(script);
|
|
||||||
})();
|
|
||||||
</script>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
</html>
|
|
558
rmd/faq.html
558
rmd/faq.html
|
@ -1,558 +0,0 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
|
|
||||||
<html>
|
|
||||||
|
|
||||||
<head>
|
|
||||||
|
|
||||||
<meta charset="utf-8" />
|
|
||||||
<meta name="generator" content="pandoc" />
|
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=EDGE" />
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<title>OMOP CDM Frequently Asked Questions</title>
|
|
||||||
|
|
||||||
<script src="site_libs/header-attrs-2.13/header-attrs.js"></script>
|
|
||||||
<script src="site_libs/jquery-3.6.0/jquery-3.6.0.min.js"></script>
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
||||||
<link href="site_libs/bootstrap-3.3.5/css/cosmo.min.css" rel="stylesheet" />
|
|
||||||
<script src="site_libs/bootstrap-3.3.5/js/bootstrap.min.js"></script>
|
|
||||||
<script src="site_libs/bootstrap-3.3.5/shim/html5shiv.min.js"></script>
|
|
||||||
<script src="site_libs/bootstrap-3.3.5/shim/respond.min.js"></script>
|
|
||||||
<style>h1 {font-size: 34px;}
|
|
||||||
h1.title {font-size: 38px;}
|
|
||||||
h2 {font-size: 30px;}
|
|
||||||
h3 {font-size: 24px;}
|
|
||||||
h4 {font-size: 18px;}
|
|
||||||
h5 {font-size: 16px;}
|
|
||||||
h6 {font-size: 12px;}
|
|
||||||
code {color: inherit; background-color: rgba(0, 0, 0, 0.04);}
|
|
||||||
pre:not([class]) { background-color: white }</style>
|
|
||||||
<script src="site_libs/navigation-1.1/tabsets.js"></script>
|
|
||||||
<link href="site_libs/highlightjs-9.12.0/default.css" rel="stylesheet" />
|
|
||||||
<script src="site_libs/highlightjs-9.12.0/highlight.js"></script>
|
|
||||||
<link href="site_libs/font-awesome-5.1.0/css/all.css" rel="stylesheet" />
|
|
||||||
<link href="site_libs/font-awesome-5.1.0/css/v4-shims.css" rel="stylesheet" />
|
|
||||||
<link rel='shortcut icon' type='image/x-icon' href='favicon.ico' />
|
|
||||||
|
|
||||||
<style type="text/css">
|
|
||||||
code{white-space: pre-wrap;}
|
|
||||||
span.smallcaps{font-variant: small-caps;}
|
|
||||||
span.underline{text-decoration: underline;}
|
|
||||||
div.column{display: inline-block; vertical-align: top; width: 50%;}
|
|
||||||
div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;}
|
|
||||||
ul.task-list{list-style: none;}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<style type="text/css">code{white-space: pre;}</style>
|
|
||||||
<script type="text/javascript">
|
|
||||||
if (window.hljs) {
|
|
||||||
hljs.configure({languages: []});
|
|
||||||
hljs.initHighlightingOnLoad();
|
|
||||||
if (document.readyState && document.readyState === "complete") {
|
|
||||||
window.setTimeout(function() { hljs.initHighlighting(); }, 0);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<link rel="stylesheet" href="style.css" type="text/css" />
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<style type = "text/css">
|
|
||||||
.main-container {
|
|
||||||
max-width: 940px;
|
|
||||||
margin-left: auto;
|
|
||||||
margin-right: auto;
|
|
||||||
}
|
|
||||||
img {
|
|
||||||
max-width:100%;
|
|
||||||
}
|
|
||||||
.tabbed-pane {
|
|
||||||
padding-top: 12px;
|
|
||||||
}
|
|
||||||
.html-widget {
|
|
||||||
margin-bottom: 20px;
|
|
||||||
}
|
|
||||||
button.code-folding-btn:focus {
|
|
||||||
outline: none;
|
|
||||||
}
|
|
||||||
summary {
|
|
||||||
display: list-item;
|
|
||||||
}
|
|
||||||
details > summary > p:only-child {
|
|
||||||
display: inline;
|
|
||||||
}
|
|
||||||
pre code {
|
|
||||||
padding: 0;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
|
|
||||||
<style type="text/css">
|
|
||||||
.dropdown-submenu {
|
|
||||||
position: relative;
|
|
||||||
}
|
|
||||||
.dropdown-submenu>.dropdown-menu {
|
|
||||||
top: 0;
|
|
||||||
left: 100%;
|
|
||||||
margin-top: -6px;
|
|
||||||
margin-left: -1px;
|
|
||||||
border-radius: 0 6px 6px 6px;
|
|
||||||
}
|
|
||||||
.dropdown-submenu:hover>.dropdown-menu {
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
.dropdown-submenu>a:after {
|
|
||||||
display: block;
|
|
||||||
content: " ";
|
|
||||||
float: right;
|
|
||||||
width: 0;
|
|
||||||
height: 0;
|
|
||||||
border-color: transparent;
|
|
||||||
border-style: solid;
|
|
||||||
border-width: 5px 0 5px 5px;
|
|
||||||
border-left-color: #cccccc;
|
|
||||||
margin-top: 5px;
|
|
||||||
margin-right: -10px;
|
|
||||||
}
|
|
||||||
.dropdown-submenu:hover>a:after {
|
|
||||||
border-left-color: #adb5bd;
|
|
||||||
}
|
|
||||||
.dropdown-submenu.pull-left {
|
|
||||||
float: none;
|
|
||||||
}
|
|
||||||
.dropdown-submenu.pull-left>.dropdown-menu {
|
|
||||||
left: -100%;
|
|
||||||
margin-left: 10px;
|
|
||||||
border-radius: 6px 0 6px 6px;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<script type="text/javascript">
|
|
||||||
// manage active state of menu based on current page
|
|
||||||
$(document).ready(function () {
|
|
||||||
// active menu anchor
|
|
||||||
href = window.location.pathname
|
|
||||||
href = href.substr(href.lastIndexOf('/') + 1)
|
|
||||||
if (href === "")
|
|
||||||
href = "index.html";
|
|
||||||
var menuAnchor = $('a[href="' + href + '"]');
|
|
||||||
|
|
||||||
// mark it active
|
|
||||||
menuAnchor.tab('show');
|
|
||||||
|
|
||||||
// if it's got a parent navbar menu mark it active as well
|
|
||||||
menuAnchor.closest('li.dropdown').addClass('active');
|
|
||||||
|
|
||||||
// Navbar adjustments
|
|
||||||
var navHeight = $(".navbar").first().height() + 15;
|
|
||||||
var style = document.createElement('style');
|
|
||||||
var pt = "padding-top: " + navHeight + "px; ";
|
|
||||||
var mt = "margin-top: -" + navHeight + "px; ";
|
|
||||||
var css = "";
|
|
||||||
// offset scroll position for anchor links (for fixed navbar)
|
|
||||||
for (var i = 1; i <= 6; i++) {
|
|
||||||
css += ".section h" + i + "{ " + pt + mt + "}\n";
|
|
||||||
}
|
|
||||||
style.innerHTML = "body {" + pt + "padding-bottom: 40px; }\n" + css;
|
|
||||||
document.head.appendChild(style);
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<!-- tabsets -->
|
|
||||||
|
|
||||||
<style type="text/css">
|
|
||||||
.tabset-dropdown > .nav-tabs {
|
|
||||||
display: inline-table;
|
|
||||||
max-height: 500px;
|
|
||||||
min-height: 44px;
|
|
||||||
overflow-y: auto;
|
|
||||||
border: 1px solid #ddd;
|
|
||||||
border-radius: 4px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabset-dropdown > .nav-tabs > li.active:before {
|
|
||||||
content: "";
|
|
||||||
font-family: 'Glyphicons Halflings';
|
|
||||||
display: inline-block;
|
|
||||||
padding: 10px;
|
|
||||||
border-right: 1px solid #ddd;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabset-dropdown > .nav-tabs.nav-tabs-open > li.active:before {
|
|
||||||
content: "";
|
|
||||||
border: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabset-dropdown > .nav-tabs.nav-tabs-open:before {
|
|
||||||
content: "";
|
|
||||||
font-family: 'Glyphicons Halflings';
|
|
||||||
display: inline-block;
|
|
||||||
padding: 10px;
|
|
||||||
border-right: 1px solid #ddd;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabset-dropdown > .nav-tabs > li.active {
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabset-dropdown > .nav-tabs > li > a,
|
|
||||||
.tabset-dropdown > .nav-tabs > li > a:focus,
|
|
||||||
.tabset-dropdown > .nav-tabs > li > a:hover {
|
|
||||||
border: none;
|
|
||||||
display: inline-block;
|
|
||||||
border-radius: 4px;
|
|
||||||
background-color: transparent;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabset-dropdown > .nav-tabs.nav-tabs-open > li {
|
|
||||||
display: block;
|
|
||||||
float: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabset-dropdown > .nav-tabs > li {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<!-- code folding -->
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body>
|
|
||||||
|
|
||||||
|
|
||||||
<div class="container-fluid main-container">
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div class="navbar navbar-default navbar-fixed-top" role="navigation">
|
|
||||||
<div class="container">
|
|
||||||
<div class="navbar-header">
|
|
||||||
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-bs-toggle="collapse" data-target="#navbar" data-bs-target="#navbar">
|
|
||||||
<span class="icon-bar"></span>
|
|
||||||
<span class="icon-bar"></span>
|
|
||||||
<span class="icon-bar"></span>
|
|
||||||
</button>
|
|
||||||
<a class="navbar-brand" href="index.html"><div><img src="ohdsi16x16.png"></img> OMOP Common Data Model </div></a>
|
|
||||||
</div>
|
|
||||||
<div id="navbar" class="navbar-collapse collapse">
|
|
||||||
<ul class="nav navbar-nav">
|
|
||||||
<li>
|
|
||||||
<a href="index.html">
|
|
||||||
<span class="fa fa-home"></span>
|
|
||||||
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
|
||||||
<span class="fa fa-landmark"></span>
|
|
||||||
|
|
||||||
Background
|
|
||||||
|
|
||||||
<span class="caret"></span>
|
|
||||||
</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="background.html">Model Background</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="cdmRefreshProcess.html">CDM Refresh Process</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="vocabulary.html">How the Vocabulary is Built</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
|
||||||
<span class="fa fa-list-alt"></span>
|
|
||||||
|
|
||||||
Conventions
|
|
||||||
|
|
||||||
<span class="caret"></span>
|
|
||||||
</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="dataModelConventions.html">General Conventions</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="ehrObsPeriods.html">Observation Periods for EHR Data</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="cdmPrivacy.html">Patient Privacy and OMOP</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
|
||||||
<span class="fa fa-history"></span>
|
|
||||||
|
|
||||||
CDM Versions
|
|
||||||
|
|
||||||
<span class="caret"></span>
|
|
||||||
</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="cdm30.html">CDM v3.0</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="cdm60.html">CDM v6.0</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="cdm53.html">CDM v5.3</a>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown-submenu">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">NEW CDM v5.4</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="cdm54.html">CDM v5.4</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="cdm54Changes.html">Changes from CDM v5.3</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
|
||||||
<span class="fa fa-plus-square"></span>
|
|
||||||
|
|
||||||
Proposals
|
|
||||||
|
|
||||||
<span class="caret"></span>
|
|
||||||
</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="https://github.com/OHDSI/CommonDataModel/issues?q=is%3Aopen+is%3Aissue+label%3AProposal">Under Review</a>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown-submenu">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">Accepted</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="https://github.com/OHDSI/CommonDataModel/issues/252">Region_concept_id</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
|
||||||
<span class="fa fa-question"></span>
|
|
||||||
|
|
||||||
How to
|
|
||||||
|
|
||||||
<span class="caret"></span>
|
|
||||||
</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="download.html">Download the DDL</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="cdmRPackage.html">Use the CDM R Package</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="drug_dose.html">Calculate Drug Dose</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
|
||||||
<span class="fa fa-life-ring"></span>
|
|
||||||
|
|
||||||
Support
|
|
||||||
|
|
||||||
<span class="caret"></span>
|
|
||||||
</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="faq.html">FAQ</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="sqlScripts.html">SQL Scripts</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="contribute.html">Ask a Question</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
<ul class="nav navbar-nav navbar-right">
|
|
||||||
<li>
|
|
||||||
<a href="https://github.com/OHDSI/CommonDataModel">
|
|
||||||
<span class="fa fa-github"></span>
|
|
||||||
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</div><!--/.nav-collapse -->
|
|
||||||
</div><!--/.container -->
|
|
||||||
</div><!--/.navbar -->
|
|
||||||
|
|
||||||
<div id="header">
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<h1 class="title toc-ignore">OMOP CDM Frequently Asked Questions</h1>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<p><strong>1. I understand that the common data model (CDM) is a way of organizing disparate data sources into the same relational database design, but how can it be effective since many databases use different coding schemes?</strong></p>
|
|
||||||
<p>During the extract, transform, load (ETL) process of converting a data source into the OMOP common data model, we standardize the structure (e.g. tables, fields, data types), conventions (e.g. rules that govern how source data should be represented), and content (e.g. what common vocabularies are used to speak the same language across clinical domains). The common data model preserves all source data, including the original source vocabulary codes, but adds the standardized vocabularies to allow for network research across the entire OHDSI research community.</p>
|
|
||||||
<p><strong>2. How does my data get transformed into the common data model?</strong></p>
|
|
||||||
<p>You or someone in your organization will need to create a process to build your CDM. Don’t worry though, you are not alone! The open nature of the community means that much of the code that other participants have written to transform their own data is available for you to use. If you have a data license for a large administrative claims database like IBM MarketScan® or Optum’s Clinformatics® Extended Data Mart, chances are that someone has already done the legwork. Here is one example of a full builder freely available on <a href="https://github.com/OHDSI/ETL-CDMBuilder">github</a> that has been written for a variety of data sources.</p>
|
|
||||||
<p>The <a href="http://forums.ohdsi.org/">community forums</a> are also a great place to ask questions if you are stuck or need guidance on how to represent your data in the common data model. Members are usually very responsive!</p>
|
|
||||||
<p><strong>3. Are any tables or fields optional?</strong></p>
|
|
||||||
<p>It is expected that all tables will be present in a CDM though it is not a requirement that they are all populated. The two mandatory tables are:</p>
|
|
||||||
<ul>
|
|
||||||
<li><a href="https://github.com/OHDSI/CommonDataModel/wiki/person">Person</a>: Contains records that uniquely identify each patient in the source data who is at-risk to have clinical observations recorded within the source systems.</li>
|
|
||||||
<li><a href="https://github.com/OHDSI/CommonDataModel/wiki/observation_period">Observation_period</a>: Contains records which uniquely define the spans of time for which a Person is at-risk to have clinical events recorded within the source systems.</li>
|
|
||||||
</ul>
|
|
||||||
<p>It is then up to you which tables to populate, though the core event tables are generally agreed upon to be <a href="https://github.com/OHDSI/CommonDataModel/wiki/CONDITION_OCCURRENCE">Condition_occurrence</a>, <a href="https://github.com/OHDSI/CommonDataModel/wiki/PROCEDURE_OCCURRENCE">Procedure_occurrence</a>, <a href="https://github.com/OHDSI/CommonDataModel/wiki/DRUG_EXPOSURE">Drug_exposure</a>, <a href="https://github.com/OHDSI/CommonDataModel/wiki/MEASUREMENT">Measurement</a>, and <a href="https://github.com/OHDSI/CommonDataModel/wiki/OBSERVATION">Observation</a>. Each table has certain required fields, a full list of which can be found on the Common Data Model <a href="https://github.com/OHDSI/CommonDataModel/wiki/">wiki page</a>.</p>
|
|
||||||
<p><strong>4. Does the data model include any derived information? Which tables or values are derived?</strong></p>
|
|
||||||
<p>The common data model stores verbatim data from the source across various clinical domains, such as records for conditions, drugs, procedures, and measurements. In addition, to assist the analyst, the common data model also provides some derived tables, based on commonly used analytic procedures. For example, the <a href="https://github.com/OHDSI/CommonDataModel/wiki/CONDITION_ERA">Condition_era</a> table is derived from the <a href="https://github.com/OHDSI/CommonDataModel/wiki/CONDITION_OCCURENCE">Condition_occurrence</a> table and both the <a href="https://github.com/OHDSI/CommonDataModel/wiki/DRUG_ERA">Drug_era</a> and <a href="https://github.com/OHDSI/CommonDataModel/wiki/DOSE_ERA">Dose_era</a> tables are derived from the <a href="https://github.com/OHDSI/CommonDataModel/wiki/DRUG_EXPOSURE">Drug_exposure</a> table. An era is defined as a span of time when a patient is assumed to have a given condition or exposure to a particular active ingredient. Members of the community have written code to create these tables and it is out on the <a href="https://github.com/OHDSI/CommonDataModel/tree/master/CodeExcerpts/DerivedTables">github</a> if you choose to use it in your CDM build. It is important to reinforce, the analyst has the opportunity, but not the obligation, to use any of the derived tables and all of the source data is still available for direct use if the analysis calls for different assumptions.</p>
|
|
||||||
<p><strong>5. How is age captured in the model?</strong></p>
|
|
||||||
<p>Year_of_birth, month_of_birth, day_of_birth and birth_datetime are all fields in the Person table designed to capture some form of date of birth. While only year_of_birth is required, these fields allow for maximum flexibility over a wide range of data sources.</p>
|
|
||||||
<p><strong>6. How are gender, race, and ethnicity captured in the model? Are they coded using values a human reader can understand?</strong></p>
|
|
||||||
<p>Standard Concepts are used to denote all clinical entities throughout the OMOP common data model, including gender, race, and ethnicity. Source values are mapped to Standard Concepts during the extract, transform, load (ETL) process of converting a database to the OMOP Common Data Model. These are then stored in the Gender_concept_id, Race_concept_id and Ethnicity_concept_id fields in the Person table. Because the standard concepts span across all clinical domains, and in keeping with Cimino’s ‘Desiderata for Controlled Medical Vocabularies in the Twenty-First Century’, the identifiers are unique, persistent nonsematic identifiers. Gender, for example, is stored as either 8532 (female) or 8507 (male) in gender_concept_id while the original value from the source is stored in gender_source_value (M, male, F, etc).</p>
|
|
||||||
<p><strong>7. Are there conditions/procedures/drugs or other domains that should be masked or hidden in the CDM?</strong></p>
|
|
||||||
<p>The masking of information related to a person is dependent on the organization’s privacy policies and may vary by data asset (<a href="https://github.com/OHDSI/Themis/issues/21">THEMIS issue #21</a>).</p>
|
|
||||||
<p><strong>8. How is time-varying patient information such as location of residence addressed in the model?</strong></p>
|
|
||||||
<p>The OMOP common data model has been pragmatically defined based on the desired analytic use cases of the community, as well as the available types of data that community members have access to. Prior to CDM v6.0, each person record had associated demographic attributes which are assumed to be constant for the patient throughout the course of their periods of observation, like location and primary care provider. With the release of CDM v6.0, the Location_History table is now available to track the movements of people, care sites, and providers over time. Only the most recent location_id should be stored in the Person table to eliminate duplication, while the person’s movements are stored in Location_History.</p>
|
|
||||||
<p>Something like marital status is a little different as it is considered to be an observation rather than a demographic attribute. This means that it is housed in the Observation table rather than the Person table, giving the opportunity to store each change in status as a unique record.</p>
|
|
||||||
<p>If someone in the community had a use case for time-varying location of residence and also had source data that contains this information, we’d welcome participation in the CDM workgroup to evolve the model further.</p>
|
|
||||||
<p><strong>9. How does the model denote the time period during which a Person’s information is valid?</strong></p>
|
|
||||||
<p>The OMOP Common Data Model uses something called observation periods (stored in the <a href="https://github.com/OHDSI/CommonDataModel/wiki/observation_period">Observation_period</a> table) as a way to define the time span during which a patient is at-risk to have a clinical event recorded. In administrative claims databases, for example, these observation periods are often analogous to the notion of ‘enrollment’.</p>
|
|
||||||
<p><strong>10. How does the model capture start and stop dates for insurance coverage? What if a person’s coverage changes?</strong></p>
|
|
||||||
<p>The <a href="https://github.com/OHDSI/CommonDataModel/wiki/payer_plan_period">Payer_plan_period</a> table captures details of the period of time that a Person is continuously enrolled under a specific health Plan benefit structure from a given Payer. Payer plan periods, as opposed to observation periods, can overlap so as to denote the time when a Person is enrolled in multiple plans at the same time such as Medicare Part A and Medicare Part D.</p>
|
|
||||||
<p><strong>11. What if I have EHR data? How would I create observation periods?</strong></p>
|
|
||||||
<p>An observation period is considered as the time at which a patient is at-risk to have a clinical event recorded in the source system. Determining the appropriate observation period for each source data can vary, depending on what information the source contains. If a source does not provide information about a patient’s entry or exit from a system, then reasonable heuristics need to be developed and applied within the ETL.</p>
|
|
||||||
<div id="vocabulary-mapping" class="section level2">
|
|
||||||
<h2>Vocabulary Mapping</h2>
|
|
||||||
<p><strong>12. Do I have to map my source codes to Standard Concepts myself? Are there vocabulary mappings that already exist for me to leverage?</strong></p>
|
|
||||||
<p>If your data use any of the 55 source vocabularies that are currently supported, the mappings have been done for you. The full list is available from the open-source <a href="http://athena.ohdsi.org/search-terms/terms">ATHENA</a> tool under the download tab (see below). You can choose to download the ten <a href="https://github.com/OHDSI/CommonDataModel/wiki/Standardized-Vocabularies">vocabulary tables</a> from there as well – you will need a copy in your environment if you plan on building a CDM.</p>
|
|
||||||
<p><img src="images/Athena_download_box.png" /></p>
|
|
||||||
<p>The <a href="http://athena.ohdsi.org/search-terms/terms">ATHENA</a> tool also allows you to explore the vocabulary before downloading it if you are curious about the mappings or if you have a specific code in mind and would like to know which standard concept it is associated with; just click on the search tab and type in a keyword to begin searching.</p>
|
|
||||||
<p><strong>13. If I want to apply the mappings myself, can I do so? Are they transparent to all users?</strong></p>
|
|
||||||
<p>Yes, all mappings are available in the <a href="https://github.com/OHDSI/CommonDataModel/wiki/CONCEPT_RELATIONSHIP">Concept_relationship</a> table (which can be downloaded from <a href="http://athena.ohdsi.org/search-terms/terms">ATHENA</a>). Each value in a supported source terminology is assigned a Concept_id (which is considered non-standard). Each Source_concept_id will have a mapping to a Standard_concept_id. For example:</p>
|
|
||||||
<p><img src="images/Sepsis_to_SNOMED.png" /></p>
|
|
||||||
<p>In this case the standard SNOMED concept 201826 for type 2 diabetes mellitus would be stored in the Condition_occurrence table as the Condition_concept_id and the ICD10CM concept 1567956 for type 2 diabetes mellitus would be stored as the Condition_source_concept_id.</p>
|
|
||||||
<p><strong>14. Can RXNorm codes be stored in the model? Can I store multiple levels if I so choose? What if one collaborator uses a different level of RXNorm than I use when transforming their database?</strong></p>
|
|
||||||
<p>In the OMOP Common Data Model RXNorm is considered the standard vocabulary for representing drug exposures. One of the great things about the Standardized Vocabulary is that the hierarchical nature of RXNorm is preserved to enable efficient querying. It is agreed upon best practice to store the lowest level RXNorm available and then use the Vocabulary to explore any pertinent relationships. Drug ingredients are the highest-level ancestors so a query for the descendants of an ingredient should turn up all drug products (Clinical Drug or Branded Drug) containing that ingredient. A query designed in this way will find drugs of interest in any CDM regardless of the level of RXNorm used.</p>
|
|
||||||
<p><strong>15. What if the vocabulary has a mapping I don’t agree with? Can it be changed?</strong></p>
|
|
||||||
<p>Yes, that is the beauty of the community! If you find a mapping in the vocabulary that doesn’t seem to belong or that you think could be better, feel free to write a note on the <a href="https://forums.ohdsi.org/">forums</a> or on the <a href="https://github.com/OHDSI/Vocabulary-v5.0/issues">vocabulary github</a>. If the community agrees with your assessment it will be addressed in the next vocabulary version.</p>
|
|
||||||
<p><strong>16. What if I have source codes that are specific to my site? How would these be mapped?</strong></p>
|
|
||||||
<p>In the OMOP Vocabulary there is an empty table called the Source_to_concept_map. It is a simple table structure that allows you to establish mapping(s) for each source code with a standard concept in the OMOP Vocabulary (TARGET_CONCEPT_ID). This work can be facilitated by the OHDSI tool <a href="https://github.com/OHDSI/Usagi">Usagi</a> (pictured below) which searches for text similarity between your source code descriptions and the OMOP Vocabulary and exports mappings in a SOURCE_TO_CONCEPT_MAP table structure. Example Source_to_concept_map files can be found <a href="https://github.com/OHDSI/ETL-CDMBuilder/tree/master/man/VOCABULARY_ADDITIONS">here</a>. These generated Source_to_concept_map files are then loaded into the OMOP Vocabulary’s empty Source_to_concept_map prior to processing the native data into the CDM so that the CDM builder can use them in a build.</p>
|
|
||||||
<p><img src="images/Usagi.png" /></p>
|
|
||||||
<p>If an source code is not supported by the OMOP Vocabulary, one can create a new records in the CONCEPT table, however the CONCEPT_IDs should start >2000000000 so that it is easy to tell between the OMOP Vocabulary concepts and the site specific concepts. Once those concepts exist CONCEPT_RELATIONSHIPS can be generated to assign them to a standard terminologies, USAGI can facilitate this process as well (<a href="https://github.com/OHDSI/Themis/issues/22">THEMIS issue #22</a>).</p>
|
|
||||||
<p><strong>17. How are one-to-many mappings applied?</strong></p>
|
|
||||||
<p>If one source code maps to two Standard Concepts then two rows are stored in the corresponding clinical event table.</p>
|
|
||||||
<p><strong>18. What if I want to keep my original data as well as the mapped values? Is there a way for me to do that?</strong></p>
|
|
||||||
<p>Yes! Source values and Source Concepts are fully maintained within the OMOP Common Data Model. A Source Concept represents the code in the source data. Each Source Concept is mapped to one or more Standard Concepts during the ETL process and both are stored in the corresponding clinical event table. If no mapping is available, the Standard Concept with the concept_id = 0 is written into the *_concept_id field (Condition_concept_id, Procedure_concept_id, etc.) so as to preserve the record from the native data.</p>
|
|
||||||
</div>
|
|
||||||
<div id="common-data-model-versioning" class="section level2">
|
|
||||||
<h2>Common Data Model Versioning</h2>
|
|
||||||
<p><strong>19. Who decides when and how to change the data model?</strong></p>
|
|
||||||
<p>The community! There is a <a href="https://docs.google.com/document/d/144e_fc7dyuinfJfbYW5MsJeSijVSzsNE7GMY6KRX10g/edit?usp=sharing">working group</a> designed around updating the model and everything is done by consensus. Members submit proposed changes to the <a href="https://github.com/OHDSI/CommonDataModel">github</a> in the form of <a href="https://github.com/OHDSI/CommonDataModel/issues">issues</a> and the group meets once a month to discuss and vote on the changes. Any ratified proposals are then added to the queue for a future version of the Common Data Model.</p>
|
|
||||||
<p><strong>20. Are changes to the model backwards compatible?</strong></p>
|
|
||||||
<p>Generally point version changes (5.1 -> 5.2) are backwards compatible and major version changes (4.0 -> 5.0) may not be. All updates to the model are listed in the release notes for each version and anything that could potentially affect backwards compatibility is clearly labeled.</p>
|
|
||||||
<p><strong>21. How frequently does the model change?</strong></p>
|
|
||||||
<p>The current schedule is for major versions to be released every year and point versions to be release every quarter though that is subject to the needs of the community.</p>
|
|
||||||
<p><strong>22. What is the dissemination plan for changes?</strong></p>
|
|
||||||
<p>Changes are first listed in the release notes on the <a href="https://github.com/OHDSI/CommonDataModel/">github</a> and in the <a href="https://github.com/OHDSI/CommonDataModel/wiki">common data model wiki</a>. New versions are also announced on the weekly community calls and on the <a href="https://forums.ohdsi.org">community forums</a>.</p>
|
|
||||||
</div>
|
|
||||||
<div id="ohdsi-tools" class="section level2">
|
|
||||||
<h2>OHDSI Tools</h2>
|
|
||||||
<p><strong>23. What are the currently available analytic tools?</strong></p>
|
|
||||||
<p>While there are a variety of tools freely available from the community, these are the most widely used:</p>
|
|
||||||
<ul>
|
|
||||||
<li><a href="http://www.github.com/ohdsi/achilles">ACHILLES</a> – a stand-alone tool for database characterization</li>
|
|
||||||
<li><a href="http://www.ohdsi.org/web/atlas/#/home">ATLAS</a> - an integrated platform for vocabulary exploration, cohort definition, case review, clinical characterization, incidence estimation, population-level effect estimation design, and patient-level prediction design (<a href="http://www.github.com/ohdsi/atlas">link to github</a>)</li>
|
|
||||||
<li><a href="https://github.com/OHDSI/ArachneUI">ARACHNE</a> – a tool to facilitate distributed network analyses</li>
|
|
||||||
<li><a href="https://github.com/OHDSI/whiterabbit">WhiteRabbit</a> - an application that can be used to analyse the structure and contents of a database as preparation for designing an ETL</li>
|
|
||||||
<li><a href="https://github.com/OHDSI/whiterabbit">RabbitInAHat</a> - an application for interactive design of an ETL to the OMOP Common Data Model with the help of the the scan report generated by White Rabbit</li>
|
|
||||||
<li><a href="https://github.com/OHDSI/usagi">Usagi</a> - an application to help create mappings between coding systems and the Vocabulary standard concepts.</li>
|
|
||||||
</ul>
|
|
||||||
<p><strong>24. Who is responsible for updating the tools to account for data model changes, bugs, and errors?</strong></p>
|
|
||||||
<p>The community! All the tools are open source meaning that anyone can submit an issue they have found, offer suggestions, and write code to fix the problem.</p>
|
|
||||||
<p><strong>25. Do the current tools allow a user to define a treatment gap (persistence window) of any value when creating treatment episodes?</strong></p>
|
|
||||||
<p>Yes – the ATLAS tool allows you to specify a persistence window between drug exposures when defining a cohort (see image below).</p>
|
|
||||||
<p><img src="images/ATLAS_Persistence_Window.png" /></p>
|
|
||||||
<p><strong>26. Can the current tools identify medication use during pregnancy?</strong></p>
|
|
||||||
<p>Yes, you can identify pregnancy markers from various clinical domains, including conditions and procedures, for example ‘live birth’, and then define temporal logic to look for drug exposure records in some interval prior to the pregnancy end. In addition, members of the community have built an advanced logic to define pregnancy episodes with all pregnancy outcomes represented, which can be useful for this type of research.</p>
|
|
||||||
<p><strong>27. Do the current tools execute against the mapped values or source values?</strong></p>
|
|
||||||
<p>The tools can execute against both source and mapped values, though mapped values are strongly encouraged. Since one of the aims of OHDSI is to create a distributed data network across the world on which to run research studies, the use of source values fails to take advantage of the benefits of the Common Data Model.</p>
|
|
||||||
</div>
|
|
||||||
<div id="network-research-studies" class="section level2">
|
|
||||||
<h2>Network Research Studies</h2>
|
|
||||||
<p><strong>28. Who can generate requests?</strong></p>
|
|
||||||
<p>Anyone in the community! Any question that gains enough interest and participation can be a network research study.</p>
|
|
||||||
<p><strong>29. Who will develop the queries to distribute to the network?</strong></p>
|
|
||||||
<p>Typically a principal investigator leads the development of a protocol. The PI may also lead the development of the analysis procedure corresponding to the protocol. If the PI does not have the technical skills required to write the analysis procedure that implements the protocol, someone in the community can help them put it together.</p>
|
|
||||||
<p><strong>30. What language are the queries written in?</strong></p>
|
|
||||||
<p>Queries are written in R and SQL. The <a href="https://github.com/OHDSI/sqlrender">SqlRender</a> package can translate any query written in a templated SQL Server-like dialect to any of the supported RDBMS environments, including Postgresql, Oracle, Redshift, Parallel Data Warehouse, Hadoop Impala, Google BigQuery, and Netezza.</p>
|
|
||||||
<p><strong>31. How do the queries get to the data partners and how are they run once there?</strong></p>
|
|
||||||
<p>OHDSI runs as a distributed data network. All analyses are publicly available and can be downloaded to run at each site. The packages can be run locally and, at the data partner’s discretion, aggregate results can be shared with the study coordinator.</p>
|
|
||||||
<p>Data partners can also make use of one of OHDSI’s open-source tools called <a href="https://github.com/OHDSI/arachne">ARACHNE</a>, a tool to facilitate distributed network analytics against the OMOP CDM.</p>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
|
|
||||||
// add bootstrap table styles to pandoc tables
|
|
||||||
function bootstrapStylePandocTables() {
|
|
||||||
$('tr.odd').parent('tbody').parent('table').addClass('table table-condensed');
|
|
||||||
}
|
|
||||||
$(document).ready(function () {
|
|
||||||
bootstrapStylePandocTables();
|
|
||||||
});
|
|
||||||
|
|
||||||
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<!-- tabsets -->
|
|
||||||
|
|
||||||
<script>
|
|
||||||
$(document).ready(function () {
|
|
||||||
window.buildTabsets("TOC");
|
|
||||||
});
|
|
||||||
|
|
||||||
$(document).ready(function () {
|
|
||||||
$('.tabset-dropdown > .nav-tabs > li').click(function () {
|
|
||||||
$(this).parent().toggleClass('nav-tabs-open');
|
|
||||||
});
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<!-- code folding -->
|
|
||||||
|
|
||||||
|
|
||||||
<!-- dynamically load mathjax for compatibility with self-contained -->
|
|
||||||
<script>
|
|
||||||
(function () {
|
|
||||||
var script = document.createElement("script");
|
|
||||||
script.type = "text/javascript";
|
|
||||||
script.src = "https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML";
|
|
||||||
document.getElementsByTagName("head")[0].appendChild(script);
|
|
||||||
})();
|
|
||||||
</script>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
</html>
|
|
565
rmd/index.html
565
rmd/index.html
|
@ -1,565 +0,0 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
|
|
||||||
<html>
|
|
||||||
|
|
||||||
<head>
|
|
||||||
|
|
||||||
<meta charset="utf-8" />
|
|
||||||
<meta name="generator" content="pandoc" />
|
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=EDGE" />
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<title>index.knit</title>
|
|
||||||
|
|
||||||
<script src="site_libs/header-attrs-2.13/header-attrs.js"></script>
|
|
||||||
<script src="site_libs/jquery-3.6.0/jquery-3.6.0.min.js"></script>
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
||||||
<link href="site_libs/bootstrap-3.3.5/css/cosmo.min.css" rel="stylesheet" />
|
|
||||||
<script src="site_libs/bootstrap-3.3.5/js/bootstrap.min.js"></script>
|
|
||||||
<script src="site_libs/bootstrap-3.3.5/shim/html5shiv.min.js"></script>
|
|
||||||
<script src="site_libs/bootstrap-3.3.5/shim/respond.min.js"></script>
|
|
||||||
<style>h1 {font-size: 34px;}
|
|
||||||
h1.title {font-size: 38px;}
|
|
||||||
h2 {font-size: 30px;}
|
|
||||||
h3 {font-size: 24px;}
|
|
||||||
h4 {font-size: 18px;}
|
|
||||||
h5 {font-size: 16px;}
|
|
||||||
h6 {font-size: 12px;}
|
|
||||||
code {color: inherit; background-color: rgba(0, 0, 0, 0.04);}
|
|
||||||
pre:not([class]) { background-color: white }</style>
|
|
||||||
<script src="site_libs/navigation-1.1/tabsets.js"></script>
|
|
||||||
<link href="site_libs/highlightjs-9.12.0/default.css" rel="stylesheet" />
|
|
||||||
<script src="site_libs/highlightjs-9.12.0/highlight.js"></script>
|
|
||||||
<link href="site_libs/font-awesome-5.1.0/css/all.css" rel="stylesheet" />
|
|
||||||
<link href="site_libs/font-awesome-5.1.0/css/v4-shims.css" rel="stylesheet" />
|
|
||||||
<link rel='shortcut icon' type='image/x-icon' href='favicon.ico' />
|
|
||||||
|
|
||||||
<style type="text/css">
|
|
||||||
code{white-space: pre-wrap;}
|
|
||||||
span.smallcaps{font-variant: small-caps;}
|
|
||||||
span.underline{text-decoration: underline;}
|
|
||||||
div.column{display: inline-block; vertical-align: top; width: 50%;}
|
|
||||||
div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;}
|
|
||||||
ul.task-list{list-style: none;}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<style type="text/css">code{white-space: pre;}</style>
|
|
||||||
<script type="text/javascript">
|
|
||||||
if (window.hljs) {
|
|
||||||
hljs.configure({languages: []});
|
|
||||||
hljs.initHighlightingOnLoad();
|
|
||||||
if (document.readyState && document.readyState === "complete") {
|
|
||||||
window.setTimeout(function() { hljs.initHighlighting(); }, 0);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<link rel="stylesheet" href="style.css" type="text/css" />
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<style type = "text/css">
|
|
||||||
.main-container {
|
|
||||||
max-width: 940px;
|
|
||||||
margin-left: auto;
|
|
||||||
margin-right: auto;
|
|
||||||
}
|
|
||||||
img {
|
|
||||||
max-width:100%;
|
|
||||||
}
|
|
||||||
.tabbed-pane {
|
|
||||||
padding-top: 12px;
|
|
||||||
}
|
|
||||||
.html-widget {
|
|
||||||
margin-bottom: 20px;
|
|
||||||
}
|
|
||||||
button.code-folding-btn:focus {
|
|
||||||
outline: none;
|
|
||||||
}
|
|
||||||
summary {
|
|
||||||
display: list-item;
|
|
||||||
}
|
|
||||||
details > summary > p:only-child {
|
|
||||||
display: inline;
|
|
||||||
}
|
|
||||||
pre code {
|
|
||||||
padding: 0;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
|
|
||||||
<style type="text/css">
|
|
||||||
.dropdown-submenu {
|
|
||||||
position: relative;
|
|
||||||
}
|
|
||||||
.dropdown-submenu>.dropdown-menu {
|
|
||||||
top: 0;
|
|
||||||
left: 100%;
|
|
||||||
margin-top: -6px;
|
|
||||||
margin-left: -1px;
|
|
||||||
border-radius: 0 6px 6px 6px;
|
|
||||||
}
|
|
||||||
.dropdown-submenu:hover>.dropdown-menu {
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
.dropdown-submenu>a:after {
|
|
||||||
display: block;
|
|
||||||
content: " ";
|
|
||||||
float: right;
|
|
||||||
width: 0;
|
|
||||||
height: 0;
|
|
||||||
border-color: transparent;
|
|
||||||
border-style: solid;
|
|
||||||
border-width: 5px 0 5px 5px;
|
|
||||||
border-left-color: #cccccc;
|
|
||||||
margin-top: 5px;
|
|
||||||
margin-right: -10px;
|
|
||||||
}
|
|
||||||
.dropdown-submenu:hover>a:after {
|
|
||||||
border-left-color: #adb5bd;
|
|
||||||
}
|
|
||||||
.dropdown-submenu.pull-left {
|
|
||||||
float: none;
|
|
||||||
}
|
|
||||||
.dropdown-submenu.pull-left>.dropdown-menu {
|
|
||||||
left: -100%;
|
|
||||||
margin-left: 10px;
|
|
||||||
border-radius: 6px 0 6px 6px;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<script type="text/javascript">
|
|
||||||
// manage active state of menu based on current page
|
|
||||||
$(document).ready(function () {
|
|
||||||
// active menu anchor
|
|
||||||
href = window.location.pathname
|
|
||||||
href = href.substr(href.lastIndexOf('/') + 1)
|
|
||||||
if (href === "")
|
|
||||||
href = "index.html";
|
|
||||||
var menuAnchor = $('a[href="' + href + '"]');
|
|
||||||
|
|
||||||
// mark it active
|
|
||||||
menuAnchor.tab('show');
|
|
||||||
|
|
||||||
// if it's got a parent navbar menu mark it active as well
|
|
||||||
menuAnchor.closest('li.dropdown').addClass('active');
|
|
||||||
|
|
||||||
// Navbar adjustments
|
|
||||||
var navHeight = $(".navbar").first().height() + 15;
|
|
||||||
var style = document.createElement('style');
|
|
||||||
var pt = "padding-top: " + navHeight + "px; ";
|
|
||||||
var mt = "margin-top: -" + navHeight + "px; ";
|
|
||||||
var css = "";
|
|
||||||
// offset scroll position for anchor links (for fixed navbar)
|
|
||||||
for (var i = 1; i <= 6; i++) {
|
|
||||||
css += ".section h" + i + "{ " + pt + mt + "}\n";
|
|
||||||
}
|
|
||||||
style.innerHTML = "body {" + pt + "padding-bottom: 40px; }\n" + css;
|
|
||||||
document.head.appendChild(style);
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<!-- tabsets -->
|
|
||||||
|
|
||||||
<style type="text/css">
|
|
||||||
.tabset-dropdown > .nav-tabs {
|
|
||||||
display: inline-table;
|
|
||||||
max-height: 500px;
|
|
||||||
min-height: 44px;
|
|
||||||
overflow-y: auto;
|
|
||||||
border: 1px solid #ddd;
|
|
||||||
border-radius: 4px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabset-dropdown > .nav-tabs > li.active:before {
|
|
||||||
content: "";
|
|
||||||
font-family: 'Glyphicons Halflings';
|
|
||||||
display: inline-block;
|
|
||||||
padding: 10px;
|
|
||||||
border-right: 1px solid #ddd;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabset-dropdown > .nav-tabs.nav-tabs-open > li.active:before {
|
|
||||||
content: "";
|
|
||||||
border: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabset-dropdown > .nav-tabs.nav-tabs-open:before {
|
|
||||||
content: "";
|
|
||||||
font-family: 'Glyphicons Halflings';
|
|
||||||
display: inline-block;
|
|
||||||
padding: 10px;
|
|
||||||
border-right: 1px solid #ddd;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabset-dropdown > .nav-tabs > li.active {
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabset-dropdown > .nav-tabs > li > a,
|
|
||||||
.tabset-dropdown > .nav-tabs > li > a:focus,
|
|
||||||
.tabset-dropdown > .nav-tabs > li > a:hover {
|
|
||||||
border: none;
|
|
||||||
display: inline-block;
|
|
||||||
border-radius: 4px;
|
|
||||||
background-color: transparent;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabset-dropdown > .nav-tabs.nav-tabs-open > li {
|
|
||||||
display: block;
|
|
||||||
float: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabset-dropdown > .nav-tabs > li {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<!-- code folding -->
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body>
|
|
||||||
|
|
||||||
|
|
||||||
<div class="container-fluid main-container">
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div class="navbar navbar-default navbar-fixed-top" role="navigation">
|
|
||||||
<div class="container">
|
|
||||||
<div class="navbar-header">
|
|
||||||
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-bs-toggle="collapse" data-target="#navbar" data-bs-target="#navbar">
|
|
||||||
<span class="icon-bar"></span>
|
|
||||||
<span class="icon-bar"></span>
|
|
||||||
<span class="icon-bar"></span>
|
|
||||||
</button>
|
|
||||||
<a class="navbar-brand" href="index.html"><div><img src="ohdsi16x16.png"></img> OMOP Common Data Model </div></a>
|
|
||||||
</div>
|
|
||||||
<div id="navbar" class="navbar-collapse collapse">
|
|
||||||
<ul class="nav navbar-nav">
|
|
||||||
<li>
|
|
||||||
<a href="index.html">
|
|
||||||
<span class="fa fa-home"></span>
|
|
||||||
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
|
||||||
<span class="fa fa-landmark"></span>
|
|
||||||
|
|
||||||
Background
|
|
||||||
|
|
||||||
<span class="caret"></span>
|
|
||||||
</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="background.html">Model Background</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="cdmRefreshProcess.html">CDM Refresh Process</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="vocabulary.html">How the Vocabulary is Built</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
|
||||||
<span class="fa fa-list-alt"></span>
|
|
||||||
|
|
||||||
Conventions
|
|
||||||
|
|
||||||
<span class="caret"></span>
|
|
||||||
</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="dataModelConventions.html">General Conventions</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="ehrObsPeriods.html">Observation Periods for EHR Data</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="cdmPrivacy.html">Patient Privacy and OMOP</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
|
||||||
<span class="fa fa-history"></span>
|
|
||||||
|
|
||||||
CDM Versions
|
|
||||||
|
|
||||||
<span class="caret"></span>
|
|
||||||
</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="cdm30.html">CDM v3.0</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="cdm60.html">CDM v6.0</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="cdm53.html">CDM v5.3</a>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown-submenu">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">NEW CDM v5.4</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="cdm54.html">CDM v5.4</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="cdm54Changes.html">Changes from CDM v5.3</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
|
||||||
<span class="fa fa-plus-square"></span>
|
|
||||||
|
|
||||||
Proposals
|
|
||||||
|
|
||||||
<span class="caret"></span>
|
|
||||||
</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="https://github.com/OHDSI/CommonDataModel/issues?q=is%3Aopen+is%3Aissue+label%3AProposal">Under Review</a>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown-submenu">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">Accepted</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="https://github.com/OHDSI/CommonDataModel/issues/252">Region_concept_id</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
|
||||||
<span class="fa fa-question"></span>
|
|
||||||
|
|
||||||
How to
|
|
||||||
|
|
||||||
<span class="caret"></span>
|
|
||||||
</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="download.html">Download the DDL</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="cdmRPackage.html">Use the CDM R Package</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="drug_dose.html">Calculate Drug Dose</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
|
||||||
<span class="fa fa-life-ring"></span>
|
|
||||||
|
|
||||||
Support
|
|
||||||
|
|
||||||
<span class="caret"></span>
|
|
||||||
</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="faq.html">FAQ</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="sqlScripts.html">SQL Scripts</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="contribute.html">Ask a Question</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
<ul class="nav navbar-nav navbar-right">
|
|
||||||
<li>
|
|
||||||
<a href="https://github.com/OHDSI/CommonDataModel">
|
|
||||||
<span class="fa fa-github"></span>
|
|
||||||
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</div><!--/.nav-collapse -->
|
|
||||||
</div><!--/.container -->
|
|
||||||
</div><!--/.navbar -->
|
|
||||||
|
|
||||||
<div id="header">
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<h1 class="title toc-ignore"><div>
|
|
||||||
<img src="ohdsi40x40.png"></img> OMOP Common Data Model
|
|
||||||
</div></h1>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<p>The Observational Medical Outcomes Partnership (OMOP) Common Data Model (CDM) is an open community data standard, designed to standardize the structure and content of observational data and to enable efficient analyses that can produce reliable evidence. A central component of the OMOP CDM is the OHDSI standardized vocabularies. The OHDSI vocabularies allow organization and standardization of medical terms to be used across the various clinical domains of the OMOP common data model and enable standardized analytics that leverage the knowledge base when constructing exposure and outcome phenotypes and other features within characterization, population-level effect estimation, and patient-level prediction studies.</p>
|
|
||||||
<p>This website is meant to serve as a resource describing the specification of the available versions of the Common Data Model. This includes the structure of the model itself and the agreed upon conventions for each table and field as decided by the OHDSI Community. The vocabulary tables are part of the model and, as such, are detailed here. To download the vocabulary itself, please visit <a href="https://athena.ohdsi.org">https://athena.ohdsi.org</a>. For more information about the OHDSI suite of tools designed to implement best practices in characterization, population-level effect estimation and patient-level prediction, please visit <a href="https://ohdsi.github.io/Hades/">https://ohdsi.github.io/Hades/</a>.</p>
|
|
||||||
<div id="current-cdm-version" class="section level2">
|
|
||||||
<h2>Current CDM Version</h2>
|
|
||||||
<p>The current CDM version is <a href="http://ohdsi.github.io/CommonDataModel/cdm54.html">CDM v5.4</a>, depicted below. This CDM version was developed over the course of a year by considering requests that were sent via our <a href="https://github.com/OHDSI/CommonDataModel/issues">issues page</a>. The list of proposed changes was then shared with the community in multiple ways: through discussions at the weekly OHDSI Community calls, discussions with the OHDSI Steering Committee, and discussions with all potentially affected workgroups. The <a href="http://ohdsi.github.io/CommonDataModel/cdm54Changes.html">final changes</a> were then delivered to the Community through a new R package designed to dynamically generate the DDLs and documentation for all supported SQL dialects.</p>
|
|
||||||
<ul>
|
|
||||||
<li><a href="https://github.com/OHDSI/CommonDataModel/tree/v5.4.0/inst/ddl/5.4">Link to DDLs for CDM v5.4</a></li>
|
|
||||||
<li><a href="https://github.com/OHDSI/CommonDataModel/tree/master#readme">Link to ReadMe for instructions on how to use the R package</a></li>
|
|
||||||
</ul>
|
|
||||||
<p><img src="images/cdm54.png" /> <br></p>
|
|
||||||
<div id="current-support-for-cdm-v5.4" class="section level3">
|
|
||||||
<h3>Current Support for CDM v5.4</h3>
|
|
||||||
<p>The table below details which OHDSI tools support CDM v5.4. There are two levels of support: legacy support means that the tool supports all tables and fields that were present in CDM v5.3 and feature support indicates that the tool supports any new tables and fields in CDM v5.4 that were not present in CDM v5.3. A green check ✅ indicates that the support level for the listed tool is in place, has been tested, and released. A warning sign ⚠️ indicates that the support level for the listed tool has been initiated but has not yet been tested and released. <br></p>
|
|
||||||
<table>
|
|
||||||
<colgroup>
|
|
||||||
<col width="25%" />
|
|
||||||
<col width="25%" />
|
|
||||||
<col width="25%" />
|
|
||||||
<col width="25%" />
|
|
||||||
</colgroup>
|
|
||||||
<thead>
|
|
||||||
<tr class="header">
|
|
||||||
<th><strong>Tool</strong></th>
|
|
||||||
<th><strong>Description</strong></th>
|
|
||||||
<th><strong>Legacy Support</strong></th>
|
|
||||||
<th><strong>Feature Support</strong></th>
|
|
||||||
</tr>
|
|
||||||
</thead>
|
|
||||||
<tbody>
|
|
||||||
<tr class="odd">
|
|
||||||
<td><strong>CDM R package</strong></td>
|
|
||||||
<td>This package can be downloaded from <a href="https://github.com/OHDSI/CommonDataModel/">https://github.com/OHDSI/CommonDataModel/</a>. It functions to dynamically create the OMOP CDM documentation and DDL scripts to instantiate the CDM tables.</td>
|
|
||||||
<td>✅</td>
|
|
||||||
<td>✅</td>
|
|
||||||
</tr>
|
|
||||||
<tr class="even">
|
|
||||||
<td><strong>Data Quality Dashboard</strong></td>
|
|
||||||
<td>This package can be downloaded from <a href="https://github.com/OHDSI/DataQualityDashboard">https://github.com/OHDSI/DataQualityDashboard</a>. It runs a set of > 3500 data quality checks against an OMOP CDM instance and is required to be run on all databases prior to participating in an OHDSI network research study.</td>
|
|
||||||
<td>✅</td>
|
|
||||||
<td>⚠️</td>
|
|
||||||
</tr>
|
|
||||||
<tr class="odd">
|
|
||||||
<td><strong>Achilles</strong></td>
|
|
||||||
<td>This package can be downloaded from <a href="https://github.com/OHDSI/Achilles">https://github.com/OHDSI/Achilles</a>, performing a set of broad database characterizations agains an OMOP CDM instance.</td>
|
|
||||||
<td>✅</td>
|
|
||||||
<td>⚠️</td>
|
|
||||||
</tr>
|
|
||||||
<tr class="even">
|
|
||||||
<td><strong>ARES</strong></td>
|
|
||||||
<td>This package can be downloaded from <a href="https://github.com/OHDSI/Ares">https://github.com/OHDSI/Ares</a> and is designed to display the results from both the ACHILLES and DataQualityDashboard packages to support data quality and characterization research.</td>
|
|
||||||
<td>✅</td>
|
|
||||||
<td>⚠️</td>
|
|
||||||
</tr>
|
|
||||||
<tr class="odd">
|
|
||||||
<td><strong>ATLAS</strong></td>
|
|
||||||
<td>ATLAS is an open source software tool for researchers to conduct scientific analyses on standardized observational data. <a href="http://atlas-demo.ohdsi.org/">Demo</a></td>
|
|
||||||
<td>✅</td>
|
|
||||||
<td>⚠️</td>
|
|
||||||
</tr>
|
|
||||||
<tr class="even">
|
|
||||||
<td><strong>Rabbit-In-A-Hat</strong></td>
|
|
||||||
<td>This package can be downloaded from <a href="https://github.com/OHDSI/WhiteRabbit">https://github.com/OHDSI/WhiteRabbit</a> and is an application for interactive design of an ETL to the OMOP Common Data Model with the help of the the scan report generated by White Rabbit.</td>
|
|
||||||
<td>✅</td>
|
|
||||||
<td>✅</td>
|
|
||||||
</tr>
|
|
||||||
<tr class="odd">
|
|
||||||
<td><strong>Feature Extraction</strong></td>
|
|
||||||
<td>This package can be downloaded from <a href="https://github.com/OHDSI/FeatureExtraction">https://github.com/OHDSI/FeatureExtraction</a>. It is designed to generate features (covariates) for a cohort generated using the OMOP CDM.</td>
|
|
||||||
<td>✅</td>
|
|
||||||
<td>✅*</td>
|
|
||||||
</tr>
|
|
||||||
<tr class="even">
|
|
||||||
<td><strong>Cohort Diagnostics</strong></td>
|
|
||||||
<td>This package can be downloaded from <a href="https://github.com/OHDSI/CohortDiagnostics">https://github.com/OHDSI/CohortDiagnostics</a> and is used to critically evaluate cohort phenotypes.</td>
|
|
||||||
<td>✅</td>
|
|
||||||
<td>⚠️</td>
|
|
||||||
</tr>
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
<p><br> * The <strong>Feature Extraction</strong> package supports all relevant new features in CDM v5.4. For example, it was decided that, from a methodological perspective, the EPISODE and EPISODE_EVENT tables should not be included to define cohort covariates because the events that make up episodes are already pulled in as potential covariates.</p>
|
|
||||||
<p><br></p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div id="the-cdm-working-group" class="section level2">
|
|
||||||
<h2>The CDM Working Group</h2>
|
|
||||||
<p>The CDM is managed by the OHDSI CDM Working Group. If you would like to join our group please fill out <a href="https://forms.office.com/Pages/ResponsePage.aspx?id=lAAPoyCRq0q6TOVQkCOy1ZyG6Ud_r2tKuS0HcGnqiQZUOVJFUzBFWE1aSVlLN0ozR01MUVQ4T0RGNyQlQCN0PWcu">this form</a> and check “Common Data Model” to be added to our Microsoft Teams environment. This working group endeavors to maintain the OMOP CDM as a living model by soliciting and responding to requests from the community based on use cases and research purposes. For more information on the CDM refresh process please see the description <a href="http://ohdsi.github.io/CommonDataModel/cdmRefreshProcess.html">here</a>. You will find information on our meetings and links to join at the end of this page.</p>
|
|
||||||
<div id="meeting-information" class="section level3">
|
|
||||||
<h3>Meeting Information</h3>
|
|
||||||
<p>The CDM working group meets the first and third Tuesday of the month. See below for links to the meetings.</p>
|
|
||||||
<p><strong>Every first Tuesday of the month at 1pm est</strong> <a href="https://teams.microsoft.com/l/meetup-join/19%3a133f2b94b86a41a884d4a4d160610148%40thread.tacv2/1601910741972?context=%7b%22Tid%22%3a%22a30f0094-9120-4aab-ba4c-e5509023b2d5%22%2c%22Oid%22%3a%2281c21b6d-448d-4634-abbc-6b0962d1138a%22%7d">Teams Meeting</a></p>
|
|
||||||
<p><strong>Every third Tuesday of the month at 1pm est</strong> <a href="https://teams.microsoft.com/l/meetup-join/19%3a133f2b94b86a41a884d4a4d160610148%40thread.tacv2/1611000164347?context=%7b%22Tid%22%3a%22a30f0094-9120-4aab-ba4c-e5509023b2d5%22%2c%22Oid%22%3a%223c193b7f-c2ab-4bcf-b88c-f89a6b1fba38%22%7d">Teams Meeting</a></p>
|
|
||||||
<p><strong>Note</strong> If you do you have access to the OHDSI Teams Tenet, either contact Clair Blacketer at <a href="mailto:mblacke@its.jnj.com" class="email">mblacke@its.jnj.com</a> or fill out [this form] (<a href="https://forms.office.com/Pages/ResponsePage.aspx?id=lAAPoyCRq0q6TOVQkCOy1ZyG6Ud_r2tKuS0HcGnqiQZUOVJFUzBFWE1aSVlLN0ozR01MUVQ4T0RGNyQlQCN0PWcu" class="uri">https://forms.office.com/Pages/ResponsePage.aspx?id=lAAPoyCRq0q6TOVQkCOy1ZyG6Ud_r2tKuS0HcGnqiQZUOVJFUzBFWE1aSVlLN0ozR01MUVQ4T0RGNyQlQCN0PWcu</a>) and check “Common Data Model”</p>
|
|
||||||
</div>
|
|
||||||
<div id="cdm-wg-important-links" class="section level3">
|
|
||||||
<h3>CDM WG Important Links</h3>
|
|
||||||
<ul>
|
|
||||||
<li><a href="https://drive.google.com/open?id=1DaNKe6ivIAZPJeI31VJ-pzNB9wS9hDqu">Google Drive Location</a></li>
|
|
||||||
<li><a href="https://docs.google.com/document/d/1WgKePjrI_cGdqn2XQCe1JdGaTzdMqU4p5ihkMt8fcAc/edit?usp=sharing">Running Agenda</a></li>
|
|
||||||
<li><a href="https://github.com/OHDSI/CommonDataModel">CDM Github</a></li>
|
|
||||||
<li><a href="http://ohdsi.github.io/CommonDataModel/cdmRefreshProcess.html">Process for adopting CDM and Vocabulary changes</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
|
|
||||||
// add bootstrap table styles to pandoc tables
|
|
||||||
function bootstrapStylePandocTables() {
|
|
||||||
$('tr.odd').parent('tbody').parent('table').addClass('table table-condensed');
|
|
||||||
}
|
|
||||||
$(document).ready(function () {
|
|
||||||
bootstrapStylePandocTables();
|
|
||||||
});
|
|
||||||
|
|
||||||
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<!-- tabsets -->
|
|
||||||
|
|
||||||
<script>
|
|
||||||
$(document).ready(function () {
|
|
||||||
window.buildTabsets("TOC");
|
|
||||||
});
|
|
||||||
|
|
||||||
$(document).ready(function () {
|
|
||||||
$('.tabset-dropdown > .nav-tabs > li').click(function () {
|
|
||||||
$(this).parent().toggleClass('nav-tabs-open');
|
|
||||||
});
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<!-- code folding -->
|
|
||||||
|
|
||||||
|
|
||||||
<!-- dynamically load mathjax for compatibility with self-contained -->
|
|
||||||
<script>
|
|
||||||
(function () {
|
|
||||||
var script = document.createElement("script");
|
|
||||||
script.type = "text/javascript";
|
|
||||||
script.src = "https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML";
|
|
||||||
document.getElementsByTagName("head")[0].appendChild(script);
|
|
||||||
})();
|
|
||||||
</script>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
</html>
|
|
|
@ -1,622 +0,0 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
|
|
||||||
<html>
|
|
||||||
|
|
||||||
<head>
|
|
||||||
|
|
||||||
<meta charset="utf-8" />
|
|
||||||
<meta name="generator" content="pandoc" />
|
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=EDGE" />
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<title>Indices, Primary Keys and Foreign Key Constraints</title>
|
|
||||||
|
|
||||||
<script src="site_libs/header-attrs-2.13/header-attrs.js"></script>
|
|
||||||
<script src="site_libs/jquery-3.6.0/jquery-3.6.0.min.js"></script>
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
||||||
<link href="site_libs/bootstrap-3.3.5/css/cosmo.min.css" rel="stylesheet" />
|
|
||||||
<script src="site_libs/bootstrap-3.3.5/js/bootstrap.min.js"></script>
|
|
||||||
<script src="site_libs/bootstrap-3.3.5/shim/html5shiv.min.js"></script>
|
|
||||||
<script src="site_libs/bootstrap-3.3.5/shim/respond.min.js"></script>
|
|
||||||
<style>h1 {font-size: 34px;}
|
|
||||||
h1.title {font-size: 38px;}
|
|
||||||
h2 {font-size: 30px;}
|
|
||||||
h3 {font-size: 24px;}
|
|
||||||
h4 {font-size: 18px;}
|
|
||||||
h5 {font-size: 16px;}
|
|
||||||
h6 {font-size: 12px;}
|
|
||||||
code {color: inherit; background-color: rgba(0, 0, 0, 0.04);}
|
|
||||||
pre:not([class]) { background-color: white }</style>
|
|
||||||
<script src="site_libs/jqueryui-1.11.4/jquery-ui.min.js"></script>
|
|
||||||
<link href="site_libs/tocify-1.9.1/jquery.tocify.css" rel="stylesheet" />
|
|
||||||
<script src="site_libs/tocify-1.9.1/jquery.tocify.js"></script>
|
|
||||||
<script src="site_libs/navigation-1.1/tabsets.js"></script>
|
|
||||||
<link href="site_libs/highlightjs-9.12.0/default.css" rel="stylesheet" />
|
|
||||||
<script src="site_libs/highlightjs-9.12.0/highlight.js"></script>
|
|
||||||
<link href="site_libs/font-awesome-5.1.0/css/all.css" rel="stylesheet" />
|
|
||||||
<link href="site_libs/font-awesome-5.1.0/css/v4-shims.css" rel="stylesheet" />
|
|
||||||
<link rel='shortcut icon' type='image/x-icon' href='favicon.ico' />
|
|
||||||
|
|
||||||
<style type="text/css">
|
|
||||||
code{white-space: pre-wrap;}
|
|
||||||
span.smallcaps{font-variant: small-caps;}
|
|
||||||
span.underline{text-decoration: underline;}
|
|
||||||
div.column{display: inline-block; vertical-align: top; width: 50%;}
|
|
||||||
div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;}
|
|
||||||
ul.task-list{list-style: none;}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<style type="text/css">code{white-space: pre;}</style>
|
|
||||||
<script type="text/javascript">
|
|
||||||
if (window.hljs) {
|
|
||||||
hljs.configure({languages: []});
|
|
||||||
hljs.initHighlightingOnLoad();
|
|
||||||
if (document.readyState && document.readyState === "complete") {
|
|
||||||
window.setTimeout(function() { hljs.initHighlighting(); }, 0);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<link rel="stylesheet" href="style.css" type="text/css" />
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<style type = "text/css">
|
|
||||||
.main-container {
|
|
||||||
max-width: 940px;
|
|
||||||
margin-left: auto;
|
|
||||||
margin-right: auto;
|
|
||||||
}
|
|
||||||
img {
|
|
||||||
max-width:100%;
|
|
||||||
}
|
|
||||||
.tabbed-pane {
|
|
||||||
padding-top: 12px;
|
|
||||||
}
|
|
||||||
.html-widget {
|
|
||||||
margin-bottom: 20px;
|
|
||||||
}
|
|
||||||
button.code-folding-btn:focus {
|
|
||||||
outline: none;
|
|
||||||
}
|
|
||||||
summary {
|
|
||||||
display: list-item;
|
|
||||||
}
|
|
||||||
details > summary > p:only-child {
|
|
||||||
display: inline;
|
|
||||||
}
|
|
||||||
pre code {
|
|
||||||
padding: 0;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
|
|
||||||
<style type="text/css">
|
|
||||||
.dropdown-submenu {
|
|
||||||
position: relative;
|
|
||||||
}
|
|
||||||
.dropdown-submenu>.dropdown-menu {
|
|
||||||
top: 0;
|
|
||||||
left: 100%;
|
|
||||||
margin-top: -6px;
|
|
||||||
margin-left: -1px;
|
|
||||||
border-radius: 0 6px 6px 6px;
|
|
||||||
}
|
|
||||||
.dropdown-submenu:hover>.dropdown-menu {
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
.dropdown-submenu>a:after {
|
|
||||||
display: block;
|
|
||||||
content: " ";
|
|
||||||
float: right;
|
|
||||||
width: 0;
|
|
||||||
height: 0;
|
|
||||||
border-color: transparent;
|
|
||||||
border-style: solid;
|
|
||||||
border-width: 5px 0 5px 5px;
|
|
||||||
border-left-color: #cccccc;
|
|
||||||
margin-top: 5px;
|
|
||||||
margin-right: -10px;
|
|
||||||
}
|
|
||||||
.dropdown-submenu:hover>a:after {
|
|
||||||
border-left-color: #adb5bd;
|
|
||||||
}
|
|
||||||
.dropdown-submenu.pull-left {
|
|
||||||
float: none;
|
|
||||||
}
|
|
||||||
.dropdown-submenu.pull-left>.dropdown-menu {
|
|
||||||
left: -100%;
|
|
||||||
margin-left: 10px;
|
|
||||||
border-radius: 6px 0 6px 6px;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<script type="text/javascript">
|
|
||||||
// manage active state of menu based on current page
|
|
||||||
$(document).ready(function () {
|
|
||||||
// active menu anchor
|
|
||||||
href = window.location.pathname
|
|
||||||
href = href.substr(href.lastIndexOf('/') + 1)
|
|
||||||
if (href === "")
|
|
||||||
href = "index.html";
|
|
||||||
var menuAnchor = $('a[href="' + href + '"]');
|
|
||||||
|
|
||||||
// mark it active
|
|
||||||
menuAnchor.tab('show');
|
|
||||||
|
|
||||||
// if it's got a parent navbar menu mark it active as well
|
|
||||||
menuAnchor.closest('li.dropdown').addClass('active');
|
|
||||||
|
|
||||||
// Navbar adjustments
|
|
||||||
var navHeight = $(".navbar").first().height() + 15;
|
|
||||||
var style = document.createElement('style');
|
|
||||||
var pt = "padding-top: " + navHeight + "px; ";
|
|
||||||
var mt = "margin-top: -" + navHeight + "px; ";
|
|
||||||
var css = "";
|
|
||||||
// offset scroll position for anchor links (for fixed navbar)
|
|
||||||
for (var i = 1; i <= 6; i++) {
|
|
||||||
css += ".section h" + i + "{ " + pt + mt + "}\n";
|
|
||||||
}
|
|
||||||
style.innerHTML = "body {" + pt + "padding-bottom: 40px; }\n" + css;
|
|
||||||
document.head.appendChild(style);
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<!-- tabsets -->
|
|
||||||
|
|
||||||
<style type="text/css">
|
|
||||||
.tabset-dropdown > .nav-tabs {
|
|
||||||
display: inline-table;
|
|
||||||
max-height: 500px;
|
|
||||||
min-height: 44px;
|
|
||||||
overflow-y: auto;
|
|
||||||
border: 1px solid #ddd;
|
|
||||||
border-radius: 4px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabset-dropdown > .nav-tabs > li.active:before {
|
|
||||||
content: "";
|
|
||||||
font-family: 'Glyphicons Halflings';
|
|
||||||
display: inline-block;
|
|
||||||
padding: 10px;
|
|
||||||
border-right: 1px solid #ddd;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabset-dropdown > .nav-tabs.nav-tabs-open > li.active:before {
|
|
||||||
content: "";
|
|
||||||
border: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabset-dropdown > .nav-tabs.nav-tabs-open:before {
|
|
||||||
content: "";
|
|
||||||
font-family: 'Glyphicons Halflings';
|
|
||||||
display: inline-block;
|
|
||||||
padding: 10px;
|
|
||||||
border-right: 1px solid #ddd;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabset-dropdown > .nav-tabs > li.active {
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabset-dropdown > .nav-tabs > li > a,
|
|
||||||
.tabset-dropdown > .nav-tabs > li > a:focus,
|
|
||||||
.tabset-dropdown > .nav-tabs > li > a:hover {
|
|
||||||
border: none;
|
|
||||||
display: inline-block;
|
|
||||||
border-radius: 4px;
|
|
||||||
background-color: transparent;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabset-dropdown > .nav-tabs.nav-tabs-open > li {
|
|
||||||
display: block;
|
|
||||||
float: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabset-dropdown > .nav-tabs > li {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<!-- code folding -->
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<style type="text/css">
|
|
||||||
|
|
||||||
#TOC {
|
|
||||||
margin: 25px 0px 20px 0px;
|
|
||||||
}
|
|
||||||
@media (max-width: 768px) {
|
|
||||||
#TOC {
|
|
||||||
position: relative;
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@media print {
|
|
||||||
.toc-content {
|
|
||||||
/* see https://github.com/w3c/csswg-drafts/issues/4434 */
|
|
||||||
float: right;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.toc-content {
|
|
||||||
padding-left: 30px;
|
|
||||||
padding-right: 40px;
|
|
||||||
}
|
|
||||||
|
|
||||||
div.main-container {
|
|
||||||
max-width: 1200px;
|
|
||||||
}
|
|
||||||
|
|
||||||
div.tocify {
|
|
||||||
width: 20%;
|
|
||||||
max-width: 260px;
|
|
||||||
max-height: 85%;
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (min-width: 768px) and (max-width: 991px) {
|
|
||||||
div.tocify {
|
|
||||||
width: 25%;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (max-width: 767px) {
|
|
||||||
div.tocify {
|
|
||||||
width: 100%;
|
|
||||||
max-width: none;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.tocify ul, .tocify li {
|
|
||||||
line-height: 20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tocify-subheader .tocify-item {
|
|
||||||
font-size: 0.90em;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tocify .list-group-item {
|
|
||||||
border-radius: 0px;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
</style>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body>
|
|
||||||
|
|
||||||
|
|
||||||
<div class="container-fluid main-container">
|
|
||||||
|
|
||||||
|
|
||||||
<!-- setup 3col/9col grid for toc_float and main content -->
|
|
||||||
<div class="row">
|
|
||||||
<div class="col-xs-12 col-sm-4 col-md-3">
|
|
||||||
<div id="TOC" class="tocify">
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="toc-content col-xs-12 col-sm-8 col-md-9">
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div class="navbar navbar-default navbar-fixed-top" role="navigation">
|
|
||||||
<div class="container">
|
|
||||||
<div class="navbar-header">
|
|
||||||
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-bs-toggle="collapse" data-target="#navbar" data-bs-target="#navbar">
|
|
||||||
<span class="icon-bar"></span>
|
|
||||||
<span class="icon-bar"></span>
|
|
||||||
<span class="icon-bar"></span>
|
|
||||||
</button>
|
|
||||||
<a class="navbar-brand" href="index.html"><div><img src="ohdsi16x16.png"></img> OMOP Common Data Model </div></a>
|
|
||||||
</div>
|
|
||||||
<div id="navbar" class="navbar-collapse collapse">
|
|
||||||
<ul class="nav navbar-nav">
|
|
||||||
<li>
|
|
||||||
<a href="index.html">
|
|
||||||
<span class="fa fa-home"></span>
|
|
||||||
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
|
||||||
<span class="fa fa-landmark"></span>
|
|
||||||
|
|
||||||
Background
|
|
||||||
|
|
||||||
<span class="caret"></span>
|
|
||||||
</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="background.html">Model Background</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="cdmRefreshProcess.html">CDM Refresh Process</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="vocabulary.html">How the Vocabulary is Built</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
|
||||||
<span class="fa fa-list-alt"></span>
|
|
||||||
|
|
||||||
Conventions
|
|
||||||
|
|
||||||
<span class="caret"></span>
|
|
||||||
</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="dataModelConventions.html">General Conventions</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="ehrObsPeriods.html">Observation Periods for EHR Data</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="cdmPrivacy.html">Patient Privacy and OMOP</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
|
||||||
<span class="fa fa-history"></span>
|
|
||||||
|
|
||||||
CDM Versions
|
|
||||||
|
|
||||||
<span class="caret"></span>
|
|
||||||
</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="cdm30.html">CDM v3.0</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="cdm60.html">CDM v6.0</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="cdm53.html">CDM v5.3</a>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown-submenu">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">NEW CDM v5.4</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="cdm54.html">CDM v5.4</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="cdm54Changes.html">Changes from CDM v5.3</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
|
||||||
<span class="fa fa-plus-square"></span>
|
|
||||||
|
|
||||||
Proposals
|
|
||||||
|
|
||||||
<span class="caret"></span>
|
|
||||||
</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="https://github.com/OHDSI/CommonDataModel/issues?q=is%3Aopen+is%3Aissue+label%3AProposal">Under Review</a>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown-submenu">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">Accepted</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="https://github.com/OHDSI/CommonDataModel/issues/252">Region_concept_id</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
|
||||||
<span class="fa fa-question"></span>
|
|
||||||
|
|
||||||
How to
|
|
||||||
|
|
||||||
<span class="caret"></span>
|
|
||||||
</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="download.html">Download the DDL</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="cdmRPackage.html">Use the CDM R Package</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="drug_dose.html">Calculate Drug Dose</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
<li class="dropdown">
|
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
|
||||||
<span class="fa fa-life-ring"></span>
|
|
||||||
|
|
||||||
Support
|
|
||||||
|
|
||||||
<span class="caret"></span>
|
|
||||||
</a>
|
|
||||||
<ul class="dropdown-menu" role="menu">
|
|
||||||
<li>
|
|
||||||
<a href="faq.html">FAQ</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="sqlScripts.html">SQL Scripts</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="contribute.html">Ask a Question</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
<ul class="nav navbar-nav navbar-right">
|
|
||||||
<li>
|
|
||||||
<a href="https://github.com/OHDSI/CommonDataModel">
|
|
||||||
<span class="fa fa-github"></span>
|
|
||||||
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</div><!--/.nav-collapse -->
|
|
||||||
</div><!--/.container -->
|
|
||||||
</div><!--/.navbar -->
|
|
||||||
|
|
||||||
<div id="header">
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<h1 class="title toc-ignore">Indices, Primary Keys and Foreign Key Constraints</h1>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<div id="overview" class="section level2">
|
|
||||||
<h2>Overview</h2>
|
|
||||||
<p>Database indices improve the performance of queries against a database by organizing the data in a way that increase query execution.</p>
|
|
||||||
<p>This article was written to provide guidance on the setting of indices, primary and foreign keys for data that has been transformed into the Observational Medical Outcome Partnership (OMOP) Common Data Model (CDM). The community that supports the design and development of the OHDSI/CommonDataModel Github repository is a diverse collaborative of healthcare and technical profesisonals whom have limited data base adminstrative (DBA) experience. As a result, the comments below should be interpreted as suggestions and recommendations to help increase performance. Your teams needs may call for a modified configuration.</p>
|
|
||||||
</div>
|
|
||||||
<div id="general-recommendations" class="section level2">
|
|
||||||
<h2>General Recommendations</h2>
|
|
||||||
<p>Should your database of choice support indexing, the OMOP CDM Working Group recommends</p>
|
|
||||||
<ul>
|
|
||||||
<li>Indexing on all columns containing an "_id" (e.g. condition_occurrence_id, drug_exposure_id, measurement_id, procedure_occurrence_id, etc.)</li>
|
|
||||||
<li>Indexing on primary and foreign keys</li>
|
|
||||||
</ul>
|
|
||||||
<p>For all databases, regardless of custom indice support, primary and foreign keys should be set. This is a step towards ensuring data integrity. Information on what table level attributes should be set as primary and foreign keys can be found within the *_Field_Level.csv file(s) located in the <a href="https://github.com/OHDSI/CommonDataModel/tree/v5.4/inst/csv">INST/CSV directory</a></p>
|
|
||||||
</div>
|
|
||||||
<div id="database-support" class="section level2">
|
|
||||||
<h2>Database support</h2>
|
|
||||||
<p>The OHDSI/CommonDataModel package leverages OHDSI/SQLRender and as a result is only capable of supporting sources that are supported by OHDSI/SQLRender. The following databases are currently supported.</p>
|
|
||||||
<div id="microsoft-sql-server" class="section level3">
|
|
||||||
<h3>Microsoft SQL Server</h3>
|
|
||||||
</div>
|
|
||||||
<div id="oracle" class="section level3">
|
|
||||||
<h3>Oracle</h3>
|
|
||||||
</div>
|
|
||||||
<div id="postgresql" class="section level3">
|
|
||||||
<h3>PostgreSQL</h3>
|
|
||||||
</div>
|
|
||||||
<div id="amazon-redshift" class="section level3">
|
|
||||||
<h3>Amazon Redshift</h3>
|
|
||||||
<p>On AWS Redshift it is important to ensure that your data is properly distributed and sorted across nodes. Compression on certain columns may also help. The designed DDL does set DISTKEYS in an effort to optimize performance. This configuration can be seen within the <a href="https://github.com/OHDSI/CommonDataModel/blob/v5.4/ddl/5.4/redshift/OMOPCDM_redshift_5.4_ddl.sql">Redshift-specific DDL</a>.</p>
|
|
||||||
</div>
|
|
||||||
<div id="impala" class="section level3">
|
|
||||||
<h3>Impala</h3>
|
|
||||||
</div>
|
|
||||||
<div id="ibm-netezza" class="section level3">
|
|
||||||
<h3>IBM Netezza</h3>
|
|
||||||
</div>
|
|
||||||
<div id="google-bigquery" class="section level3">
|
|
||||||
<h3>Google BigQuery</h3>
|
|
||||||
<p>Google BigQuery does not require manual optimization and/or sizing. Google BigQuery does massive parallel full table scans and intensive caching, all under the hood. <a href="https://forums.ohdsi.org/t/iso-best-practices-of-cdm-indexing/10939/2">Reference</a></p>
|
|
||||||
</div>
|
|
||||||
<div id="microsoft-parallel-data-warehouse-pdw" class="section level3">
|
|
||||||
<h3>Microsoft Parallel Data Warehouse (PDW)</h3>
|
|
||||||
</div>
|
|
||||||
<div id="sqlite" class="section level3">
|
|
||||||
<h3>SQLite</h3>
|
|
||||||
</div>
|
|
||||||
<div id="databricks" class="section level3">
|
|
||||||
<h3>Databricks</h3>
|
|
||||||
<p>This database type is not yet supported but is actively being worked on by a number of collaborators. For more informtion, please contact Ajit Londhe of Amgen.</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div id="references" class="section level2">
|
|
||||||
<h2>References</h2>
|
|
||||||
<p><a href="https://forums.ohdsi.org/t/iso-best-practices-of-cdm-indexing/10939/2">ISO Best Practices of CDM Indexing</a></p>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
|
|
||||||
// add bootstrap table styles to pandoc tables
|
|
||||||
function bootstrapStylePandocTables() {
|
|
||||||
$('tr.odd').parent('tbody').parent('table').addClass('table table-condensed');
|
|
||||||
}
|
|
||||||
$(document).ready(function () {
|
|
||||||
bootstrapStylePandocTables();
|
|
||||||
});
|
|
||||||
|
|
||||||
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<!-- tabsets -->
|
|
||||||
|
|
||||||
<script>
|
|
||||||
$(document).ready(function () {
|
|
||||||
window.buildTabsets("TOC");
|
|
||||||
});
|
|
||||||
|
|
||||||
$(document).ready(function () {
|
|
||||||
$('.tabset-dropdown > .nav-tabs > li').click(function () {
|
|
||||||
$(this).parent().toggleClass('nav-tabs-open');
|
|
||||||
});
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<!-- code folding -->
|
|
||||||
|
|
||||||
<script>
|
|
||||||
$(document).ready(function () {
|
|
||||||
|
|
||||||
// temporarily add toc-ignore selector to headers for the consistency with Pandoc
|
|
||||||
$('.unlisted.unnumbered').addClass('toc-ignore')
|
|
||||||
|
|
||||||
// move toc-ignore selectors from section div to header
|
|
||||||
$('div.section.toc-ignore')
|
|
||||||
.removeClass('toc-ignore')
|
|
||||||
.children('h1,h2,h3,h4,h5').addClass('toc-ignore');
|
|
||||||
|
|
||||||
// establish options
|
|
||||||
var options = {
|
|
||||||
selectors: "h1,h2,h3,h4,h5",
|
|
||||||
theme: "bootstrap3",
|
|
||||||
context: '.toc-content',
|
|
||||||
hashGenerator: function (text) {
|
|
||||||
return text.replace(/[.\\/?&!#<>]/g, '').replace(/\s/g, '_');
|
|
||||||
},
|
|
||||||
ignoreSelector: ".toc-ignore",
|
|
||||||
scrollTo: 0
|
|
||||||
};
|
|
||||||
options.showAndHide = true;
|
|
||||||
options.smoothScroll = true;
|
|
||||||
|
|
||||||
// tocify
|
|
||||||
var toc = $("#TOC").tocify(options).data("toc-tocify");
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<!-- dynamically load mathjax for compatibility with self-contained -->
|
|
||||||
<script>
|
|
||||||
(function () {
|
|
||||||
var script = document.createElement("script");
|
|
||||||
script.type = "text/javascript";
|
|
||||||
script.src = "https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML";
|
|
||||||
document.getElementsByTagName("head")[0].appendChild(script);
|
|
||||||
})();
|
|
||||||
</script>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
</html>
|
|
|
@ -61,164 +61,173 @@ SELECT c.concept_code AS SOURCE_CODE, c.concept_id AS SOURCE_CONCEPT_ID, c.CONCE
|
||||||
This script will insert values into the CONDITION_ERA table given that the CONDITION_OCCURRENCE table is populated. It will string together condition records that have <= 30 days between them into eras during which the Person is assumed to have the given condition. **NOTE** This query only works with 5.3 and below.
|
This script will insert values into the CONDITION_ERA table given that the CONDITION_OCCURRENCE table is populated. It will string together condition records that have <= 30 days between them into eras during which the Person is assumed to have the given condition. **NOTE** This query only works with 5.3 and below.
|
||||||
|
|
||||||
```{sql eval= FALSE, echo=TRUE}
|
```{sql eval= FALSE, echo=TRUE}
|
||||||
if object_id('tempdb..#tmp_de', 'U') is not null drop table #tmp_de;
|
/****************************************************
|
||||||
|
OHDSI-SQL File Instructions
|
||||||
|
-----------------------------
|
||||||
|
1. Set parameter name of schema that contains CDMv4 instance
|
||||||
|
(@SOURCE_CDMV4, @SOURCE_CDMV4_SCHEMA)
|
||||||
|
2. Set parameter name of schema that contains CDMv5 instance
|
||||||
|
(@TARGET_CDMV5, @TARGET_CDMV5_SCHEMA)
|
||||||
|
3. Run this script through SqlRender to produce a script that will work in your
|
||||||
|
source dialect. SqlRender can be found here: https://github.com/OHDSI/SqlRender
|
||||||
|
4. Run the script produced by SQL Render on your target RDBDMS.
|
||||||
|
<RDBMS> File Instructions
|
||||||
|
-------------------------
|
||||||
|
1. This script will hold a number of placeholders for your CDM V4 and CDMV5
|
||||||
|
database/schema. In order to make this file work in your environment, you
|
||||||
|
should plan to do a global "FIND AND REPLACE" on this file to fill in the
|
||||||
|
file with values that pertain to your environment. The following are the
|
||||||
|
tokens you should use when doing your "FIND AND REPLACE" operation:
|
||||||
|
|
||||||
|
[CDM]
|
||||||
|
[CDM].[CDMSCHEMA]
|
||||||
|
|
||||||
|
*********************************************************************************/
|
||||||
|
/* SCRIPT PARAMETERS */
|
||||||
|
|
||||||
WITH
|
|
||||||
ctePreDrugTarget(drug_exposure_id, person_id, ingredient_concept_id, drug_exposure_start_date, days_supply, drug_exposure_end_date) AS
|
{DEFAULT @TARGET_CDMV5 = '[CDM]' } -- The target CDMv5 database name
|
||||||
(-- Normalize DRUG_EXPOSURE_END_DATE to either the existing drug exposure end date, or add days supply, or add 1 day to the start date
|
{DEFAULT @TARGET_CDMV5_SCHEMA = '[CDM].[CDMSCHEMA]' } -- the target CDMv5 database plus schema
|
||||||
SELECT
|
|
||||||
d.drug_exposure_id
|
|
||||||
, d.person_id
|
|
||||||
, c.concept_id AS ingredient_concept_id
|
|
||||||
, d.drug_exposure_start_date AS drug_exposure_start_date
|
|
||||||
, d.days_supply AS days_supply
|
|
||||||
, COALESCE(
|
|
||||||
---NULLIF returns NULL if both values are the same, otherwise it returns the first parameter
|
|
||||||
NULLIF(drug_exposure_end_date, NULL),
|
|
||||||
---If drug_exposure_end_date != NULL, return drug_exposure_end_date, otherwise go to next case
|
|
||||||
NULLIF(dateadd(day,days_supply,drug_exposure_start_date), drug_exposure_start_date),
|
|
||||||
---If days_supply != NULL or 0, return drug_exposure_start_date + days_supply, otherwise go to next case
|
|
||||||
dateadd(day,1,drug_exposure_start_date)
|
|
||||||
---Add 1 day to the drug_exposure_start_date since there is no end_date or INTERVAL for the days_supply
|
|
||||||
) AS drug_exposure_end_date
|
|
||||||
FROM @cdm_schema.drug_exposure d
|
|
||||||
JOIN @cdm_schema.concept_ancestor ca ON ca.descendant_concept_id = d.drug_concept_id
|
|
||||||
JOIN @cdm_schema.concept c ON ca.ancestor_concept_id = c.concept_id
|
|
||||||
WHERE c.vocabulary_id = 'RxNorm' ---8 selects RxNorm from the vocabulary_id
|
|
||||||
AND c.concept_class_id = 'Ingredient'
|
|
||||||
AND d.drug_concept_id != 0 ---Our unmapped drug_concept_id's are set to 0, so we don't want different drugs wrapped up in the same era
|
|
||||||
AND coalesce(d.days_supply,0) >= 0 ---We have cases where days_supply is negative, and this can set the end_date before the start_date, which we don't want. So we're just looking over those rows. This is a data-quality issue.
|
|
||||||
)
|
|
||||||
|
|
||||||
, cteSubExposureEndDates (person_id, ingredient_concept_id, end_date) AS --- A preliminary sorting that groups all of the overlapping exposures into one exposure so that we don't double-count non-gap-days
|
USE @TARGET_CDMV5;
|
||||||
(
|
|
||||||
SELECT person_id, ingredient_concept_id, event_date AS end_date
|
|
||||||
FROM
|
|
||||||
(
|
/****
|
||||||
SELECT person_id, ingredient_concept_id, event_date, event_type,
|
CONDITION ERA
|
||||||
MAX(start_ordinal) OVER (PARTITION BY person_id, ingredient_concept_id
|
Note: Eras derived from CONDITION_OCCURRENCE table, using 30d gap
|
||||||
ORDER BY event_date, event_type ROWS unbounded preceding) AS start_ordinal,
|
****/
|
||||||
-- this pulls the current START down from the prior rows so that the NULLs
|
IF OBJECT_ID('tempdb..#condition_era_phase_1', 'U') IS NOT NULL
|
||||||
-- from the END DATES will contain a value we can compare with
|
DROP TABLE #condition_era_phase_1;
|
||||||
ROW_NUMBER() OVER (PARTITION BY person_id, ingredient_concept_id
|
|
||||||
ORDER BY event_date, event_type) AS overall_ord
|
/* / */
|
||||||
-- this re-numbers the inner UNION so all rows are numbered ordered by the event date
|
|
||||||
|
IF OBJECT_ID('tempdb..#cteConditionTarget', 'U') IS NOT NULL
|
||||||
|
DROP TABLE #cteConditionTarget;
|
||||||
|
|
||||||
|
/* / */
|
||||||
|
|
||||||
|
-- create base eras from the concepts found in condition_occurrence
|
||||||
|
SELECT co.PERSON_ID
|
||||||
|
,co.condition_concept_id
|
||||||
|
,co.CONDITION_START_DATE
|
||||||
|
,COALESCE(co.CONDITION_END_DATE, DATEADD(day, 1, CONDITION_START_DATE)) AS CONDITION_END_DATE
|
||||||
|
INTO #cteConditionTarget
|
||||||
|
FROM @TARGET_CDMV5_SCHEMA.CONDITION_OCCURRENCE co;
|
||||||
|
|
||||||
|
/* / */
|
||||||
|
|
||||||
|
IF OBJECT_ID('tempdb..#cteCondEndDates', 'U') IS NOT NULL
|
||||||
|
DROP TABLE #cteCondEndDates;
|
||||||
|
|
||||||
|
/* / */
|
||||||
|
|
||||||
|
SELECT PERSON_ID
|
||||||
|
,CONDITION_CONCEPT_ID
|
||||||
|
,DATEADD(day, - 30, EVENT_DATE) AS END_DATE -- unpad the end date
|
||||||
|
INTO #cteCondEndDates
|
||||||
|
FROM (
|
||||||
|
SELECT E1.PERSON_ID
|
||||||
|
,E1.CONDITION_CONCEPT_ID
|
||||||
|
,E1.EVENT_DATE
|
||||||
|
,COALESCE(E1.START_ORDINAL, MAX(E2.START_ORDINAL)) START_ORDINAL
|
||||||
|
,E1.OVERALL_ORD
|
||||||
|
FROM (
|
||||||
|
SELECT PERSON_ID
|
||||||
|
,CONDITION_CONCEPT_ID
|
||||||
|
,EVENT_DATE
|
||||||
|
,EVENT_TYPE
|
||||||
|
,START_ORDINAL
|
||||||
|
,ROW_NUMBER() OVER (
|
||||||
|
PARTITION BY PERSON_ID
|
||||||
|
,CONDITION_CONCEPT_ID ORDER BY EVENT_DATE
|
||||||
|
,EVENT_TYPE
|
||||||
|
) AS OVERALL_ORD -- this re-numbers the inner UNION so all rows are numbered ordered by the event date
|
||||||
FROM (
|
FROM (
|
||||||
-- select the start dates, assigning a row number to each
|
-- select the start dates, assigning a row number to each
|
||||||
SELECT person_id, ingredient_concept_id, drug_exposure_start_date AS event_date,
|
SELECT PERSON_ID
|
||||||
-1 AS event_type,
|
,CONDITION_CONCEPT_ID
|
||||||
ROW_NUMBER() OVER (PARTITION BY person_id, ingredient_concept_id
|
,CONDITION_START_DATE AS EVENT_DATE
|
||||||
ORDER BY drug_exposure_start_date) AS start_ordinal
|
,- 1 AS EVENT_TYPE
|
||||||
FROM ctePreDrugTarget
|
,ROW_NUMBER() OVER (
|
||||||
|
PARTITION BY PERSON_ID
|
||||||
UNION ALL
|
,CONDITION_CONCEPT_ID ORDER BY CONDITION_START_DATE
|
||||||
|
) AS START_ORDINAL
|
||||||
SELECT person_id, ingredient_concept_id, drug_exposure_end_date, 1 AS event_type, NULL
|
FROM #cteConditionTarget
|
||||||
FROM ctePreDrugTarget
|
|
||||||
) RAWDATA
|
|
||||||
) e
|
|
||||||
WHERE (2 * e.start_ordinal) - e.overall_ord = 0
|
|
||||||
)
|
|
||||||
|
|
||||||
, cteDrugExposureEnds (person_id, drug_concept_id, drug_exposure_start_date, drug_sub_exposure_end_date) AS
|
|
||||||
(
|
|
||||||
SELECT
|
|
||||||
dt.person_id
|
|
||||||
, dt.ingredient_concept_id
|
|
||||||
, dt.drug_exposure_start_date
|
|
||||||
, MIN(e.end_date) AS drug_sub_exposure_end_date
|
|
||||||
FROM ctePreDrugTarget dt
|
|
||||||
JOIN cteSubExposureEndDates e ON dt.person_id = e.person_id AND dt.ingredient_concept_id = e.ingredient_concept_id AND e.end_date >= dt.drug_exposure_start_date
|
|
||||||
GROUP BY
|
|
||||||
dt.drug_exposure_id
|
|
||||||
, dt.person_id
|
|
||||||
, dt.ingredient_concept_id
|
|
||||||
, dt.drug_exposure_start_date
|
|
||||||
)
|
|
||||||
--------------------------------------------------------------------------------------------------------------
|
|
||||||
, cteSubExposures(row_number, person_id, drug_concept_id, drug_sub_exposure_start_date, drug_sub_exposure_end_date, drug_exposure_count) AS
|
|
||||||
(
|
|
||||||
SELECT ROW_NUMBER() OVER (PARTITION BY person_id, drug_concept_id, drug_sub_exposure_end_date ORDER BY person_id)
|
|
||||||
, person_id, drug_concept_id, MIN(drug_exposure_start_date) AS drug_sub_exposure_start_date, drug_sub_exposure_end_date, COUNT(*) AS drug_exposure_count
|
|
||||||
FROM cteDrugExposureEnds
|
|
||||||
GROUP BY person_id, drug_concept_id, drug_sub_exposure_end_date
|
|
||||||
--ORDER BY person_id, drug_concept_id
|
|
||||||
)
|
|
||||||
--------------------------------------------------------------------------------------------------------------
|
|
||||||
/*Everything above grouped exposures into sub_exposures if there was overlap between exposures.
|
|
||||||
*So there was no persistence window. Now we can add the persistence window to calculate eras.
|
|
||||||
*/
|
|
||||||
--------------------------------------------------------------------------------------------------------------
|
|
||||||
, cteFinalTarget(row_number, person_id, ingredient_concept_id, drug_sub_exposure_start_date, drug_sub_exposure_end_date, drug_exposure_count, days_exposed) AS
|
|
||||||
(
|
|
||||||
SELECT row_number, person_id, drug_concept_id, drug_sub_exposure_start_date, drug_sub_exposure_end_date, drug_exposure_count
|
|
||||||
, datediff(day,drug_sub_exposure_start_date,drug_sub_exposure_end_date) AS days_exposed
|
|
||||||
FROM cteSubExposures
|
|
||||||
)
|
|
||||||
--------------------------------------------------------------------------------------------------------------
|
|
||||||
, cteEndDates (person_id, ingredient_concept_id, end_date) AS -- the magic
|
|
||||||
(
|
|
||||||
SELECT person_id, ingredient_concept_id, dateadd(day,-30,event_date) AS end_date -- unpad the end date
|
|
||||||
FROM
|
|
||||||
(
|
|
||||||
SELECT person_id, ingredient_concept_id, event_date, event_type,
|
|
||||||
MAX(start_ordinal) OVER (PARTITION BY person_id, ingredient_concept_id
|
|
||||||
ORDER BY event_date, event_type ROWS UNBOUNDED PRECEDING) AS start_ordinal,
|
|
||||||
-- this pulls the current START down from the prior rows so that the NULLs
|
|
||||||
-- from the END DATES will contain a value we can compare with
|
|
||||||
ROW_NUMBER() OVER (PARTITION BY person_id, ingredient_concept_id
|
|
||||||
ORDER BY event_date, event_type) AS overall_ord
|
|
||||||
-- this re-numbers the inner UNION so all rows are numbered ordered by the event date
|
|
||||||
FROM (
|
|
||||||
-- select the start dates, assigning a row number to each
|
|
||||||
SELECT person_id, ingredient_concept_id, drug_sub_exposure_start_date AS event_date,
|
|
||||||
-1 AS event_type,
|
|
||||||
ROW_NUMBER() OVER (PARTITION BY person_id, ingredient_concept_id
|
|
||||||
ORDER BY drug_sub_exposure_start_date) AS start_ordinal
|
|
||||||
FROM cteFinalTarget
|
|
||||||
|
|
||||||
UNION ALL
|
UNION ALL
|
||||||
|
|
||||||
-- pad the end dates by 30 to allow a grace period for overlapping ranges.
|
-- pad the end dates by 30 to allow a grace period for overlapping ranges.
|
||||||
SELECT person_id, ingredient_concept_id, dateadd(day,30,drug_sub_exposure_end_date), 1 AS event_type, NULL
|
SELECT PERSON_ID
|
||||||
FROM cteFinalTarget
|
,CONDITION_CONCEPT_ID
|
||||||
) RAWDATA
|
,DATEADD(day, 30, CONDITION_END_DATE)
|
||||||
) e
|
,1 AS EVENT_TYPE
|
||||||
WHERE (2 * e.start_ordinal) - e.overall_ord = 0
|
,NULL
|
||||||
|
FROM #cteConditionTarget
|
||||||
|
) RAWDATA
|
||||||
|
) E1
|
||||||
|
INNER JOIN (
|
||||||
|
SELECT PERSON_ID
|
||||||
|
,CONDITION_CONCEPT_ID
|
||||||
|
,CONDITION_START_DATE AS EVENT_DATE
|
||||||
|
,ROW_NUMBER() OVER (
|
||||||
|
PARTITION BY PERSON_ID
|
||||||
|
,CONDITION_CONCEPT_ID ORDER BY CONDITION_START_DATE
|
||||||
|
) AS START_ORDINAL
|
||||||
|
FROM #cteConditionTarget
|
||||||
|
) E2 ON E1.PERSON_ID = E2.PERSON_ID
|
||||||
|
AND E1.CONDITION_CONCEPT_ID = E2.CONDITION_CONCEPT_ID
|
||||||
|
AND E2.EVENT_DATE <= E1.EVENT_DATE
|
||||||
|
GROUP BY E1.PERSON_ID
|
||||||
|
,E1.CONDITION_CONCEPT_ID
|
||||||
|
,E1.EVENT_DATE
|
||||||
|
,E1.START_ORDINAL
|
||||||
|
,E1.OVERALL_ORD
|
||||||
|
) E
|
||||||
|
WHERE (2 * E.START_ORDINAL) - E.OVERALL_ORD = 0;
|
||||||
|
|
||||||
)
|
/* / */
|
||||||
, cteDrugEraEnds (person_id, drug_concept_id, drug_sub_exposure_start_date, drug_era_end_date, drug_exposure_count, days_exposed) AS
|
|
||||||
(
|
|
||||||
SELECT
|
|
||||||
ft.person_id
|
|
||||||
, ft.ingredient_concept_id
|
|
||||||
, ft.drug_sub_exposure_start_date
|
|
||||||
, MIN(e.end_date) AS era_end_date
|
|
||||||
, drug_exposure_count
|
|
||||||
, days_exposed
|
|
||||||
FROM cteFinalTarget ft
|
|
||||||
JOIN cteEndDates e ON ft.person_id = e.person_id AND ft.ingredient_concept_id = e.ingredient_concept_id AND e.end_date >= ft.drug_sub_exposure_start_date
|
|
||||||
GROUP BY
|
|
||||||
ft.person_id
|
|
||||||
, ft.ingredient_concept_id
|
|
||||||
, ft.drug_sub_exposure_start_date
|
|
||||||
, drug_exposure_count
|
|
||||||
, days_exposed
|
|
||||||
)
|
|
||||||
SELECT
|
|
||||||
row_number()over(order by person_id) drug_era_id
|
|
||||||
, person_id
|
|
||||||
, drug_concept_id
|
|
||||||
, MIN(drug_sub_exposure_start_date) AS drug_era_start_date
|
|
||||||
, drug_era_end_date
|
|
||||||
, SUM(drug_exposure_count) AS drug_exposure_count
|
|
||||||
, datediff(day,MIN(drug_sub_exposure_start_date),drug_era_end_date)-SUM(days_exposed) as gap_days
|
|
||||||
INTO #tmp_de
|
|
||||||
FROM cteDrugEraEnds dee
|
|
||||||
GROUP BY person_id, drug_concept_id, drug_era_end_date;
|
|
||||||
|
|
||||||
INSERT INTO @cdm_schema.drug_era(drug_era_id,person_id, drug_concept_id, drug_era_start_date, drug_era_end_date, drug_exposure_count, gap_days)
|
IF OBJECT_ID('tempdb..#cteConditionEnds', 'U') IS NOT NULL
|
||||||
SELECT * FROM #tmp_de;
|
DROP TABLE #cteConditionEnds;
|
||||||
|
|
||||||
|
/* / */
|
||||||
|
|
||||||
|
SELECT c.PERSON_ID
|
||||||
|
,c.CONDITION_CONCEPT_ID
|
||||||
|
,c.CONDITION_START_DATE
|
||||||
|
,MIN(e.END_DATE) AS ERA_END_DATE
|
||||||
|
INTO #cteConditionEnds
|
||||||
|
FROM #cteConditionTarget c
|
||||||
|
INNER JOIN #cteCondEndDates e ON c.PERSON_ID = e.PERSON_ID
|
||||||
|
AND c.CONDITION_CONCEPT_ID = e.CONDITION_CONCEPT_ID
|
||||||
|
AND e.END_DATE >= c.CONDITION_START_DATE
|
||||||
|
GROUP BY c.PERSON_ID
|
||||||
|
,c.CONDITION_CONCEPT_ID
|
||||||
|
,c.CONDITION_START_DATE;
|
||||||
|
|
||||||
|
/* / */
|
||||||
|
|
||||||
|
INSERT INTO @TARGET_CDMV5_SCHEMA.condition_era (
|
||||||
|
condition_era_id
|
||||||
|
,person_id
|
||||||
|
,condition_concept_id
|
||||||
|
,condition_era_start_date
|
||||||
|
,condition_era_end_date
|
||||||
|
,condition_occurrence_count
|
||||||
|
)
|
||||||
|
SELECT row_number() OVER (
|
||||||
|
ORDER BY person_id
|
||||||
|
) AS condition_era_id
|
||||||
|
,person_id
|
||||||
|
,CONDITION_CONCEPT_ID
|
||||||
|
,min(CONDITION_START_DATE) AS CONDITION_ERA_START_DATE
|
||||||
|
,ERA_END_DATE AS CONDITION_ERA_END_DATE
|
||||||
|
,COUNT(*) AS CONDITION_OCCURRENCE_COUNT
|
||||||
|
FROM #cteConditionEnds
|
||||||
|
GROUP BY person_id
|
||||||
|
,CONDITION_CONCEPT_ID
|
||||||
|
,ERA_END_DATE;
|
||||||
```
|
```
|
||||||
|
|
||||||
### Drug Eras
|
### Drug Eras
|
||||||
|
@ -227,164 +236,174 @@ If the DRUG_EXPOSURE table is populated this script will string together periods
|
||||||
|
|
||||||
```{sql eval = FALSE, echo = TRUE}
|
```{sql eval = FALSE, echo = TRUE}
|
||||||
|
|
||||||
if object_id('tempdb..#tmp_de', 'U') is not null drop table #tmp_de;
|
/****************************************************
|
||||||
|
OHDSI-SQL File Instructions
|
||||||
|
-----------------------------
|
||||||
|
1. Set parameter name of schema that contains CDMv4 instance
|
||||||
|
(@SOURCE_CDMV4, @SOURCE_CDMV4_SCHEMA)
|
||||||
|
2. Set parameter name of schema that contains CDMv5 instance
|
||||||
|
(@TARGET_CDMV5, @TARGET_CDMV5_SCHEMA)
|
||||||
|
3. Run this script through SqlRender to produce a script that will work in your
|
||||||
|
source dialect. SqlRender can be found here: https://github.com/OHDSI/SqlRender
|
||||||
|
4. Run the script produced by SQL Render on your target RDBDMS.
|
||||||
|
<RDBMS> File Instructions
|
||||||
|
-------------------------
|
||||||
|
1. This script will hold a number of placeholders for your CDM V4 and CDMV5
|
||||||
|
database/schema. In order to make this file work in your environment, you
|
||||||
|
should plan to do a global "FIND AND REPLACE" on this file to fill in the
|
||||||
|
file with values that pertain to your environment. The following are the
|
||||||
|
tokens you should use when doing your "FIND AND REPLACE" operation:
|
||||||
|
|
||||||
|
[CDM]
|
||||||
|
[CDM].[CDMSCHEMA]
|
||||||
|
|
||||||
|
*********************************************************************************/
|
||||||
|
/* SCRIPT PARAMETERS */
|
||||||
|
|
||||||
WITH
|
|
||||||
ctePreDrugTarget(drug_exposure_id, person_id, ingredient_concept_id, drug_exposure_start_date, days_supply, drug_exposure_end_date) AS
|
{DEFAULT @TARGET_CDMV5 = '[CDM]' } -- The target CDMv5 database name
|
||||||
(-- Normalize DRUG_EXPOSURE_END_DATE to either the existing drug exposure end date, or add days supply, or add 1 day to the start date
|
{DEFAULT @TARGET_CDMV5_SCHEMA = '[CDM].[CDMSCHEMA]' } -- the target CDMv5 database plus schema
|
||||||
SELECT
|
|
||||||
d.drug_exposure_id
|
|
||||||
, d.person_id
|
|
||||||
, c.concept_id AS ingredient_concept_id
|
|
||||||
, d.drug_exposure_start_date AS drug_exposure_start_date
|
|
||||||
, d.days_supply AS days_supply
|
|
||||||
, COALESCE(
|
|
||||||
---NULLIF returns NULL if both values are the same, otherwise it returns the first parameter
|
|
||||||
NULLIF(drug_exposure_end_date, NULL),
|
|
||||||
---If drug_exposure_end_date != NULL, return drug_exposure_end_date, otherwise go to next case
|
|
||||||
NULLIF(dateadd(day,days_supply,drug_exposure_start_date), drug_exposure_start_date),
|
|
||||||
---If days_supply != NULL or 0, return drug_exposure_start_date + days_supply, otherwise go to next case
|
|
||||||
dateadd(day,1,drug_exposure_start_date)
|
|
||||||
---Add 1 day to the drug_exposure_start_date since there is no end_date or INTERVAL for the days_supply
|
|
||||||
) AS drug_exposure_end_date
|
|
||||||
FROM @cdm_schema.drug_exposure d
|
|
||||||
JOIN @cdm_schema.concept_ancestor ca ON ca.descendant_concept_id = d.drug_concept_id
|
|
||||||
JOIN @cdm_schema.concept c ON ca.ancestor_concept_id = c.concept_id
|
|
||||||
WHERE c.vocabulary_id = 'RxNorm' ---8 selects RxNorm from the vocabulary_id
|
|
||||||
AND c.concept_class_id = 'Ingredient'
|
|
||||||
AND d.drug_concept_id != 0 ---Our unmapped drug_concept_id's are set to 0, so we don't want different drugs wrapped up in the same era
|
|
||||||
AND coalesce(d.days_supply,0) >= 0 ---We have cases where days_supply is negative, and this can set the end_date before the start_date, which we don't want. So we're just looking over those rows. This is a data-quality issue.
|
|
||||||
)
|
|
||||||
|
|
||||||
, cteSubExposureEndDates (person_id, ingredient_concept_id, end_date) AS --- A preliminary sorting that groups all of the overlapping exposures into one exposure so that we don't double-count non-gap-days
|
USE @TARGET_CDMV5;
|
||||||
(
|
|
||||||
SELECT person_id, ingredient_concept_id, event_date AS end_date
|
|
||||||
FROM
|
|
||||||
(
|
/****
|
||||||
SELECT person_id, ingredient_concept_id, event_date, event_type,
|
DRUG ERA
|
||||||
MAX(start_ordinal) OVER (PARTITION BY person_id, ingredient_concept_id
|
Note: Eras derived from DRUG_EXPOSURE table, using 30d gap
|
||||||
ORDER BY event_date, event_type ROWS unbounded preceding) AS start_ordinal,
|
****/
|
||||||
-- this pulls the current START down from the prior rows so that the NULLs
|
IF OBJECT_ID('tempdb..#cteDrugTarget', 'U') IS NOT NULL
|
||||||
-- from the END DATES will contain a value we can compare with
|
DROP TABLE #cteDrugTarget;
|
||||||
ROW_NUMBER() OVER (PARTITION BY person_id, ingredient_concept_id
|
|
||||||
ORDER BY event_date, event_type) AS overall_ord
|
/* / */
|
||||||
-- this re-numbers the inner UNION so all rows are numbered ordered by the event date
|
|
||||||
|
-- Normalize DRUG_EXPOSURE_END_DATE to either the existing drug exposure end date, or add days supply, or add 1 day to the start date
|
||||||
|
SELECT d.DRUG_EXPOSURE_ID
|
||||||
|
,d.PERSON_ID
|
||||||
|
,c.CONCEPT_ID
|
||||||
|
,d.DRUG_TYPE_CONCEPT_ID
|
||||||
|
,DRUG_EXPOSURE_START_DATE
|
||||||
|
,COALESCE(DRUG_EXPOSURE_END_DATE, DATEADD(day, DAYS_SUPPLY, DRUG_EXPOSURE_START_DATE), DATEADD(day, 1, DRUG_EXPOSURE_START_DATE)) AS DRUG_EXPOSURE_END_DATE
|
||||||
|
,c.CONCEPT_ID AS INGREDIENT_CONCEPT_ID
|
||||||
|
INTO #cteDrugTarget
|
||||||
|
FROM @TARGET_CDMV5_SCHEMA.DRUG_EXPOSURE d
|
||||||
|
INNER JOIN @TARGET_CDMV5_SCHEMA.CONCEPT_ANCESTOR ca ON ca.DESCENDANT_CONCEPT_ID = d.DRUG_CONCEPT_ID
|
||||||
|
INNER JOIN @TARGET_CDMV5_SCHEMA.CONCEPT c ON ca.ANCESTOR_CONCEPT_ID = c.CONCEPT_ID
|
||||||
|
WHERE c.DOMAIN_ID = 'Drug'
|
||||||
|
AND c.CONCEPT_CLASS_ID = 'Ingredient'
|
||||||
|
AND c.STANDARD_CONCEPT = 'S';
|
||||||
|
|
||||||
|
/* / */
|
||||||
|
|
||||||
|
IF OBJECT_ID('tempdb..#cteEndDates', 'U') IS NOT NULL
|
||||||
|
DROP TABLE #cteEndDates;
|
||||||
|
|
||||||
|
/* / */
|
||||||
|
|
||||||
|
SELECT PERSON_ID
|
||||||
|
,INGREDIENT_CONCEPT_ID
|
||||||
|
,DATEADD(day, - 30, EVENT_DATE) AS END_DATE -- unpad the end date
|
||||||
|
INTO #cteEndDates
|
||||||
|
FROM (
|
||||||
|
SELECT E1.PERSON_ID
|
||||||
|
,E1.INGREDIENT_CONCEPT_ID
|
||||||
|
,E1.EVENT_DATE
|
||||||
|
,COALESCE(E1.START_ORDINAL, MAX(E2.START_ORDINAL)) START_ORDINAL
|
||||||
|
,E1.OVERALL_ORD
|
||||||
|
FROM (
|
||||||
|
SELECT PERSON_ID
|
||||||
|
,INGREDIENT_CONCEPT_ID
|
||||||
|
,EVENT_DATE
|
||||||
|
,EVENT_TYPE
|
||||||
|
,START_ORDINAL
|
||||||
|
,ROW_NUMBER() OVER (
|
||||||
|
PARTITION BY PERSON_ID
|
||||||
|
,INGREDIENT_CONCEPT_ID ORDER BY EVENT_DATE
|
||||||
|
,EVENT_TYPE
|
||||||
|
) AS OVERALL_ORD -- this re-numbers the inner UNION so all rows are numbered ordered by the event date
|
||||||
FROM (
|
FROM (
|
||||||
-- select the start dates, assigning a row number to each
|
-- select the start dates, assigning a row number to each
|
||||||
SELECT person_id, ingredient_concept_id, drug_exposure_start_date AS event_date,
|
SELECT PERSON_ID
|
||||||
-1 AS event_type,
|
,INGREDIENT_CONCEPT_ID
|
||||||
ROW_NUMBER() OVER (PARTITION BY person_id, ingredient_concept_id
|
,DRUG_EXPOSURE_START_DATE AS EVENT_DATE
|
||||||
ORDER BY drug_exposure_start_date) AS start_ordinal
|
,0 AS EVENT_TYPE
|
||||||
FROM ctePreDrugTarget
|
,ROW_NUMBER() OVER (
|
||||||
|
PARTITION BY PERSON_ID
|
||||||
|
,INGREDIENT_CONCEPT_ID ORDER BY DRUG_EXPOSURE_START_DATE
|
||||||
|
) AS START_ORDINAL
|
||||||
|
FROM #cteDrugTarget
|
||||||
|
|
||||||
UNION ALL
|
UNION ALL
|
||||||
|
|
||||||
SELECT person_id, ingredient_concept_id, drug_exposure_end_date, 1 AS event_type, NULL
|
-- add the end dates with NULL as the row number, padding the end dates by 30 to allow a grace period for overlapping ranges.
|
||||||
FROM ctePreDrugTarget
|
SELECT PERSON_ID
|
||||||
) RAWDATA
|
,INGREDIENT_CONCEPT_ID
|
||||||
) e
|
,DATEADD(day, 30, DRUG_EXPOSURE_END_DATE)
|
||||||
WHERE (2 * e.start_ordinal) - e.overall_ord = 0
|
,1 AS EVENT_TYPE
|
||||||
)
|
,NULL
|
||||||
|
FROM #cteDrugTarget
|
||||||
|
) RAWDATA
|
||||||
|
) E1
|
||||||
|
INNER JOIN (
|
||||||
|
SELECT PERSON_ID
|
||||||
|
,INGREDIENT_CONCEPT_ID
|
||||||
|
,DRUG_EXPOSURE_START_DATE AS EVENT_DATE
|
||||||
|
,ROW_NUMBER() OVER (
|
||||||
|
PARTITION BY PERSON_ID
|
||||||
|
,INGREDIENT_CONCEPT_ID ORDER BY DRUG_EXPOSURE_START_DATE
|
||||||
|
) AS START_ORDINAL
|
||||||
|
FROM #cteDrugTarget
|
||||||
|
) E2 ON E1.PERSON_ID = E2.PERSON_ID
|
||||||
|
AND E1.INGREDIENT_CONCEPT_ID = E2.INGREDIENT_CONCEPT_ID
|
||||||
|
AND E2.EVENT_DATE <= E1.EVENT_DATE
|
||||||
|
GROUP BY E1.PERSON_ID
|
||||||
|
,E1.INGREDIENT_CONCEPT_ID
|
||||||
|
,E1.EVENT_DATE
|
||||||
|
,E1.START_ORDINAL
|
||||||
|
,E1.OVERALL_ORD
|
||||||
|
) E
|
||||||
|
WHERE 2 * E.START_ORDINAL - E.OVERALL_ORD = 0;
|
||||||
|
|
||||||
, cteDrugExposureEnds (person_id, drug_concept_id, drug_exposure_start_date, drug_sub_exposure_end_date) AS
|
/* / */
|
||||||
(
|
|
||||||
SELECT
|
|
||||||
dt.person_id
|
|
||||||
, dt.ingredient_concept_id
|
|
||||||
, dt.drug_exposure_start_date
|
|
||||||
, MIN(e.end_date) AS drug_sub_exposure_end_date
|
|
||||||
FROM ctePreDrugTarget dt
|
|
||||||
JOIN cteSubExposureEndDates e ON dt.person_id = e.person_id AND dt.ingredient_concept_id = e.ingredient_concept_id AND e.end_date >= dt.drug_exposure_start_date
|
|
||||||
GROUP BY
|
|
||||||
dt.drug_exposure_id
|
|
||||||
, dt.person_id
|
|
||||||
, dt.ingredient_concept_id
|
|
||||||
, dt.drug_exposure_start_date
|
|
||||||
)
|
|
||||||
--------------------------------------------------------------------------------------------------------------
|
|
||||||
, cteSubExposures(row_number, person_id, drug_concept_id, drug_sub_exposure_start_date, drug_sub_exposure_end_date, drug_exposure_count) AS
|
|
||||||
(
|
|
||||||
SELECT ROW_NUMBER() OVER (PARTITION BY person_id, drug_concept_id, drug_sub_exposure_end_date ORDER BY person_id)
|
|
||||||
, person_id, drug_concept_id, MIN(drug_exposure_start_date) AS drug_sub_exposure_start_date, drug_sub_exposure_end_date, COUNT(*) AS drug_exposure_count
|
|
||||||
FROM cteDrugExposureEnds
|
|
||||||
GROUP BY person_id, drug_concept_id, drug_sub_exposure_end_date
|
|
||||||
--ORDER BY person_id, drug_concept_id
|
|
||||||
)
|
|
||||||
--------------------------------------------------------------------------------------------------------------
|
|
||||||
/*Everything above grouped exposures into sub_exposures if there was overlap between exposures.
|
|
||||||
*So there was no persistence window. Now we can add the persistence window to calculate eras.
|
|
||||||
*/
|
|
||||||
--------------------------------------------------------------------------------------------------------------
|
|
||||||
, cteFinalTarget(row_number, person_id, ingredient_concept_id, drug_sub_exposure_start_date, drug_sub_exposure_end_date, drug_exposure_count, days_exposed) AS
|
|
||||||
(
|
|
||||||
SELECT row_number, person_id, drug_concept_id, drug_sub_exposure_start_date, drug_sub_exposure_end_date, drug_exposure_count
|
|
||||||
, datediff(day,drug_sub_exposure_start_date,drug_sub_exposure_end_date) AS days_exposed
|
|
||||||
FROM cteSubExposures
|
|
||||||
)
|
|
||||||
--------------------------------------------------------------------------------------------------------------
|
|
||||||
, cteEndDates (person_id, ingredient_concept_id, end_date) AS -- the magic
|
|
||||||
(
|
|
||||||
SELECT person_id, ingredient_concept_id, dateadd(day,-30,event_date) AS end_date -- unpad the end date
|
|
||||||
FROM
|
|
||||||
(
|
|
||||||
SELECT person_id, ingredient_concept_id, event_date, event_type,
|
|
||||||
MAX(start_ordinal) OVER (PARTITION BY person_id, ingredient_concept_id
|
|
||||||
ORDER BY event_date, event_type ROWS UNBOUNDED PRECEDING) AS start_ordinal,
|
|
||||||
-- this pulls the current START down from the prior rows so that the NULLs
|
|
||||||
-- from the END DATES will contain a value we can compare with
|
|
||||||
ROW_NUMBER() OVER (PARTITION BY person_id, ingredient_concept_id
|
|
||||||
ORDER BY event_date, event_type) AS overall_ord
|
|
||||||
-- this re-numbers the inner UNION so all rows are numbered ordered by the event date
|
|
||||||
FROM (
|
|
||||||
-- select the start dates, assigning a row number to each
|
|
||||||
SELECT person_id, ingredient_concept_id, drug_sub_exposure_start_date AS event_date,
|
|
||||||
-1 AS event_type,
|
|
||||||
ROW_NUMBER() OVER (PARTITION BY person_id, ingredient_concept_id
|
|
||||||
ORDER BY drug_sub_exposure_start_date) AS start_ordinal
|
|
||||||
FROM cteFinalTarget
|
|
||||||
|
|
||||||
UNION ALL
|
IF OBJECT_ID('tempdb..#cteDrugExpEnds', 'U') IS NOT NULL
|
||||||
|
DROP TABLE #cteDrugExpEnds;
|
||||||
|
|
||||||
-- pad the end dates by 30 to allow a grace period for overlapping ranges.
|
/* / */
|
||||||
SELECT person_id, ingredient_concept_id, dateadd(day,30,drug_sub_exposure_end_date), 1 AS event_type, NULL
|
|
||||||
FROM cteFinalTarget
|
|
||||||
) RAWDATA
|
|
||||||
) e
|
|
||||||
WHERE (2 * e.start_ordinal) - e.overall_ord = 0
|
|
||||||
|
|
||||||
)
|
SELECT d.PERSON_ID
|
||||||
, cteDrugEraEnds (person_id, drug_concept_id, drug_sub_exposure_start_date, drug_era_end_date, drug_exposure_count, days_exposed) AS
|
,d.INGREDIENT_CONCEPT_ID
|
||||||
(
|
,d.DRUG_TYPE_CONCEPT_ID
|
||||||
SELECT
|
,d.DRUG_EXPOSURE_START_DATE
|
||||||
ft.person_id
|
,MIN(e.END_DATE) AS ERA_END_DATE
|
||||||
, ft.ingredient_concept_id
|
INTO #cteDrugExpEnds
|
||||||
, ft.drug_sub_exposure_start_date
|
FROM #cteDrugTarget d
|
||||||
, MIN(e.end_date) AS era_end_date
|
INNER JOIN #cteEndDates e ON d.PERSON_ID = e.PERSON_ID
|
||||||
, drug_exposure_count
|
AND d.INGREDIENT_CONCEPT_ID = e.INGREDIENT_CONCEPT_ID
|
||||||
, days_exposed
|
AND e.END_DATE >= d.DRUG_EXPOSURE_START_DATE
|
||||||
FROM cteFinalTarget ft
|
GROUP BY d.PERSON_ID
|
||||||
JOIN cteEndDates e ON ft.person_id = e.person_id AND ft.ingredient_concept_id = e.ingredient_concept_id AND e.end_date >= ft.drug_sub_exposure_start_date
|
,d.INGREDIENT_CONCEPT_ID
|
||||||
GROUP BY
|
,d.DRUG_TYPE_CONCEPT_ID
|
||||||
ft.person_id
|
,d.DRUG_EXPOSURE_START_DATE;
|
||||||
, ft.ingredient_concept_id
|
|
||||||
, ft.drug_sub_exposure_start_date
|
/* / */
|
||||||
, drug_exposure_count
|
|
||||||
, days_exposed
|
INSERT INTO @TARGET_CDMV5_SCHEMA.drug_era
|
||||||
)
|
SELECT row_number() OVER (
|
||||||
SELECT
|
ORDER BY person_id
|
||||||
row_number()over(order by person_id) drug_era_id
|
) AS drug_era_id
|
||||||
, person_id
|
,person_id
|
||||||
, drug_concept_id
|
,INGREDIENT_CONCEPT_ID
|
||||||
, MIN(drug_sub_exposure_start_date) AS drug_era_start_date
|
,min(DRUG_EXPOSURE_START_DATE) AS drug_era_start_date
|
||||||
, drug_era_end_date
|
,ERA_END_DATE
|
||||||
, SUM(drug_exposure_count) AS drug_exposure_count
|
,COUNT(*) AS DRUG_EXPOSURE_COUNT
|
||||||
, datediff(day,MIN(drug_sub_exposure_start_date),drug_era_end_date)-SUM(days_exposed) as gap_days
|
,30 AS gap_days
|
||||||
INTO #tmp_de
|
FROM #cteDrugExpEnds
|
||||||
FROM cteDrugEraEnds dee
|
GROUP BY person_id
|
||||||
GROUP BY person_id, drug_concept_id, drug_era_end_date;
|
,INGREDIENT_CONCEPT_ID
|
||||||
|
,drug_type_concept_id
|
||||||
|
,ERA_END_DATE;
|
||||||
|
|
||||||
INSERT INTO @cdm_schema.drug_era(drug_era_id,person_id, drug_concept_id, drug_era_start_date, drug_era_end_date, drug_exposure_count, gap_days)
|
|
||||||
SELECT * FROM #tmp_de;
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## **Example ETL Script**
|
## **Example ETL Script**
|
||||||
|
|
Loading…
Reference in New Issue