Da Vinci Risk Adjustment Implementation Guide
1.0.0 - STU 1 US

This page is part of the Da Vinci Risk Adjustment FHIR Implementation Guide (v1.0.0: STU 1) based on FHIR R4. This is the current published version. For a full list of available versions, see the Directory of published versions

: Patient01: Report - TTL Representation

Raw ttl | Download


@prefix fhir: <http://hl7.org/fhir/> .
@prefix loinc: <http://loinc.org/rdf#> .
@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 -------------------------------------------------------------------

 a fhir:Parameters;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "Patient-ra-patient01-report"];
  fhir:Parameters.parameter [
     fhir:index 0;
     fhir:Element.id [ fhir:value "Patient-ra-patient01-report" ];
     fhir:Parameters.parameter.name [ fhir:value "return" ];
     fhir:Parameters.parameter.resource [
       a fhir:Bundle;
       fhir:Resource.id [ fhir:value "Patient-ra-patient01-report" ];
       fhir:Resource.meta [
         fhir:Meta.profile [
           fhir:value "http://hl7.org/fhir/us/davinci-ra/StructureDefinition/ra-measurereport-bundle";
           fhir:index 0;
           fhir:link <http://hl7.org/fhir/us/davinci-ra/StructureDefinition/ra-measurereport-bundle>         ]       ];
       fhir:Bundle.identifier [
         fhir:Identifier.system [ fhir:value "urn:ietf:rfc:3986" ];
         fhir:Identifier.value [ fhir:value "urn:uuid:8d3e72d9-9d74-4cbb-b797-a1cab0d13492" ]       ];
       fhir:Bundle.type [ fhir:value "collection" ];
       fhir:Bundle.timestamp [ fhir:value "2021-11-16T06:17:58.172+00:00"^^xsd:dateTime ];
       fhir:Bundle.entry [
         fhir:index 0;
         fhir:Bundle.entry.fullUrl [ fhir:value "https://ra-sandbox.alphora.com/cqf-ruler-r4/fhir/MeasureReport/ra-measurereport01" ];
         fhir:Bundle.entry.resource <https://ra-sandbox.alphora.com/cqf-ruler-r4/fhir/MeasureReport/ra-measurereport01>       ], [
         fhir:index 1;
         fhir:Bundle.entry.fullUrl [ fhir:value "https://ra-sandbox.alphora.com/cqf-ruler-r4/fhir/Condition/ra-condition33pat01" ];
         fhir:Bundle.entry.resource <https://ra-sandbox.alphora.com/cqf-ruler-r4/fhir/Condition/ra-condition33pat01>       ], [
         fhir:index 2;
         fhir:Bundle.entry.fullUrl [ fhir:value "https://ra-sandbox.alphora.com/cqf-ruler-r4/fhir/Patient/ra-patient01" ];
         fhir:Bundle.entry.resource <https://ra-sandbox.alphora.com/cqf-ruler-r4/fhir/Patient/ra-patient01>       ], [
         fhir:index 3;
         fhir:Bundle.entry.fullUrl [ fhir:value "https://ra-sandbox.alphora.com/cqf-ruler-r4/fhir/Condition/ra-condition10pat01" ];
         fhir:Bundle.entry.resource <https://ra-sandbox.alphora.com/cqf-ruler-r4/fhir/Condition/ra-condition10pat01>       ], [
         fhir:index 4;
         fhir:Bundle.entry.fullUrl [ fhir:value "https://ra-sandbox.alphora.com/cqf-ruler-r4/fhir/Encounter/ra-encounter03pat01" ];
         fhir:Bundle.entry.resource <https://ra-sandbox.alphora.com/cqf-ruler-r4/fhir/Encounter/ra-encounter03pat01>       ], [
         fhir:index 5;
         fhir:Bundle.entry.fullUrl [ fhir:value "https://ra-sandbox.alphora.com/cqf-ruler-r4/fhir/Condition/ra-condition09pat01" ];
         fhir:Bundle.entry.resource <https://ra-sandbox.alphora.com/cqf-ruler-r4/fhir/Condition/ra-condition09pat01>       ], [
         fhir:index 6;
         fhir:Bundle.entry.fullUrl [ fhir:value "https://ra-sandbox.alphora.com/cqf-ruler-r4/fhir/Condition/ra-condition02pat01" ];
         fhir:Bundle.entry.resource <https://ra-sandbox.alphora.com/cqf-ruler-r4/fhir/Condition/ra-condition02pat01>       ], [
         fhir:index 7;
         fhir:Bundle.entry.fullUrl [ fhir:value "https://ra-sandbox.alphora.com/cqf-ruler-r4/fhir/Encounter/ra-encounter11pat01" ];
         fhir:Bundle.entry.resource <https://ra-sandbox.alphora.com/cqf-ruler-r4/fhir/Encounter/ra-encounter11pat01>       ], [
         fhir:index 8;
         fhir:Bundle.entry.fullUrl [ fhir:value "https://ra-sandbox.alphora.com/cqf-ruler-r4/fhir/Observation/ra-obs21pat01" ];
         fhir:Bundle.entry.resource <https://ra-sandbox.alphora.com/cqf-ruler-r4/fhir/Observation/ra-obs21pat01>       ], [
         fhir:index 9;
         fhir:Bundle.entry.fullUrl [ fhir:value "https://ra-sandbox.alphora.com/cqf-ruler-r4/fhir/Condition/ra-condition18pat01" ];
         fhir:Bundle.entry.resource <https://ra-sandbox.alphora.com/cqf-ruler-r4/fhir/Condition/ra-condition18pat01>       ], [
         fhir:index 10;
         fhir:Bundle.entry.fullUrl [ fhir:value "https://ra-sandbox.alphora.com/cqf-ruler-r4/fhir/Encounter/ra-encounter08pat01" ];
         fhir:Bundle.entry.resource <https://ra-sandbox.alphora.com/cqf-ruler-r4/fhir/Encounter/ra-encounter08pat01>       ], [
         fhir:index 11;
         fhir:Bundle.entry.fullUrl [ fhir:value "https://ra-sandbox.alphora.com/cqf-ruler-r4/fhir/Condition/ra-condition44pat01" ];
         fhir:Bundle.entry.resource <https://ra-sandbox.alphora.com/cqf-ruler-r4/fhir/Condition/ra-condition44pat01>       ], [
         fhir:index 12;
         fhir:Bundle.entry.fullUrl [ fhir:value "https://ra-sandbox.alphora.com/cqf-ruler-r4/fhir/Encounter/ra-encounter02pat01" ];
         fhir:Bundle.entry.resource <https://ra-sandbox.alphora.com/cqf-ruler-r4/fhir/Encounter/ra-encounter02pat01>       ], [
         fhir:index 13;
         fhir:Bundle.entry.fullUrl [ fhir:value "https://ra-sandbox.alphora.com/cqf-ruler-r4/fhir/Encounter/ra-encounter44pat01" ];
         fhir:Bundle.entry.resource <https://ra-sandbox.alphora.com/cqf-ruler-r4/fhir/Encounter/ra-encounter44pat01>       ], [
         fhir:index 14;
         fhir:Bundle.entry.fullUrl [ fhir:value "https://ra-sandbox.alphora.com/cqf-ruler-r4/fhir/Condition/ra-condition08pat01" ];
         fhir:Bundle.entry.resource <https://ra-sandbox.alphora.com/cqf-ruler-r4/fhir/Condition/ra-condition08pat01>       ], [
         fhir:index 15;
         fhir:Bundle.entry.fullUrl [ fhir:value "https://ra-sandbox.alphora.com/cqf-ruler-r4/fhir/Condition/ra-condition43pat01" ];
         fhir:Bundle.entry.resource <https://ra-sandbox.alphora.com/cqf-ruler-r4/fhir/Condition/ra-condition43pat01>       ], [
         fhir:index 16;
         fhir:Bundle.entry.fullUrl [ fhir:value "https://ra-sandbox.alphora.com/cqf-ruler-r4/fhir/Condition/ra-condition03pat01" ];
         fhir:Bundle.entry.resource <https://ra-sandbox.alphora.com/cqf-ruler-r4/fhir/Condition/ra-condition03pat01>       ], [
         fhir:index 17;
         fhir:Bundle.entry.fullUrl [ fhir:value "https://ra-sandbox.alphora.com/cqf-ruler-r4/fhir/Condition/ra-condition11pat01" ];
         fhir:Bundle.entry.resource <https://ra-sandbox.alphora.com/cqf-ruler-r4/fhir/Condition/ra-condition11pat01>       ], [
         fhir:index 18;
         fhir:Bundle.entry.fullUrl [ fhir:value "https://ra-sandbox.alphora.com/cqf-ruler-r4/fhir/Encounter/ra-encounter43pat01" ];
         fhir:Bundle.entry.resource <https://ra-sandbox.alphora.com/cqf-ruler-r4/fhir/Encounter/ra-encounter43pat01>       ], [
         fhir:index 19;
         fhir:Bundle.entry.fullUrl [ fhir:value "https://ra-sandbox.alphora.com/cqf-ruler-r4/fhir/Encounter/ra-encounter09pat01" ];
         fhir:Bundle.entry.resource <https://ra-sandbox.alphora.com/cqf-ruler-r4/fhir/Encounter/ra-encounter09pat01>       ], [
         fhir:index 20;
         fhir:Bundle.entry.fullUrl [ fhir:value "https://ra-sandbox.alphora.com/cqf-ruler-r4/fhir/Condition/ra-condition17pat01" ];
         fhir:Bundle.entry.resource <https://ra-sandbox.alphora.com/cqf-ruler-r4/fhir/Condition/ra-condition17pat01>       ]     ]
  ].

<https://ra-sandbox.alphora.com/cqf-ruler-r4/fhir/MeasureReport/ra-measurereport01> a fhir:MeasureReport;
  fhir:Resource.id [ fhir:value "ra-measurereport01"];
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/us/davinci-ra/StructureDefinition/ra-measurereport";
       fhir:index 0;
       fhir:link <http://hl7.org/fhir/us/davinci-ra/StructureDefinition/ra-measurereport>     ]
  ];
  fhir:DomainResource.extension [
     fhir:index 0;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/davinci-ra/StructureDefinition/ra-clinicalDataCollectionDeadline" ];
     fhir:Extension.valueDate [ fhir:value "2022-03-31"^^xsd:date ]
  ];
  fhir:MeasureReport.status [ fhir:value "complete"];
  fhir:MeasureReport.type [ fhir:value "individual"];
  fhir:MeasureReport.measure [
     fhir:value "https://build.fhir.org/ig/HL7/davinci-ra/Measure-RAModelExample01";
     fhir:link <https://build.fhir.org/ig/HL7/davinci-ra/Measure-RAModelExample01>
  ];
  fhir:MeasureReport.subject [
     fhir:Reference.reference [ fhir:value "Patient/ra-patient01" ]
  ];
  fhir:MeasureReport.date [ fhir:value "2021-10-18"^^xsd:date];
  fhir:MeasureReport.reporter [
     fhir:Reference.reference [ fhir:value "Organization/ra-payer01" ]
  ];
  fhir:MeasureReport.period [
     fhir:Period.start [ fhir:value "2021-01-01"^^xsd:date ];
     fhir:Period.end [ fhir:value "2021-09-30"^^xsd:date ]
  ];
  fhir:MeasureReport.group [
     fhir:index 0;
     fhir:Element.id [ fhir:value "group-001" ];
     fhir:Element.extension [
       fhir:index 0;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/davinci-ra/StructureDefinition/ra-suspectType" ];
       fhir:Extension.valueCodeableConcept [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://hl7.org/fhir/us/davinci-ra/CodeSystem/suspect-type" ];
           fhir:Coding.code [ fhir:value "historic" ]         ]       ]     ], [
       fhir:index 1;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/davinci-ra/StructureDefinition/ra-evidenceStatus" ];
       fhir:Extension.valueCodeableConcept [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://hl7.org/fhir/us/davinci-ra/CodeSystem/evidence-status" ];
           fhir:Coding.code [ fhir:value "closed-gap" ]         ]       ]     ], [
       fhir:index 2;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/davinci-ra/StructureDefinition/ra-evidenceStatusDate" ];
       fhir:Extension.valueDate [ fhir:value "2021-04-01"^^xsd:date ]     ], [
       fhir:index 3;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/davinci-ra/StructureDefinition/ra-hierarchicalStatus" ];
       fhir:Extension.valueCodeableConcept [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://hl7.org/fhir/us/davinci-ra/CodeSystem/hierarchical-status" ];
           fhir:Coding.code [ fhir:value "applied-not-superseded" ]         ]       ]     ];
     fhir:MeasureReport.group.code [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/cmshcc" ];
         fhir:Coding.version [ fhir:value "24" ];
         fhir:Coding.code [ fhir:value "18" ];
         fhir:Coding.display [ fhir:value "Diabetes with Chronic Complications" ]       ];
       fhir:CodeableConcept.text [ fhir:value "HCC 18: Diabetes with Chronic Complications" ]     ]
  ], [
     fhir:index 1;
     fhir:Element.id [ fhir:value "group-002" ];
     fhir:Element.extension [
       fhir:index 0;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/davinci-ra/StructureDefinition/ra-suspectType" ];
       fhir:Extension.valueCodeableConcept [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://hl7.org/fhir/us/davinci-ra/CodeSystem/suspect-type" ];
           fhir:Coding.code [ fhir:value "historic" ]         ]       ]     ], [
       fhir:index 1;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/davinci-ra/StructureDefinition/ra-evidenceStatus" ];
       fhir:Extension.valueCodeableConcept [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://hl7.org/fhir/us/davinci-ra/CodeSystem/evidence-status" ];
           fhir:Coding.code [ fhir:value "pending" ]         ]       ]     ], [
       fhir:index 2;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/davinci-ra/StructureDefinition/ra-evidenceStatusDate" ];
       fhir:Extension.valueDate [ fhir:value "2021-09-29"^^xsd:date ]     ], [
       fhir:index 3;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/davinci-ra/StructureDefinition/ra-hierarchicalStatus" ];
       fhir:Extension.valueCodeableConcept [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://hl7.org/fhir/us/davinci-ra/CodeSystem/hierarchical-status" ];
           fhir:Coding.code [ fhir:value "applied-not-superseded" ]         ]       ]     ];
     fhir:MeasureReport.group.code [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/cmshcc" ];
         fhir:Coding.version [ fhir:value "24" ];
         fhir:Coding.code [ fhir:value "111" ];
         fhir:Coding.display [ fhir:value "Chronic Obstructive Pulmonary Disease" ]       ];
       fhir:CodeableConcept.text [ fhir:value "HCC 111: Chronic Obstructive Pulmonary Disease" ]     ]
  ], [
     fhir:index 2;
     fhir:Element.id [ fhir:value "group-003" ];
     fhir:Element.extension [
       fhir:index 0;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/davinci-ra/StructureDefinition/ra-suspectType" ];
       fhir:Extension.valueCodeableConcept [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://hl7.org/fhir/us/davinci-ra/CodeSystem/suspect-type" ];
           fhir:Coding.code [ fhir:value "historic" ]         ]       ]     ], [
       fhir:index 1;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/davinci-ra/StructureDefinition/ra-evidenceStatus" ];
       fhir:Extension.valueCodeableConcept [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://hl7.org/fhir/us/davinci-ra/CodeSystem/evidence-status" ];
           fhir:Coding.code [ fhir:value "open-gap" ]         ]       ]     ], [
       fhir:index 2;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/davinci-ra/StructureDefinition/ra-evidenceStatusDate" ];
       fhir:Extension.valueDate [ fhir:value "2020-07-15"^^xsd:date ]     ], [
       fhir:index 3;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/davinci-ra/StructureDefinition/ra-hierarchicalStatus" ];
       fhir:Extension.valueCodeableConcept [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://hl7.org/fhir/us/davinci-ra/CodeSystem/hierarchical-status" ];
           fhir:Coding.code [ fhir:value "applied-not-superseded" ]         ]       ]     ];
     fhir:MeasureReport.group.code [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/cmshcc" ];
         fhir:Coding.version [ fhir:value "24" ];
         fhir:Coding.code [ fhir:value "59" ];
         fhir:Coding.display [ fhir:value "Major Depressive, Bipolar, and Paranoid Disorders" ]       ];
       fhir:CodeableConcept.text [ fhir:value "HCC 59: Major Depressive, Bipolar, and Paranoid Disorders" ]     ]
  ], [
     fhir:index 3;
     fhir:Element.id [ fhir:value "group-004" ];
     fhir:Element.extension [
       fhir:index 0;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/davinci-ra/StructureDefinition/ra-suspectType" ];
       fhir:Extension.valueCodeableConcept [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://hl7.org/fhir/us/davinci-ra/CodeSystem/suspect-type" ];
           fhir:Coding.code [ fhir:value "historic" ]         ]       ]     ], [
       fhir:index 1;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/davinci-ra/StructureDefinition/ra-evidenceStatus" ];
       fhir:Extension.valueCodeableConcept [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://hl7.org/fhir/us/davinci-ra/CodeSystem/evidence-status" ];
           fhir:Coding.code [ fhir:value "closed-gap" ]         ]       ]     ], [
       fhir:index 2;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/davinci-ra/StructureDefinition/ra-evidenceStatusDate" ];
       fhir:Extension.valueDate [ fhir:value "2021-04-27"^^xsd:date ]     ], [
       fhir:index 3;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/davinci-ra/StructureDefinition/ra-hierarchicalStatus" ];
       fhir:Extension.valueCodeableConcept [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://hl7.org/fhir/us/davinci-ra/CodeSystem/hierarchical-status" ];
           fhir:Coding.code [ fhir:value "applied-superseded" ]         ]       ]     ];
     fhir:MeasureReport.group.code [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/cmshcc" ];
         fhir:Coding.version [ fhir:value "24" ];
         fhir:Coding.code [ fhir:value "112" ];
         fhir:Coding.display [ fhir:value "Fibrosis of lung and other chronic lung disorders" ]       ];
       fhir:CodeableConcept.text [ fhir:value "HCC 112: Fibrosis of lung and other chronic lung disorders" ]     ]
  ], [
     fhir:index 4;
     fhir:Element.id [ fhir:value "group-005" ];
     fhir:Element.extension [
       fhir:index 0;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/davinci-ra/StructureDefinition/ra-suspectType" ];
       fhir:Extension.valueCodeableConcept [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://hl7.org/fhir/us/davinci-ra/CodeSystem/suspect-type" ];
           fhir:Coding.code [ fhir:value "historic" ]         ]       ]     ], [
       fhir:index 1;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/davinci-ra/StructureDefinition/ra-evidenceStatus" ];
       fhir:Extension.valueCodeableConcept [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://hl7.org/fhir/us/davinci-ra/CodeSystem/evidence-status" ];
           fhir:Coding.code [ fhir:value "pending" ]         ]       ]     ], [
       fhir:index 2;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/davinci-ra/StructureDefinition/ra-evidenceStatusDate" ];
       fhir:Extension.valueDate [ fhir:value "2021-09-27"^^xsd:date ]     ], [
       fhir:index 3;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/davinci-ra/StructureDefinition/ra-hierarchicalStatus" ];
       fhir:Extension.valueCodeableConcept [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://hl7.org/fhir/us/davinci-ra/CodeSystem/hierarchical-status" ];
           fhir:Coding.code [ fhir:value "applied-superseded" ]         ]       ]     ];
     fhir:MeasureReport.group.code [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/cmshcc" ];
         fhir:Coding.version [ fhir:value "24" ];
         fhir:Coding.code [ fhir:value "19" ];
         fhir:Coding.display [ fhir:value "Diabetes without Complications" ]       ];
       fhir:CodeableConcept.text [ fhir:value "HCC 19: Diabetes without Complications" ]     ]
  ], [
     fhir:index 5;
     fhir:Element.id [ fhir:value "group-006" ];
     fhir:Element.extension [
       fhir:index 0;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/davinci-ra/StructureDefinition/ra-suspectType" ];
       fhir:Extension.valueCodeableConcept [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://hl7.org/fhir/us/davinci-ra/CodeSystem/suspect-type" ];
           fhir:Coding.code [ fhir:value "historic" ]         ]       ]     ], [
       fhir:index 1;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/davinci-ra/StructureDefinition/ra-evidenceStatus" ];
       fhir:Extension.valueCodeableConcept [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://hl7.org/fhir/us/davinci-ra/CodeSystem/evidence-status" ];
           fhir:Coding.code [ fhir:value "open-gap" ]         ]       ]     ], [
       fhir:index 2;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/davinci-ra/StructureDefinition/ra-evidenceStatusDate" ];
       fhir:Extension.valueDate [ fhir:value "2020-12-15"^^xsd:date ]     ], [
       fhir:index 3;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/davinci-ra/StructureDefinition/ra-hierarchicalStatus" ];
       fhir:Extension.valueCodeableConcept [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://hl7.org/fhir/us/davinci-ra/CodeSystem/hierarchical-status" ];
           fhir:Coding.code [ fhir:value "applied-superseded" ]         ]       ]     ];
     fhir:MeasureReport.group.code [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/cmshcc" ];
         fhir:Coding.version [ fhir:value "24" ];
         fhir:Coding.code [ fhir:value "84" ];
         fhir:Coding.display [ fhir:value "Cardio-Respiratory Failure and Shock" ]       ];
       fhir:CodeableConcept.text [ fhir:value "HCC 84: Cardio-Respiratory Failure and Shock" ]     ]
  ], [
     fhir:index 6;
     fhir:Element.id [ fhir:value "group-007" ];
     fhir:Element.extension [
       fhir:index 0;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/davinci-ra/StructureDefinition/ra-suspectType" ];
       fhir:Extension.valueCodeableConcept [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://hl7.org/fhir/us/davinci-ra/CodeSystem/suspect-type" ];
           fhir:Coding.code [ fhir:value "suspected" ]         ]       ]     ], [
       fhir:index 1;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/davinci-ra/StructureDefinition/ra-evidenceStatus" ];
       fhir:Extension.valueCodeableConcept [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://hl7.org/fhir/us/davinci-ra/CodeSystem/evidence-status" ];
           fhir:Coding.code [ fhir:value "closed-gap" ]         ]       ]     ], [
       fhir:index 2;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/davinci-ra/StructureDefinition/ra-evidenceStatusDate" ];
       fhir:Extension.valueDate [ fhir:value "2021-03-15"^^xsd:date ]     ], [
       fhir:index 3;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/davinci-ra/StructureDefinition/ra-hierarchicalStatus" ];
       fhir:Extension.valueCodeableConcept [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://hl7.org/fhir/us/davinci-ra/CodeSystem/hierarchical-status" ];
           fhir:Coding.code [ fhir:value "applied-not-superseded" ]         ]       ]     ];
     fhir:MeasureReport.group.code [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/cmshcc" ];
         fhir:Coding.version [ fhir:value "24" ];
         fhir:Coding.code [ fhir:value "22" ];
         fhir:Coding.display [ fhir:value "Morbid Obesity" ]       ];
       fhir:CodeableConcept.text [ fhir:value "HCC 22: Morbid Obesity" ]     ]
  ], [
     fhir:index 7;
     fhir:Element.id [ fhir:value "group-008" ];
     fhir:Element.extension [
       fhir:index 0;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/davinci-ra/StructureDefinition/ra-suspectType" ];
       fhir:Extension.valueCodeableConcept [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://hl7.org/fhir/us/davinci-ra/CodeSystem/suspect-type" ];
           fhir:Coding.code [ fhir:value "suspected" ]         ]       ]     ], [
       fhir:index 1;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/davinci-ra/StructureDefinition/ra-evidenceStatus" ];
       fhir:Extension.valueCodeableConcept [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://hl7.org/fhir/us/davinci-ra/CodeSystem/evidence-status" ];
           fhir:Coding.code [ fhir:value "pending" ]         ]       ]     ], [
       fhir:index 2;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/davinci-ra/StructureDefinition/ra-evidenceStatusDate" ];
       fhir:Extension.valueDate [ fhir:value "2021-09-27"^^xsd:date ]     ], [
       fhir:index 3;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/davinci-ra/StructureDefinition/ra-hierarchicalStatus" ];
       fhir:Extension.valueCodeableConcept [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://hl7.org/fhir/us/davinci-ra/CodeSystem/hierarchical-status" ];
           fhir:Coding.code [ fhir:value "applied-not-superseded" ]         ]       ]     ];
     fhir:MeasureReport.group.code [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/cmshcc" ];
         fhir:Coding.version [ fhir:value "24" ];
         fhir:Coding.code [ fhir:value "96" ];
         fhir:Coding.display [ fhir:value "Specified Heart Arrhythmias" ]       ];
       fhir:CodeableConcept.text [ fhir:value "HCC 96: Specified Heart Arrhythmias" ]     ]
  ], [
     fhir:index 8;
     fhir:Element.id [ fhir:value "group-009" ];
     fhir:Element.extension [
       fhir:index 0;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/davinci-ra/StructureDefinition/ra-suspectType" ];
       fhir:Extension.valueCodeableConcept [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://hl7.org/fhir/us/davinci-ra/CodeSystem/suspect-type" ];
           fhir:Coding.code [ fhir:value "suspected" ]         ]       ]     ], [
       fhir:index 1;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/davinci-ra/StructureDefinition/ra-evidenceStatus" ];
       fhir:Extension.valueCodeableConcept [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://hl7.org/fhir/us/davinci-ra/CodeSystem/evidence-status" ];
           fhir:Coding.code [ fhir:value "open-gap" ]         ]       ]     ], [
       fhir:index 2;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/davinci-ra/StructureDefinition/ra-evidenceStatusDate" ];
       fhir:Extension.valueDate [ fhir:value "2020-07-15"^^xsd:date ]     ], [
       fhir:index 3;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/davinci-ra/StructureDefinition/ra-hierarchicalStatus" ];
       fhir:Extension.valueCodeableConcept [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://hl7.org/fhir/us/davinci-ra/CodeSystem/hierarchical-status" ];
           fhir:Coding.code [ fhir:value "applied-not-superseded" ]         ]       ]     ];
     fhir:MeasureReport.group.code [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/cmshcc" ];
         fhir:Coding.version [ fhir:value "24" ];
         fhir:Coding.code [ fhir:value "110" ];
         fhir:Coding.display [ fhir:value "Cystic Fibrosis" ]       ];
       fhir:CodeableConcept.text [ fhir:value "HCC 110: Cystic Fibrosis" ]     ]
  ], [
     fhir:index 9;
     fhir:Element.id [ fhir:value "group-010" ];
     fhir:Element.extension [
       fhir:index 0;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/davinci-ra/StructureDefinition/ra-suspectType" ];
       fhir:Extension.valueCodeableConcept [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://hl7.org/fhir/us/davinci-ra/CodeSystem/suspect-type" ];
           fhir:Coding.code [ fhir:value "net-new" ]         ]       ]     ], [
       fhir:index 1;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/davinci-ra/StructureDefinition/ra-evidenceStatus" ];
       fhir:Extension.valueCodeableConcept [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://hl7.org/fhir/us/davinci-ra/CodeSystem/evidence-status" ];
           fhir:Coding.code [ fhir:value "pending" ]         ]       ]     ], [
       fhir:index 2;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/davinci-ra/StructureDefinition/ra-evidenceStatusDate" ];
       fhir:Extension.valueDate [ fhir:value "2021-09-28"^^xsd:date ]     ], [
       fhir:index 3;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/davinci-ra/StructureDefinition/ra-hierarchicalStatus" ];
       fhir:Extension.valueCodeableConcept [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://hl7.org/fhir/us/davinci-ra/CodeSystem/hierarchical-status" ];
           fhir:Coding.code [ fhir:value "applied-not-superseded" ]         ]       ]     ];
     fhir:MeasureReport.group.code [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/cmshcc" ];
         fhir:Coding.version [ fhir:value "24" ];
         fhir:Coding.code [ fhir:value "83" ];
         fhir:Coding.display [ fhir:value "Respiratory Arrest" ]       ];
       fhir:CodeableConcept.text [ fhir:value "HCC 110: Cystic Fibrosis" ]     ]
  ];
  fhir:MeasureReport.evaluatedResource [
     fhir:index 0;
     fhir:Element.extension [
       fhir:index 0;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/davinci-ra/StructureDefinition/ra-groupReference" ];
       fhir:Extension.valueString [ fhir:value "group-001" ]     ];
     fhir:Reference.reference [ fhir:value "Condition/ra-condition02pat01" ]
  ], [
     fhir:index 1;
     fhir:Element.extension [
       fhir:index 0;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/davinci-ra/StructureDefinition/ra-groupReference" ];
       fhir:Extension.valueString [ fhir:value "group-002" ]     ];
     fhir:Reference.reference [ fhir:value "Condition/ra-condition03pat01" ]
  ], [
     fhir:index 2;
     fhir:Element.extension [
       fhir:index 0;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/davinci-ra/StructureDefinition/ra-groupReference" ];
       fhir:Extension.valueString [ fhir:value "group-003" ]     ];
     fhir:Reference.reference [ fhir:value "Condition/ra-condition08pat01" ]
  ], [
     fhir:index 3;
     fhir:Element.extension [
       fhir:index 0;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/davinci-ra/StructureDefinition/ra-groupReference" ];
       fhir:Extension.valueString [ fhir:value "group-004" ]     ];
     fhir:Reference.reference [ fhir:value "Condition/ra-condition09pat01" ]
  ], [
     fhir:index 4;
     fhir:Element.extension [
       fhir:index 0;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/davinci-ra/StructureDefinition/ra-groupReference" ];
       fhir:Extension.valueString [ fhir:value "group-005" ]     ];
     fhir:Reference.reference [ fhir:value "Condition/ra-condition10pat01" ]
  ], [
     fhir:index 5;
     fhir:Element.extension [
       fhir:index 0;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/davinci-ra/StructureDefinition/ra-groupReference" ];
       fhir:Extension.valueString [ fhir:value "group-006" ]     ];
     fhir:Reference.reference [ fhir:value "Condition/ra-condition11pat01" ]
  ], [
     fhir:index 6;
     fhir:Element.extension [
       fhir:index 0;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/davinci-ra/StructureDefinition/ra-groupReference" ];
       fhir:Extension.valueString [ fhir:value "group-007" ]     ];
     fhir:Reference.reference [ fhir:value "Condition/ra-condition17pat01" ]
  ], [
     fhir:index 7;
     fhir:Element.extension [
       fhir:index 0;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/davinci-ra/StructureDefinition/ra-groupReference" ];
       fhir:Extension.valueString [ fhir:value "group-008" ]     ];
     fhir:Reference.reference [ fhir:value "Condition/ra-condition18pat01" ]
  ], [
     fhir:index 8;
     fhir:Element.extension [
       fhir:index 0;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/davinci-ra/StructureDefinition/ra-groupReference" ];
       fhir:Extension.valueString [ fhir:value "group-010" ]     ];
     fhir:Reference.reference [ fhir:value "Condition/ra-condition33pat01" ]
  ], [
     fhir:index 9;
     fhir:Element.extension [
       fhir:index 0;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/davinci-ra/StructureDefinition/ra-groupReference" ];
       fhir:Extension.valueString [ fhir:value "group-001" ]     ];
     fhir:Reference.reference [ fhir:value "Condition/ra-condition43pat01" ]
  ], [
     fhir:index 10;
     fhir:Element.extension [
       fhir:index 0;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/davinci-ra/StructureDefinition/ra-groupReference" ];
       fhir:Extension.valueString [ fhir:value "group-004" ]     ];
     fhir:Reference.reference [ fhir:value "Condition/ra-condition44pat01" ]
  ], [
     fhir:index 11;
     fhir:Element.extension [
       fhir:index 0;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/davinci-ra/StructureDefinition/ra-groupReference" ];
       fhir:Extension.valueString [ fhir:value "group-001" ]     ], [
       fhir:index 1;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/davinci-ra/StructureDefinition/ra-groupReference" ];
       fhir:Extension.valueString [ fhir:value "group-20210714" ]     ];
     fhir:Reference.reference [ fhir:value "Encounter/ra-encounter02pat01" ]
  ], [
     fhir:index 12;
     fhir:Element.extension [
       fhir:index 0;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/davinci-ra/StructureDefinition/ra-groupReference" ];
       fhir:Extension.valueString [ fhir:value "group-002" ]     ], [
       fhir:index 1;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/davinci-ra/StructureDefinition/ra-groupReference" ];
       fhir:Extension.valueString [ fhir:value "group-005" ]     ], [
       fhir:index 2;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/davinci-ra/StructureDefinition/ra-groupReference" ];
       fhir:Extension.valueString [ fhir:value "group-008" ]     ], [
       fhir:index 3;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/davinci-ra/StructureDefinition/ra-groupReference" ];
       fhir:Extension.valueString [ fhir:value "group-010" ]     ];
     fhir:Reference.reference [ fhir:value "Encounter/ra-encounter03pat01" ]
  ], [
     fhir:index 13;
     fhir:Element.extension [
       fhir:index 0;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/davinci-ra/StructureDefinition/ra-groupReference" ];
       fhir:Extension.valueString [ fhir:value "group-003" ]     ];
     fhir:Reference.reference [ fhir:value "Encounter/ra-encounter08pat01" ]
  ], [
     fhir:index 14;
     fhir:Element.extension [
       fhir:index 0;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/davinci-ra/StructureDefinition/ra-groupReference" ];
       fhir:Extension.valueString [ fhir:value "group-004" ]     ];
     fhir:Reference.reference [ fhir:value "Encounter/ra-encounter09pat01" ]
  ], [
     fhir:index 15;
     fhir:Element.extension [
       fhir:index 0;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/davinci-ra/StructureDefinition/ra-groupReference" ];
       fhir:Extension.valueString [ fhir:value "group-006" ]     ];
     fhir:Reference.reference [ fhir:value "Encounter/ra-encounter11pat01" ]
  ], [
     fhir:index 16;
     fhir:Element.extension [
       fhir:index 0;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/davinci-ra/StructureDefinition/ra-groupReference" ];
       fhir:Extension.valueString [ fhir:value "group-001" ]     ];
     fhir:Reference.reference [ fhir:value "Encounter/ra-encounter43pat01" ]
  ], [
     fhir:index 17;
     fhir:Element.extension [
       fhir:index 0;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/davinci-ra/StructureDefinition/ra-groupReference" ];
       fhir:Extension.valueString [ fhir:value "group-004" ]     ];
     fhir:Reference.reference [ fhir:value "Encounter/ra-encounter44pat01" ]
  ], [
     fhir:index 18;
     fhir:Element.extension [
       fhir:index 0;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/davinci-ra/StructureDefinition/ra-groupReference" ];
       fhir:Extension.valueString [ fhir:value "group-009" ]     ];
     fhir:Reference.reference [ fhir:value "Observation/ra-obs21pat01" ]
  ].

