{
  "resourceType": "StructureDefinition",
  "id": "BodyMassIndexObservation",
  "url": "http://hl7.org/fhir/us/bser/StructureDefinition/BodyMassIndexObservation",
  "name": "BSeR Body Mass Index Observation",
  "status": "draft",
  "publisher": "Hi3 Solutions",
  "contact": [
    {
      "name": "AbdulMalik Shakir",
      "telecom": [
        {
          "system": "phone",
          "value": "6266444491",
          "use": "work"
        },
        {
          "system": "email",
          "value": "abdulmalik.shakir@hi3solutions.com",
          "use": "work"
        }
      ]
    }
  ],
  "kind": "resource",
  "abstract": false,
  "contextType": "resource",
  "context": [
    "Observation"
  ],
  "type": "Observation",
  "baseDefinition": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observationresults",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Observation",
        "path": "Observation"
      },
      {
        "id": "Observation.id",
        "path": "Observation.id",
        "short": "id",
        "definition": "MAY contain zero or one [0..1] id (CONF:4383-766).",
        "min": 0,
        "max": "1"
      },
      {
        "id": "Observation.meta",
        "path": "Observation.meta",
        "short": "meta",
        "definition": "MAY contain zero or one [0..1] meta (CONF:4383-765).",
        "min": 0,
        "max": "1"
      },
      {
        "id": "Observation.meta.profile",
        "path": "Observation.meta.profile",
        "short": "profile",
        "definition": "The meta, if present, SHALL contain exactly one [1..1] profile=\"http://hl7.org/fhir/us/bser/StructureDefinition/BodyMassIndexObservation\" (CONF:4383-767).",
        "min": 1,
        "max": "1",
        "patternString": "http://hl7.org/fhir/us/bser/StructureDefinition/BodyMassIndexObservation"
      },
      {
        "id": "Observation.status",
        "path": "Observation.status",
        "short": "status",
        "definition": "SHALL contain exactly one [1..1] status=\"\"Final\"\" (CONF:4383-262).",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "fixedString": "\"Final\""
      },
      {
        "id": "Observation.category",
        "path": "Observation.category",
        "short": "category",
        "definition": "SHALL contain exactly one [1..1] category=\"\"vital-signs\"\" (CONF:4383-263).",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "fixedCodeableConcept": {
          "coding": [
            {
              "code": "\"vital-signs\""
            }
          ]
        }
      },
      {
        "id": "Observation.code",
        "path": "Observation.code",
        "short": "code",
        "definition": "SHALL contain exactly one [1..1] code=\"\"39156-5\"\" (CONF:4383-264).",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "fixedCodeableConcept": {
          "coding": [
            {
              "code": "\"39156-5\""
            }
          ]
        }
      },
      {
        "id": "Observation.subject",
        "path": "Observation.subject",
        "short": "subject",
        "definition": "SHALL contain exactly one [1..1] subject=\"BSeR Patient\" (CONF:4383-768).",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location"
          }
        ],
        "patternString": "BSeR Patient"
      },
      {
        "id": "Observation.effective[x]",
        "path": "Observation.effective[x]",
        "slicing": {
          "discriminator": [
            {
              "type": "type",
              "path": "$this"
            }
          ],
          "rules": "open"
        },
        "short": "effective[x]",
        "definition": "MAY contain zero or one [0..1] effective[x], where effective[x] is (CONF:4383-259)",
        "min": 0,
        "max": "1"
      },
      {
        "id": "Observation.effective[x]:effectiveDateTime",
        "path": "Observation.effectiveDateTime",
        "sliceName": "effectiveDateTime",
        "short": "effectiveDateTime",
        "definition": "effectiveDateTime (CONF:4383-265)"
      },
      {
        "id": "Observation.value[x]",
        "path": "Observation.value[x]",
        "slicing": {
          "discriminator": [
            {
              "type": "type",
              "path": "$this"
            }
          ],
          "rules": "open"
        },
        "short": "value[x]",
        "definition": "MAY contain zero or one [0..1] value[x], where value[x] is (CONF:4383-260)",
        "min": 0,
        "max": "1"
      },
      {
        "id": "Observation.value[x]:valueQuantity",
        "path": "Observation.valueQuantity",
        "sliceName": "valueQuantity",
        "short": "valueQuantity",
        "definition": "valueQuantity (CONF:4383-261)"
      },
      {
        "id": "Observation.value[x]:valueQuantity.value",
        "path": "Observation.valueQuantity.value",
        "sliceName": "valueQuantity",
        "short": "value",
        "definition": "SHALL contain exactly one [1..1] value (CONF:4383-266).",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Observation.value[x]:valueQuantity.unit",
        "path": "Observation.valueQuantity.unit",
        "sliceName": "valueQuantity",
        "short": "unit",
        "definition": "SHALL contain exactly one [1..1] unit=\"\"kg/m2\"\" (CONF:4383-267).",
        "min": 1,
        "max": "1",
        "fixedString": "\"kg/m2\""
      },
      {
        "id": "Observation.dataAbsentReason",
        "path": "Observation.dataAbsentReason",
        "short": "dataAbsentReason",
        "definition": "SHALL contain exactly one [1..1] dataAbsentReason, which SHALL be selected from ValueSet Observation-valueabsentreason http://hl7.org/fhir/ValueSet/observation-valueabsentreason DYNAMIC (CONF:4383-268).",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "strength": "required",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason",
            "display": "Observation-valueabsentreason"
          }
        }
      }
    ]
  }
}