{
  "resourceType": "StructureDefinition",
  "id": "FIPHRMetByStandardRMR",
  "meta": {
    "versionId": "7",
    "lastUpdated": "2023-03-02T10:51:16.9957609+00:00"
  },
  "url": "http://phr.kanta.fi/StructureDefinition/fiphr-sd-metbystandardrmr",
  "version": "1.0.0",
  "name": "FIPHRMetByStandardRMR",
  "title": "Finnish PHR MET by Standard RMR",
  "status": "active",
  "experimental": false,
  "date": "2023-03-02T09:29:17.48596+00:00",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Observation",
  "baseDefinition": "http://phr.kanta.fi/StructureDefinition/fiphr-sd-fitness",
  "derivation": "constraint",
  "snapshot": {},
  "differential": {
    "element": [
      {
        "id": "Observation.meta",
        "path": "Observation.meta"
      },
      {
        "id": "Observation.meta.profile",
        "path": "Observation.meta.profile"
      },
      {
        "id": "Observation.meta.profile:fiphrProfile",
        "path": "Observation.meta.profile",
        "sliceName": "fiphrProfile",
        "fixedCanonical": "http://phr.kanta.fi/StructureDefinition/fiphr-sd-metbystandardrmr"
      },
      {
        "id": "Observation.code",
        "path": "Observation.code",
        "binding": {
          "strength": "extensible",
          "valueSet": "http://phr.kanta.fi/ValueSet/fiphr-vs-metbystandardrmr"
        }
      },
      {
        "id": "Observation.code.coding",
        "path": "Observation.code.coding",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "code"
            },
            {
              "type": "value",
              "path": "system"
            }
          ],
          "rules": "open"
        },
        "definition": "FinnishPHR: fiphrCode SHALL be used. Other codes MAY be used."
      },
      {
        "id": "Observation.code.coding:fiphrCode",
        "path": "Observation.code.coding",
        "sliceName": "fiphrCode",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Observation.code.coding:fiphrCode.system",
        "path": "Observation.code.coding.system",
        "fixedUri": "http://loinc.org"
      },
      {
        "id": "Observation.code.coding:fiphrCode.code",
        "path": "Observation.code.coding.code",
        "fixedCode": "82260-1"
      },
      {
        "id": "Observation.value[x]",
        "path": "Observation.value[x]",
        "max": "0"
      },
      {
        "id": "Observation.interpretation",
        "path": "Observation.interpretation",
        "max": "0"
      },
      {
        "id": "Observation.referenceRange",
        "path": "Observation.referenceRange",
        "max": "0"
      },
      {
        "id": "Observation.component",
        "path": "Observation.component",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "code.coding.code"
            }
          ],
          "rules": "closed"
        },
        "comment": "FinnishPHR: Component observations SHALL contain the standard resting metabolic rate and one of the following three options: the measured metabolic equivalent of task, the estimated metabolic equivalent of task or the reported metabolic equivalent of task. In the case of containing the estimated metabolic equivalent of task or the reported metabolic equivalent of task, component observations SHOULD also contain the source for the estimated metabolic equivalent of task or the source for the reported metabolic equivalent of task. Component observations MAY also contain the adjusted metabolic equivalent of task. In the case of containing the adjusted metabolic equivalent of task, component observations SHOULD also contain the source for the adjusted metabolic equivalent of task.",
        "min": 2,
        "max": "5"
      },
      {
        "id": "Observation.component:standard-rmr",
        "path": "Observation.component",
        "sliceName": "standard-rmr",
        "short": "FinnishPHR: Standard RMR",
        "definition": "FinnishPHR: Standard resting metabolic rate (RMR), by convention 3.5 ml of oxygen per kg per min.",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Observation.component:standard-rmr.code",
        "path": "Observation.component.code",
        "binding": {
          "strength": "extensible",
          "valueSet": "http://phr.kanta.fi/ValueSet/fiphr-vs-metbystandardrmr"
        }
      },
      {
        "id": "Observation.component:standard-rmr.code.coding",
        "path": "Observation.component.code.coding",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "code"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Observation.component:standard-rmr.code.coding:fiphrCode-standard-rmr",
        "path": "Observation.component.code.coding",
        "sliceName": "fiphrCode-standard-rmr",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Observation.component:standard-rmr.code.coding:fiphrCode-standard-rmr.system",
        "path": "Observation.component.code.coding.system",
        "fixedUri": "http://loinc.org"
      },
      {
        "id": "Observation.component:standard-rmr.code.coding:fiphrCode-standard-rmr.code",
        "path": "Observation.component.code.coding.code",
        "fixedCode": "82284-1"
      },
      {
        "id": "Observation.component:standard-rmr.value[x]",
        "path": "Observation.component.value[x]",
        "min": 1,
        "type": [
          {
            "code": "Quantity"
          }
        ]
      },
      {
        "id": "Observation.component:standard-rmr.value[x].value",
        "path": "Observation.component.value[x].value",
        "min": 1
      },
      {
        "id": "Observation.component:standard-rmr.value[x].unit",
        "path": "Observation.component.value[x].unit",
        "min": 1,
        "fixedString": "ml/kg/min"
      },
      {
        "id": "Observation.component:standard-rmr.value[x].system",
        "path": "Observation.component.value[x].system",
        "min": 1,
        "fixedUri": "http://unitsofmeasure.org"
      },
      {
        "id": "Observation.component:standard-rmr.value[x].code",
        "path": "Observation.component.value[x].code",
        "min": 1,
        "fixedCode": "mL/kg/min"
      },
      {
        "id": "Observation.component:standard-rmr.interpretation.coding",
        "path": "Observation.component.interpretation.coding",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "system"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Observation.component:standard-rmr.referenceRange",
        "path": "Observation.component.referenceRange",
        "max": "1"
      },
      {
        "id": "Observation.component:measured-met",
        "path": "Observation.component",
        "sliceName": "measured-met",
        "short": "FinnishPHR: Measured MET",
        "definition": "FinnishPHR: Measured metabolic equivalent of task (MET) calculated based on measured activity metabolic rate and the standard resting metabolic rate (RMR).",
        "max": "1"
      },
      {
        "id": "Observation.component:measured-met.code",
        "path": "Observation.component.code",
        "binding": {
          "strength": "extensible",
          "valueSet": "http://phr.kanta.fi/ValueSet/fiphr-vs-metbystandardrmr"
        }
      },
      {
        "id": "Observation.component:measured-met.code.coding",
        "path": "Observation.component.code.coding",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "code"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Observation.component:measured-met.code.coding:fiphrCode-measured-met",
        "path": "Observation.component.code.coding",
        "sliceName": "fiphrCode-measured-met",
        "short": "FinnishPHR: Measured MET",
        "definition": "FinnishPHR: Measured metabolic equivalent of task (MET) calculated based on measured activity metabolic rate and the standard resting metabolic rate (RMR).",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Observation.component:measured-met.code.coding:fiphrCode-measured-met.system",
        "path": "Observation.component.code.coding.system",
        "fixedUri": "http://loinc.org"
      },
      {
        "id": "Observation.component:measured-met.code.coding:fiphrCode-measured-met.code",
        "path": "Observation.component.code.coding.code",
        "fixedCode": "82261-9"
      },
      {
        "id": "Observation.component:measured-met.value[x]",
        "path": "Observation.component.value[x]",
        "min": 1,
        "type": [
          {
            "code": "Quantity"
          }
        ]
      },
      {
        "id": "Observation.component:measured-met.value[x].value",
        "path": "Observation.component.value[x].value",
        "min": 1
      },
      {
        "id": "Observation.component:measured-met.value[x].unit",
        "path": "Observation.component.value[x].unit",
        "min": 1,
        "fixedString": "MET"
      },
      {
        "id": "Observation.component:measured-met.value[x].system",
        "path": "Observation.component.value[x].system",
        "min": 1,
        "fixedUri": "http://unitsofmeasure.org"
      },
      {
        "id": "Observation.component:measured-met.value[x].code",
        "path": "Observation.component.value[x].code",
        "min": 1,
        "fixedCode": "[MET]"
      },
      {
        "id": "Observation.component:measured-met.interpretation.coding",
        "path": "Observation.component.interpretation.coding",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "system"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Observation.component:measured-met.referenceRange",
        "path": "Observation.component.referenceRange",
        "max": "1"
      },
      {
        "id": "Observation.component:estimated-met",
        "path": "Observation.component",
        "sliceName": "estimated-met",
        "short": "FinnishPHR: Estimated MET",
        "definition": "FinnishPHR: Estimated metabolic equivalent of task (MET) calculated based on estimated activity metabolic rate and the standard resting metabolic rate (RMR).",
        "max": "1"
      },
      {
        "id": "Observation.component:estimated-met.code",
        "path": "Observation.component.code",
        "binding": {
          "strength": "extensible",
          "valueSet": "http://phr.kanta.fi/ValueSet/fiphr-vs-metbystandardrmr"
        }
      },
      {
        "id": "Observation.component:estimated-met.code.coding",
        "path": "Observation.component.code.coding",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "code"
            }
          ],
          "rules": "open"
        },
        "definition": "FinnishPHR: fiphrCode-estimated-met SHALL be used. Other codes MAY be used."
      },
      {
        "id": "Observation.component:estimated-met.code.coding:fiphrCode-estimated-met",
        "path": "Observation.component.code.coding",
        "sliceName": "fiphrCode-estimated-met",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Observation.component:estimated-met.code.coding:fiphrCode-estimated-met.system",
        "path": "Observation.component.code.coding.system",
        "fixedUri": "http://loinc.org"
      },
      {
        "id": "Observation.component:estimated-met.code.coding:fiphrCode-estimated-met.code",
        "path": "Observation.component.code.coding.code",
        "fixedCode": "82262-7"
      },
      {
        "id": "Observation.component:estimated-met.value[x]",
        "path": "Observation.component.value[x]",
        "min": 1,
        "type": [
          {
            "code": "Quantity"
          }
        ]
      },
      {
        "id": "Observation.component:estimated-met.value[x].value",
        "path": "Observation.component.value[x].value",
        "min": 1
      },
      {
        "id": "Observation.component:estimated-met.value[x].unit",
        "path": "Observation.component.value[x].unit",
        "min": 1,
        "fixedString": "MET"
      },
      {
        "id": "Observation.component:estimated-met.value[x].system",
        "path": "Observation.component.value[x].system",
        "min": 1,
        "fixedUri": "http://unitsofmeasure.org"
      },
      {
        "id": "Observation.component:estimated-met.value[x].code",
        "path": "Observation.component.value[x].code",
        "min": 1,
        "fixedCode": "[MET]"
      },
      {
        "id": "Observation.component:estimated-met.interpretation.coding",
        "path": "Observation.component.interpretation.coding",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "system"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Observation.component:estimated-met.referenceRange",
        "path": "Observation.component.referenceRange",
        "max": "1"
      },
      {
        "id": "Observation.component:estimated-source",
        "path": "Observation.component",
        "sliceName": "estimated-source",
        "short": "FinnishPHR: Source for estimated MET",
        "definition": "FinnishPHR: Source used to estimate the activity metabolic rate when calculating the estimated metabolic equivalent of task (MET).",
        "max": "1"
      },
      {
        "id": "Observation.component:estimated-source.code",
        "path": "Observation.component.code",
        "binding": {
          "strength": "extensible",
          "valueSet": "http://phr.kanta.fi/ValueSet/fiphr-vs-metbystandardrmr"
        }
      },
      {
        "id": "Observation.component:estimated-source.code.coding",
        "path": "Observation.component.code.coding",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "code"
            }
          ],
          "rules": "open"
        },
        "definition": "FinnishPHR: fiphrCode-estimated-source SHALL be used. Other codes MAY be used."
      },
      {
        "id": "Observation.component:estimated-source.code.coding:fiphrCode-estimated-source",
        "path": "Observation.component.code.coding",
        "sliceName": "fiphrCode-estimated-source",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Observation.component:estimated-source.code.coding:fiphrCode-estimated-source.system",
        "path": "Observation.component.code.coding.system",
        "fixedUri": "http://loinc.org"
      },
      {
        "id": "Observation.component:estimated-source.code.coding:fiphrCode-estimated-source.code",
        "path": "Observation.component.code.coding.code",
        "fixedCode": "82280-9"
      },
      {
        "id": "Observation.component:estimated-source.value[x]",
        "path": "Observation.component.value[x]",
        "min": 1,
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "strength": "extensible",
          "valueSet": "http://phr.kanta.fi/ValueSet/fiphr-vs-sourceforestimatedmet"
        }
      },
      {
        "id": "Observation.component:estimated-source.value[x].coding",
        "path": "Observation.component.value[x].coding",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "system"
            }
          ],
          "rules": "open"
        },
        "definition": "FinnishPHR: fiphrCode-estimated-source SHALL be used. Other codes MAY be used.",
        "min": 1
      },
      {
        "id": "Observation.component:estimated-source.value[x].coding:fiphrValue-estimated-source",
        "path": "Observation.component.value[x].coding",
        "sliceName": "fiphrValue-estimated-source",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Observation.component:estimated-source.value[x].coding:fiphrValue-estimated-source.system",
        "path": "Observation.component.value[x].coding.system",
        "min": 1,
        "fixedUri": "http://loinc.org"
      },
      {
        "id": "Observation.component:estimated-source.value[x].coding:fiphrValue-estimated-source.code",
        "path": "Observation.component.value[x].coding.code",
        "min": 1
      },
      {
        "id": "Observation.component:estimated-source.value[x].coding:fiphrValue-estimated-source.display",
        "path": "Observation.component.value[x].coding.display",
        "min": 1
      },
      {
        "id": "Observation.component:estimated-source.interpretation.coding",
        "path": "Observation.component.interpretation.coding",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "system"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Observation.component:estimated-source.referenceRange",
        "path": "Observation.component.referenceRange",
        "max": "1"
      },
      {
        "id": "Observation.component:reported-met",
        "path": "Observation.component",
        "sliceName": "reported-met",
        "short": "FinnishPHR: Reported MET",
        "definition": "Finnish PHR: Reported metabolic equivalent of task (MET) calculated based on reported activity metabolic rate and the standard resting metabolic rate (RMR).",
        "max": "1"
      },
      {
        "id": "Observation.component:reported-met.code",
        "path": "Observation.component.code",
        "binding": {
          "strength": "extensible",
          "valueSet": "http://phr.kanta.fi/ValueSet/fiphr-vs-metbystandardrmr"
        }
      },
      {
        "id": "Observation.component:reported-met.code.coding",
        "path": "Observation.component.code.coding",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "code"
            }
          ],
          "rules": "open"
        },
        "definition": "FinnishPHR: fiphrCode-reported-met SHALL be used. Other codes MAY be used."
      },
      {
        "id": "Observation.component:reported-met.code.coding:fiphrCode-reported-met",
        "path": "Observation.component.code.coding",
        "sliceName": "fiphrCode-reported-met",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Observation.component:reported-met.code.coding:fiphrCode-reported-met.system",
        "path": "Observation.component.code.coding.system",
        "fixedUri": "http://loinc.org"
      },
      {
        "id": "Observation.component:reported-met.code.coding:fiphrCode-reported-met.code",
        "path": "Observation.component.code.coding.code",
        "fixedCode": "82263-5"
      },
      {
        "id": "Observation.component:reported-met.value[x]",
        "path": "Observation.component.value[x]",
        "min": 1,
        "type": [
          {
            "code": "Quantity"
          }
        ]
      },
      {
        "id": "Observation.component:reported-met.value[x].value",
        "path": "Observation.component.value[x].value",
        "min": 1
      },
      {
        "id": "Observation.component:reported-met.value[x].unit",
        "path": "Observation.component.value[x].unit",
        "min": 1,
        "fixedString": "MET"
      },
      {
        "id": "Observation.component:reported-met.value[x].system",
        "path": "Observation.component.value[x].system",
        "min": 1,
        "fixedUri": "http://unitsofmeasure.org"
      },
      {
        "id": "Observation.component:reported-met.value[x].code",
        "path": "Observation.component.value[x].code",
        "min": 1,
        "fixedCode": "[MET]"
      },
      {
        "id": "Observation.component:reported-met.interpretation.coding",
        "path": "Observation.component.interpretation.coding",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "system"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Observation.component:reported-met.referenceRange",
        "path": "Observation.component.referenceRange",
        "max": "1"
      },
      {
        "id": "Observation.component:reported-source",
        "path": "Observation.component",
        "sliceName": "reported-source",
        "short": "FinnishPHR: Source for reported MET",
        "definition": "FinnishPHR: Source used for the reported activity metabolic rate when calculating the reported metabolic equivalent of task (MET).",
        "max": "1"
      },
      {
        "id": "Observation.component:reported-source.code",
        "path": "Observation.component.code",
        "binding": {
          "strength": "extensible",
          "valueSet": "http://phr.kanta.fi/ValueSet/fiphr-vs-metbystandardrmr"
        }
      },
      {
        "id": "Observation.component:reported-source.code.coding",
        "path": "Observation.component.code.coding",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "code"
            }
          ],
          "rules": "open"
        },
        "definition": "FinnishPHR: fiphrCode-reported-source SHALL be used. Other codes MAY be used.",
        "binding": {
          "strength": "extensible",
          "valueSet": "http://phr.kanta.fi/ValueSet/fiphr-vs-metbystandardrmr"
        }
      },
      {
        "id": "Observation.component:reported-source.code.coding:fiphrCode-reported-source",
        "path": "Observation.component.code.coding",
        "sliceName": "fiphrCode-reported-source",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Observation.component:reported-source.code.coding:fiphrCode-reported-source.system",
        "path": "Observation.component.code.coding.system",
        "fixedUri": "http://loinc.org"
      },
      {
        "id": "Observation.component:reported-source.code.coding:fiphrCode-reported-source.code",
        "path": "Observation.component.code.coding.code",
        "fixedCode": "82281-7"
      },
      {
        "id": "Observation.component:reported-source.value[x]",
        "path": "Observation.component.value[x]",
        "min": 1,
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "strength": "extensible",
          "description": "Codes identifying sources for reported MET-values.",
          "valueSet": "http://phr.kanta.fi/ValueSet/fiphr-vs-sourceforreportedmet"
        }
      },
      {
        "id": "Observation.component:reported-source.value[x].coding",
        "path": "Observation.component.value[x].coding",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "system"
            }
          ],
          "rules": "open"
        },
        "definition": "FinnishPHR: fiphrValue-estimated-source SHALL be used. Other codes MAY be used.",
        "min": 1
      },
      {
        "id": "Observation.component:reported-source.value[x].coding:fiphrValue-reported-source",
        "path": "Observation.component.value[x].coding",
        "sliceName": "fiphrValue-reported-source",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Observation.component:reported-source.value[x].coding:fiphrValue-reported-source.system",
        "path": "Observation.component.value[x].coding.system",
        "min": 1,
        "fixedUri": "http://loinc.org"
      },
      {
        "id": "Observation.component:reported-source.value[x].coding:fiphrValue-reported-source.code",
        "path": "Observation.component.value[x].coding.code",
        "min": 1
      },
      {
        "id": "Observation.component:reported-source.value[x].coding:fiphrValue-reported-source.display",
        "path": "Observation.component.value[x].coding.display",
        "min": 1
      },
      {
        "id": "Observation.component:reported-source.interpretation.coding",
        "path": "Observation.component.interpretation.coding",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "system"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Observation.component:reported-source.referenceRange",
        "path": "Observation.component.referenceRange",
        "max": "1"
      },
      {
        "id": "Observation.component:adjusted-met",
        "path": "Observation.component",
        "sliceName": "adjusted-met",
        "max": "1"
      },
      {
        "id": "Observation.component:adjusted-met.code",
        "path": "Observation.component.code",
        "binding": {
          "strength": "extensible",
          "valueSet": "http://phr.kanta.fi/ValueSet/fiphr-vs-metbystandardrmr"
        }
      },
      {
        "id": "Observation.component:adjusted-met.code.coding",
        "path": "Observation.component.code.coding",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "code"
            }
          ],
          "rules": "open"
        },
        "definition": "FinnishPHR: fiphrCode-adjusted-met SHALL be used. Other codes MAY be used."
      },
      {
        "id": "Observation.component:adjusted-met.code.coding:fiphrCode-adjusted-met",
        "path": "Observation.component.code.coding",
        "sliceName": "fiphrCode-adjusted-met",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Observation.component:adjusted-met.code.coding:fiphrCode-adjusted-met.system",
        "path": "Observation.component.code.coding.system",
        "fixedUri": "http://loinc.org"
      },
      {
        "id": "Observation.component:adjusted-met.code.coding:fiphrCode-adjusted-met.code",
        "path": "Observation.component.code.coding.code",
        "fixedCode": "82271-8"
      },
      {
        "id": "Observation.component:adjusted-met.value[x]",
        "path": "Observation.component.value[x]",
        "min": 1,
        "type": [
          {
            "code": "Quantity"
          }
        ]
      },
      {
        "id": "Observation.component:adjusted-met.value[x].value",
        "path": "Observation.component.value[x].value",
        "min": 1
      },
      {
        "id": "Observation.component:adjusted-met.value[x].unit",
        "path": "Observation.component.value[x].unit",
        "min": 1,
        "fixedString": "MET"
      },
      {
        "id": "Observation.component:adjusted-met.value[x].system",
        "path": "Observation.component.value[x].system",
        "min": 1,
        "fixedUri": "http://unitsofmeasure.org"
      },
      {
        "id": "Observation.component:adjusted-met.value[x].code",
        "path": "Observation.component.value[x].code",
        "min": 1,
        "fixedCode": "[MET]"
      },
      {
        "id": "Observation.component:adjusted-met.interpretation.coding",
        "path": "Observation.component.interpretation.coding",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "system"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Observation.component:adjusted-met.referenceRange",
        "path": "Observation.component.referenceRange",
        "max": "1"
      },
      {
        "id": "Observation.component:adjusted-source",
        "path": "Observation.component",
        "sliceName": "adjusted-source",
        "short": "FinnishPHR: Source for adjusted MET",
        "definition": "FinnishPHR: Source used to adjust the activity metabolic rate when calculating the adjusted metabolic equivalent of task (MET).",
        "max": "1"
      },
      {
        "id": "Observation.component:adjusted-source.code",
        "path": "Observation.component.code",
        "binding": {
          "strength": "extensible",
          "valueSet": "http://phr.kanta.fi/ValueSet/fiphr-vs-metbystandardrmr"
        }
      },
      {
        "id": "Observation.component:adjusted-source.code.coding",
        "path": "Observation.component.code.coding",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "code"
            }
          ],
          "rules": "open"
        },
        "definition": "FinnishPHR: fiphrCode-adjusted-source SHALL be used. Other codes MAY be used."
      },
      {
        "id": "Observation.component:adjusted-source.code.coding:fiphrCode-adjusted-source",
        "path": "Observation.component.code.coding",
        "sliceName": "fiphrCode-adjusted-source",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Observation.component:adjusted-source.code.coding:fiphrCode-adjusted-source.system",
        "path": "Observation.component.code.coding.system",
        "fixedUri": "http://loinc.org"
      },
      {
        "id": "Observation.component:adjusted-source.code.coding:fiphrCode-adjusted-source.code",
        "path": "Observation.component.code.coding.code",
        "fixedCode": "82283-3"
      },
      {
        "id": "Observation.component:adjusted-source.value[x]",
        "path": "Observation.component.value[x]",
        "min": 1,
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "strength": "extensible",
          "description": "Codes identifying sources for adjusted MET-values.",
          "valueSet": "http://phr.kanta.fi/ValueSet/fiphr-vs-sourceforadjustedmet"
        }
      },
      {
        "id": "Observation.component:adjusted-source.value[x].coding",
        "path": "Observation.component.value[x].coding",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "system"
            }
          ],
          "rules": "open"
        },
        "min": 1,
        "binding": {
          "strength": "extensible",
          "valueSet": "http://phr.kanta.fi/ValueSet/fiphr-vs-sourceforadjustedmet"
        }
      },
      {
        "id": "Observation.component:adjusted-source.value[x].coding:fiphrValue-adjusted-source",
        "path": "Observation.component.value[x].coding",
        "sliceName": "fiphrValue-adjusted-source",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Observation.component:adjusted-source.value[x].coding:fiphrValue-adjusted-source.system",
        "path": "Observation.component.value[x].coding.system",
        "min": 1,
        "fixedUri": "http://loinc.org"
      },
      {
        "id": "Observation.component:adjusted-source.value[x].coding:fiphrValue-adjusted-source.code",
        "path": "Observation.component.value[x].coding.code",
        "min": 1
      },
      {
        "id": "Observation.component:adjusted-source.value[x].coding:fiphrValue-adjusted-source.display",
        "path": "Observation.component.value[x].coding.display",
        "min": 1
      },
      {
        "id": "Observation.component:adjusted-source.interpretation.coding",
        "path": "Observation.component.interpretation.coding",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "system"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Observation.component:adjusted-source.referenceRange",
        "path": "Observation.component.referenceRange",
        "max": "0"
      }
    ]
  }
}