WADA List
0.1.0 - CI Build
WADA List, published by adamzk. This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/adamzkover/wada-list-fhir/ and changes regularly. See the Directory of published versions
Official URL: https://folk.ntnu.no/adamzk/it6103/Library/WADAList | Version: 0.1.0 | |||
Active as of 2024-11-26 | Computable Name: WADAList |
Main Library for the computable representation of WADA’s List of Prohibited Substances and Methods
Generated Narrative: Library WADAList
Depends On | Library WADAListS1 | WADA List S1version: null0.1.0) |
Depends On | Library WADAListS2 | WADA List S2version: null0.1.0) |
Patient | out | 0 | 1 | Patient |
HasMatch | out | 0 | 1 | boolean |
MatchingIngredientDetails | out | 0 | 1 | string |
Type: Medication (Medication) |
text/cql
library WADAList version '0.1.0'
using FHIR version '4.0.1'
include FHIRHelpers version '4.0.1' called FHIRHelpers
include WADAListS1 version '0.1.0' called WADAListS1
include WADAListS2 version '0.1.0' called WADAListS2
context Patient
define private Meds:
[Medication] M
return M
define private Cards:
({
WADAListS1.GetCard(Meds),
WADAListS2.GetCard(Meds)
}) C where C != ''
return C
define public HasMatch:
Count(Cards) > 0
define public MatchingIngredientDetails:
Combine(Cards, '; ')
Content not shown - (
application/elm+xml
, size = 5Kb )
Content not shown - (
application/elm+json
, size = 8Kb )