PackagesCanonicalsLogsProblems
    Packages
    fhir.r4.ukcore.stu3.currentbuild@0.0.8-pre-release
    https://fhir.hl7.org.uk/StructureDefinition/UKCore-DiagnosticReport-Lab
{
  "description": "This profile defines the UK constraints and extensions on the International FHIR resource [DiagnosticReport](https://hl7.org/fhir/R4/DiagnosticReport.html), to provide laboratory specific support for test results.",
  "_filename": "UKCore-DiagnosticReport-Lab.json",
  "package_name": "fhir.r4.ukcore.stu3.currentbuild",
  "date": "2023-12-12",
  "derivation": "constraint",
  "publisher": "HL7 UK",
  "fhirVersion": "4.0.1",
  "purpose": "To provide implementers with additional support when implementing test result data and to provide a consistent structure to how the data is presented.",
  "name": "UKCoreDiagnosticReportLab",
  "abstract": false,
  "copyright": "Copyright © 2021+ HL7 UK Licensed under the Apache License, Version 2.0 (the \"License\"); you may not use this file except in compliance with the License. You may obtain a copy of the License at  http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. HL7® FHIR® standard Copyright © 2011+ HL7 The HL7® FHIR® standard is used under the FHIR license. You may obtain a copy of the FHIR license at  https://www.hl7.org/fhir/license.html.",
  "type": "DiagnosticReport",
  "experimental": null,
  "resourceType": "StructureDefinition",
  "title": "UK Core DiagnosticReport Lab",
  "package_version": "0.0.8-pre-release",
  "status": "active",
  "id": "267804f7-24b3-4553-94a0-06ac7cba1348",
  "kind": "resource",
  "url": "https://fhir.hl7.org.uk/StructureDefinition/UKCore-DiagnosticReport-Lab",
  "version": "2.0.0",
  "differential": {
    "element": [ {
      "id": "DiagnosticReport",
      "path": "DiagnosticReport",
      "constraint": [ {
        "key": "ukcore-diag-lab-001",
        "human": "An issued time SHOULD be present if status = partial, preliminary, final, amended, corrected or appended",
        "severity": "warning",
        "expression": "issued.exists() or (issued.empty() and (status in ('partial' | 'preliminary' | 'final' | 'amended' | 'corrected' | 'appended')).not())"
      } ]
    }, {
      "id": "DiagnosticReport.extension",
      "min": 0,
      "path": "DiagnosticReport.extension",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      }
    }, {
      "id": "DiagnosticReport.extension:compositionReferenceR5",
      "max": "1",
      "min": 0,
      "path": "DiagnosticReport.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "http://hl7.org/fhir/5.0/StructureDefinition/extension-DiagnosticReport.composition" ]
      } ],
      "short": "A Composition reference for a DiagnosticReport. This is a R5 backport.",
      "sliceName": "compositionReferenceR5",
      "isModifier": false
    }, {
      "id": "DiagnosticReport.extension:compositionReferenceR5.value[x]",
      "path": "DiagnosticReport.extension.value[x]",
      "short": "Reference to a Composition resource.",
      "definition": "Reference to a Composition resource instance that provides structure for organizing the contents of the DiagnosticReport."
    }, {
      "id": "DiagnosticReport.extension:noteR5",
      "min": 0,
      "path": "DiagnosticReport.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "http://hl7.org/fhir/5.0/StructureDefinition/extension-DiagnosticReport.note" ]
      } ],
      "short": "Comments about the diagnostic report. This is a R5 backport.",
      "sliceName": "noteR5",
      "isModifier": false
    }, {
      "id": "DiagnosticReport.extension:noteR5.value[x]",
      "path": "DiagnosticReport.extension.value[x]",
      "short": "Comments about the diagnostic report.",
      "definition": "May include general statements about the diagnostic report, or statements about significant, unexpected or unreliable results values contained within the diagnostic report, or information about its source when relevant to its interpretation."
    }, {
      "id": "DiagnosticReport.extension:supportingInfoR5",
      "min": 0,
      "path": "DiagnosticReport.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "http://hl7.org/fhir/5.0/StructureDefinition/extension-DiagnosticReport.supportingInfo" ]
      } ],
      "short": "Additional info supporting the diagnostic report. This is a R5 backport.",
      "sliceName": "supportingInfoR5",
      "isModifier": false
    }, {
      "id": "DiagnosticReport.status",
      "path": "DiagnosticReport.status",
      "mustSupport": true
    }, {
      "id": "DiagnosticReport.category",
      "min": 1,
      "path": "DiagnosticReport.category",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "coding.code",
          "type": "value"
        } ]
      },
      "mustSupport": true
    }, {
      "id": "DiagnosticReport.category:laboratory",
      "max": "1",
      "min": 1,
      "path": "DiagnosticReport.category",
      "sliceName": "laboratory"
    }, {
      "id": "DiagnosticReport.category:laboratory.coding.system",
      "path": "DiagnosticReport.category.coding.system",
      "fixedUri": "http://terminology.hl7.org/CodeSystem/v2-0074"
    }, {
      "id": "DiagnosticReport.category:laboratory.coding.code",
      "path": "DiagnosticReport.category.coding.code",
      "fixedCode": "LAB"
    }, {
      "id": "DiagnosticReport.code",
      "path": "DiagnosticReport.code",
      "binding": {
        "strength": "preferred",
        "valueSet": "https://fhir.hl7.org.uk/ValueSet/UKCore-ReportCode"
      },
      "mustSupport": true
    }, {
      "id": "DiagnosticReport.subject",
      "min": 1,
      "path": "DiagnosticReport.subject",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Patient" ]
      } ],
      "mustSupport": true
    }, {
      "id": "DiagnosticReport.issued",
      "path": "DiagnosticReport.issued",
      "mustSupport": true
    }, {
      "id": "DiagnosticReport.performer.extension:deviceReference",
      "max": "1",
      "path": "DiagnosticReport.performer.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-DeviceReference" ]
      } ],
      "sliceName": "deviceReference",
      "isModifier": false
    }, {
      "id": "DiagnosticReport.resultsInterpreter.extension:deviceReference",
      "path": "DiagnosticReport.resultsInterpreter.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-DeviceReference" ]
      } ],
      "sliceName": "deviceReference",
      "isModifier": false
    }, {
      "id": "DiagnosticReport.result",
      "path": "DiagnosticReport.result",
      "mustSupport": true
    }, {
      "id": "DiagnosticReport.conclusionCode",
      "path": "DiagnosticReport.conclusionCode",
      "binding": {
        "strength": "preferred"
      }
    } ]
  },
  "contact": [ {
    "name": "HL7 UK",
    "telecom": [ {
      "use": "work",
      "rank": 1,
      "value": "ukcore@hl7.org.uk",
      "system": "email"
    } ]
  } ],
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DiagnosticReport"
}