@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<http://resmed.com/fhir/core/CodeSystem/rmd-ruleOutcomeComponent-cs> a fhir:CodeSystem ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "rmd-ruleOutcomeComponent-cs"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>This case-sensitive code system <code>http://resmed.com/fhir/core/CodeSystem/rmd-ruleOutcomeComponent-cs</code> defines the following codes:</p><table class=\"codes\"><tr><td style=\"white-space:nowrap\"><b>Code</b></td><td><b>Display</b></td><td><b>Definition</b></td></tr><tr><td style=\"white-space:nowrap\">average-daily-use<a name=\"rmd-ruleOutcomeComponent-cs-average-daily-use\"> </a></td><td>Average Daily Use</td><td>The average daily use (in hours) the patient has been using their device within the compliance period.</td></tr><tr><td style=\"white-space:nowrap\">compliant-days-in-last-30<a name=\"rmd-ruleOutcomeComponent-cs-compliant-days-in-last-30\"> </a></td><td>Recent Compliant Days</td><td>The number of days within the last 30 day period the patient was in compliance with the use of their device.</td></tr><tr><td style=\"white-space:nowrap\">threshold<a name=\"rmd-ruleOutcomeComponent-cs-threshold\"> </a></td><td>Threshold</td><td>The value against which the specified statistic is compared.</td></tr><tr><td style=\"white-space:nowrap\">period<a name=\"rmd-ruleOutcomeComponent-cs-period\"> </a></td><td>Period</td><td>The period over which the rule is being monitored.</td></tr><tr><td style=\"white-space:nowrap\">compliance-period<a name=\"rmd-ruleOutcomeComponent-cs-compliance-period\"> </a></td><td>Compliance Period</td><td>The period over which a patient must prove they are in compliance with the use of their device.</td></tr><tr><td style=\"white-space:nowrap\">evaluation-period<a name=\"rmd-ruleOutcomeComponent-cs-evaluation-period\"> </a></td><td>Evaluation Period</td><td>The period over which data from a patient's device is compared to the threshold, or threshold range.</td></tr><tr><td style=\"white-space:nowrap\">evaluations<a name=\"rmd-ruleOutcomeComponent-cs-evaluations\"> </a></td><td>Evaluations</td><td>The number of evaluations within the evaluation period the metric must be within the specified threshold.</td></tr><tr><td style=\"white-space:nowrap\">clinical-metric<a name=\"rmd-ruleOutcomeComponent-cs-clinical-metric\"> </a></td><td>Clinical Metric</td><td>The name of the clinical metric being evaluated.</td></tr><tr><td style=\"white-space:nowrap\">statistic<a name=\"rmd-ruleOutcomeComponent-cs-statistic\"> </a></td><td>Statstic</td><td>The stastistic for the clinical metric specified.</td></tr><tr><td style=\"white-space:nowrap\">comparison-operator<a name=\"rmd-ruleOutcomeComponent-cs-comparison-operator\"> </a></td><td>Comparison Operator</td><td>The arithmetic operation used when comparing the specified statistic and threshold.</td></tr></table></div>"
  ] ; # 
  fhir:url [ fhir:v "http://resmed.com/fhir/core/CodeSystem/rmd-ruleOutcomeComponent-cs"^^xsd:anyURI] ; # 
  fhir:version [ fhir:v "0.37.0"] ; # 
  fhir:name [ fhir:v "CodeSystemResMedRuleComponentCodes"] ; # 
  fhir:title [ fhir:v "ResMed Rule Outcome Components Code System"] ; # 
  fhir:status [ fhir:v "draft"] ; # 
  fhir:experimental [ fhir:v "false"^^xsd:boolean] ; # 
  fhir:date [ fhir:v "2024-01-11T18:32:48+00:00"^^xsd:dateTime] ; # 
  fhir:publisher [ fhir:v "ResMed Corp"] ; # 
  fhir:contact ( [
     fhir:name [ fhir:v "ResMed Corp" ] ;
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "https://www.resmed.com" ]
     ] [
       fhir:system [ fhir:v "email" ] ;
       fhir:value [ fhir:v "atomteam-halifax@resmed.com" ]
     ] )
  ] ) ; # 
  fhir:description [ fhir:v "A code system consisting of codes identifying rule outcome elements"] ; # 
  fhir:jurisdiction ( [
     fhir:coding ( [
       fhir:system [ fhir:v "http://unstats.un.org/unsd/methods/m49/m49.htm"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "001" ]
     ] )
  ] ) ; # 
  fhir:caseSensitive [ fhir:v "true"^^xsd:boolean] ; # 
  fhir:content [ fhir:v "complete"] ; # 
  fhir:count [ fhir:v "10"^^xsd:nonNegativeInteger] ; # 
  fhir:concept ( [
     fhir:code [ fhir:v "average-daily-use" ] ;
     fhir:display [ fhir:v "Average Daily Use" ] ;
     fhir:definition [ fhir:v "The average daily use (in hours) the patient has been using their device within the compliance period." ]
  ] [
     fhir:code [ fhir:v "compliant-days-in-last-30" ] ;
     fhir:display [ fhir:v "Recent Compliant Days" ] ;
     fhir:definition [ fhir:v "The number of days within the last 30 day period the patient was in compliance with the use of their device." ]
  ] [
     fhir:code [ fhir:v "threshold" ] ;
     fhir:display [ fhir:v "Threshold" ] ;
     fhir:definition [ fhir:v "The value against which the specified statistic is compared." ]
  ] [
     fhir:code [ fhir:v "period" ] ;
     fhir:display [ fhir:v "Period" ] ;
     fhir:definition [ fhir:v "The period over which the rule is being monitored." ]
  ] [
     fhir:code [ fhir:v "compliance-period" ] ;
     fhir:display [ fhir:v "Compliance Period" ] ;
     fhir:definition [ fhir:v "The period over which a patient must prove they are in compliance with the use of their device." ]
  ] [
     fhir:code [ fhir:v "evaluation-period" ] ;
     fhir:display [ fhir:v "Evaluation Period" ] ;
     fhir:definition [ fhir:v "The period over which data from a patient's device is compared to the threshold, or threshold range." ]
  ] [
     fhir:code [ fhir:v "evaluations" ] ;
     fhir:display [ fhir:v "Evaluations" ] ;
     fhir:definition [ fhir:v "The number of evaluations within the evaluation period the metric must be within the specified threshold." ]
  ] [
     fhir:code [ fhir:v "clinical-metric" ] ;
     fhir:display [ fhir:v "Clinical Metric" ] ;
     fhir:definition [ fhir:v "The name of the clinical metric being evaluated." ]
  ] [
     fhir:code [ fhir:v "statistic" ] ;
     fhir:display [ fhir:v "Statstic" ] ;
     fhir:definition [ fhir:v "The stastistic for the clinical metric specified." ]
  ] [
     fhir:code [ fhir:v "comparison-operator" ] ;
     fhir:display [ fhir:v "Comparison Operator" ] ;
     fhir:definition [ fhir:v "The arithmetic operation used when comparing the specified statistic and threshold." ]
  ] ) . # 

# -------------------------------------------------------------------------------------