<https://ra-sandbox.alphora.com/cqf-ruler-r4/fhir/Condition/ra-condition33pat01> a fhir:Condition;
  fhir:Resource.id [ fhir:value "ra-condition33pat01"];
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition";
       fhir:index 0;
       fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition>     ]
  ];
  fhir:Condition.clinicalStatus [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/condition-clinical" ];
       fhir:Coding.code [ fhir:value "active" ];
       fhir:Coding.display [ fhir:value "Active" ]     ];
     fhir:CodeableConcept.text [ fhir:value "Active" ]
  ];
  fhir:Condition.verificationStatus [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/condition-ver-status" ];
       fhir:Coding.code [ fhir:value "confirmed" ];
       fhir:Coding.display [ fhir:value "Confirmed" ]     ];
     fhir:CodeableConcept.text [ fhir:value "Confirmed" ]
  ];
  fhir:Condition.category [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/condition-category" ];
       fhir:Coding.code [ fhir:value "encounter-diagnosis" ];
       fhir:Coding.display [ fhir:value "Encounter Diagnosis" ]     ];
     fhir:CodeableConcept.text [ fhir:value "Problem" ]
  ];
  fhir:Condition.code [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://hl7.org/fhir/sid/icd-10-cm" ];
       fhir:Coding.code [ fhir:value "R09.2" ];
       fhir:Coding.display [ fhir:value "Respiratory arrest" ]     ];
     fhir:CodeableConcept.text [ fhir:value "R09.2: Respiratory arrest" ]
  ];
  fhir:Condition.subject [
     fhir:Reference.reference [ fhir:value "Patient/ra-patient01" ]
  ];
  fhir:Condition.onsetDateTime [ fhir:value "2021-09-26"^^xsd:date].

