OpenOrchid Core Laboratory Result

One laboratory result. CA Core+ already requires the laboratory category, the patient, the time and the performer. OpenOrchid also requires when the result was released and a value, a reason there is none, or its parts.
Canonical URLhttps://openorchid.ca/fhir/core/StructureDefinition/oo-observation-lab
Version0.1.0
RecordObservation
Derives fromhttp://fhir.infoway-inforoute.ca/cacore/StructureDefinition/observation-laboratory-Pathology-ca-core
DownloadStructureDefinition (JSON)

What this profile adds

Everything else is as in the profile it derives from.

ElementRequires
Observationoo-obs-1: A result has a value, a reason it has none, or its parts: components or member results.
FHIRPathvalue.exists() or dataAbsentReason.exists() or component.exists() or hasMember.exists()
Observation.issuedAt least 1

Examples

Records that pass this profile:

Observation-oo-observation-lab-example
{
  "resourceType": "Observation",
  "id": "oo-observation-lab-example",
  "meta": {
    "profile": [
      "https://openorchid.ca/fhir/core/StructureDefinition/oo-observation-lab"
    ]
  },
  "category": [
    {
      "coding": [
        {
          "system": "http://terminology.hl7.org/CodeSystem/observation-category",
          "code": "laboratory"
        }
      ]
    }
  ],
  "status": "final",
  "code": {
    "coding": [
      {
        "code": "4548-4",
        "system": "http://loinc.org",
        "display": "Hemoglobin A1c/Hemoglobin.total in Blood"
      }
    ]
  },
  "subject": {
    "reference": "Patient/oo-patient-example"
  },
  "effectiveDateTime": "2024-05-28T08:15:00-04:00",
  "issued": "2024-05-28T14:02:00-04:00",
  "performer": [
    {
      "reference": "Organization/oo-organization-lab-example"
    }
  ],
  "valueQuantity": {
    "value": 7.2,
    "code": "%",
    "system": "http://unitsofmeasure.org",
    "unit": "%"
  }
}

Records that fail it, each breaking one rule above:

Breaks oo-obs-1
{
  "resourceType": "Observation",
  "id": "invalid-lab-no-value",
  "meta": {
    "profile": ["https://openorchid.ca/fhir/core/StructureDefinition/oo-observation-lab"]
  },
  "status": "final",
  "category": [
    {
      "coding": [
        {
          "system": "http://terminology.hl7.org/CodeSystem/observation-category",
          "code": "laboratory"
        }
      ]
    }
  ],
  "code": {
    "coding": [
      {
        "system": "http://loinc.org",
        "code": "4548-4"
      }
    ]
  },
  "subject": {
    "reference": "Patient/oo-patient-example"
  },
  "effectiveDateTime": "2024-05-28T08:15:00-04:00",
  "issued": "2024-05-28T14:02:00-04:00",
  "performer": [
    {
      "reference": "Organization/oo-organization-lab-example"
    }
  ]
}