@prefix fhir: <http://hl7.org/fhir/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .

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

[] a fhir:ValueSet;
  fhir:Resource.id [ fhir:value "hospice-finding"];
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-computablevalueset";
       fhir:index 0
     ], [
       fhir:value "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-executablevalueset";
       fhir:index 1
     ]
  ];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ]
  ];
  fhir:DomainResource.extension [
     fhir:index 0;
     fhir:Extension.url [ fhir:value "http://fhir.org/guides/cdc/opioid-cds/StructureDefinition/cdc-valueset-clinical-focus" ];
     fhir:Extension.value [ fhir:value "Finding codes for receiving hospice care" ]
  ], [
     fhir:index 1;
     fhir:Extension.url [ fhir:value "http://fhir.org/guides/cdc/opioid-cds/StructureDefinition/cdc-valueset-dataelement-scope" ];
     fhir:Extension.value [ fhir:value "Finding" ]
  ], [
     fhir:index 2;
     fhir:Extension.url [ fhir:value "http://fhir.org/guides/cdc/opioid-cds/StructureDefinition/cdc-valueset-exclusion-criteria" ];
     fhir:Extension.value [ fhir:value "Codes related" ]
  ], [
     fhir:index 3;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/valueset-author" ];
     fhir:Extension.value [
       fhir:ContactDetail.name [ fhir:value "MD Partners, Inc." ];
       fhir:ContactDetail.telecom [
         fhir:index 0;
         fhir:ContactPoint.system [ fhir:value "email" ];
         fhir:ContactPoint.value [ fhir:value "info@mdpartners.com" ]
       ]
     ]
  ], [
     fhir:index 4;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-knowledgeCapability" ];
     fhir:Extension.value [ fhir:value "computable" ]
  ], [
     fhir:index 5;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-knowledgeRepresentationLevel" ];
     fhir:Extension.value [ fhir:value "structured" ]
  ], [
     fhir:index 6;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-knowledgeCapability" ];
     fhir:Extension.value [ fhir:value "executable" ]
  ], [
     fhir:index 7;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-knowledgeRepresentationLevel" ];
     fhir:Extension.value [ fhir:value "executable" ]
  ], [
     fhir:index 8;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-usageWarning" ];
     fhir:Extension.value [ fhir:value "This value set contains a point-in-time expansion enumerating the codes that meet the value set intent. As new versions of the code systems used by the value set are released, the contents of this expansion will need to be updated to incorporate newly defined codes that meet the value set intent. Before, and periodically during production use, the value set expansion contents SHOULD be updated. The value set expansion specifies the timestamp when the expansion was produced, SHOULD contain the parameters used for the expansion, and SHALL contain the codes that are obtained by evaluating the value set definition. If this is ONLY an executable value set, a distributable definition of the value set must be obtained to compute the updated expansion." ]
  ], [
     fhir:index 9;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/valueset-author" ];
     fhir:Extension.value [
       fhir:ContactDetail.name [ fhir:value "MD Partners, Inc." ];
       fhir:ContactDetail.telecom [
         fhir:index 0;
         fhir:ContactPoint.system [ fhir:value "email" ];
         fhir:ContactPoint.value [ fhir:value "info@mdpartners.com" ]
       ]
     ]
  ];
  fhir:ValueSet.url [ fhir:value "http://fhir.org/guides/cdc/opioid-cds/ValueSet/hospice-finding"];
  fhir:ValueSet.version [ fhir:value "2022.1.0"];
  fhir:ValueSet.name [ fhir:value "HOSPICE_FINDING"];
  fhir:ValueSet.title [ fhir:value "Hospice Finding"];
  fhir:ValueSet.status [ fhir:value "active"];
  fhir:ValueSet.experimental [ fhir:value "false"];
  fhir:ValueSet.date [ fhir:value "2023-05-25T18:08:12-06:00"];
  fhir:ValueSet.publisher [ fhir:value "Centers for Disease Control and Prevention (CDC)"];
  fhir:ValueSet.contact [
     fhir:index 0;
     fhir:ContactDetail.telecom [
       fhir:index 0;
       fhir:ContactPoint.system [ fhir:value "url" ];
       fhir:ContactPoint.value [ fhir:value "https://www.cdc.gov" ]
     ]
  ];
  fhir:ValueSet.description [ fhir:value "Finding codes for receiving hospice care"];
  fhir:ValueSet.jurisdiction [
     fhir:index 0;
     fhir:CodeableConcept.coding [ fhir:index 0 ]
  ];
  fhir:ValueSet.purpose [ fhir:value "Initially created to identify conditions for exclusions in 2022 CDC Clinical Practice Guideline"];
  fhir:ValueSet.copyright [ fhir:value "© CDC 2016+."];
  fhir:ValueSet.compose [
     fhir:ValueSet.include [
       fhir:index 0;
       fhir:ValueSet.system [ fhir:value "http://snomed.info/sct" ];
       fhir:ValueSet.version [ fhir:value "http://snomed.info/sct/731000124108" ];
       fhir:ValueSet.filter [
         fhir:index 0;
         fhir:ValueSet.property [ fhir:value "concept" ];
         fhir:ValueSet.op [ fhir:value "is-a" ];
         fhir:ValueSet.value [ fhir:value "170935008" ]
       ]
     ], [
       fhir:index 1;
       fhir:ValueSet.system [ fhir:value "http://snomed.info/sct" ];
       fhir:ValueSet.version [ fhir:value "http://snomed.info/sct/731000124108" ];
       fhir:ValueSet.filter [
         fhir:index 0;
         fhir:ValueSet.property [ fhir:value "concept" ];
         fhir:ValueSet.op [ fhir:value "is-a" ];
         fhir:ValueSet.value [ fhir:value "448451000124101" ]
       ]
     ], [
       fhir:index 2;
       fhir:ValueSet.system [ fhir:value "http://snomed.info/sct" ];
       fhir:ValueSet.version [ fhir:value "http://snomed.info/sct/731000124108" ];
       fhir:ValueSet.filter [
         fhir:index 0;
         fhir:ValueSet.property [ fhir:value "concept" ];
         fhir:ValueSet.op [ fhir:value "is-a" ];
         fhir:ValueSet.value [ fhir:value "1891000124102" ]
       ]
     ], [
       fhir:index 3;
       fhir:ValueSet.system [ fhir:value "http://snomed.info/sct" ];
       fhir:ValueSet.version [ fhir:value "http://snomed.info/sct/731000124108" ];
       fhir:ValueSet.filter [
         fhir:index 0;
         fhir:ValueSet.property [ fhir:value "concept" ];
         fhir:ValueSet.op [ fhir:value "is-a" ];
         fhir:ValueSet.value [ fhir:value "1951000124104" ]
       ]
     ], [
       fhir:index 4;
       fhir:ValueSet.system [ fhir:value "http://snomed.info/sct" ];
       fhir:ValueSet.version [ fhir:value "http://snomed.info/sct/731000124108" ];
       fhir:ValueSet.filter [
         fhir:index 0;
         fhir:ValueSet.property [ fhir:value "concept" ];
         fhir:ValueSet.op [ fhir:value "is-a" ];
         fhir:ValueSet.value [ fhir:value "305911006" ]
       ]
     ]
  ];
  fhir:ValueSet.expansion [
     fhir:Element.extension [
       fhir:index 0;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/valueset-unclosed" ];
       fhir:Extension.value [ fhir:value "true" ]
     ];
     fhir:ValueSet.timestamp [ fhir:value "2023-05-26T00:28:52.431Z" ];
     fhir:ValueSet.parameter [
       fhir:index 0;
       fhir:ValueSet.name [ fhir:value "version" ];
       fhir:ValueSet.value [ fhir:value "http://snomed.info/sct|http://snomed.info/sct/731000124108/version/20230301" ]
     ];
     fhir:ValueSet.contains [
       fhir:index 0;
       fhir:ValueSet.system [ fhir:value "http://snomed.info/sct" ];
       fhir:ValueSet.code [ fhir:value "170935008" ];
       fhir:ValueSet.display [ fhir:value "Full care by hospice (finding)" ]
     ], [
       fhir:index 1;
       fhir:ValueSet.system [ fhir:value "http://snomed.info/sct" ];
       fhir:ValueSet.code [ fhir:value "448451000124101" ];
       fhir:ValueSet.display [ fhir:value "Transition from self-care to hospice (finding)" ]
     ], [
       fhir:index 2;
       fhir:ValueSet.system [ fhir:value "http://snomed.info/sct" ];
       fhir:ValueSet.code [ fhir:value "1891000124102" ];
       fhir:ValueSet.display [ fhir:value "Transition from acute care to hospice (finding)" ]
     ], [
       fhir:index 3;
       fhir:ValueSet.system [ fhir:value "http://snomed.info/sct" ];
       fhir:ValueSet.code [ fhir:value "1951000124104" ];
       fhir:ValueSet.display [ fhir:value "Transition from long-term care to hospice (finding)" ]
     ], [
       fhir:index 4;
       fhir:ValueSet.system [ fhir:value "http://snomed.info/sct" ];
       fhir:ValueSet.code [ fhir:value "305911006" ];
       fhir:ValueSet.display [ fhir:value "Seen in hospice (finding)" ]
     ]
  ] .

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