<https://ra-sandbox.alphora.com/cqf-ruler-r4/fhir/Patient/ra-patient01> a fhir:Patient;
  fhir:Resource.id [ fhir:value "ra-patient01"];
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient";
       fhir:index 0;
       fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient>     ]
  ];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><div class=\"hapiHeaderText\">Eve <b>EVERYWOMAN </b></div><table class=\"hapiPropertyTable\"><tbody><tr><td>Identifier</td><td>12345</td></tr><tr><td>Address</td><td><span>2222 Home Street </span><br/><span>Ann Arbor </span><span>MI </span><span>USA </span></td></tr><tr><td>Date of birth</td><td><span>16 January 1975</span></td></tr></tbody></table></div>"
  ];
  fhir:DomainResource.extension [
     fhir:index 0;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex" ];
     fhir:Extension.valueCode [ fhir:value "F" ]
  ], [
     fhir:index 1;
     fhir:Element.extension [
       fhir:index 0;
       fhir:Extension.url [ fhir:value "ombCategory" ];
       fhir:Extension.valueCoding [
         fhir:Coding.system [ fhir:value "urn:oid:2.16.840.1.113883.6.238" ];
         fhir:Coding.code [ fhir:value "2106-3" ];
         fhir:Coding.display [ fhir:value "White" ]       ]     ], [
       fhir:index 1;
       fhir:Extension.url [ fhir:value "text" ];
       fhir:Extension.valueString [ fhir:value "White" ]     ];
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race" ]
  ], [
     fhir:index 2;
     fhir:Element.extension [
       fhir:index 0;
       fhir:Extension.url [ fhir:value "ombCategory" ];
       fhir:Extension.valueCoding [
         fhir:Coding.system [ fhir:value "urn:oid:2.16.840.1.113883.6.238" ];
         fhir:Coding.code [ fhir:value "2186-5" ];
         fhir:Coding.display [ fhir:value "Not Hispanic or Latino" ]       ]     ], [
       fhir:index 1;
       fhir:Extension.url [ fhir:value "text" ];
       fhir:Extension.valueString [ fhir:value "Not Hispanic or Latino" ]     ];
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity" ]
  ];
  fhir:Patient.identifier [
     fhir:index 0;
     fhir:Identifier.use [ fhir:value "usual" ];
     fhir:Identifier.type [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v2-0203" ];
         fhir:Coding.code [ fhir:value "MR" ];
         fhir:Coding.display [ fhir:value "Medical record number" ]       ]     ];
     fhir:Identifier.system [ fhir:value "http://hospital.davinci.org" ];
     fhir:Identifier.value [ fhir:value "12345" ]
  ];
  fhir:Patient.active [ fhir:value "true"^^xsd:boolean];
  fhir:Patient.name [
     fhir:index 0;
     fhir:HumanName.use [ fhir:value "official" ];
     fhir:HumanName.family [ fhir:value "Everywoman" ];
     fhir:HumanName.given [
       fhir:value "Eve";
       fhir:index 0     ]
  ];
  fhir:Patient.gender [ fhir:value "female"];
  fhir:Patient.birthDate [ fhir:value "1975-01-16"^^xsd:date];
  fhir:Patient.deceasedBoolean [ fhir:value "false"^^xsd:boolean];
  fhir:Patient.address [
     fhir:index 0;
     fhir:Address.use [ fhir:value "home" ];
     fhir:Address.line [
       fhir:value "2222 Home Street";
       fhir:index 0     ];
     fhir:Address.city [ fhir:value "Ann Arbor" ];
     fhir:Address.state [ fhir:value "MI" ];
     fhir:Address.postalCode [ fhir:value "99999" ];
     fhir:Address.country [ fhir:value "USA" ]
  ];
  fhir:Patient.maritalStatus [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" ];
       fhir:Coding.code [ fhir:value "M" ];
       fhir:Coding.display [ fhir:value "Married" ]     ]
  ];
  fhir:Patient.communication [
     fhir:index 0;
     fhir:Patient.communication.language [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "urn:ietf:bcp:47" ];
         fhir:Coding.code [ fhir:value "en-US" ];
         fhir:Coding.display [ fhir:value "English (Region=United States)" ]       ]     ];
     fhir:Patient.communication.preferred [ fhir:value "true"^^xsd:boolean ]
  ].

