Created
June 10, 2012 18:25
-
-
Save jmandel/2906828 to your computer and use it in GitHub Desktop.
CDA Time Example (http://www.healthintersections.com.au/?p=769)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<example xsi:type="QSI_TS"><!-- intersection, because it is a QSI --> | |
<!-- every other Tuesday --> | |
<term xsi:type='PIVL_TS' alignment='DW'> | |
<phase lowClosed='true' highClosed='false'> | |
<low value='20001202'/> | |
<high value='20001203'/> | |
</phase> | |
<period value='2' unit='wk'/> | |
</term> | |
<!-- 2002 and 2003 --> | |
<term xsi:type='IVL_TS' lowClosed='true' highClosed='false'> | |
<low value='20020101'/> | |
<high value='20040101'/> | |
</term> | |
<!-- season between Memorial Day and Labor Day --> | |
<!-- periodic hull between Memorial day and Labor Day --> | |
<term xsi:type='QSP_TS'> | |
<low xsi:type="QSI_TS"> | |
<!-- memorial day: intersection of last week of May and mondays --> | |
<term xsi:type='PIVL_TS'> | |
<phase highClosed='false'> | |
<low value='19870525'/> | |
<high value='19870601'/> | |
</phase> | |
<period value='1' unit='a'/> | |
</term> | |
<term xsi:type='PIVL_TS'> | |
<phase highClosed='false'> | |
<low value='19870105'/> | |
<high value='19870106'/> | |
</phase> | |
<period value='1' unit='wk'/> | |
</term> | |
</low> | |
<high xsi:type="QSI_TS"> | |
<!-- labor day : intersection of first week of Sept and mondays --> | |
<term xsi:type='PIVL_TS'> | |
<phase highClosed='false'> | |
<low value='19870901'/> | |
<high value='19870908'/> | |
</phase> | |
<period value='1' unit='a'/> | |
</term> | |
<term xsi:type='PIVL_TS'> | |
<phase highClosed='false'> | |
<low value='19870105'/> | |
<high value='19870106'/> | |
</phase> | |
<period value='1' unit='wk'/> | |
</term> | |
</high> | |
</term> | |
</example> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment