{
  "resourceType": "StructureDefinition",
  "id": "AMA-IHMI-goal-body-weight-1",
  "url": "http://www.ama-ihmi.org/fhir/StructureDefinition/AMA-IHMI-goal-body-weight-1",
  "name": "AMA-IHMI-goal-body-weight-1",
  "status": "draft",
  "publisher": "American Medical Association",
  "description": "This profile supports constraining a body weight goal in the context of individuals who are self-measuring blood pressure at home and are given a weight loss goal as part of a blood pressure treatment plan. \r\nThis profile’s target measure is constrained to undressed body weight to ensure that an individual’s weight is compared to a weight with the same clothing status when outcome of the weight goal is assessed. This profile is used in combination with the AMA-IHMI-observation-body-weight-1 profile which requires the element clothingStatus with the allowed value constrained to undressed.",
  "copyright": "Copyright 2016-2019 American Medical Association. All rights reserved.",
  "fhirVersion": "3.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Goal",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Goal",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Goal.description.coding",
        "path": "Goal.description.coding",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Goal.description.coding.system",
        "path": "Goal.description.coding.system",
        "min": 1,
        "fixedUri": "http://ihmi.termspace.com/api/uri?uri=http://snomed.info/sct/3881000207102"
      },
      {
        "id": "Goal.description.coding.code",
        "path": "Goal.description.coding.code",
        "min": 1,
        "fixedCode": "416528001"
      },
      {
        "id": "Goal.description.coding.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "Goal.description.coding.display",
        "min": 1,
        "fixedString": "Intentional weight loss (finding)"
      },
      {
        "id": "Goal.description.coding.userSelected",
        "path": "Goal.description.coding.userSelected",
        "max": "0"
      },
      {
        "id": "Goal.description.text",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "Goal.description.text",
        "max": "0"
      },
      {
        "id": "Goal.subject",
        "path": "Goal.subject",
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient"
          }
        ]
      },
      {
        "id": "Goal.start[x]:startDate",
        "path": "Goal.startDate",
        "sliceName": "startDate",
        "type": [
          {
            "code": "date"
          }
        ]
      },
      {
        "id": "Goal.target",
        "path": "Goal.target",
        "min": 1
      },
      {
        "id": "Goal.target.measure",
        "path": "Goal.target.measure",
        "min": 1
      },
      {
        "id": "Goal.target.measure.coding",
        "path": "Goal.target.measure.coding",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Goal.target.measure.coding.system",
        "path": "Goal.target.measure.coding.system",
        "min": 1,
        "fixedUri": "http://ihmi.termspace.com/api/uri?uri=http://snomed.info/sct/3881000207102"
      },
      {
        "id": "Goal.target.measure.coding.code",
        "path": "Goal.target.measure.coding.code",
        "min": 1,
        "fixedCode": "4121000207107"
      },
      {
        "id": "Goal.target.measure.coding.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "Goal.target.measure.coding.display",
        "min": 1,
        "fixedString": "Measurement of body weight, undressed (procedure)"
      },
      {
        "id": "Goal.target.measure.coding.userSelected",
        "path": "Goal.target.measure.coding.userSelected",
        "max": "0"
      },
      {
        "id": "Goal.target.measure.text",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "Goal.target.measure.text",
        "max": "0"
      },
      {
        "id": "Goal.target.detail[x]:detailRange",
        "path": "Goal.target.detailRange",
        "sliceName": "detailRange",
        "min": 1,
        "type": [
          {
            "code": "Range"
          }
        ]
      },
      {
        "id": "Goal.target.detail[x]:detailRange.low.value",
        "path": "Goal.target.detailRange.low.value",
        "min": 1
      },
      {
        "id": "Goal.target.detail[x]:detailRange.low.unit",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "Goal.target.detailRange.low.unit",
        "min": 1
      },
      {
        "id": "Goal.target.detail[x]:detailRange.low.system",
        "path": "Goal.target.detailRange.low.system",
        "min": 1,
        "fixedUri": "http://unitsofmeasure.org"
      },
      {
        "id": "Goal.target.detail[x]:detailRange.low.code",
        "path": "Goal.target.detailRange.low.code",
        "min": 1,
        "binding": {
          "strength": "required",
          "valueSetUri": "http://hl7.org/fhir/ValueSet/ucum-bodyweight"
        }
      },
      {
        "id": "Goal.target.detail[x]:detailRange.high.value",
        "path": "Goal.target.detailRange.high.value",
        "min": 1
      },
      {
        "id": "Goal.target.detail[x]:detailRange.high.unit",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "Goal.target.detailRange.high.unit",
        "min": 1
      },
      {
        "id": "Goal.target.detail[x]:detailRange.high.system",
        "path": "Goal.target.detailRange.high.system",
        "min": 1,
        "fixedUri": "http://unitsofmeasure.org"
      },
      {
        "id": "Goal.target.detail[x]:detailRange.high.code",
        "path": "Goal.target.detailRange.high.code",
        "min": 1,
        "binding": {
          "strength": "required",
          "valueSetUri": "http://hl7.org/fhir/ValueSet/ucum-bodyweight"
        }
      },
      {
        "id": "Goal.target.due[x]:dueDate",
        "path": "Goal.target.dueDate",
        "sliceName": "dueDate",
        "min": 1,
        "type": [
          {
            "code": "date"
          }
        ]
      },
      {
        "id": "Goal.expressedBy",
        "path": "Goal.expressedBy",
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner"
          }
        ]
      },
      {
        "id": "Goal.addresses",
        "path": "Goal.addresses",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://www.ama-ihmi.org/fhir/StructureDefinition/AMA-IHMI-observation-body-weight-1"
          }
        ]
      },
      {
        "id": "Goal.outcomeCode",
        "path": "Goal.outcomeCode",
        "max": "1"
      }
    ]
  }
}