<https://ra-sandbox.alphora.com/cqf-ruler-r4/fhir/Condition/ra-condition10pat01> a fhir:Condition;
  fhir:Resource.id [ fhir:value "ra-condition10pat01"];
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition";
       fhir:index 0;
       fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition>     ]
  ];
  fhir:Condition.clinicalStatus [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/condition-clinical" ];
       fhir:Coding.code [ fhir:value "active" ];
       fhir:Coding.display [ fhir:value "Active" ]     ];
     fhir:CodeableConcept.text [ fhir:value "Active" ]
  ];
  fhir:Condition.verificationStatus [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/condition-ver-status" ];
       fhir:Coding.code [ fhir:value "confirmed" ];
       fhir:Coding.display [ fhir:value "Confirmed" ]     ];
     fhir:CodeableConcept.text [ fhir:value "Confirmed" ]
  ];
  fhir:Condition.category [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/condition-category" ];
       fhir:Coding.code [ fhir:value "encounter-diagnosis" ];
       fhir:Coding.display [ fhir:value "Encounter Diagnosis" ]     ];
     fhir:CodeableConcept.text [ fhir:value "Problem" ]
  ];
  fhir:Condition.code [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://hl7.org/fhir/sid/icd-10-cm" ];
       fhir:Coding.code [ fhir:value "J44.1" ];
       fhir:Coding.display [ fhir:value "Chronic obstructive pulmonary disease with (acute) exacerbation" ]     ];
     fhir:CodeableConcept.text [ fhir:value "J44.1: Chronic obstructive pulmonary disease with (acute) exacerbation" ]
  ];
  fhir:Condition.subject [
     fhir:Reference.reference [ fhir:value "Patient/ra-patient01" ]
  ];
  fhir:Condition.onsetDateTime [ fhir:value "2021-09-26"^^xsd:date].

