{
  "resourceType": "StructureDefinition",
  "id": "biobankcy-sd-observationresults",
  "url": "http://ig.biobank.cy/fhir/StructureDefinition/biobankcy-sd-observationresults",
  "name": "BIOBANKCYSDObservationResults",
  "title": "Profile: Observation Results (biobank.cy)",
  "status": "draft",
  "publisher": "biobank.cy",
  "contact": [
    {
      "name": "Molecular Medicine Research Center (MMRC)",
      "telecom": [
        {
          "system": "email",
          "value": "biobank@ucy.ac.cy",
          "use": "work"
        }
      ]
    }
  ],
  "description": "Represents the resutls that are produced within a laboratory or a diagnostic center including:\r\n- Clinical Chemistry, Hematology, Microbiology, etc. (identified as Laboratory results)\r\n- Pathology/Histopathology (identified as Pathology results)\r\n- Imaging Investigations (identified as Imaging results)\r\n- Any other diagnostic result (e.g. used in Cardiology, Gastroenterology, etc.) for a donor (research subject) or citizen (patient) of the biobank.cy.",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": true,
  "type": "Observation",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Observation",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Observation.meta",
        "path": "Observation.meta"
      },
      {
        "id": "Observation.meta.security",
        "path": "Observation.meta.security"
      },
      {
        "id": "Observation.meta.security.system",
        "path": "Observation.meta.security.system",
        "min": 1
      },
      {
        "id": "Observation.meta.security.code",
        "path": "Observation.meta.security.code",
        "min": 1
      },
      {
        "id": "Observation.meta.security.display",
        "path": "Observation.meta.security.display",
        "min": 1
      },
      {
        "id": "Observation.meta.tag",
        "path": "Observation.meta.tag"
      },
      {
        "id": "Observation.meta.tag.system",
        "path": "Observation.meta.tag.system",
        "min": 1
      },
      {
        "id": "Observation.meta.tag.code",
        "path": "Observation.meta.tag.code",
        "min": 1
      },
      {
        "id": "Observation.meta.tag.display",
        "path": "Observation.meta.tag.display",
        "min": 1
      },
      {
        "id": "Observation.identifier",
        "path": "Observation.identifier",
        "comment": "Not to be used for biobank.cy"
      },
      {
        "id": "Observation.basedOn",
        "path": "Observation.basedOn",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc.). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.\r\n\r\nNot to be used for biobank.cy"
      },
      {
        "id": "Observation.partOf",
        "path": "Observation.partOf",
        "comment": "To link an Observation to an Encounter use `encounter`.  See the  [Notes](observation.html#obsgrouping) below for guidance on referencing another Observation.\r\n\r\nNot to be used for biobank.cy"
      },
      {
        "id": "Observation.status",
        "path": "Observation.status",
        "fixedCode": "final"
      },
      {
        "id": "Observation.category",
        "path": "Observation.category",
        "slicing": {
          "discriminator": [
            {
              "type": "pattern",
              "path": "$this"
            }
          ],
          "rules": "open"
        },
        "comment": "Not all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination.\r\n\r\nbiobank.cy: Depending on the nature of the result choose laboratory, imaging",
        "min": 1,
        "type": [
          {
            "code": "CodeableConcept",
            "profile": [
              "http://hl7.org/fhir/uv/ips/StructureDefinition/CodeableConcept-uv-ips"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Observation.category.coding",
        "path": "Observation.category.coding",
        "min": 1
      },
      {
        "id": "Observation.category.coding.system",
        "path": "Observation.category.coding.system",
        "min": 1
      },
      {
        "id": "Observation.category.coding.code",
        "path": "Observation.category.coding.code",
        "min": 1
      },
      {
        "id": "Observation.category.coding.display",
        "path": "Observation.category.coding.display",
        "min": 1
      },
      {
        "id": "Observation.category:laboratoryCategory",
        "path": "Observation.category",
        "sliceName": "laboratoryCategory",
        "patternCodeableConcept": {
          "coding": [
            {
              "system": "http://terminology.hl7.org/CodeSystem/observation-category",
              "code": "laboratory"
            }
          ]
        },
        "mustSupport": true
      },
      {
        "id": "Observation.category:imagingCategory",
        "path": "Observation.category",
        "sliceName": "imagingCategory",
        "patternCodeableConcept": {
          "coding": [
            {
              "system": "http://terminology.hl7.org/CodeSystem/observation-category",
              "code": "imaging"
            }
          ]
        },
        "mustSupport": true
      },
      {
        "id": "Observation.code",
        "path": "Observation.code",
        "type": [
          {
            "code": "CodeableConcept",
            "profile": [
              "http://hl7.org/fhir/uv/ips/StructureDefinition/CodeableConcept-uv-ips"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Observation.code.coding",
        "path": "Observation.code.coding",
        "slicing": {
          "discriminator": [
            {
              "type": "pattern",
              "path": "$this"
            }
          ],
          "rules": "open"
        },
        "min": 1
      },
      {
        "id": "Observation.code.coding.system",
        "path": "Observation.code.coding.system",
        "min": 1
      },
      {
        "id": "Observation.code.coding.code",
        "path": "Observation.code.coding.code",
        "min": 1
      },
      {
        "id": "Observation.code.coding.display",
        "path": "Observation.code.coding.display",
        "min": 1
      },
      {
        "id": "Observation.code.coding:laboratoryCode",
        "path": "Observation.code.coding",
        "sliceName": "laboratoryCode",
        "binding": {
          "strength": "required",
          "valueSet": "http://hl7.org/fhir/uv/ips/ValueSet/results-laboratory-observations-uv-ips"
        }
      },
      {
        "id": "Observation.code.coding:imagingCode",
        "path": "Observation.code.coding",
        "sliceName": "imagingCode",
        "binding": {
          "strength": "required",
          "valueSet": "http://hl7.org/fhir/uv/ips/ValueSet/results-radiology-observations-uv-ips"
        }
      },
      {
        "id": "Observation.subject",
        "path": "Observation.subject",
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Patient",
              "http://hl7.org/fhir/StructureDefinition/Group",
              "http://hl7.org/fhir/StructureDefinition/Device",
              "http://hl7.org/fhir/StructureDefinition/Location",
              "http://ig.biobank.cy/fhir/StructureDefinition/biobankcy-sd-donor",
              "http://ig.biobank.cy/fhir/StructureDefinition/biobankcy-sd-citizen"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Observation.subject.reference",
        "path": "Observation.subject.reference",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Observation.subject.identifier.type",
        "path": "Observation.subject.identifier.type",
        "type": [
          {
            "code": "CodeableConcept",
            "profile": [
              "http://hl7.org/fhir/uv/ips/StructureDefinition/CodeableConcept-uv-ips"
            ]
          }
        ]
      },
      {
        "id": "Observation.subject.identifier.type.coding.system",
        "path": "Observation.subject.identifier.type.coding.system",
        "min": 1
      },
      {
        "id": "Observation.subject.identifier.type.coding.code",
        "path": "Observation.subject.identifier.type.coding.code",
        "min": 1
      },
      {
        "id": "Observation.subject.identifier.type.coding.display",
        "path": "Observation.subject.identifier.type.coding.display",
        "min": 1
      },
      {
        "id": "Observation.focus",
        "path": "Observation.focus",
        "comment": "Typically, an observation is made about the subject - a patient, or group of patients, location, or device - and the distinction between the subject and what is directly measured for an observation is specified in the observation code itself ( e.g., \"Blood Glucose\") and does not need to be represented separately using this element.  Use `specimen` if a reference to a specimen is required.  If a code is required instead of a resource use either  `bodysite` for bodysites or the standard extension [focusCode](extension-observation-focuscode.html).\r\n\r\nNot to be used for biobank.cy"
      },
      {
        "id": "Observation.encounter",
        "path": "Observation.encounter",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Encounter",
              "http://ig.biobank.cy/fhir/StructureDefinition/biobankcy-sd-visit"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Observation.encounter.reference",
        "path": "Observation.encounter.reference",
        "min": 1
      },
      {
        "id": "Observation.effective[x]",
        "path": "Observation.effective[x]",
        "min": 1,
        "type": [
          {
            "code": "dateTime"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Observation.performer",
        "path": "Observation.performer",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Observation.performer.reference",
        "path": "Observation.performer.reference",
        "min": 1
      },
      {
        "id": "Observation.value[x]",
        "path": "Observation.value[x]",
        "mustSupport": true
      },
      {
        "id": "Observation.dataAbsentReason",
        "path": "Observation.dataAbsentReason",
        "comment": "Not all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination.\r\n\r\nNot to be used for biobank.cy"
      },
      {
        "id": "Observation.interpretation",
        "path": "Observation.interpretation",
        "comment": "Historically used for laboratory results (known as 'abnormal flag' ),  its use extends to other use cases where coded interpretations  are relevant.  Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.\r\n\r\nNot to be used for biobank.cy"
      },
      {
        "id": "Observation.note",
        "path": "Observation.note",
        "comment": "May include general statements about the observation, or statements about significant, unexpected or unreliable results values, or information about its source when relevant to its interpretation.\r\n\r\nNot to be used for biobank.cy"
      },
      {
        "id": "Observation.bodySite",
        "path": "Observation.bodySite",
        "comment": "Only used if not implicit in code found in Observation.code.  In many systems, this may be represented as a related observation instead of an inline component.   \n\nIf the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use the standard extension[ bodySite](extension-bodysite.html).\r\n\r\nNot to be used for biobank.cy"
      },
      {
        "id": "Observation.method",
        "path": "Observation.method",
        "comment": "Only used if not implicit in code for Observation.code.\r\n\r\nNot to be used for biobank.cy"
      },
      {
        "id": "Observation.specimen",
        "path": "Observation.specimen",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Specimen",
              "http://ig.biobank.cy/fhir/StructureDefinition/biobankcy-sd-specimen"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Observation.specimen.reference",
        "path": "Observation.specimen.reference",
        "min": 1
      },
      {
        "id": "Observation.device",
        "path": "Observation.device",
        "comment": "Note that this is not meant to represent a device involved in the transmission of the result, e.g., a gateway.  Such devices may be documented using the Provenance resource where relevant.\r\n\r\nNot to be used for biobank.cy"
      },
      {
        "id": "Observation.referenceRange",
        "path": "Observation.referenceRange",
        "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.\r\n\r\nNot to be used for biobank.cy"
      },
      {
        "id": "Observation.hasMember",
        "path": "Observation.hasMember",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Observation",
              "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse",
              "http://hl7.org/fhir/StructureDefinition/MolecularSequence",
              "http://ig.biobank.cy/fhir/StructureDefinition/biobankcy-sd-observationresults"
            ]
          }
        ]
      },
      {
        "id": "Observation.derivedFrom",
        "path": "Observation.derivedFrom",
        "comment": "All the reference choices that are listed in this element can represent clinical observations and other measurements that may be the source for a derived value.  The most common reference will be another Observation.  For a discussion on the ways Observations can assembled in groups together, see [Notes](observation.html#obsgrouping) below.\r\n\r\nNot to be used for biobank.cy"
      },
      {
        "id": "Observation.component",
        "path": "Observation.component",
        "comment": "For a discussion on the ways Observations can be assembled in groups together see [Notes](observation.html#notes) below.\r\n\r\nNot to be used for biobank.cy"
      }
    ]
  }
}