PackagesCanonicalsLogsProblems
    Packages
    ca.infoway.io.psca@2.0.0-DFT-Ballot
    http://fhir.infoway-inforoute.ca/io/psca/StructureDefinition/observation-results-laboratory-pathology-ca-ps
{
  "description": "This profile represents the constraints applied to the Observation resource by the PS-CA project to represent results produced by laboratory (including pathology) tests or panels/studies in a patient summary. This observation may represent the result of a simple laboratory test such as hematocrit or it may group the set of results produced by a multi-test study or panel such as a complete blood count, a dynamic function test, or a urine specimen study. In the latter case, the observation carries the overall conclusion of the study and or a global interpretation by the producer of the study, in the comment element; and references the atomic results of the study as \\\"has-member\\\" child observations.\\r\\n \\n\\n It is informed by the constraints of the [Observation Results (Laboratory) IPS-UV profile](http://hl7.org/fhir/uv/ips/StructureDefinition-Observation-results-laboratory-uv-ips.html) and the [Canadian Baseline Profile](http://build.fhir.org/ig/HL7-Canada/ca-baseline/branches/master/StructureDefinition-profile-observation-results.html) to allow for cross-border and cross-jurisdiction sharing of laboratory result information",
  "_filename": "structuredefinition-profile-observation-results-laboratory-pathology-ca-ps.json",
  "package_name": "ca.infoway.io.psca",
  "date": "2023-12-06T00:00:00-08:00",
  "derivation": "constraint",
  "publisher": null,
  "fhirVersion": "4.0.1",
  "purpose": "This profile constrains the Observation resource to represent a laboratory or pathology in vitro diagnostic test or panel/study. In case of a panel/study, the results of the panel appear as sub-observations. In this case this top-level Observation acts as a grouper of all the observations belonging to the panel or study.  The top-level observation may carry a conclusion in the value element and or a global interpretation by the producer of the study, in the comment element.",
  "name": "ObservationResultsLaboratoryPathologyPSCA",
  "abstract": false,
  "copyright": "Copyright © 2024+ Canada Health Infoway. All rights reserved. [Terms of Use and License Agreements](https://ic.infoway-inforoute.ca/en/about/tou). [Privacy Policy](https://www.infoway-inforoute.ca/en/legal/privacy-policy).",
  "type": "Observation",
  "experimental": "false",
  "resourceType": "StructureDefinition",
  "title": "Observation Results: laboratory/pathology (PS-CA)",
  "package_version": "2.0.0-DFT-Ballot",
  "status": "draft",
  "id": "0245707d-cc84-451b-9f58-a4aa28820269",
  "kind": "resource",
  "url": "http://fhir.infoway-inforoute.ca/io/psca/StructureDefinition/observation-results-laboratory-pathology-ca-ps",
  "version": null,
  "differential": {
    "element": [ {
      "id": "Observation",
      "path": "Observation",
      "short": "Laboratory (including Pathology) result for a simple test or for a panel/study",
      "comment": "Represents either a lab simple observation or the group of observations produced by a laboratory study.",
      "constraint": [ {
        "key": "psca-lab-pat-1",
        "human": "At least one of these Observation elements shall be provided:  \"value\", \"dataAbsentReason\", \"hasMember\" or \"component\"",
        "severity": "error",
        "expression": "value.exists() or hasMember.exists() or component.exists() or dataAbsentReason.exists()"
      }, {
        "key": "psca-lab-pat-2",
        "human": "If observation has components, at least one of these Observation.component elements shall be provided:  \"value\" or \"dataAbsentReason\"",
        "severity": "error",
        "expression": "component.exists() implies (component.value.exists() or component.dataAbsentReason.exists())"
      } ],
      "definition": "This observation may represent the result of a simple laboratory or pathology test such as hematocrit or it may group the set of results produced by a multi-test study or panel such as a complete blood count, a dynamic function test, or a urine specimen study. In the latter case, the observation carries the overall conclusion of the study and references the atomic results of the study as \"has-member\" child observations"
    }, {
      "id": "Observation.status",
      "path": "Observation.status",
      "label": "Observation 'complete' status codes",
      "binding": {
        "strength": "required",
        "valueSet": "http://hl7.org/fhir/uv/ips/ValueSet/results-status-uv-ips",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "ObservationStatus"
        } ]
      }
    }, {
      "id": "Observation.category",
      "min": 1,
      "path": "Observation.category",
      "type": [ {
        "code": "CodeableConcept",
        "profile": [ "http://fhir.infoway-inforoute.ca/io/psca/StructureDefinition/CodeableConcept-ca-ps" ]
      } ],
      "comment": "\"laboratory\" includes laboratory medicine and pathology",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "$this",
          "type": "pattern"
        } ]
      },
      "definition": "A code that classifies the general type of observation being made. In this profile, fixed to \"laboratory\"."
    }, {
      "id": "Observation.category:laboratory",
      "max": "1",
      "min": 1,
      "path": "Observation.category",
      "sliceName": "laboratory",
      "mustSupport": true,
      "patternCodeableConcept": {
        "coding": [ {
          "code": "laboratory",
          "system": "http://terminology.hl7.org/CodeSystem/observation-category"
        } ]
      }
    }, {
      "id": "Observation.code",
      "path": "Observation.code",
      "type": [ {
        "code": "CodeableConcept",
        "profile": [ "http://fhir.infoway-inforoute.ca/io/psca/StructureDefinition/CodeableConcept-ca-ps" ]
      } ],
      "binding": {
        "strength": "example",
        "valueSet": "http://fhir.infoway-inforoute.ca/io/psca/ValueSet/pCLOCD",
        "extension": [ {
          "url": "http://hl7.org/fhir/tools/StructureDefinition/additional-binding",
          "extension": [ {
            "url": "purpose",
            "valueCode": "candidate"
          }, {
            "url": "valueSet",
            "valueCanonical": "http://hl7.org/fhir/uv/ips/ValueSet/results-laboratory-pathology-observations-uv-ips"
          }, {
            "url": "documentation",
            "valueMarkdown": "LOINC Observation codes utilized in IPS. This additional binding is surfaced to socialize the value sets that are proposed for international exchange in IPS. Where multiple codings can be supplied, it is encouraged to supply the original coding alongside the pan-Canadian preferred terminology."
          } ]
        } ],
        "description": "Work is underway to define the pan-Canadian terminology that will be preferred and/or socialized for this element. A stub value set pointing to pCLOCD code system is put forth in the meantime to encourage implementers to utilize the Canadian localization of LOINC"
      },
      "comment": "In the context of this profile, when the observation plays the role of a grouper of member sub-observations, the code represent the group (for instance a panel code). In case no code is available, at least a text shall be provided.\n\nWork is underway to define the pan-Canadian terminology that will be preferred and/or socialized for this element",
      "definition": "Describes what was observed. Sometimes this is called the observation \"name\".  In this profile this code represents either a simple laboratory test or a single pathology examination or a laboratory or pathology study with multiple child observations.",
      "mustSupport": true
    }, {
      "id": "Observation.subject",
      "min": 1,
      "path": "Observation.subject",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://fhir.infoway-inforoute.ca/io/psca/StructureDefinition/patient-ca-ps", "http://hl7.org/fhir/StructureDefinition/Group", "http://hl7.org/fhir/StructureDefinition/Device", "http://hl7.org/fhir/StructureDefinition/Location" ]
      } ],
      "definition": "The patient, or group of patients, location, or device whose characteristics (direct or indirect) are described by the observation and into whose record the observation is placed.  Comments: Indirect characteristics may be those of a specimen, fetus, donor, other observer (for example a relative or EMT), or any observation made about the subject.\r\n\r\nIn this profile is constrained to the patient",
      "mustSupport": true
    }, {
      "id": "Observation.subject.reference",
      "min": 1,
      "path": "Observation.subject.reference",
      "mustSupport": true
    }, {
      "id": "Observation.effective[x]",
      "min": 1,
      "path": "Observation.effective[x]",
      "type": [ {
        "code": "dateTime"
      }, {
        "code": "Period"
      } ],
      "mustSupport": true
    }, {
      "path": "Observation.effective[x].extension",
      "min": 0,
      "definition": "Provides a reason why the effectiveTime is missing.",
      "short": "effective[x] absence reason",
      "type": [ {
        "code": "Extension",
        "profile": [ "http://hl7.org/fhir/StructureDefinition/data-absent-reason" ]
      } ],
      "mustSupport": true,
      "sliceName": "data-absent-reason",
      "max": "1",
      "id": "Observation.effective[x].extension:data-absent-reason"
    }, {
      "id": "Observation.performer",
      "min": 1,
      "path": "Observation.performer",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://fhir.infoway-inforoute.ca/io/psca/StructureDefinition/practitioner-lab-ca-ps", "http://fhir.infoway-inforoute.ca/io/psca/StructureDefinition/practitionerrole-lab-ca-ps", "http://fhir.infoway-inforoute.ca/io/psca/StructureDefinition/organization-lab-ca-ps", "http://fhir.infoway-inforoute.ca/io/psca/StructureDefinition/patient-ca-ps", "http://hl7.org/fhir/StructureDefinition/CareTeam", "http://hl7.org/fhir/StructureDefinition/RelatedPerson" ]
      } ],
      "comment": "IPS considers this a Must Support element with a minimum cardinality of 1. While all jurisdictions supporting laboratory in patient summary have indicated they can populate performer, some jurisdictions indicated this may be populated with provincial health authority information that may not be clinically meaningful. This constraint may be evaluated in IPS and PS-CA in the next release as updates are made to the underlying data models that underpin the FHIR profiles.",
      "mustSupport": true
    }, {
      "id": "Observation.value[x]",
      "path": "Observation.value[x]",
      "slicing": {
        "rules": "open",
        "ordered": false,
        "discriminator": [ {
          "path": "$this",
          "type": "type"
        } ]
      }
    }, {
      "id": "Observation.value[x]:valueString",
      "max": "1",
      "min": 0,
      "path": "Observation.value[x]",
      "type": [ {
        "code": "string"
      } ],
      "sliceName": "valueString",
      "mustSupport": true
    }, {
      "id": "Observation.value[x]:valueQuantity",
      "max": "1",
      "min": 0,
      "path": "Observation.value[x]",
      "type": [ {
        "code": "Quantity"
      } ],
      "sliceName": "valueQuantity",
      "mustSupport": true
    }, {
      "id": "Observation.value[x]:valueCodeableConcept",
      "path": "Observation.value[x]",
      "type": [ {
        "code": "CodeableConcept",
        "profile": [ "http://fhir.infoway-inforoute.ca/io/psca/StructureDefinition/CodeableConcept-ca-ps" ]
      } ],
      "binding": {
        "strength": "example",
        "extension": [ {
          "url": "http://hl7.org/fhir/tools/StructureDefinition/additional-binding",
          "extension": [ {
            "url": "purpose",
            "valueCode": "candidate"
          }, {
            "url": "valueSet",
            "valueCanonical": "http://hl7.org/fhir/uv/ips/ValueSet/results-coded-values-laboratory-pathology-uv-ips"
          }, {
            "url": "documentation",
            "valueMarkdown": "SNOMED CT laboratory result codes utilized in IPS. This additional binding is surfaced to socialize the value sets that are proposed for international exchange in IPS. Where multiple codings can be supplied, it is encouraged to supply the original coding alongside the pan-Canadian preferred terminology."
          } ]
        } ],
        "description": "Work is underway to define the pan-Canadian terminology that will be preferred and/or socialized for this element"
      },
      "comment": "Work is underway to define the pan-Canadian terminology that will be preferred and/or socialized for this element. IPS-UV flags this as a Must Support element. It is not currently flagged as Must Support in PS-CA, as stakeholders have indicated the element may not be supported by the majority of systems today. Systems that do support the element are encouraged to include it in generated Patient Summary documents, and support it when received. Vendors should expect that some jurisdictions may add a Must Support requirement within the context of their own jurisdictional content.",
      "sliceName": "valueCodeableConcept",
      "mustSupport": true
    }, {
      "id": "Observation.interpretation",
      "path": "Observation.interpretation",
      "type": [ {
        "code": "CodeableConcept",
        "profile": [ "http://fhir.infoway-inforoute.ca/io/psca/StructureDefinition/CodeableConcept-ca-ps" ]
      } ]
    }, {
      "id": "Observation.specimen",
      "path": "Observation.specimen",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/uv/ips/StructureDefinition/Specimen-uv-ips" ]
      } ]
    }, {
      "id": "Observation.hasMember",
      "path": "Observation.hasMember",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://fhir.infoway-inforoute.ca/io/psca/StructureDefinition/observation-results-laboratory-pathology-ca-ps" ]
      } ],
      "comment": "This element is used in the context of the patient summary when there is a need to group a collection of observations, because they belong to the same panel, or because they share a common interpretation comment, or a common media attachment (illustrative image or graph). In these cases, the current observation is the grouper, and its set of sub-observations are related observations using the type \"has-member\".  For a discussion on the ways Observations can be assembled in groups together see [Observation Grouping](http://hl7.org/fhir/observation.html#obsgrouping).",
      "definition": "A reference to another Observation profiled by Observation-results-laboratory-pathology-ca-ps. The target observation (for instance an individual test member of a panel) is considered as a sub-observation of the current one, which plays the role of a grouper."
    }, {
      "id": "Observation.component",
      "path": "Observation.component",
      "mustSupport": true
    } ]
  },
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Observation"
}