<https://ra-sandbox.alphora.com/cqf-ruler-r4/fhir/Encounter/ra-encounter03pat01> a fhir:Encounter;
  fhir:Resource.id [ fhir:value "ra-encounter03pat01"];
  fhir:Resource.meta [
     fhir:Element.extension [
       fhir:index 0;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/instance-name" ];
       fhir:Extension.valueString [ fhir:value "Encounter with Dr Howell on 20210714 for Patient 03" ]     ], [
       fhir:index 1;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/instance-description" ];
       fhir:Extension.valueMarkdown [ fhir:value "This is Encounter with Dr Howell on 20210714 for Patient 03." ]     ];
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter";
       fhir:index 0;
       fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter>     ]
  ];
  fhir:Encounter.status [ fhir:value "finished"];
  fhir:Encounter.class [
     fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ActCode" ];
     fhir:Coding.code [ fhir:value "AMB" ];
     fhir:Coding.display [ fhir:value "ambulatory" ]
  ];
  fhir:Encounter.type [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://www.ama-assn.org/go/cpt" ];
       fhir:Coding.code [ fhir:value "99215" ]     ];
     fhir:CodeableConcept.text [ fhir:value "Office Visit, High Complexity" ]
  ];
  fhir:Encounter.subject [
     fhir:Reference.reference [ fhir:value "Patient/ra-patient01" ]
  ];
  fhir:Encounter.participant [
     fhir:index 0;
     fhir:Encounter.participant.individual [
       fhir:Reference.reference [ fhir:value "Practitioner/ra-prac01pat01" ]     ]
  ];
  fhir:Encounter.period [
     fhir:Period.start [ fhir:value "2021-09-26"^^xsd:date ];
     fhir:Period.end [ fhir:value "2021-09-26"^^xsd:date ]
  ];
  fhir:Encounter.diagnosis [
     fhir:index 0;
     fhir:Encounter.diagnosis.condition [
       fhir:Reference.reference [ fhir:value "Condition/ra-condition03pat01" ]     ]
  ], [
     fhir:index 1;
     fhir:Encounter.diagnosis.condition [
       fhir:Reference.reference [ fhir:value "Condition/ra-condition10pat01" ]     ]
  ], [
     fhir:index 2;
     fhir:Encounter.diagnosis.condition [
       fhir:Reference.reference [ fhir:value "Condition/ra-condition18pat01" ]     ]
  ], [
     fhir:index 3;
     fhir:Encounter.diagnosis.condition [
       fhir:Reference.reference [ fhir:value "Condition/ra-condition33pat01" ]     ]
  ];
  fhir:Encounter.serviceProvider [
     fhir:Reference.reference [ fhir:value "Organization/ra-org01pat01" ]
  ].

<https://ra-sandbox.alphora.com/cqf-ruler-r4/fhir/Condition/ra-condition09pat01> a fhir:Condition;
  fhir:Resource.id [ fhir:value "ra-condition09pat01"];
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition";
       fhir:index 0;
       fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition>     ]
  ];
  fhir:Condition.clinicalStatus [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/condition-clinical" ];
       fhir:Coding.code [ fhir:value "active" ];
       fhir:Coding.display [ fhir:value "Active" ]     ];
     fhir:CodeableConcept.text [ fhir:value "Active" ]
  ];
  fhir:Condition.verificationStatus [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/condition-ver-status" ];
       fhir:Coding.code [ fhir:value "confirmed" ];
       fhir:Coding.display [ fhir:value "Confirmed" ]     ];
     fhir:CodeableConcept.text [ fhir:value "Confirmed" ]
  ];
  fhir:Condition.category [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/condition-category" ];
       fhir:Coding.code [ fhir:value "encounter-diagnosis" ];
       fhir:Coding.display [ fhir:value "Encounter Diagnosis" ]     ];
     fhir:CodeableConcept.text [ fhir:value "Problem" ]
  ];
  fhir:Condition.code [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://hl7.org/fhir/sid/icd-10-cm" ];
       fhir:Coding.code [ fhir:value "B44.81" ];
       fhir:Coding.display [ fhir:value "Allergic bronchopulmonary aspergillosis" ]     ];
     fhir:CodeableConcept.text [ fhir:value "B44.81: Allergic bronchopulmonary aspergillosis" ]
  ];
  fhir:Condition.subject [
     fhir:Reference.reference [ fhir:value "Patient/ra-patient01" ]
  ];
  fhir:Condition.onsetDateTime [ fhir:value "2021-03-27"^^xsd:date].

<https://ra-sandbox.alphora.com/cqf-ruler-r4/fhir/Condition/ra-condition02pat01> a fhir:Condition;
  fhir:Resource.id [ fhir:value "ra-condition02pat01"];
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition";
       fhir:index 0;
       fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition>     ]
  ];
  fhir:Condition.clinicalStatus [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/condition-clinical" ];
       fhir:Coding.code [ fhir:value "active" ];
       fhir:Coding.display [ fhir:value "Active" ]     ];
     fhir:CodeableConcept.text [ fhir:value "Active" ]
  ];
  fhir:Condition.verificationStatus [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/condition-ver-status" ];
       fhir:Coding.code [ fhir:value "confirmed" ];
       fhir:Coding.display [ fhir:value "Confirmed" ]     ];
     fhir:CodeableConcept.text [ fhir:value "Confirmed" ]
  ];
  fhir:Condition.category [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/condition-category" ];
       fhir:Coding.code [ fhir:value "encounter-diagnosis" ];
       fhir:Coding.display [ fhir:value "Encounter Diagnosis" ]     ];
     fhir:CodeableConcept.text [ fhir:value "Problem" ]
  ];
  fhir:Condition.code [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://hl7.org/fhir/sid/icd-10-cm" ];
       fhir:Coding.code [ fhir:value "E08.29" ];
       fhir:Coding.display [ fhir:value "Diabetes mellitus due to underlying condition with other diabetic kidney complication" ]     ];
     fhir:CodeableConcept.text [ fhir:value "E08.29: Diabetes mellitus due to underlying condition with other diabetic kidney complication" ]
  ];
  fhir:Condition.subject [
     fhir:Reference.reference [ fhir:value "Patient/ra-patient01" ]
  ];
  fhir:Condition.onsetDateTime [ fhir:value "2021-01-31"^^xsd:date].

