{
  "resourceType": "StructureDefinition",
  "id": "biobankcy-sd-bmi",
  "url": "http://ig.biobank.cy/fhir/StructureDefinition/biobankcy-sd-bmi",
  "name": "BIOBANKCYSDBodyMassIndex",
  "title": "Profile: Body Mass Index (biobank.cy)",
  "status": "draft",
  "contact": [
    {
      "name": "Molecular Medicine Research Center (MMRC)",
      "telecom": [
        {
          "system": "email",
          "value": "biobank@ucy.ac.cy",
          "use": "work"
        }
      ]
    }
  ],
  "description": "This profile represents the bmi of a person.",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Observation",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/bmi",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Observation.identifier",
        "path": "Observation.identifier",
        "comment": "Not to be used for biobank.cy."
      },
      {
        "id": "Observation.basedOn",
        "path": "Observation.basedOn",
        "comment": "Not to be used for biobank.cy."
      },
      {
        "id": "Observation.partOf",
        "path": "Observation.partOf",
        "comment": "Not to be used for biobank.cy."
      },
      {
        "id": "Observation.status",
        "path": "Observation.status",
        "fixedCode": "final"
      },
      {
        "id": "Observation.code.coding",
        "path": "Observation.code.coding",
        "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.focus",
        "path": "Observation.focus",
        "comment": "Not to be used for biobank.cy."
      },
      {
        "id": "Observation.encounter",
        "path": "Observation.encounter",
        "comment": "The encounter element is required to be used when the bmi measurement is taken as part of biobank.cy healthare or research services. The encounter element shall not be recorded for any bmi data received from other systems (e.g. national EHR system).",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://ig.biobank.cy/fhir/StructureDefinition/biobankcy-sd-visit"
            ]
          }
        ]
      },
      {
        "id": "Observation.encounter.reference",
        "path": "Observation.encounter.reference",
        "min": 1
      },
      {
        "id": "Observation.effective[x]",
        "path": "Observation.effective[x]",
        "type": [
          {
            "code": "dateTime"
          }
        ]
      },
      {
        "id": "Observation.issued",
        "path": "Observation.issued",
        "comment": "Not to be used for biobank.cy."
      },
      {
        "id": "Observation.performer",
        "path": "Observation.performer",
        "comment": "The performer element is used to define which organizaztion is the custodian of a bmi measurement.",
        "mustSupport": true
      },
      {
        "id": "Observation.value[x]",
        "path": "Observation.value[x]",
        "min": 1
      },
      {
        "id": "Observation.value[x]:valueQuantity",
        "path": "Observation.value[x]",
        "sliceName": "valueQuantity",
        "min": 1
      },
      {
        "id": "Observation.dataAbsentReason",
        "path": "Observation.dataAbsentReason",
        "comment": "Not to be used for biobank.cy."
      },
      {
        "id": "Observation.interpretation",
        "path": "Observation.interpretation",
        "comment": "Not to be used for biobank.cy."
      },
      {
        "id": "Observation.note",
        "path": "Observation.note",
        "comment": "Not to be used for biobank.cy."
      },
      {
        "id": "Observation.bodySite",
        "path": "Observation.bodySite",
        "comment": "Not to be used for biobank.cy."
      },
      {
        "id": "Observation.method",
        "path": "Observation.method",
        "comment": "Not to be used for biobank.cy."
      },
      {
        "id": "Observation.specimen",
        "path": "Observation.specimen",
        "comment": "Not to be used for biobank.cy."
      },
      {
        "id": "Observation.device",
        "path": "Observation.device",
        "comment": "Not to be used for biobank.cy."
      },
      {
        "id": "Observation.referenceRange",
        "path": "Observation.referenceRange",
        "comment": "Not to be used for biobank.cy."
      },
      {
        "id": "Observation.hasMember",
        "path": "Observation.hasMember",
        "comment": "Not to be used for biobank.cy."
      },
      {
        "id": "Observation.derivedFrom",
        "path": "Observation.derivedFrom",
        "comment": "Not to be used for biobank.cy."
      },
      {
        "id": "Observation.component",
        "path": "Observation.component",
        "comment": "Not to be used for biobank.cy."
      }
    ]
  }
}