48 | | [raw-attachment:onyxontology.xml Nick's initial example of an intermediate ontology in xml format][[BR]] |
| 48 | {{{ |
| 49 | <briccs_questionnaire> |
| 50 | <MedicalHistoryInterviewQuestionnaire> |
| 51 | <MAIN> |
| 52 | <part_hist_highbp> |
| 53 | <label>Have you ever suffered from high blood pressure?</label> |
| 54 | |
| 55 | <part_hist_highbp> |
| 56 | <type>text</type> |
| 57 | <label></label> |
| 58 | </part_hist_highbp> |
| 59 | |
| 60 | <part_hist_highbp.N> |
| 61 | <label>No</label> |
| 62 | <type>boolean</type> |
| 63 | </part_hist_highbp.N> |
| 64 | |
| 65 | <part_hist_highbp.Y> |
| 66 | <label>Yes</label> |
| 67 | <type>boolean</type> |
| 68 | </part_hist_highbp.Y> |
| 69 | |
| 70 | <part_hist_highbp.PNA> |
| 71 | <label>Prefer not to answer</label> |
| 72 | <type>boolean</type> |
| 73 | </part_hist_highbp.PNA> |
| 74 | |
| 75 | <part_hist_highbp.DK> |
| 76 | <label>Don't know</label> |
| 77 | <type>boolean</type> |
| 78 | </part_hist_highbp.DK> |
| 79 | |
| 80 | <part_hist_highbp.comment> |
| 81 | <label>Comment</label> |
| 82 | <type>text</type> |
| 83 | </part_hist_highbp.comment> |
| 84 | |
| 85 | </part_hist_highbp> |
| 86 | |
| 87 | <part_hist_highbp_onset_cat> |
| 88 | <label>When did you first suffer from high blood pressure?</label> |
| 89 | |
| 90 | <part_hist_highbp_onset_cat> |
| 91 | <type>text</type> |
| 92 | <label></label> |
| 93 | </part_hist_highbp_onset_cat> |
| 94 | |
| 95 | <part_hist_highbp_onset_cat.YEAR> |
| 96 | <label>Year</label> |
| 97 | <type>boolean</type> |
| 98 | </part_hist_highbp_onset_cat.YEAR> |
| 99 | |
| 100 | <part_hist_highbp_onset> |
| 101 | <label></label> |
| 102 | <type>integer</type> |
| 103 | </part_hist_highbp_onset_cat.YEAR> |
| 104 | |
| 105 | <part_hist_highbp_onset_cat.PNA> |
| 106 | <label>Prefer not to answer</label> |
| 107 | <type>boolean</type> |
| 108 | </part_hist_highbp_onset_cat.PNA> |
| 109 | |
| 110 | <part_hist_highbp_onset_cat.DK> |
| 111 | <label>Don't know</label> |
| 112 | <type>boolean</type> |
| 113 | </part_hist_highbp_onset_cat.DK> |
| 114 | |
| 115 | <part_hist_highbp_onset_cat.comment> |
| 116 | <label>Comment</label> |
| 117 | <type>text</type> |
| 118 | </part_hist_highbp_onset_cat.comment> |
| 119 | |
| 120 | </part_hist_highbp_onset_cat> |
| 121 | |
| 122 | <part_hist_highbp_treat> |
| 123 | <label>Have you received treatment for your high blood pressure? |
| 124 | </label> |
| 125 | |
| 126 | <part_hist_highbp_treat> |
| 127 | <type>text</type> |
| 128 | <label></label> |
| 129 | </part_hist_highbp_treat> |
| 130 | |
| 131 | <part_hist_highbp_treat.N> |
| 132 | <label>No</label> |
| 133 | <type>boolean</type> |
| 134 | </part_hist_highbp_treat.N> |
| 135 | |
| 136 | <part_hist_highbp_treat.Y> |
| 137 | <label>Yes</label> |
| 138 | <type>boolean</type> |
| 139 | </part_hist_highbp_treat.Y> |
| 140 | |
| 141 | <part_hist_highbp_treat.PNA> |
| 142 | <label>Prefer not to answer</label> |
| 143 | <type>boolean</type> |
| 144 | </part_hist_highbp_treat.PNA> |
| 145 | |
| 146 | <part_hist_highbp_treat.DK> |
| 147 | <label>Don't know</label> |
| 148 | <type>boolean</type> |
| 149 | </part_hist_highbp_treat.DK> |
| 150 | |
| 151 | <part_hist_highbp_treat.comment> |
| 152 | <label>Comment</label> |
| 153 | <type>text</type> |
| 154 | </part_hist_highbp_treat.comment> |
| 155 | |
| 156 | </part_hist_highbp_treat> |
| 157 | |
| 158 | </MAIN> |
| 159 | |
| 160 | </MedicalHistoryInterviewQuestionnaire> |
| 161 | </briccs_questionnaire> |
| 162 | }}} |