{
  "resourceType": "StructureDefinition",
  "id": "DiagnosticReport-uv-ips",
  "url": "http://hl7.org/fhir/uv/ips/StructureDefinition/DiagnosticReport-uv-ips",
  "name": "DiagnosticReportUvIps",
  "title": "DiagnosticReport (IPS)",
  "status": "active",
  "experimental": false,
  "publisher": "HL7 International",
  "description": "This profile constrains the DiagnosticReport resource to represent diagnostic test and procedure reports in a patient summary.",
  "purpose": "This profile constrains the DiagnosticReport resource to use the specific IPS profiles for observations and coded data types.",
  "kind": "resource",
  "abstract": false,
  "type": "DiagnosticReport",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DiagnosticReport",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "DiagnosticReport",
        "path": "DiagnosticReport"
      },
      {
        "id": "DiagnosticReport.status",
        "path": "DiagnosticReport.status",
        "fixedCode": "final"
      },
      {
        "id": "DiagnosticReport.category",
        "path": "DiagnosticReport.category",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept",
            "profile": [
              "http://hl7.org/fhir/uv/ips/StructureDefinition/CodeableConcept-uv-ips"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "DiagnosticReport.code",
        "path": "DiagnosticReport.code",
        "type": [
          {
            "code": "CodeableConcept",
            "profile": [
              "http://hl7.org/fhir/uv/ips/StructureDefinition/CodeableConcept-uv-ips"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "DiagnosticReport.subject",
        "path": "DiagnosticReport.subject",
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/uv/ips/StructureDefinition/Patient-uv-ips",
              "http://hl7.org/fhir/StructureDefinition/Group"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "DiagnosticReport.subject.reference",
        "path": "DiagnosticReport.subject.reference",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "DiagnosticReport.effective[x]",
        "path": "DiagnosticReport.effective[x]",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "dateTime"
          },
          {
            "code": "Period"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "DiagnosticReport.effective[x].extension:data-absent-reason",
        "path": "DiagnosticReport.effective[x].extension",
        "sliceName": "data-absent-reason",
        "short": "effective[x] absence reason",
        "definition": "Provides a reason why the effectiveTime is missing.",
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/data-absent-reason"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "DiagnosticReport.performer",
        "path": "DiagnosticReport.performer",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/uv/ips/StructureDefinition/Practitioner-uv-ips",
              "http://hl7.org/fhir/uv/ips/StructureDefinition/PractitionerRole-uv-ips",
              "http://hl7.org/fhir/uv/ips/StructureDefinition/Organization-uv-ips",
              "http://hl7.org/fhir/StructureDefinition/CareTeam"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "DiagnosticReport.specimen",
        "path": "DiagnosticReport.specimen",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/uv/ips/StructureDefinition/Specimen-uv-ips"
            ]
          }
        ],
        "mustSupport": false
      },
      {
        "id": "DiagnosticReport.result",
        "path": "DiagnosticReport.result",
        "slicing": {
          "discriminator": [
            {
              "type": "profile",
              "path": "resolve()"
            }
          ],
          "rules": "open"
        },
        "short": "Observation results included in the diagnostic report.",
        "definition": "Observation results included in the diagnostic report.",
        "mustSupport": true
      },
      {
        "id": "DiagnosticReport.result:observation-results",
        "path": "DiagnosticReport.result",
        "sliceName": "observation-results",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/uv/ips/StructureDefinition/Observation-results-laboratory-uv-ips",
              "http://hl7.org/fhir/uv/ips/StructureDefinition/Observation-results-pathology-uv-ips",
              "http://hl7.org/fhir/uv/ips/StructureDefinition/Observation-results-radiology-uv-ips",
              "http://hl7.org/fhir/uv/ips/StructureDefinition/Observation-results-uv-ips"
            ]
          }
        ],
        "mustSupport": true
      }
    ]
  }
}