<https://ra-sandbox.alphora.com/cqf-ruler-r4/fhir/Encounter/ra-encounter11pat01> a fhir:Encounter;
  fhir:Resource.id [ fhir:value "ra-encounter11pat01"];
  fhir:Resource.meta [
     fhir:Element.extension [
       fhir:index 0;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/instance-name" ];
       fhir:Extension.valueString [ fhir:value "Encounter with Dr Howell on 20210714 for Patient 03" ]     ], [
       fhir:index 1;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/instance-description" ];
       fhir:Extension.valueMarkdown [ fhir:value "This is Encounter with Dr Howell on 20210714 for Patient 03." ]     ];
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter";
       fhir:index 0;
       fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter>     ]
  ];
  fhir:Encounter.status [ fhir:value "finished"];
  fhir:Encounter.class [
     fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ActCode" ];
     fhir:Coding.code [ fhir:value "AMB" ];
     fhir:Coding.display [ fhir:value "ambulatory" ]
  ];
  fhir:Encounter.type [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://www.ama-assn.org/go/cpt" ];
       fhir:Coding.code [ fhir:value "99215" ]     ];
     fhir:CodeableConcept.text [ fhir:value "Office Visit, High Complexity" ]
  ];
  fhir:Encounter.subject [
     fhir:Reference.reference [ fhir:value "Patient/ra-patient01" ]
  ];
  fhir:Encounter.participant [
     fhir:index 0;
     fhir:Encounter.participant.individual [
       fhir:Reference.reference [ fhir:value "Practitioner/ra-prac01pat01" ]     ]
  ];
  fhir:Encounter.period [
     fhir:Period.start [ fhir:value "2020-11-02"^^xsd:date ];
     fhir:Period.end [ fhir:value "2020-11-02"^^xsd:date ]
  ];
  fhir:Encounter.diagnosis [
     fhir:index 0;
     fhir:Encounter.diagnosis.condition [
       fhir:Reference.reference [ fhir:value "Condition/ra-condition11pat01" ]     ]
  ];
  fhir:Encounter.serviceProvider [
     fhir:Reference.reference [ fhir:value "Organization/ra-org01pat01" ]
  ].

<https://ra-sandbox.alphora.com/cqf-ruler-r4/fhir/Observation/ra-obs21pat01> a fhir:Observation;
  fhir:Resource.id [ fhir:value "ra-obs21pat01"];
  fhir:Resource.meta [
     fhir:Element.extension [
       fhir:index 0;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/instance-name" ];
       fhir:Extension.valueString [ fhir:value "Trypsin [Mass/volume] in Serum or Plasma for Pat01" ]     ], [
       fhir:index 1;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/instance-description" ];
       fhir:Extension.valueMarkdown [ fhir:value "Trypsin [Mass/volume] in Serum or Plasma for Pat01*." ]     ];
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab";
       fhir:index 0;
       fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab>     ]
  ];
  fhir:Observation.status [ fhir:value "final"];
  fhir:Observation.category [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/observation-category" ];
       fhir:Coding.code [ fhir:value "laboratory" ];
       fhir:Coding.display [ fhir:value "Laboratory" ]     ];
     fhir:CodeableConcept.text [ fhir:value "Laboratory" ]
  ];
  fhir:Observation.code [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       a loinc:33325-2;
       fhir:Coding.system [ fhir:value "http://loinc.org" ];
       fhir:Coding.code [ fhir:value "33325-2" ];
       fhir:Coding.display [ fhir:value "Trypsin [Mass/volume] in Serum or Plasma" ]     ];
     fhir:CodeableConcept.text [ fhir:value "Trypsin [Mass/volume] in Serum or Plasma" ]
  ];
  fhir:Observation.subject [
     fhir:Reference.reference [ fhir:value "Patient/ra-patient01" ];
     fhir:Reference.display [ fhir:value "Eve Everywoman" ]
  ];
  fhir:Observation.effectiveDateTime [ fhir:value "2019-06-17"^^xsd:date];
  fhir:Observation.valueQuantity [
     fhir:Quantity.value [ fhir:value "770"^^xsd:decimal ];
     fhir:Quantity.unit [ fhir:value "ng/mL" ];
     fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ]
  ];
  fhir:Observation.referenceRange [
     fhir:index 0;
     fhir:Observation.referenceRange.low [
       fhir:Quantity.value [ fhir:value "169"^^xsd:decimal ];
       fhir:Quantity.unit [ fhir:value "ng/mL" ];
       fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
       fhir:Quantity.code [ fhir:value "ng/mL" ]     ];
     fhir:Observation.referenceRange.high [
       fhir:Quantity.value [ fhir:value "773"^^xsd:decimal ];
       fhir:Quantity.unit [ fhir:value "ng/mL" ];
       fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
       fhir:Quantity.code [ fhir:value "mg/dL" ]     ];
     fhir:Observation.referenceRange.type [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/referencerange-meaning" ];
         fhir:Coding.code [ fhir:value "normal" ];
         fhir:Coding.display [ fhir:value "Normal Range" ]       ];
       fhir:CodeableConcept.text [ fhir:value "Normal Range" ]     ]
  ].

<https://ra-sandbox.alphora.com/cqf-ruler-r4/fhir/Condition/ra-condition18pat01> a fhir:Condition;
  fhir:Resource.id [ fhir:value "ra-condition18pat01"];
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition";
       fhir:index 0;
       fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition>     ]
  ];
  fhir:Condition.clinicalStatus [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/condition-clinical" ];
       fhir:Coding.code [ fhir:value "active" ];
       fhir:Coding.display [ fhir:value "Active" ]     ];
     fhir:CodeableConcept.text [ fhir:value "Active" ]
  ];
  fhir:Condition.verificationStatus [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/condition-ver-status" ];
       fhir:Coding.code [ fhir:value "confirmed" ];
       fhir:Coding.display [ fhir:value "Confirmed" ]     ];
     fhir:CodeableConcept.text [ fhir:value "Confirmed" ]
  ];
  fhir:Condition.category [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/condition-category" ];
       fhir:Coding.code [ fhir:value "encounter-diagnosis" ];
       fhir:Coding.display [ fhir:value "Encounter Diagnosis" ]     ];
     fhir:CodeableConcept.text [ fhir:value "Problem" ]
  ];
  fhir:Condition.code [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://hl7.org/fhir/sid/icd-10-cm" ];
       fhir:Coding.code [ fhir:value "I48.11" ];
       fhir:Coding.display [ fhir:value "Longstanding persistent atrial fibrillation" ]     ];
     fhir:CodeableConcept.text [ fhir:value "I48.11: Longstanding persistent atrial fibrillation" ]
  ];
  fhir:Condition.subject [
     fhir:Reference.reference [ fhir:value "Patient/ra-patient01" ]
  ];
  fhir:Condition.onsetDateTime [ fhir:value "2021-09-26"^^xsd:date].

<https://ra-sandbox.alphora.com/cqf-ruler-r4/fhir/Encounter/ra-encounter08pat01> a fhir:Encounter;
  fhir:Resource.id [ fhir:value "ra-encounter08pat01"];
  fhir:Resource.meta [
     fhir:Element.extension [
       fhir:index 0;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/instance-name" ];
       fhir:Extension.valueString [ fhir:value "Encounter with Dr Howell on 20210714 for Patient 03" ]     ], [
       fhir:index 1;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/instance-description" ];
       fhir:Extension.valueMarkdown [ fhir:value "This is Encounter with Dr Howell on 20210714 for Patient 03." ]     ];
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter";
       fhir:index 0;
       fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter>     ]
  ];
  fhir:Encounter.status [ fhir:value "finished"];
  fhir:Encounter.class [
     fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ActCode" ];
     fhir:Coding.code [ fhir:value "AMB" ];
     fhir:Coding.display [ fhir:value "ambulatory" ]
  ];
  fhir:Encounter.type [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://www.ama-assn.org/go/cpt" ];
       fhir:Coding.code [ fhir:value "99215" ]     ];
     fhir:CodeableConcept.text [ fhir:value "Office Visit, High Complexity" ]
  ];
  fhir:Encounter.subject [
     fhir:Reference.reference [ fhir:value "Patient/ra-patient01" ]
  ];
  fhir:Encounter.participant [
     fhir:index 0;
     fhir:Encounter.participant.individual [
       fhir:Reference.reference [ fhir:value "Practitioner/ra-prac01pat01" ]     ]
  ];
  fhir:Encounter.period [
     fhir:Period.start [ fhir:value "2017-02-03"^^xsd:date ];
     fhir:Period.end [ fhir:value "2017-02-03"^^xsd:date ]
  ];
  fhir:Encounter.diagnosis [
     fhir:index 0;
     fhir:Encounter.diagnosis.condition [
       fhir:Reference.reference [ fhir:value "Condition/ra-condition08pat01" ]     ]
  ];
  fhir:Encounter.serviceProvider [
     fhir:Reference.reference [ fhir:value "Organization/ra-org01pat01" ]
  ].

