{
  "resourceType": "StructureDefinition",
  "id": "rdc-DiagnosticReport",
  "url": "https://roche.com/fhir/iop/StructureDefinition/rdc-DiagnosticReport",
  "name": "RdcDiagnosticReport",
  "title": "RDC DiagnosticReport",
  "status": "active",
  "publisher": "F. Hoffmann-La Roche AG",
  "description": "RDC DiagnosticProfile profile for providing additional context information in diagnostic domain such as  Carbs, EWM etc.",
  "copyright": "Copyright and related rights waived via CC0, https://creativecommons.org/publicdomain/zero/1.0/. This does not apply to information from third parties, for example a medical terminology system. The implementer alone is responsible for identifying and obtaining any necessary licenses or authorizations to utilize third party IP in connection with the specification or otherwise.",
  "fhirVersion": "5.0.0",
  "kind": "resource",
  "abstract": false,
  "type": "DiagnosticReport",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DiagnosticReport",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "DiagnosticReport.contained",
        "path": "DiagnosticReport.contained",
        "slicing": {
          "discriminator": [
            {
              "type": "type",
              "path": "$this"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "DiagnosticReport.contained:rdc-Observation-CGM",
        "path": "DiagnosticReport.contained",
        "sliceName": "rdc-Observation-CGM",
        "type": [
          {
            "code": "Resource",
            "profile": [
              "https://roche.com/fhir/iop/StructureDefinition/rdc-Observation-CGM"
            ]
          }
        ]
      },
      {
        "id": "DiagnosticReport.contained:rdc-Observation-Report",
        "path": "DiagnosticReport.contained",
        "sliceName": "rdc-Observation-Report",
        "type": [
          {
            "code": "Resource",
            "profile": [
              "https://roche.com/fhir/iop/StructureDefinition/rdc-Observation-Report"
            ]
          }
        ]
      },
      {
        "id": "DiagnosticReport.identifier",
        "path": "DiagnosticReport.identifier",
        "max": "0"
      },
      {
        "id": "DiagnosticReport.basedOn",
        "path": "DiagnosticReport.basedOn",
        "max": "0"
      },
      {
        "id": "DiagnosticReport.category",
        "path": "DiagnosticReport.category",
        "max": "0"
      },
      {
        "id": "DiagnosticReport.code",
        "path": "DiagnosticReport.code",
        "binding": {
          "strength": "preferred",
          "valueSet": "https://roche.com/fhir/iop/ValueSet/report-codes"
        }
      },
      {
        "id": "DiagnosticReport.subject",
        "path": "DiagnosticReport.subject",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://roche.com/fhir/iop/StructureDefinition/rdc-Patient"
            ]
          }
        ]
      },
      {
        "id": "DiagnosticReport.encounter",
        "path": "DiagnosticReport.encounter",
        "max": "0"
      },
      {
        "id": "DiagnosticReport.effective[x]",
        "path": "DiagnosticReport.effective[x]",
        "type": [
          {
            "code": "Period"
          }
        ]
      },
      {
        "id": "DiagnosticReport.issued",
        "path": "DiagnosticReport.issued",
        "max": "0"
      },
      {
        "id": "DiagnosticReport.performer",
        "path": "DiagnosticReport.performer",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Practitioner",
              "http://hl7.org/fhir/StructureDefinition/Organization"
            ]
          }
        ]
      },
      {
        "id": "DiagnosticReport.resultsInterpreter",
        "path": "DiagnosticReport.resultsInterpreter",
        "max": "0",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Practitioner",
              "http://hl7.org/fhir/StructureDefinition/PractitionerRole",
              "http://hl7.org/fhir/StructureDefinition/Organization"
            ]
          }
        ]
      },
      {
        "id": "DiagnosticReport.specimen",
        "path": "DiagnosticReport.specimen",
        "max": "0"
      },
      {
        "id": "DiagnosticReport.result",
        "path": "DiagnosticReport.result",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://roche.com/fhir/iop/StructureDefinition/rdc-Observation-CGM"
            ]
          }
        ]
      },
      {
        "id": "DiagnosticReport.note",
        "path": "DiagnosticReport.note",
        "max": "0"
      },
      {
        "id": "DiagnosticReport.study",
        "path": "DiagnosticReport.study",
        "max": "0"
      },
      {
        "id": "DiagnosticReport.supportingInfo",
        "path": "DiagnosticReport.supportingInfo",
        "max": "0"
      },
      {
        "id": "DiagnosticReport.media",
        "path": "DiagnosticReport.media",
        "max": "0"
      },
      {
        "id": "DiagnosticReport.composition",
        "path": "DiagnosticReport.composition",
        "max": "0"
      },
      {
        "id": "DiagnosticReport.conclusion",
        "path": "DiagnosticReport.conclusion",
        "max": "0"
      },
      {
        "id": "DiagnosticReport.conclusionCode",
        "path": "DiagnosticReport.conclusionCode",
        "max": "0"
      },
      {
        "id": "DiagnosticReport.presentedForm.frames",
        "path": "DiagnosticReport.presentedForm.frames",
        "max": "0"
      }
    ]
  }
}