PackagesCanonicalsLogsProblems
    Packages
    fhir.r4.ukcore.stu3.currentbuild@0.0.6-pre-release
    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,
  "type": "DiagnosticReport",
  "experimental": null,
  "resourceType": "StructureDefinition",
  "title": "UK Core DiagnosticReport Lab",
  "package_version": "0.0.6-pre-release",
  "status": "active",
  "id": "2cab2bbf-2f2b-474b-927b-c961685ffcda",
  "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"
}