{
  "resourceType": "StructureDefinition",
  "id": "corhealth-diagnosticreport",
  "url": "https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-diagnosticreport",
  "name": "CorHealthDiagnosticReport",
  "title": "CorHealth DiagnosticReport",
  "status": "active",
  "description": "CorHealth DiagnosticReport",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "DiagnosticReport",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DiagnosticReport",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "DiagnosticReport.identifier.system",
        "path": "DiagnosticReport.identifier.system",
        "min": 1,
        "patternUri": "https://corhealth-ontario.ca/NamingSystem/diagnostic-report-id"
      },
      {
        "id": "DiagnosticReport.identifier.value",
        "path": "DiagnosticReport.identifier.value",
        "min": 1
      },
      {
        "id": "DiagnosticReport.basedOn",
        "path": "DiagnosticReport.basedOn",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-servicerequest"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "DiagnosticReport.status",
        "path": "DiagnosticReport.status",
        "patternCode": "final"
      },
      {
        "id": "DiagnosticReport.code",
        "path": "DiagnosticReport.code",
        "patternCodeableConcept": {
          "coding": [
            {
              "code": "34133-9",
              "system": "http://loinc.org",
              "display": "Summary of episode note"
            }
          ]
        }
      },
      {
        "id": "DiagnosticReport.subject",
        "path": "DiagnosticReport.subject",
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-patient"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "DiagnosticReport.result",
        "path": "DiagnosticReport.result",
        "slicing": {
          "discriminator": [
            {
              "type": "pattern",
              "path": "$this"
            }
          ],
          "rules": "open",
          "description": "Slice based on $this pattern"
        },
        "mustSupport": true
      },
      {
        "id": "DiagnosticReport.result:obs042",
        "path": "DiagnosticReport.result",
        "sliceName": "obs042",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-042"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "DiagnosticReport.result:obs043",
        "path": "DiagnosticReport.result",
        "sliceName": "obs043",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-043"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "DiagnosticReport.result:obs044",
        "path": "DiagnosticReport.result",
        "sliceName": "obs044",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-044"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "DiagnosticReport.result:obs045",
        "path": "DiagnosticReport.result",
        "sliceName": "obs045",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-045"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "DiagnosticReport.result:obs046",
        "path": "DiagnosticReport.result",
        "sliceName": "obs046",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-046"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "DiagnosticReport.result:obs047",
        "path": "DiagnosticReport.result",
        "sliceName": "obs047",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-047"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "DiagnosticReport.result:obs048",
        "path": "DiagnosticReport.result",
        "sliceName": "obs048",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-048"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "DiagnosticReport.result:obs049",
        "path": "DiagnosticReport.result",
        "sliceName": "obs049",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-049"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "DiagnosticReport.result:obs050",
        "path": "DiagnosticReport.result",
        "sliceName": "obs050",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-050"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "DiagnosticReport.result:obs051",
        "path": "DiagnosticReport.result",
        "sliceName": "obs051",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-051"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "DiagnosticReport.result:obs052",
        "path": "DiagnosticReport.result",
        "sliceName": "obs052",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-052"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "DiagnosticReport.result:obs053",
        "path": "DiagnosticReport.result",
        "sliceName": "obs053",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-053"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "DiagnosticReport.result:obs055",
        "path": "DiagnosticReport.result",
        "sliceName": "obs055",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-055"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "DiagnosticReport.result:obs056",
        "path": "DiagnosticReport.result",
        "sliceName": "obs056",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-056"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "DiagnosticReport.result:obs057",
        "path": "DiagnosticReport.result",
        "sliceName": "obs057",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-057"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "DiagnosticReport.result:obs058",
        "path": "DiagnosticReport.result",
        "sliceName": "obs058",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-058"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "DiagnosticReport.result:obs059",
        "path": "DiagnosticReport.result",
        "sliceName": "obs059",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-059"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "DiagnosticReport.result:obs060",
        "path": "DiagnosticReport.result",
        "sliceName": "obs060",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-060"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "DiagnosticReport.result:obs061",
        "path": "DiagnosticReport.result",
        "sliceName": "obs061",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-061"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "DiagnosticReport.result:obs062",
        "path": "DiagnosticReport.result",
        "sliceName": "obs062",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-062"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "DiagnosticReport.result:obs063",
        "path": "DiagnosticReport.result",
        "sliceName": "obs063",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-063"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "DiagnosticReport.result:obs065",
        "path": "DiagnosticReport.result",
        "sliceName": "obs065",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-065"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "DiagnosticReport.result:obs067",
        "path": "DiagnosticReport.result",
        "sliceName": "obs067",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-067"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "DiagnosticReport.result:obs068",
        "path": "DiagnosticReport.result",
        "sliceName": "obs068",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-068"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "DiagnosticReport.result:obs069",
        "path": "DiagnosticReport.result",
        "sliceName": "obs069",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-069"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "DiagnosticReport.result:obs070",
        "path": "DiagnosticReport.result",
        "sliceName": "obs070",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-070"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "DiagnosticReport.result:obs071",
        "path": "DiagnosticReport.result",
        "sliceName": "obs071",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-071"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "DiagnosticReport.result:obs072",
        "path": "DiagnosticReport.result",
        "sliceName": "obs072",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-072"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "DiagnosticReport.result:obs073",
        "path": "DiagnosticReport.result",
        "sliceName": "obs073",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-073"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "DiagnosticReport.result:obs074",
        "path": "DiagnosticReport.result",
        "sliceName": "obs074",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-074"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "DiagnosticReport.result:obs075",
        "path": "DiagnosticReport.result",
        "sliceName": "obs075",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-075"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "DiagnosticReport.result:obs076",
        "path": "DiagnosticReport.result",
        "sliceName": "obs076",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-076"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "DiagnosticReport.result:obs077",
        "path": "DiagnosticReport.result",
        "sliceName": "obs077",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-077"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "DiagnosticReport.result:obs078",
        "path": "DiagnosticReport.result",
        "sliceName": "obs078",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-078"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "DiagnosticReport.result:obs079",
        "path": "DiagnosticReport.result",
        "sliceName": "obs079",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-079"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "DiagnosticReport.result:obs080",
        "path": "DiagnosticReport.result",
        "sliceName": "obs080",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-080"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "DiagnosticReport.result:obs081",
        "path": "DiagnosticReport.result",
        "sliceName": "obs081",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-081"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "DiagnosticReport.result:obs082",
        "path": "DiagnosticReport.result",
        "sliceName": "obs082",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-082"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "DiagnosticReport.result:obs083",
        "path": "DiagnosticReport.result",
        "sliceName": "obs083",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-083"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "DiagnosticReport.result:obs084",
        "path": "DiagnosticReport.result",
        "sliceName": "obs084",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-084"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "DiagnosticReport.result:obs085",
        "path": "DiagnosticReport.result",
        "sliceName": "obs085",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-085"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "DiagnosticReport.result:obs088",
        "path": "DiagnosticReport.result",
        "sliceName": "obs088",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-088"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "DiagnosticReport.result:obs089",
        "path": "DiagnosticReport.result",
        "sliceName": "obs089",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-089"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "DiagnosticReport.result:obs091",
        "path": "DiagnosticReport.result",
        "sliceName": "obs091",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-091"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "DiagnosticReport.result:obs093",
        "path": "DiagnosticReport.result",
        "sliceName": "obs093",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-093"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "DiagnosticReport.result:obs095",
        "path": "DiagnosticReport.result",
        "sliceName": "obs095",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-095"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "DiagnosticReport.result:obs097",
        "path": "DiagnosticReport.result",
        "sliceName": "obs097",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-097"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "DiagnosticReport.result:obs099",
        "path": "DiagnosticReport.result",
        "sliceName": "obs099",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-099"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "DiagnosticReport.result:obs101",
        "path": "DiagnosticReport.result",
        "sliceName": "obs101",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://corhealth-ontario.ca/fhir/StructureDefinition/corhealth-observation-101"
            ]
          }
        ],
        "mustSupport": true
      }
    ]
  }
}