text: "use strict";
  
  var cases = module.exports = [];
  
  cases[0] = {};
  
  cases[0].resources = [{
      "resource": {
          "id": "Observation/or-0-0",
          "resourceType": "Observation",
          "code": {
              "coding": [{
                  "system": "http://loinc.org",
                  "code": "30313-1",
                  "display": "HGB"
              }],
              "text": "HGB"
          },
          "valueQuantity": {
              "value": 10.2,
              "units": "g/dl",
              "code": "g/dl",
              "system": "http://unitsofmeasure.org"
          },
          "issued": "2012-08-10",
          "status": "final",
          "reliability": "ok",
          "interpretation": {
              "coding": [{
                  "system": "http://hl7.org/fhir/v2/0078",
                  "code": "N",
                  "display": "Normal"
              }],
              "text": "Normal"
          },
          "referenceRange": [{
              "meaning": {
                  "coding": [{
                      "system": "http://hl7.org/fhir/referencerange-meaning",
                      "code": "normal",
                      "display": "Normal Range"
                  }],
                  "text": "Normal Range"
              },
              "text": "M 13-18 g/dl; F 12-16 g/dl"
          }]
      }
  }, {
      "resource": {
          "id": "Observation/or-0-1",
          "resourceType": "Observation",
          "code": {
              "coding": [{
                  "system": "http://loinc.org",
                  "code": "33765-9",
                  "display": "WBC"
              }],
              "text": "WBC"
          },
          "valueQuantity": {
              "value": 12.3,
              "units": "10+3/ul",
              "code": "10+3/ul",
              "system": "http://unitsofmeasure.org"
          },
          "issued": "2012-08-10",
          "status": "final",
          "reliability": "ok",
          "interpretation": {
              "coding": [{
                  "system": "http://hl7.org/fhir/v2/0078",
                  "code": "N",
                  "display": "Normal"
              }],
              "text": "Normal"
          },
          "referenceRange": [{
              "meaning": {
                  "coding": [{
                      "system": "http://hl7.org/fhir/referencerange-meaning",
                      "code": "normal",
                      "display": "Normal Range"
                  }],
                  "text": "Normal Range"
              },
              "low": {
                  "value": 4.3,
                  "units": "10+3/ul",
                  "code": "10+3/ul",
                  "system": "http://unitsofmeasure.org"
              },
              "high": {
                  "value": 10.8,
                  "units": "10+3/ul",
                  "code": "10+3/ul",
                  "system": "http://unitsofmeasure.org"
              }
          }]
      }
  }, {
      "resource": {
          "id": "Observation/or-0-2",
          "resourceType": "Observation",
          "code": {
              "coding": [{
                  "system": "http://loinc.org",
                  "code": "26515-7",
                  "display": "PLT"
              }],
              "text": "PLT"
          },
          "valueQuantity": {
              "value": 123,
              "units": "10+3/ul",
              "code": "10+3/ul",
              "system": "http://unitsofmeasure.org"
          },
          "issued": "2012-08-10",
          "status": "final",
          "reliability": "ok",
          "interpretation": {
              "coding": [{
                  "system": "http://hl7.org/fhir/v2/0078",
                  "code": "L",
                  "display": "Low"
              }],
              "text": "Low"
          },
          "referenceRange": [{
              "meaning": {
                  "coding": [{
                      "system": "http://hl7.org/fhir/referencerange-meaning",
                      "code": "normal",
                      "display": "Normal Range"
                  }],
                  "text": "Normal Range"
              },
              "low": {
                  "value": 150,
                  "units": "10+3/ul",
                  "code": "10+3/ul",
                  "system": "http://unitsofmeasure.org"
              },
              "high": {
                  "value": 350,
                  "units": "10+3/ul",
                  "code": "10+3/ul",
                  "system": "http://unitsofmeasure.org"
              }
          }]
      }
  }, {
      "resource": {
          "id": "Observation/or-0-3",
          "resourceType": "Observation",
          "code": {
              "coding": [{
                  "system": "http://snomed.info/sct",
                  "code": "43789009",
                  "display": "CBC WO DIFFERENTIAL"
              }],
              "text": "CBC WO DIFFERENTIAL"
          },
          "status": "final",
          "reliability": "ok",
          "related": [{
              "id": "has-component",
              "target": {
                  "reference": "Observation/or-0-0"
              }
          }, {
              "id": "has-component",
              "target": {
                  "reference": "Observation/or-0-1"
              }
          }, {
              "id": "has-component",
              "target": {
                  "reference": "Observation/or-0-2"
              }
          }]
      }
  }];
  
  cases[0].input = cases[0].resources[3];
  
  cases[0].result = {
      "result_set": {
          "name": "CBC WO DIFFERENTIAL",
          "code": "43789009",
          "code_system_name": "SNOMED CT"
      },
      "results": [{
          "result": {
              "name": "HGB",
              "code": "30313-1",
              "code_system_name": "LOINC"
          },
          "date_time": {
              "point": {
                  "date": "2012-08-10T00:00:00.000Z",
                  "precision": "day"
              }
          },
          "status": "completed",
          "reference_range": {
              "range": "M 13-18 g/dl; F 12-16 g/dl"
          },
          "interpretations": [
              "Normal"
          ],
          "value": 10.2,
          "unit": "g/dl"
      }, {
          "result": {
              "name": "WBC",
              "code": "33765-9",
              "code_system_name": "LOINC"
          },
          "date_time": {
              "point": {
                  "date": "2012-08-10T00:00:00.000Z",
                  "precision": "day"
              }
          },
          "status": "completed",
          "reference_range": {
              "low": "4.3",
              "high": "10.8",
              "unit": "10+3/ul"
          },
          "interpretations": [
              "Normal"
          ],
          "value": 12.3,
          "unit": "10+3/ul"
      }, {
          "result": {
              "name": "PLT",
              "code": "26515-7",
              "code_system_name": "LOINC"
          },
          "date_time": {
              "point": {
                  "date": "2012-08-10T00:00:00.000Z",
                  "precision": "day"
              }
          },
          "status": "completed",
          "reference_range": {
              "low": "150",
              "high": "350",
              "unit": "10+3/ul"
          },
          "interpretations": [
              "Low"
          ],
          "value": 123,
          "unit": "10+3/ul"
      }]
  };
  
  cases[1] = {};
  
  cases[1].resources = [{
      "resource": {
          "id": "Observation/or-1-0",
          "resourceType": "Observation",
          "code": {
              "coding": [{
                  "system": "http://loinc.org",
                  "code": "26515-7",
                  "display": "Copy of BLOOD COUNT, PLATELET, AUTOMATED"
              }],
              "text": "Copy of BLOOD COUNT, PLATELET, AUTOMATED"
          },
          "valueQuantity": {
              "value": 170
          },
          "issued": "2013-05-30T21:25:23.000Z",
          "status": "final",
          "reliability": "ok",
          "interpretation": {
              "coding": [{
                  "system": "http://hl7.org/fhir/v2/0078",
                  "code": "N",
                  "display": "Normal"
              }],
              "text": "Normal"
          }
      }
  }, {
      "resource": {
          "id": "Observation/or-1-1",
          "resourceType": "Observation",
          "code": {
              "coding": [{
                  "system": "urn:oid:2.16.840.1.113883.6.12",
                  "code": "85049",
                  "display": "Copy of BLOOD COUNT, PLATELET, AUTOMATED (85049)"
              }],
              "text": "Copy of BLOOD COUNT, PLATELET, AUTOMATED (85049)"
          },
          "status": "final",
          "reliability": "ok",
          "related": [{
              "type": "has-component",
              "target": {
                  "reference": "Observation/or-1-0"
              }
          }]
      }
  }];
  
  cases[1].input = cases[1].resources[1];
  
  cases[1].result = {
      "result_set": {
          "name": "Copy of BLOOD COUNT, PLATELET, AUTOMATED (85049)",
          "code": "85049",
          "code_system_name": "CPT"
      },
      "results": [{
          "result": {
              "name": "Copy of BLOOD COUNT, PLATELET, AUTOMATED",
              "code": "26515-7",
              "code_system_name": "LOINC"
          },
          "value": 170,
          "interpretations": [
              "Normal"
          ],
          "date_time": {
              "point": {
                  "date": "2013-05-30T00:00:00.000Z",
                  "precision": "day"
              }
          },
          "status": "completed"
      }]
  };
  