{
  "resourceType": "StructureDefinition",
  "id": "bmi",
  "text": {
    "status": "generated",
    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">to do</div>"
  },
  "extension": [
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-summary",
      "valueMarkdown": "####Complete Summary of the Mandatory Requirements\r\r1.  One code in `Observation.code` which must have\r    -   a fixed `Observation.code.coding.system`=**'http ://loinc.org'**\r    -   a fixed  `Observation.code.coding.code`= **'39156-5'**\r    -   Other additional codes are allowed - e.g. more specific LOINC\r        Codes, SNOMED CT concepts, system specific codes. All codes\r        SHALL have an system value\r2.  a fixed`Observation.valueQuantity.code` = **'kg/m2'**"
    }
  ],
  "url": "http://hl7.org/fhir/StructureDefinition/bmi",
  "name": "Vital Signs Profile",
  "title": "VitalSigns",
  "status": "draft",
  "experimental": false,
  "date": "2016-03-25",
  "publisher": "Health Level Seven International (Orders and Observations Workgroup)",
  "contact": [
    {
      "telecom": [
        {
          "system": "url",
          "value": "http://www.hl7.org/Special/committees/orders/index.cfm Orders and Observations"
        }
      ]
    }
  ],
  "description": "FHIR Body Mass Index (BMI) Profile",
  "fhirVersion": "3.0.1",
  "mapping": [
    {
      "identity": "workflow",
      "uri": "http://hl7.org/fhir/workflow",
      "name": "Workflow Mapping"
    },
    {
      "identity": "sct-concept",
      "uri": "http://snomed.info/conceptdomain",
      "name": "SNOMED CT Concept Domain Binding"
    },
    {
      "identity": "v2",
      "uri": "http://hl7.org/v2",
      "name": "HL7 v2 Mapping"
    },
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    },
    {
      "identity": "w5",
      "uri": "http://hl7.org/fhir/w5",
      "name": "W5 Mapping"
    },
    {
      "identity": "sct-attr",
      "uri": "http://snomed.info/sct",
      "name": "SNOMED CT Attribute Binding"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "Observation",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/vitalsigns",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Observation",
        "path": "Observation",
        "short": "FHIR Body Mass Index (BMI) Profile",
        "definition": "This profile defines  how to represent Body Mass Index (BMI) observations in FHIR using a standard LOINC code and UCUM units of measure.",
        "min": 0,
        "max": "*"
      },
      {
        "id": "Observation.code",
        "path": "Observation.code",
        "short": "Body Mass Index (BMI)",
        "definition": "Body Mass Index (BMI).",
        "comment": "additional codes that translate or map to this code are allowed.  For example a more granular LOINC code or code that is used locally in a system.",
        "alias": [
          "Test",
          "Name"
        ]
      },
      {
        "id": "Observation.code.coding",
        "path": "Observation.code.coding",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "code"
            }
          ],
          "ordered": false,
          "rules": "open"
        }
      },
      {
        "id": "Observation.code.coding:bmicode",
        "path": "Observation.code.coding",
        "sliceName": "BMICode"
      },
      {
        "id": "Observation.code.coding:bmicode.system",
        "path": "Observation.code.coding.system",
        "type": [
          {
            "code": "uri"
          }
        ],
        "fixedUri": "http://loinc.org"
      },
      {
        "id": "Observation.code.coding:bmicode.code",
        "path": "Observation.code.coding.code",
        "type": [
          {
            "code": "code"
          }
        ],
        "fixedCode": "39156-5"
      },
      {
        "id": "Observation.valueQuantity",
        "path": "Observation.valueQuantity"
      },
      {
        "id": "Observation.valueQuantity.code",
        "path": "Observation.valueQuantity.code",
        "type": [
          {
            "code": "code"
          }
        ],
        "fixedCode": "kg/m2"
      }
    ]
  }
}