forked from LHNCBC/ucum-lhc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
110 lines (99 loc) · 5.44 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
<!DOCTYPE html>
<html>
<head>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-75410768-4"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-75410768-4');
</script>
<link rel="canonical" href="https://ucum.nlm.nih.gov/ucum-lhc/" />
<title>The UCUM-LHC Library Overview</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="stylesheet" href="https://lforms-service.nlm.nih.gov/autocomplete-lhc-versions/10.1.1/autocomplete-lhc_jQueryUI.min.css" />
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"/>
<link href="demo-dist/ucumDemo.min.css" rel="stylesheet"/>
</head>
<body>
<!-- page header -->
<div id="header">
<a href="http://lhncbc.nlm.nih.gov" id="logo"
title="Lister Hill National Center for Biomedical Communications">
<img src="demo-dist/assets/images/lhncbc.jpg"
alt="Lister Hill National Center for Biomedical Communications" />
</a>
<div id="siteNameBox">
<a href="index.html"><span id=siteName>UCUM-LHC</span><br>
<span id=tagline>A Unified Code for Units of Measure Software Library
from the National Library of Medicine</span></a>
</div>
</div>
<div>
<a href="https://ucum.nlm.nih.gov">UCUM Resources</a>
<a href="demo.html">UCUM-LHC Demo</a>
</div>
<!-- end page header -->
<h1 id="overview-title">The UCUM-LHC Library Overview</h1>
<p>The UCUM-LHC library is a javascript library that provides validation and
conversion services for the <a href="http://unitsofmeasure.org">Unified Code for
Units of Measure</a> (UCUM) code system created by the Regenstrief Institute, Inc.</p>
<p>The UCUM code system describes "all units of measures being contemporarily
used in international science, engineering, and business" (from the
<a href="http://unitsofmeasure.org/trac/">Unified Code for Units of Measure</a>
description). The UCUM system uses dimensional analysis for conversion of
commensurable units, which eliminates the need to hardcode conversion functions
for most units. In addition, the UCUM system accomodates validation of
unit codes built on other unit codes, e.g., mg/kg/h (milligram per killogram
per hour).</p>
<h3>See the code in action</h3>
<p>Check out our <a href="demo.html">
demonstration page</a> that illustrates the validation and conversion
functions of the UCUM-LHC library.</p>
<h3>Using the UCUM-LHC Code</h3>
<p>The UCUM-LHC library can be downloaded and installed as a
<a href="http://bower.io">bower</a> package or an
<a href="https://www.npmjs.com/package/@lhncbc/ucum-lhc">npm</a> package.
The installed dist/ucum-lhc.js module package includes the code you need
for the validation and conversion functions as well as the UCUM code
definitions file. The UCUM-LHC code provides validation and conversion
capabilities for units of measure. Those functions are accessed from the
ucumPkg.UcumLhcUtils class. Descriptions of those functions are included
in the README.md file in the UCUM-LHC
<a href="https://github.com/lhncbc/ucum-lhc">GitHub</a> repository.</p>
<h3>Clone the ucum-lhc repository from GitHub</h3>
<p>You may clone the ucum-lhc repository from GitHub
<a href="https://github.com/lhncbc/ucum-lhc">here</a>. The repository
includes all the code found in the ucum-lhc bower package as well as
supporting code in the form of test code, data import/export code,
and the code for the demo site. Instructions for cloning a GitHub
repository are on the GitHub page.</p>
<br>
<!-- page footer -->
<div id="fine-print">
<ul class="horz-list">
<li><a title="NLM copyright information" href="http://www.nlm.nih.gov/copyright.html">Copyright</a></li>
<li><a title="NLM privacy policy" href="http://www.nlm.nih.gov/privacy.html">Privacy</a></li>
<li><a title="NLM accessibility" href="http://www.nlm.nih.gov/accessibility.html" >Accessibility</a></li>
<li><a title="NLM viewers and players" href="http://www.nlm.nih.gov/plugins.html">Viewers & Players</a></li>
<li><a title="NIH Freedom of Information Act office" href="http://www.nih.gov/icd/od/foia/index.htm"
>Freedom of Information Act</a></li>
<li class="last-item"><a title="Contact Us" href="https://lhncbc.nlm.nih.gov/contact-us">
Contact Us</a></li>
</ul>
<ul class="horz-list">
<li><a title="U.S. National Library of Medicine" href="http://www.nlm.nih.gov/"
>U.S. National Library of Medicine</a></li>
<li><a title="U.S. National Institutes of Health" href="http://www.nih.gov/"
>U.S. National Institutes of Health</a></li>
<li><a title="U.S. Department of Health and Human Services" href="http://www.hhs.gov/"
>U.S. Department of Health and Human Services</a></li>
<li class="last-item"><a title="USA.gov" href="http://www.usa.gov/"><img
src="demo-dist/assets/images/USAgov.gif" alt="USA.gov" id="usagov"></a></li>
</ul>
</div><!-- fine-print -->
<!-- end page footer -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
</body>
</html>