{
  "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,
  "date": "2018-03-21T08:24:38.624+00:00",
  "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",
        "mustSupport": true
      },
      {
        "id": "DiagnosticReport.id",
        "path": "DiagnosticReport.id",
        "mustSupport": true
      },
      {
        "id": "DiagnosticReport.identifier",
        "path": "DiagnosticReport.identifier",
        "mustSupport": true
      },
      {
        "id": "DiagnosticReport.status",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint",
            "valueString": "default: final"
          }
        ],
        "path": "DiagnosticReport.status",
        "fixedCode": "final",
        "mustSupport": true
      },
      {
        "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/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",
        "mustSupport": true
      },
      {
        "id": "DiagnosticReport.effective[x]:data-absent-reason",
        "path": "DiagnosticReport.effective[x].extension",
        "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.effective[x]:effectiveDateTime",
        "path": "DiagnosticReport.effective[x]",
        "sliceName": "effectiveDateTime",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "dateTime"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "DiagnosticReport.effective[x]:effectivePeriod",
        "path": "DiagnosticReport.effective[x]",
        "sliceName": "effectivePeriod",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Period"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "DiagnosticReport.performer",
        "path": "DiagnosticReport.performer",
        "mustSupport": true
      },
      {
        "id": "DiagnosticReport.performer.reference",
        "path": "DiagnosticReport.performer.reference",
        "min": 1,
        "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": "$this.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-laboratory",
        "path": "DiagnosticReport.result",
        "sliceName": "observation-laboratory",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/uv/ips/StructureDefinition/Observation-laboratory-uv-ips"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "DiagnosticReport.result:observation-pathology",
        "path": "DiagnosticReport.result",
        "sliceName": "observation-pathology",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/uv/ips/StructureDefinition/Observation-pathology-uv-ips"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "DiagnosticReport.result:observation-imaging",
        "path": "DiagnosticReport.result",
        "sliceName": "observation-imaging",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/uv/ips/StructureDefinition/Observation-imaging-uv-ips"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "DiagnosticReport.result:observation",
        "path": "DiagnosticReport.result",
        "sliceName": "observation",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/uv/ips/StructureDefinition/Observation-uv-ips"
          }
        ],
        "mustSupport": true
      }
    ]
  }
}