<https://ra-sandbox.alphora.com/cqf-ruler-r4/fhir/Condition/ra-condition44pat01> a fhir:Condition;
  fhir:Resource.id [ fhir:value "ra-condition44pat01"];
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition";
       fhir:index 0;
       fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition>     ]
  ];
  fhir:Condition.clinicalStatus [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/condition-clinical" ];
       fhir:Coding.code [ fhir:value "active" ];
       fhir:Coding.display [ fhir:value "Active" ]     ];
     fhir:CodeableConcept.text [ fhir:value "Active" ]
  ];
  fhir:Condition.verificationStatus [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/condition-ver-status" ];
       fhir:Coding.code [ fhir:value "confirmed" ];
       fhir:Coding.display [ fhir:value "Confirmed" ]     ];
     fhir:CodeableConcept.text [ fhir:value "Confirmed" ]
  ];
  fhir:Condition.category [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/condition-category" ];
       fhir:Coding.code [ fhir:value "encounter-diagnosis" ];
       fhir:Coding.display [ fhir:value "Encounter Diagnosis" ]     ];
     fhir:CodeableConcept.text [ fhir:value "Problem" ]
  ];
  fhir:Condition.code [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://hl7.org/fhir/sid/icd-10-cm" ];
       fhir:Coding.code [ fhir:value "B44.81" ];
       fhir:Coding.display [ fhir:value "Allergic bronchopulmonary aspergillosis" ]     ];
     fhir:CodeableConcept.text [ fhir:value "B44.81: Allergic bronchopulmonary aspergillosis" ]
  ];
  fhir:Condition.subject [
     fhir:Reference.reference [ fhir:value "Patient/ra-patient01" ]
  ];
  fhir:Condition.onsetDateTime [ fhir:value "2017-01-18"^^xsd:date].

<https://ra-sandbox.alphora.com/cqf-ruler-r4/fhir/Encounter/ra-encounter02pat01> a fhir:Encounter;
  fhir:Resource.id [ fhir:value "ra-encounter02pat01"];
  fhir:Resource.meta [
     fhir:Element.extension [
       fhir:index 0;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/instance-name" ];
       fhir:Extension.valueString [ fhir:value "Encounter with Dr Howell on 20210714 for Patient 03" ]     ], [
       fhir:index 1;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/instance-description" ];
       fhir:Extension.valueMarkdown [ fhir:value "This is Encounter with Dr Howell on 20210714 for Patient 03." ]     ];
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter";
       fhir:index 0;
       fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter>     ]
  ];
  fhir:Encounter.status [ fhir:value "finished"];
  fhir:Encounter.class [
     fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ActCode" ];
     fhir:Coding.code [ fhir:value "AMB" ];
     fhir:Coding.display [ fhir:value "ambulatory" ]
  ];
  fhir:Encounter.type [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://www.ama-assn.org/go/cpt" ];
       fhir:Coding.code [ fhir:value "99215" ]     ];
     fhir:CodeableConcept.text [ fhir:value "Office Visit, High Complexity" ]
  ];
  fhir:Encounter.subject [
     fhir:Reference.reference [ fhir:value "Patient/ra-patient01" ]
  ];
  fhir:Encounter.participant [
     fhir:index 0;
     fhir:Encounter.participant.individual [
       fhir:Reference.reference [ fhir:value "Practitioner/ra-prac01pat01" ]     ]
  ];
  fhir:Encounter.period [
     fhir:Period.start [ fhir:value "2021-01-31"^^xsd:date ];
     fhir:Period.end [ fhir:value "2021-01-31"^^xsd:date ]
  ];
  fhir:Encounter.diagnosis [
     fhir:index 0;
     fhir:Encounter.diagnosis.condition [
       fhir:Reference.reference [ fhir:value "Condition/ra-condition02pat01" ]     ]
  ], [
     fhir:index 1;
     fhir:Encounter.diagnosis.condition [
       fhir:Reference.reference [ fhir:value "Condition/ra-condition17pat01" ]     ]
  ];
  fhir:Encounter.serviceProvider [
     fhir:Reference.reference [ fhir:value "Organization/ra-org01pat01" ]
  ].

<https://ra-sandbox.alphora.com/cqf-ruler-r4/fhir/Encounter/ra-encounter44pat01> a fhir:Encounter;
  fhir:Resource.id [ fhir:value "ra-encounter44pat01"];
  fhir:Resource.meta [
     fhir:Element.extension [
       fhir:index 0;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/instance-name" ];
       fhir:Extension.valueString [ fhir:value "Encounter with Dr Howell on 20210714 for Patient 03" ]     ], [
       fhir:index 1;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/instance-description" ];
       fhir:Extension.valueMarkdown [ fhir:value "This is Encounter with Dr Howell on 20210714 for Patient 03." ]     ];
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter";
       fhir:index 0;
       fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter>     ]
  ];
  fhir:Encounter.status [ fhir:value "finished"];
  fhir:Encounter.class [
     fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ActCode" ];
     fhir:Coding.code [ fhir:value "AMB" ];
     fhir:Coding.display [ fhir:value "ambulatory" ]
  ];
  fhir:Encounter.type [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://www.ama-assn.org/go/cpt" ];
       fhir:Coding.code [ fhir:value "99215" ]     ];
     fhir:CodeableConcept.text [ fhir:value "Office Visit, High Complexity" ]
  ];
  fhir:Encounter.subject [
     fhir:Reference.reference [ fhir:value "Patient/ra-patient01" ]
  ];
  fhir:Encounter.participant [
     fhir:index 0;
     fhir:Encounter.participant.individual [
       fhir:Reference.reference [ fhir:value "Practitioner/ra-prac01pat01" ]     ]
  ];
  fhir:Encounter.period [
     fhir:Period.start [ fhir:value "2017-01-18"^^xsd:date ];
     fhir:Period.end [ fhir:value "2017-01-18"^^xsd:date ]
  ];
  fhir:Encounter.diagnosis [
     fhir:index 0;
     fhir:Encounter.diagnosis.condition [
       fhir:Reference.reference [ fhir:value "Condition/ra-condition44pat01" ]     ]
  ];
  fhir:Encounter.serviceProvider [
     fhir:Reference.reference [ fhir:value "Organization/ra-org01pat01" ]
  ].

<https://ra-sandbox.alphora.com/cqf-ruler-r4/fhir/Condition/ra-condition08pat01> a fhir:Condition;
  fhir:Resource.id [ fhir:value "ra-condition08pat01"];
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition";
       fhir:index 0;
       fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition>     ]
  ];
  fhir:Condition.clinicalStatus [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/condition-clinical" ];
       fhir:Coding.code [ fhir:value "active" ];
       fhir:Coding.display [ fhir:value "Active" ]     ];
     fhir:CodeableConcept.text [ fhir:value "Active" ]
  ];
  fhir:Condition.verificationStatus [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/condition-ver-status" ];
       fhir:Coding.code [ fhir:value "confirmed" ];
       fhir:Coding.display [ fhir:value "Confirmed" ]     ];
     fhir:CodeableConcept.text [ fhir:value "Confirmed" ]
  ];
  fhir:Condition.category [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/condition-category" ];
       fhir:Coding.code [ fhir:value "encounter-diagnosis" ];
       fhir:Coding.display [ fhir:value "Encounter Diagnosis" ]     ];
     fhir:CodeableConcept.text [ fhir:value "Problem" ]
  ];
  fhir:Condition.code [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://hl7.org/fhir/sid/icd-10-cm" ];
       fhir:Coding.code [ fhir:value "F31.61" ];
       fhir:Coding.display [ fhir:value "Bipolar disorder, current episode mixed, mild" ]     ];
     fhir:CodeableConcept.text [ fhir:value "Bipolar disorder, current episode mixed, mild" ]
  ];
  fhir:Condition.subject [
     fhir:Reference.reference [ fhir:value "Patient/ra-patient01" ]
  ];
  fhir:Condition.onsetDateTime [ fhir:value "2017-02-03"^^xsd:date].

<https://ra-sandbox.alphora.com/cqf-ruler-r4/fhir/Condition/ra-condition43pat01> a fhir:Condition;
  fhir:Resource.id [ fhir:value "ra-condition43pat01"];
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition";
       fhir:index 0;
       fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition>     ]
  ];
  fhir:Condition.clinicalStatus [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/condition-clinical" ];
       fhir:Coding.code [ fhir:value "active" ];
       fhir:Coding.display [ fhir:value "Active" ]     ];
     fhir:CodeableConcept.text [ fhir:value "Active" ]
  ];
  fhir:Condition.verificationStatus [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/condition-ver-status" ];
       fhir:Coding.code [ fhir:value "confirmed" ];
       fhir:Coding.display [ fhir:value "Confirmed" ]     ];
     fhir:CodeableConcept.text [ fhir:value "Confirmed" ]
  ];
  fhir:Condition.category [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/condition-category" ];
       fhir:Coding.code [ fhir:value "encounter-diagnosis" ];
       fhir:Coding.display [ fhir:value "Encounter Diagnosis" ]     ];
     fhir:CodeableConcept.text [ fhir:value "Problem" ]
  ];
  fhir:Condition.code [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://hl7.org/fhir/sid/icd-10-cm" ];
       fhir:Coding.code [ fhir:value "E08.29" ];
       fhir:Coding.display [ fhir:value "Diabetes mellitus due to underlying condition with other diabetic kidney complication" ]     ];
     fhir:CodeableConcept.text [ fhir:value "E08.29: Diabetes mellitus due to underlying condition with other diabetic kidney complication" ]
  ];
  fhir:Condition.subject [
     fhir:Reference.reference [ fhir:value "Patient/ra-patient01" ]
  ];
  fhir:Condition.onsetDateTime [ fhir:value "2019-02-10"^^xsd:date].

