PackagesCanonicalsLogsProblems
    Packages
    fhir.r4.ukcore.stu3.currentbuild@0.0.7-sprint-7-review
    https://fhir.hl7.org.uk/StructureDefinition/UKCore-DiagnosticReport-Lab
{
  "description": "Defines the constraints and extensions on the UK Core Profile DiagnosticReport",
  "_filename": "UKCore-DiagnosticReport-Lab.json",
  "package_name": "fhir.r4.ukcore.stu3.currentbuild",
  "date": "2023-04-28",
  "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.7-sprint-7-review",
  "status": "active",
  "id": "4d4ba59b-317a-4991-b325-3c98971017a4",
  "kind": "resource",
  "url": "https://fhir.hl7.org.uk/StructureDefinition/UKCore-DiagnosticReport-Lab",
  "version": "1.0.0",
  "differential": {
    "element": [ {
      "id": "DiagnosticReport",
      "path": "DiagnosticReport",
      "constraint": [ {
        "key": "ukcore-diag-lab-001",
        "human": "An effective time SHOULD be present if status = partial, preliminary, final, amended, corrected or appended",
        "severity": "warning",
        "expression": "effective.exists() or (effective.empty() and (status in ('partial' | 'preliminary' | 'final' | 'amended' | 'corrected' | 'appended')).not())"
      } ]
    }, {
      "id": "DiagnosticReport.category",
      "min": 1,
      "path": "DiagnosticReport.category",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "coding.code",
          "type": "value"
        } ]
      }
    }, {
      "id": "DiagnosticReport.category:sliceLaboratory",
      "path": "DiagnosticReport.category",
      "sliceName": "sliceLaboratory"
    }, {
      "id": "DiagnosticReport.category:sliceLaboratory.coding.system",
      "path": "DiagnosticReport.category.coding.system",
      "fixedUri": "http://terminology.hl7.org/CodeSystem/v2-0074"
    }, {
      "id": "DiagnosticReport.category:sliceLaboratory.coding.code",
      "path": "DiagnosticReport.category.coding.code",
      "fixedCode": "LAB"
    }, {
      "id": "DiagnosticReport.code",
      "path": "DiagnosticReport.code",
      "fixedCodeableConcept": {
        "coding": [ {
          "code": "721981007",
          "system": "http://snomed.info/sct",
          "display": "Diagnostic studies report"
        } ]
      }
    }, {
      "id": "DiagnosticReport.subject",
      "min": 1,
      "path": "DiagnosticReport.subject",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Patient" ]
      } ]
    }, {
      "id": "DiagnosticReport.result",
      "path": "DiagnosticReport.result",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Observation", "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Observation-LabGroup", "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Observation-Lab" ]
      } ]
    } ]
  },
  "contact": [ {
    "name": "HL7 UK",
    "telecom": [ {
      "use": "work",
      "rank": 1,
      "value": "ukcore@hl7.org.uk",
      "system": "email"
    } ]
  } ],
  "baseDefinition": "https://fhir.hl7.org.uk/StructureDefinition/UKCore-DiagnosticReport"
}