@prefix fhir: <http://hl7.org/fhir/> .
@prefix loinc: <https://loinc.org/rdf/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sct: <http://snomed.info/id/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<http://hl7.org/fhir/Group/example-eligibility-criteria-ada-rec-bariatric> a fhir:Group ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "example-eligibility-criteria-ada-rec-bariatric"] ; # 
  fhir:contained ( [
     a fhir:Group ;
     fhir:id [ fhir:v "BMI-Based-Criteria" ] ;
     fhir:title [ fhir:v "CohortDefinition: BMI-based Criteria" ] ;
     fhir:membership [ fhir:v "conceptual" ] ;
     fhir:characteristic ( [
       fhir:code [
         fhir:coding ( [
           a loinc:39156-5 ;
           fhir:system [
             fhir:v "http://loinc.org"^^xsd:anyURI ;
             fhir:l <http://loinc.org>
           ] ;
           fhir:code [ fhir:v "39156-5" ] ;
           fhir:display [ fhir:v "Body mass index (BMI) [Ratio]" ]
         ] )
       ] ;
       fhir:value [
         a fhir:Quantity ;
         fhir:value [ fhir:v "40"^^xsd:decimal ] ;
         fhir:comparator [ fhir:v ">=" ] ;
         fhir:unit [ fhir:v "kg/m2" ] ;
         fhir:system [
           fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ;
           fhir:l <http://unitsofmeasure.org>
         ] ;
         fhir:code [ fhir:v "kg/m2" ]
       ] ;
       fhir:exclude [ fhir:v false ] ;
       fhir:description [ fhir:v "Body Mass Index (BMI) ≥ 40.0 kg/m2" ]
     ] )
  ] [
     a fhir:Group ;
     fhir:id [ fhir:v "BMI-Asian-Americans" ] ;
     fhir:title [ fhir:v "CohortDefinition: BMI ≥ 37.5 kg/m2 in Asian Americans" ] ;
     fhir:membership [ fhir:v "conceptual" ] ;
     fhir:combinationMethod [ fhir:v "all-of" ] ;
     fhir:characteristic ( [
       fhir:code [
         fhir:coding ( [
           a loinc:39156-5 ;
           fhir:system [
             fhir:v "http://loinc.org"^^xsd:anyURI ;
             fhir:l <http://loinc.org>
           ] ;
           fhir:code [ fhir:v "39156-5" ] ;
           fhir:display [ fhir:v "Body mass index (BMI) [Ratio]" ]
         ] )
       ] ;
       fhir:value [
         a fhir:Quantity ;
         fhir:value [ fhir:v 37.5 ] ;
         fhir:comparator [ fhir:v ">=" ] ;
         fhir:unit [ fhir:v "kilogram per square meter (kg/m2)" ] ;
         fhir:system [
           fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ;
           fhir:l <http://unitsofmeasure.org>
         ] ;
         fhir:code [ fhir:v "kg/m2" ]
       ] ;
       fhir:exclude [ fhir:v false ] ;
       fhir:description [ fhir:v "BMI ≥ 37.5 kg/m2" ]
     ] [
       fhir:code [
         fhir:coding ( [
           a sct:103579009 ;
           fhir:system [
             fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
             fhir:l <http://snomed.info/sct>
           ] ;
           fhir:code [ fhir:v "103579009" ] ;
           fhir:display [ fhir:v "Race" ]
         ] )
       ] ;
       fhir:value [
         a fhir:CodeableConcept ;
         fhir:coding ( [
           a sct:103579009 ;
           fhir:system [
             fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
             fhir:l <http://snomed.info/sct>
           ] ;
           fhir:code [ fhir:v "103579009" ]
         ] [
           fhir:system [
             fhir:v "urn:oid:2.16.840.1.113883.6.238"^^xsd:anyURI ;
             fhir:l <urn:oid:2.16.840.1.113883.6.238>
           ] ;
           fhir:code [ fhir:v "2028-9" ] ;
           fhir:display [ fhir:v "Asian" ]
         ] ) ;
         fhir:text [ fhir:v "Asian American" ]
       ] ;
       fhir:exclude [ fhir:v false ] ;
       fhir:description [ fhir:v "Asian American. The evidence and guideline panel decision to modify the BMI threshold for Asian Americans is based on data mostly from Asian Americans not generally including Native Hawaiians and other Pacific Islanders, so it is not explicit whether the modified thresholds apply to Native Hawaiians and other Pacific Islanders. See https://diabetesjournals.org/care/article/38/1/150/37769/BMI-Cut-Points-to-Identify-At-Risk-Asian-Americans for details" ]
     ] )
  ] [
     a fhir:Group ;
     fhir:id [ fhir:v "BMI-35-to-less-than-40" ] ;
     fhir:title [ fhir:v "BMI ≥ 35.0 kg/m2 and ≤ 39.9 kg/m2 who do not achieve durable weight loss and improvement in comorbidities with nonsurgical methods" ] ;
     fhir:description [ fhir:v "BMI ≥ 35.0 kg/m2 and ≤ 39.9 kg/m2 who do not achieve durable weight loss and improvement in comorbidities (including hyperglycemia) with nonsurgical methods." ] ;
     fhir:membership [ fhir:v "conceptual" ] ;
     fhir:combinationMethod [ fhir:v "all-of" ] ;
     fhir:characteristic ( [
       fhir:code [
         fhir:coding ( [
           a loinc:39156-5 ;
           fhir:system [
             fhir:v "http://loinc.org"^^xsd:anyURI ;
             fhir:l <http://loinc.org>
           ] ;
           fhir:code [ fhir:v "39156-5" ] ;
           fhir:display [ fhir:v "Body mass index (BMI) [Ratio]" ]
         ] )
       ] ;
       fhir:value [
         a fhir:Range ;
         fhir:low [
           fhir:value [ fhir:v "35"^^xsd:decimal ] ;
           fhir:unit [ fhir:v "kilogram per square meter (kg/m2)" ] ;
           fhir:system [
             fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ;
             fhir:l <http://unitsofmeasure.org>
           ] ;
           fhir:code [ fhir:v "kg/m2" ]
         ] ;
         fhir:high [
           fhir:value [ fhir:v 39.9 ] ;
           fhir:unit [ fhir:v "kilogram per square meter (kg/m2)" ] ;
           fhir:system [
             fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ;
             fhir:l <http://unitsofmeasure.org>
           ] ;
           fhir:code [ fhir:v "kg/m2" ]
         ]
       ] ;
       fhir:exclude [ fhir:v false ] ;
       fhir:description [ fhir:v "BMI ≥ 35.0 kg/m2 and ≤ 39.9 kg/m2" ]
     ] [
       fhir:code [
         fhir:text [ fhir:v "Defined by CodeableConcept" ]
       ] ;
       fhir:value [
         a fhir:CodeableConcept ;
         fhir:text [ fhir:v "achieving durable weight loss and improvement in comorbidities (including hyperglycemia) with nonsurgical methods" ]
       ] ;
       fhir:exclude [ fhir:v true ] ;
       fhir:description [ fhir:v "who do not achieve durable weight loss and improvement in comorbidities (including hyperglycemia) with nonsurgical methods." ]
     ] )
  ] [
     a fhir:Group ;
     fhir:id [ fhir:v "BMI-32.5-to-less-than-37.5" ] ;
     fhir:title [ fhir:v "BMI ≥ 32.5 kg/m2 and ≤ 37.4 kg/m2 in Asian Americans who do not achieve durable weight loss and improvement in comorbidities with nonsurgical methods" ] ;
     fhir:description [ fhir:v "BMI ≥ 32.5 kg/m2 and ≤ 37.4 kg/m2 in Asian Americans who do not achieve durable weight loss and improvement in comorbidities (including hyperglycemia) with nonsurgical methods." ] ;
     fhir:membership [ fhir:v "conceptual" ] ;
     fhir:combinationMethod [ fhir:v "all-of" ] ;
     fhir:characteristic ( [
       fhir:code [
         fhir:coding ( [
           a loinc:39156-5 ;
           fhir:system [
             fhir:v "http://loinc.org"^^xsd:anyURI ;
             fhir:l <http://loinc.org>
           ] ;
           fhir:code [ fhir:v "39156-5" ] ;
           fhir:display [ fhir:v "Body mass index (BMI) [Ratio]" ]
         ] )
       ] ;
       fhir:value [
         a fhir:Range ;
         fhir:low [
           fhir:value [ fhir:v 32.5 ] ;
           fhir:unit [ fhir:v "kilogram per square meter (kg/m2)" ] ;
           fhir:system [
             fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ;
             fhir:l <http://unitsofmeasure.org>
           ] ;
           fhir:code [ fhir:v "kg/m2" ]
         ] ;
         fhir:high [
           fhir:value [ fhir:v 37.4 ] ;
           fhir:unit [ fhir:v "kilogram per square meter (kg/m2)" ] ;
           fhir:system [
             fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ;
             fhir:l <http://unitsofmeasure.org>
           ] ;
           fhir:code [ fhir:v "kg/m2" ]
         ]
       ] ;
       fhir:exclude [ fhir:v false ] ;
       fhir:description [ fhir:v "BMI ≥ 32.5 kg/m2 and ≤ 37.4 kg/m2" ]
     ] [
       fhir:code [
         fhir:coding ( [
           a sct:103579009 ;
           fhir:system [
             fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
             fhir:l <http://snomed.info/sct>
           ] ;
           fhir:code [ fhir:v "103579009" ] ;
           fhir:display [ fhir:v "Race" ]
         ] )
       ] ;
       fhir:value [
         a fhir:CodeableConcept ;
         fhir:coding ( [
           a sct:103579009 ;
           fhir:system [
             fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
             fhir:l <http://snomed.info/sct>
           ] ;
           fhir:code [ fhir:v "103579009" ]
         ] [
           fhir:system [
             fhir:v "urn:oid:2.16.840.1.113883.6.238"^^xsd:anyURI ;
             fhir:l <urn:oid:2.16.840.1.113883.6.238>
           ] ;
           fhir:code [ fhir:v "2028-9" ] ;
           fhir:display [ fhir:v "Asian" ]
         ] ) ;
         fhir:text [ fhir:v "Asian American" ]
       ] ;
       fhir:exclude [ fhir:v false ] ;
       fhir:description [ fhir:v "Asian American. The evidence and guideline panel decision to modify the BMI threshold for Asian Americans is based on data mostly from Asian Americans not generally including Native Hawaiians and other Pacific Islanders, so it is not explicit whether the modified thresholds apply to Native Hawaiians and other Pacific Islanders. See https://diabetesjournals.org/care/article/38/1/150/37769/BMI-Cut-Points-to-Identify-At-Risk-Asian-Americans for details" ]
     ] [
       fhir:code [
         fhir:text [ fhir:v "Defined by CodeableConcept" ]
       ] ;
       fhir:value [
         a fhir:CodeableConcept ;
         fhir:text [ fhir:v "achieving durable weight loss and improvement in comorbidities (including hyperglycemia) with nonsurgical methods" ]
       ] ;
       fhir:exclude [ fhir:v true ] ;
       fhir:description [ fhir:v "who do not achieve durable weight loss and improvement in comorbidities (including hyperglycemia) with nonsurgical methods." ]
     ] )
  ] [
     a fhir:Group ;
     fhir:id [ fhir:v "BMI-Qualifying-Group" ] ;
     fhir:title [ fhir:v "Body Mass Index (BMI) ≥ 40.0 kg/m2 (BMI ≥ 37.5 kg/m2 in Asian Americans), or BMI ≥ 35.0 kg/m2 and ≤ 39.9 kg/m2 (BMI 32.5-37.4 kg/m2 in Asian Americans) who do not achieve durable weight loss and improvement in comorbidities with nonsurgical methods" ] ;
     fhir:description [ fhir:v "Body Mass Index (BMI) ≥ 40.0 kg/m2 (BMI ≥ 37.5 kg/m2 in Asian Americans), or BMI ≥ 35.0 kg/m2 and ≤ 39.9 kg/m2 (BMI 32.5-37.4 kg/m2 in Asian Americans) who do not achieve durable weight loss and improvement in comorbidities (including hyperglycemia) with nonsurgical methods." ] ;
     fhir:membership [ fhir:v "conceptual" ] ;
     fhir:combinationMethod [ fhir:v "any-of" ] ;
     fhir:characteristic ( [
       fhir:code [
         fhir:text [ fhir:v "Defined by Reference" ]
       ] ;
       fhir:value [
         a fhir:Reference ;
         fhir:l <#BMI-Based-Criteria> ;
         fhir:reference [ fhir:v "#BMI-Based-Criteria" ] ;
         fhir:type [
           fhir:v "Group"^^xsd:anyURI ;
           fhir:l fhir:Group
         ] ;
         fhir:display [ fhir:v "CohortDefinition: BMI-based Criteria" ]
       ] ;
       fhir:exclude [ fhir:v false ]
     ] [
       fhir:code [
         fhir:text [ fhir:v "Defined by Reference" ]
       ] ;
       fhir:value [
         a fhir:Reference ;
         fhir:l <#BMI-Asian-Americans> ;
         fhir:reference [ fhir:v "#BMI-Asian-Americans" ] ;
         fhir:type [
           fhir:v "Group"^^xsd:anyURI ;
           fhir:l fhir:Group
         ] ;
         fhir:display [ fhir:v "CohortDefinition: BMI ≥ 37.5 kg/m2 in Asian Americans" ]
       ] ;
       fhir:exclude [ fhir:v false ]
     ] [
       fhir:code [
         fhir:text [ fhir:v "Defined by Reference" ]
       ] ;
       fhir:value [
         a fhir:Reference ;
         fhir:l <#BMI-35-to-less-than-40> ;
         fhir:reference [ fhir:v "#BMI-35-to-less-than-40" ] ;
         fhir:type [
           fhir:v "Group"^^xsd:anyURI ;
           fhir:l fhir:Group
         ] ;
         fhir:display [ fhir:v "BMI ≥ 35.0 kg/m2 and ≤ 39.9 kg/m2 who do not achieve durable weight loss and improvement in comorbidities with nonsurgical methods" ]
       ] ;
       fhir:exclude [ fhir:v false ]
     ] [
       fhir:code [
         fhir:text [ fhir:v "Defined by Reference" ]
       ] ;
       fhir:value [
         a fhir:Reference ;
         fhir:l <#BMI-32.5-to-less-than-37.5> ;
         fhir:reference [ fhir:v "#BMI-32.5-to-less-than-37.5" ] ;
         fhir:type [
           fhir:v "Group"^^xsd:anyURI ;
           fhir:l fhir:Group
         ] ;
         fhir:display [ fhir:v "BMI ≥ 32.5 kg/m2 and ≤ 37.4 kg/m2 in Asian Americans who do not achieve durable weight loss and improvement in comorbidities with nonsurgical methods" ]
       ] ;
       fhir:exclude [ fhir:v false ]
     ] )
  ] [
     a fhir:Group ;
     fhir:id [ fhir:v "Certain-Cardiovascular-Events" ] ;
     fhir:title [ fhir:v "Cardiovascular event (any of: myocardial infarction, acute coronary syndrome, coronary artery angioplasty or bypass, stroke)" ] ;
     fhir:description [ fhir:v "Cardiovascular event (any of: myocardial infarction, acute coronary syndrome, coronary artery angioplasty or bypass, stroke). Placeholder for now to represent 'screened surgical candidate'." ] ;
     fhir:membership [ fhir:v "conceptual" ] ;
     fhir:combinationMethod [ fhir:v "any-of" ] ;
     fhir:characteristic ( [
       fhir:code [
         fhir:coding ( [
           a sct:64572001 ;
           fhir:system [
             fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
             fhir:l <http://snomed.info/sct>
           ] ;
           fhir:code [ fhir:v "64572001" ] ;
           fhir:display [ fhir:v "Disease (disorder)" ]
         ] )
       ] ;
       fhir:value [
         a fhir:Reference ;
         fhir:l <http://hl7.org/fhir/ValueSet/Acute-Coronary-Heart-Disease-Value-Set> ;
         fhir:reference [ fhir:v "ValueSet/Acute-Coronary-Heart-Disease-Value-Set" ] ;
         fhir:type [
           fhir:v "ValueSet"^^xsd:anyURI ;
           fhir:l fhir:ValueSet
         ] ;
         fhir:display [ fhir:v "Acute Coronary Heart Disease Value Set" ]
       ] ;
       fhir:exclude [ fhir:v false ] ;
       fhir:description [ fhir:v "acute coronary heart disease (a value set covering many forms)" ]
     ] [
       fhir:code [
         fhir:coding ( [
           a sct:71388002 ;
           fhir:system [
             fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
             fhir:l <http://snomed.info/sct>
           ] ;
           fhir:code [ fhir:v "71388002" ] ;
           fhir:display [ fhir:v "Procedure (procedure)" ]
         ] )
       ] ;
       fhir:value [
         a fhir:CodeableConcept ;
         fhir:coding ( [
           a sct:81266008 ;
           fhir:system [
             fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
             fhir:l <http://snomed.info/sct>
           ] ;
           fhir:code [ fhir:v "81266008" ] ;
           fhir:display [ fhir:v "Heart revascularization (procedure)" ]
         ] )
       ] ;
       fhir:exclude [ fhir:v false ]
     ] [
       fhir:code [
         fhir:coding ( [
           a sct:64572001 ;
           fhir:system [
             fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
             fhir:l <http://snomed.info/sct>
           ] ;
           fhir:code [ fhir:v "64572001" ] ;
           fhir:display [ fhir:v "Disease (disorder)" ]
         ] )
       ] ;
       fhir:value [
         a fhir:CodeableConcept ;
         fhir:coding ( [
           a sct:230690007 ;
           fhir:system [
             fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
             fhir:l <http://snomed.info/sct>
           ] ;
           fhir:code [ fhir:v "230690007" ] ;
           fhir:display [ fhir:v "Cerebrovascular accident (disorder)" ]
         ] )
       ] ;
       fhir:exclude [ fhir:v false ]
     ] )
  ] [
     a fhir:Group ;
     fhir:id [ fhir:v "Cancer" ] ;
     fhir:title [ fhir:v "Cancer of any kind (except basal cell skin cancer or cancer in situ) unless documented to be disease-free for five years" ] ;
     fhir:description [ fhir:v "Cancer of any kind (except basal cell skin cancer or cancer in situ) unless documented to be disease-free for five years. This combination logic fails if the patient has both a basal cell skin cancer or cancer in situ and a cancer of another kind. Placeholder for now to represent 'screened surgical candidate'." ] ;
     fhir:membership [ fhir:v "conceptual" ] ;
     fhir:combinationMethod [ fhir:v "all-of" ] ;
     fhir:characteristic ( [
       fhir:code [
         fhir:coding ( [
           a sct:64572001 ;
           fhir:system [
             fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
             fhir:l <http://snomed.info/sct>
           ] ;
           fhir:code [ fhir:v "64572001" ] ;
           fhir:display [ fhir:v "Disease (disorder)" ]
         ] )
       ] ;
       fhir:value [
         a fhir:CodeableConcept ;
         fhir:coding ( [
           a sct:363346000 ;
           fhir:system [
             fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
             fhir:l <http://snomed.info/sct>
           ] ;
           fhir:code [ fhir:v "363346000" ] ;
           fhir:display [ fhir:v "Malignant neoplastic disease (disorder)" ]
         ] )
       ] ;
       fhir:exclude [ fhir:v false ] ;
       fhir:description [ fhir:v "Cancer of any kind" ]
     ] [
       fhir:code [
         fhir:coding ( [
           a sct:64572001 ;
           fhir:system [
             fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
             fhir:l <http://snomed.info/sct>
           ] ;
           fhir:code [ fhir:v "64572001" ] ;
           fhir:display [ fhir:v "Disease (disorder)" ]
         ] )
       ] ;
       fhir:value [
         a fhir:CodeableConcept ;
         fhir:coding ( [
           a sct:254701007 ;
           fhir:system [
             fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
             fhir:l <http://snomed.info/sct>
           ] ;
           fhir:code [ fhir:v "254701007" ] ;
           fhir:display [ fhir:v "Basal cell carcinoma of skin (disorder)" ]
         ] )
       ] ;
       fhir:exclude [ fhir:v true ] ;
       fhir:description [ fhir:v "(except basal cell skin cancer)" ]
     ] [
       fhir:code [
         fhir:coding ( [
           a sct:64572001 ;
           fhir:system [
             fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
             fhir:l <http://snomed.info/sct>
           ] ;
           fhir:code [ fhir:v "64572001" ] ;
           fhir:display [ fhir:v "Disease (disorder)" ]
         ] )
       ] ;
       fhir:value [
         a fhir:CodeableConcept ;
         fhir:coding ( [
           a sct:109355002 ;
           fhir:system [
             fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
             fhir:l <http://snomed.info/sct>
           ] ;
           fhir:code [ fhir:v "109355002" ] ;
           fhir:display [ fhir:v "Carcinoma in situ (disorder)" ]
         ] )
       ] ;
       fhir:exclude [ fhir:v true ] ;
       fhir:description [ fhir:v "(except cancer in situ)" ]
     ] [
       fhir:code [
         fhir:text [ fhir:v "Defined by CodeableConcept" ]
       ] ;
       fhir:value [
         a fhir:CodeableConcept ;
         fhir:coding ( [
           a sct:395100000 ;
           fhir:system [
             fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
             fhir:l <http://snomed.info/sct>
           ] ;
           fhir:code [ fhir:v "395100000" ] ;
           fhir:display [ fhir:v "No evidence of cancer found (situation)" ]
         ] )
       ] ;
       fhir:exclude [ fhir:v true ] ;
       fhir:description [ fhir:v "unless documented to be disease-free for five years" ] ;
       fhir:relativeTime ( [
         fhir:offset [
           a fhir:Range ;
           fhir:low [
             fhir:value [ fhir:v "-5"^^xsd:decimal ] ;
             fhir:unit [ fhir:v "years" ] ;
             fhir:system [
               fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ;
               fhir:l <http://unitsofmeasure.org>
             ] ;
             fhir:code [ fhir:v "a" ]
           ] ;
           fhir:high [
             fhir:value [ fhir:v "0"^^xsd:decimal ] ;
             fhir:unit [ fhir:v "years" ] ;
             fhir:system [
               fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ;
               fhir:l <http://unitsofmeasure.org>
             ] ;
             fhir:code [ fhir:v "a" ]
           ]
         ] ;
         fhir:text [ fhir:v "for five years" ]
       ] )
     ] )
  ] ) ; # 
  fhir:extension ( [
     fhir:url [
       fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-wg>
     ] ;
     fhir:value [
       a fhir:Code ;
       fhir:v "fhir"
     ]
  ] ) ; # 
  fhir:name [ fhir:v "Recommend bariatric surgery if BMI 35 or higher"] ; # 
  fhir:title [ fhir:v "RecommendationEligibilityCriteria: Eligibility Criteria for Bariatric Surgery (ADA Recommendation 8.16)"] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:publisher [ fhir:v "HL7 International / FHIR Infrastructure"] ; # 
  fhir:contact ( [
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "http://www.hl7.org/Special/committees/fiwg" ]
     ] )
  ] ) ; # 
  fhir:description [ fhir:v "Inclusion Criteria: [[1]] Adults. [[2]] Diagnosed with type 2 diabetes. [[3]] Body Mass Index (BMI) ≥ 40.0 kg/m2 (BMI ≥ 37.5 kg/m2 in Asian Americans), or BMI ≥ 35.0 kg/m2 and ≤ 39.9 kg/m2 (BMI 32.5-37.4 kg/m2 in Asian Americans) who do not achieve durable weight loss and improvement in comorbidities (including hyperglycemia) with nonsurgical methods. [[4]] Screened surgical candidates."] ; # 
  fhir:copyright [ fhir:v "https://creativecommons.org/licenses/by-nc-sa/4.0/"] ; # 
  fhir:type [ fhir:v "person"] ; # 
  fhir:membership [ fhir:v "definitional"] ; # 
  fhir:combinationMethod [ fhir:v "all-of"] ; # 
  fhir:characteristic ( [
     fhir:code [
       fhir:coding ( [
         a sct:397669002 ;
         fhir:system [
           fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
           fhir:l <http://snomed.info/sct>
         ] ;
         fhir:code [ fhir:v "397669002" ] ;
         fhir:display [ fhir:v "Age" ]
       ] )
     ] ;
     fhir:value [
       a fhir:Quantity ;
       fhir:value [ fhir:v "18"^^xsd:decimal ] ;
       fhir:comparator [ fhir:v ">=" ] ;
       fhir:unit [ fhir:v "years" ] ;
       fhir:system [
         fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ;
         fhir:l <http://unitsofmeasure.org>
       ] ;
       fhir:code [ fhir:v "a" ]
     ] ;
     fhir:exclude [ fhir:v false ] ;
     fhir:description [ fhir:v "Adult" ]
  ] [
     fhir:code [
       fhir:coding ( [
         a sct:64572001 ;
         fhir:system [
           fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
           fhir:l <http://snomed.info/sct>
         ] ;
         fhir:code [ fhir:v "64572001" ] ;
         fhir:display [ fhir:v "Disease (disorder)" ]
       ] )
     ] ;
     fhir:value [
       a fhir:CodeableConcept ;
       fhir:coding ( [
         a sct:44054006 ;
         fhir:system [
           fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
           fhir:l <http://snomed.info/sct>
         ] ;
         fhir:code [ fhir:v "44054006" ] ;
         fhir:display [ fhir:v "Diabetes mellitus type 2 (disorder)" ]
       ] )
     ] ;
     fhir:exclude [ fhir:v false ] ;
     fhir:description [ fhir:v "Diabetes mellitus type 2 (disorder)" ]
  ] [
     fhir:code [
       fhir:text [ fhir:v "Defined by Reference" ]
     ] ;
     fhir:value [
       a fhir:Reference ;
       fhir:l <#BMI-Qualifying-Group> ;
       fhir:reference [ fhir:v "#BMI-Qualifying-Group" ] ;
       fhir:type [
         fhir:v "Group"^^xsd:anyURI ;
         fhir:l fhir:Group
       ] ;
       fhir:display [ fhir:v "Body Mass Index (BMI) ≥ 40.0 kg/m2 (BMI ≥ 37.5 kg/m2 in Asian Americans), or BMI ≥ 35.0 kg/m2 and ≤ 39.9 kg/m2 (BMI 32.5-37.4 kg/m2 in Asian Americans) who do not achieve durable weight loss and improvement in comorbidities with nonsurgical methods" ]
     ] ;
     fhir:exclude [ fhir:v false ]
  ] [
     fhir:code [
       fhir:coding ( [
         a sct:64572001 ;
         fhir:system [
           fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
           fhir:l <http://snomed.info/sct>
         ] ;
         fhir:code [ fhir:v "64572001" ] ;
         fhir:display [ fhir:v "Disease (disorder)" ]
       ] )
     ] ;
     fhir:value [
       a fhir:CodeableConcept ;
       fhir:coding ( [
         a sct:44054006 ;
         fhir:system [
           fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
           fhir:l <http://snomed.info/sct>
         ] ;
         fhir:code [ fhir:v "44054006" ] ;
         fhir:display [ fhir:v "Diabetes mellitus type 2 (disorder)" ]
       ] )
     ] ;
     fhir:exclude [ fhir:v false ] ;
     fhir:description [ fhir:v "Diabetes mellitus type 2 (disorder)" ]
  ] [
     fhir:code [
       fhir:text [ fhir:v "Defined by Reference" ]
     ] ;
     fhir:value [
       a fhir:Reference ;
       fhir:l <#Certain-Cardiovascular-Events> ;
       fhir:reference [ fhir:v "#Certain-Cardiovascular-Events" ] ;
       fhir:type [
         fhir:v "Group"^^xsd:anyURI ;
         fhir:l fhir:Group
       ] ;
       fhir:display [ fhir:v "Cardiovascular event (any of: myocardial infarction, acute coronary syndrome, coronary artery angioplasty or bypass, stroke)" ]
     ] ;
     fhir:exclude [ fhir:v true ] ;
     fhir:description [ fhir:v "Cardiovascular event (myocardial infarction, acute coronary syndrome, coronary artery angioplasty or bypass, stroke) in the past six months." ] ;
     fhir:relativeTime ( [
       fhir:offset [
         a fhir:Range ;
         fhir:low [
           fhir:value [ fhir:v "-6"^^xsd:decimal ] ;
           fhir:unit [ fhir:v "months" ] ;
           fhir:system [
             fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ;
             fhir:l <http://unitsofmeasure.org>
           ] ;
           fhir:code [ fhir:v "mo" ]
         ] ;
         fhir:high [
           fhir:value [ fhir:v "0"^^xsd:decimal ] ;
           fhir:unit [ fhir:v "months" ] ;
           fhir:system [
             fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ;
             fhir:l <http://unitsofmeasure.org>
           ] ;
           fhir:code [ fhir:v "mo" ]
         ]
       ] ;
       fhir:text [ fhir:v "in the past six months" ]
     ] )
  ] [
     fhir:code [
       fhir:coding ( [
         a sct:64572001 ;
         fhir:system [
           fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
           fhir:l <http://snomed.info/sct>
         ] ;
         fhir:code [ fhir:v "64572001" ] ;
         fhir:display [ fhir:v "Disease (disorder)" ]
       ] )
     ] ;
     fhir:value [
       a fhir:CodeableConcept ;
       fhir:text [ fhir:v "Current evidence of congestive heart failure, angina pectoris, or symptomatic peripheral vascular disease." ]
     ] ;
     fhir:exclude [ fhir:v true ] ;
     fhir:description [ fhir:v "Current evidence of congestive heart failure, angina pectoris, or symptomatic peripheral vascular disease. This may be possible to encode as presence of Disease(disorder) without 'in remission. Placeholder for now to represent 'screened surgical candidate'." ]
  ] [
     fhir:code [
       fhir:coding ( [
         a sct:64572001 ;
         fhir:system [
           fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
           fhir:l <http://snomed.info/sct>
         ] ;
         fhir:code [ fhir:v "64572001" ] ;
         fhir:display [ fhir:v "Disease (disorder)" ]
       ] )
     ] ;
     fhir:value [
       a fhir:CodeableConcept ;
       fhir:text [ fhir:v "Cardiac stress test indicating that surgery or IMM would not be safe." ]
     ] ;
     fhir:exclude [ fhir:v true ] ;
     fhir:description [ fhir:v "Cardiac stress test indicating that surgery or IMM would not be safe. Placeholder for now to represent 'screened surgical candidate'." ]
  ] [
     fhir:code [
       fhir:coding ( [
         a sct:64572001 ;
         fhir:system [
           fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
           fhir:l <http://snomed.info/sct>
         ] ;
         fhir:code [ fhir:v "64572001" ] ;
         fhir:display [ fhir:v "Disease (disorder)" ]
       ] )
     ] ;
     fhir:value [
       a fhir:CodeableConcept ;
       fhir:coding ( [
         a sct:59282003 ;
         fhir:system [
           fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
           fhir:l <http://snomed.info/sct>
         ] ;
         fhir:code [ fhir:v "59282003" ] ;
         fhir:display [ fhir:v "Pulmonary embolism (disorder)" ]
       ] )
     ] ;
     fhir:exclude [ fhir:v true ] ;
     fhir:description [ fhir:v "Pulmonary embolus in the past six months. Placeholder for now to represent 'screened surgical candidate'." ] ;
     fhir:relativeTime ( [
       fhir:offset [
         a fhir:Range ;
         fhir:low [
           fhir:value [ fhir:v "-6"^^xsd:decimal ] ;
           fhir:unit [ fhir:v "months" ] ;
           fhir:system [
             fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ;
             fhir:l <http://unitsofmeasure.org>
           ] ;
           fhir:code [ fhir:v "mo" ]
         ] ;
         fhir:high [
           fhir:value [ fhir:v "0"^^xsd:decimal ] ;
           fhir:unit [ fhir:v "months" ] ;
           fhir:system [
             fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ;
             fhir:l <http://unitsofmeasure.org>
           ] ;
           fhir:code [ fhir:v "mo" ]
         ]
       ] ;
       fhir:text [ fhir:v "in the past six months" ]
     ] )
  ] [
     fhir:code [
       fhir:coding ( [
         a sct:64572001 ;
         fhir:system [
           fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
           fhir:l <http://snomed.info/sct>
         ] ;
         fhir:code [ fhir:v "64572001" ] ;
         fhir:display [ fhir:v "Disease (disorder)" ]
       ] )
     ] ;
     fhir:value [
       a fhir:CodeableConcept ;
       fhir:coding ( [
         a sct:64156001 ;
         fhir:system [
           fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
           fhir:l <http://snomed.info/sct>
         ] ;
         fhir:code [ fhir:v "64156001" ] ;
         fhir:display [ fhir:v "Thrombophlebitis (disorder)" ]
       ] )
     ] ;
     fhir:exclude [ fhir:v true ] ;
     fhir:description [ fhir:v "Thrombophlebitis in the past six months. Placeholder for now to represent 'screened surgical candidate'." ] ;
     fhir:relativeTime ( [
       fhir:offset [
         a fhir:Range ;
         fhir:low [
           fhir:value [ fhir:v "-6"^^xsd:decimal ] ;
           fhir:unit [ fhir:v "months" ] ;
           fhir:system [
             fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ;
             fhir:l <http://unitsofmeasure.org>
           ] ;
           fhir:code [ fhir:v "mo" ]
         ] ;
         fhir:high [
           fhir:value [ fhir:v "0"^^xsd:decimal ] ;
           fhir:unit [ fhir:v "months" ] ;
           fhir:system [
             fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ;
             fhir:l <http://unitsofmeasure.org>
           ] ;
           fhir:code [ fhir:v "mo" ]
         ]
       ] ;
       fhir:text [ fhir:v "in the past six months" ]
     ] )
  ] [
     fhir:code [
       fhir:text [ fhir:v "Defined by Reference" ]
     ] ;
     fhir:value [
       a fhir:Reference ;
       fhir:l <#Cancer> ;
       fhir:reference [ fhir:v "#Cancer" ] ;
       fhir:type [
         fhir:v "Group"^^xsd:anyURI ;
         fhir:l fhir:Group
       ] ;
       fhir:display [ fhir:v "Cancer of any kind (except basal cell skin cancer or cancer in situ) unless documented to be disease-free for five years" ]
     ] ;
     fhir:exclude [ fhir:v true ]
  ] [
     fhir:code [
       fhir:text [ fhir:v "Defined by CodeableConcept" ]
     ] ;
     fhir:value [
       a fhir:CodeableConcept ;
       fhir:text [ fhir:v "history of coagulopathy" ]
     ] ;
     fhir:exclude [ fhir:v true ] ;
     fhir:description [ fhir:v "History of coagulopathy. Placeholder for now to represent 'screened surgical candidate'." ]
  ] [
     fhir:code [
       fhir:coding ( [
         a loinc:718-7 ;
         fhir:system [
           fhir:v "http://loinc.org"^^xsd:anyURI ;
           fhir:l <http://loinc.org>
         ] ;
         fhir:code [ fhir:v "718-7" ] ;
         fhir:display [ fhir:v "Hemoglobin [Mass/volume] in Blood" ]
       ] )
     ] ;
     fhir:value [
       a fhir:Quantity ;
       fhir:value [ fhir:v "-1"^^xsd:decimal ] ;
       fhir:comparator [ fhir:v "<=" ] ;
       fhir:unit [ fhir:v "GramsPerDeciLiter" ] ;
       fhir:system [
         fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ;
         fhir:l <http://unitsofmeasure.org>
       ] ;
       fhir:code [ fhir:v "g/dL" ]
     ] ;
     fhir:exclude [ fhir:v true ] ;
     fhir:description [ fhir:v "Significant anemia (hemoglobin 1.0 g or more below normal range). Placeholder for now to represent 'screened surgical candidate'." ] ;
     fhir:offset [
       fhir:coding ( [
         fhir:system [
           fhir:v "http://hl7.org/fhir/characteristic-offset"^^xsd:anyURI ;
           fhir:l <http://hl7.org/fhir/characteristic-offset>
         ] ;
         fhir:code [ fhir:v "LNL" ] ;
         fhir:display [ fhir:v "Lower Normal Limit" ]
       ] )
     ]
  ] [
     fhir:code [
       fhir:coding ( [
         a loinc:2160-0 ;
         fhir:system [
           fhir:v "http://loinc.org"^^xsd:anyURI ;
           fhir:l <http://loinc.org>
         ] ;
         fhir:code [ fhir:v "2160-0" ] ;
         fhir:display [ fhir:v "Creatinine [Mass/volume] in Serum or Plasma" ]
       ] )
     ] ;
     fhir:value [
       a fhir:Quantity ;
       fhir:value [ fhir:v 1.5 ] ;
       fhir:comparator [ fhir:v ">=" ] ;
       fhir:unit [ fhir:v "MilliGramsPerDeciLiter" ] ;
       fhir:system [
         fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ;
         fhir:l <http://unitsofmeasure.org>
       ] ;
       fhir:code [ fhir:v "mg/dL" ]
     ] ;
     fhir:exclude [ fhir:v true ] ;
     fhir:description [ fhir:v "Serum creatinine ≥ 1.5 mg/dl. Placeholder for now to represent 'screened surgical candidate'." ]
  ] ) . # 

<http://hl7.org/fhir/ValueSet/Acute-Coronary-Heart-Disease-Value-Set> a fhir:ValueSet .

# -------------------------------------------------------------------------------------