<https://ra-sandbox.alphora.com/cqf-ruler-r4/fhir/Condition/ra-condition03pat01> a fhir:Condition;
  fhir:Resource.id [ fhir:value "ra-condition03pat01"];
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition";
       fhir:index 0;
       fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition>     ]
  ];
  fhir:Condition.clinicalStatus [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/condition-clinical" ];
       fhir:Coding.code [ fhir:value "active" ];
       fhir:Coding.display [ fhir:value "Active" ]     ];
     fhir:CodeableConcept.text [ fhir:value "Active" ]
  ];
  fhir:Condition.verificationStatus [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/condition-ver-status" ];
       fhir:Coding.code [ fhir:value "confirmed" ];
       fhir:Coding.display [ fhir:value "Confirmed" ]     ];
     fhir:CodeableConcept.text [ fhir:value "Confirmed" ]
  ];
  fhir:Condition.category [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/condition-category" ];
       fhir:Coding.code [ fhir:value "encounter-diagnosis" ];
       fhir:Coding.display [ fhir:value "Encounter Diagnosis" ]     ];
     fhir:CodeableConcept.text [ fhir:value "Problem" ]
  ];
  fhir:Condition.code [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://hl7.org/fhir/sid/icd-10-cm" ];
       fhir:Coding.code [ fhir:value "J44.1" ];
       fhir:Coding.display [ fhir:value "Chronic obstructive pulmonary disease with (acute) exacerbation" ]     ];
     fhir:CodeableConcept.text [ fhir:value "J44.1: Chronic obstructive pulmonary disease with (acute) exacerbation" ]
  ];
  fhir:Condition.subject [
     fhir:Reference.reference [ fhir:value "Patient/ra-patient01" ]
  ];
  fhir:Condition.onsetDateTime [ fhir:value "2021-09-26"^^xsd:date].

<https://ra-sandbox.alphora.com/cqf-ruler-r4/fhir/Condition/ra-condition11pat01> a fhir:Condition;
  fhir:Resource.id [ fhir:value "ra-condition11pat01"];
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition";
       fhir:index 0;
       fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition>     ]
  ];
  fhir:Condition.clinicalStatus [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/condition-clinical" ];
       fhir:Coding.code [ fhir:value "active" ];
       fhir:Coding.display [ fhir:value "Active" ]     ];
     fhir:CodeableConcept.text [ fhir:value "Active" ]
  ];
  fhir:Condition.verificationStatus [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/condition-ver-status" ];
       fhir:Coding.code [ fhir:value "confirmed" ];
       fhir:Coding.display [ fhir:value "Confirmed" ]     ];
     fhir:CodeableConcept.text [ fhir:value "Confirmed" ]
  ];
  fhir:Condition.category [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/condition-category" ];
       fhir:Coding.code [ fhir:value "encounter-diagnosis" ];
       fhir:Coding.display [ fhir:value "Encounter Diagnosis" ]     ];
     fhir:CodeableConcept.text [ fhir:value "Problem" ]
  ];
  fhir:Condition.code [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://hl7.org/fhir/sid/icd-10-cm" ];
       fhir:Coding.code [ fhir:value "J81.0" ];
       fhir:Coding.display [ fhir:value "Acute pulmonary edema" ]     ];
     fhir:CodeableConcept.text [ fhir:value "J81.0: Acute pulmonary edema" ]
  ];
  fhir:Condition.subject [
     fhir:Reference.reference [ fhir:value "Patient/ra-patient01" ]
  ];
  fhir:Condition.onsetDateTime [ fhir:value "2020-11-02"^^xsd:date].

<https://ra-sandbox.alphora.com/cqf-ruler-r4/fhir/Encounter/ra-encounter43pat01> a fhir:Encounter;
  fhir:Resource.id [ fhir:value "ra-encounter43pat01"];
  fhir:Resource.meta [
     fhir:Element.extension [
       fhir:index 0;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/instance-name" ];
       fhir:Extension.valueString [ fhir:value "Encounter with Dr Howell on 20210714 for Patient 03" ]     ], [
       fhir:index 1;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/instance-description" ];
       fhir:Extension.valueMarkdown [ fhir:value "This is Encounter with Dr Howell on 20210714 for Patient 03." ]     ];
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter";
       fhir:index 0;
       fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter>     ]
  ];
  fhir:Encounter.status [ fhir:value "finished"];
  fhir:Encounter.class [
     fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ActCode" ];
     fhir:Coding.code [ fhir:value "AMB" ];
     fhir:Coding.display [ fhir:value "ambulatory" ]
  ];
  fhir:Encounter.type [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://www.ama-assn.org/go/cpt" ];
       fhir:Coding.code [ fhir:value "99215" ]     ];
     fhir:CodeableConcept.text [ fhir:value "Office Visit, High Complexity" ]
  ];
  fhir:Encounter.subject [
     fhir:Reference.reference [ fhir:value "Patient/ra-patient01" ]
  ];
  fhir:Encounter.participant [
     fhir:index 0;
     fhir:Encounter.participant.individual [
       fhir:Reference.reference [ fhir:value "Practitioner/ra-prac01pat01" ]     ]
  ];
  fhir:Encounter.period [
     fhir:Period.start [ fhir:value "2019-02-10"^^xsd:date ];
     fhir:Period.end [ fhir:value "2019-02-10"^^xsd:date ]
  ];
  fhir:Encounter.diagnosis [
     fhir:index 0;
     fhir:Encounter.diagnosis.condition [
       fhir:Reference.reference [ fhir:value "Condition/ra-condition43pat01" ]     ]
  ];
  fhir:Encounter.serviceProvider [
     fhir:Reference.reference [ fhir:value "Organization/ra-org01pat01" ]
  ].

<https://ra-sandbox.alphora.com/cqf-ruler-r4/fhir/Encounter/ra-encounter09pat01> a fhir:Encounter;
  fhir:Resource.id [ fhir:value "ra-encounter09pat01"];
  fhir:Resource.meta [
     fhir:Element.extension [
       fhir:index 0;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/instance-name" ];
       fhir:Extension.valueString [ fhir:value "Encounter with Dr Howell on 20210714 for Patient 03" ]     ], [
       fhir:index 1;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/instance-description" ];
       fhir:Extension.valueMarkdown [ fhir:value "This is Encounter with Dr Howell on 20210714 for Patient 03." ]     ];
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter";
       fhir:index 0;
       fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter>     ]
  ];
  fhir:Encounter.status [ fhir:value "finished"];
  fhir:Encounter.class [
     fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ActCode" ];
     fhir:Coding.code [ fhir:value "AMB" ];
     fhir:Coding.display [ fhir:value "ambulatory" ]
  ];
  fhir:Encounter.type [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://www.ama-assn.org/go/cpt" ];
       fhir:Coding.code [ fhir:value "99215" ]     ];
     fhir:CodeableConcept.text [ fhir:value "Office Visit, High Complexity" ]
  ];
  fhir:Encounter.subject [
     fhir:Reference.reference [ fhir:value "Patient/ra-patient01" ]
  ];
  fhir:Encounter.participant [
     fhir:index 0;
     fhir:Encounter.participant.individual [
       fhir:Reference.reference [ fhir:value "Practitioner/ra-prac01pat01" ]     ]
  ];
  fhir:Encounter.period [
     fhir:Period.start [ fhir:value "2021-03-27"^^xsd:date ];
     fhir:Period.end [ fhir:value "2021-03-27"^^xsd:date ]
  ];
  fhir:Encounter.diagnosis [
     fhir:index 0;
     fhir:Encounter.diagnosis.condition [
       fhir:Reference.reference [ fhir:value "Condition/ra-condition09pat01" ]     ]
  ];
  fhir:Encounter.serviceProvider [
     fhir:Reference.reference [ fhir:value "Organization/ra-org01pat01" ]
  ].

<https://ra-sandbox.alphora.com/cqf-ruler-r4/fhir/Condition/ra-condition17pat01> a fhir:Condition;
  fhir:Resource.id [ fhir:value "ra-condition17pat01"];
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition";
       fhir:index 0;
       fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition>     ]
  ];
  fhir:Condition.clinicalStatus [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/condition-clinical" ];
       fhir:Coding.code [ fhir:value "active" ];
       fhir:Coding.display [ fhir:value "Active" ]     ];
     fhir:CodeableConcept.text [ fhir:value "Active" ]
  ];
  fhir:Condition.verificationStatus [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/condition-ver-status" ];
       fhir:Coding.code [ fhir:value "confirmed" ];
       fhir:Coding.display [ fhir:value "Confirmed" ]     ];
     fhir:CodeableConcept.text [ fhir:value "Confirmed" ]
  ];
  fhir:Condition.category [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/condition-category" ];
       fhir:Coding.code [ fhir:value "encounter-diagnosis" ];
       fhir:Coding.display [ fhir:value "Encounter Diagnosis" ]     ];
     fhir:CodeableConcept.text [ fhir:value "Problem" ]
  ];
  fhir:Condition.code [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://hl7.org/fhir/sid/icd-10-cm" ];
       fhir:Coding.code [ fhir:value "Z68.42" ];
       fhir:Coding.display [ fhir:value "Body mass index [BMI] 45.0-49.9, adult" ]     ];
     fhir:CodeableConcept.text [ fhir:value "Z68.42: Body mass index [BMI] 45.0-49.9, adult" ]
  ];
  fhir:Condition.subject [
     fhir:Reference.reference [ fhir:value "Patient/ra-patient01" ]
  ];
  fhir:Condition.onsetDateTime [ fhir:value "2021-01-31"^^xsd:date].

# - ontology header ------------------------------------------------------------

 a owl:Ontology;
  owl:imports fhir:fhir.ttl.