{
  "resourceType": "StructureDefinition",
  "display": "Goal acceptance",
  "constrainedType": "Extension",
  "base": "http://hl7.org/fhir/StructureDefinition/Extension",
  "id": "spark166",
  "meta": {
    "versionId": "spark166",
    "lastUpdated": "2015-10-02T12:13:13.542+00:00"
  },
  "url": "http://hl7.org/fhir/StructureDefinition/goal-acceptance",
  "name": "Individual acceptance of goal",
  "status": "draft",
  "date": "2014-12-07",
  "publisher": "Health Level Seven, Inc. - FHIR WG",
  "contact": [
    {
      "telecom": [
        {
          "system": "other",
          "value": "http://hl7.org/special/committees/fhir"
        }
      ]
    }
  ],
  "description": "Information about the acceptance and relative priority assigned to the goal by the patient, practitioners and other stake-holders.",
  "fhirVersion": "1.0.1",
  "kind": "datatype",
  "abstract": false,
  "contextType": "resource",
  "context": [
    "Goal"
  ],
  "snapshot": {
    "element": [
      {
        "id": "Extension",
        "path": "Extension",
        "short": "Individual acceptance of goal",
        "definition": "Information about the acceptance and relative priority assigned to the goal by the patient, practitioners and other stake-holders.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Extension"
          }
        ]
      }
    ]
  },
  "differential": {
    "element": [
      {
        "path": "Extension",
        "short": "Individual acceptance of goal",
        "definition": "Information about the acceptance and relative priority assigned to the goal by the patient, practitioners and other stake-holders.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Extension"
          }
        ]
      },
      {
        "name": "individual",
        "path": "Extension.extension",
        "short": "Individual whose acceptance is reflected",
        "definition": "The person whose acceptance/priority is being reflected.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Extension"
          }
        ]
      },
      {
        "name": "extension",
        "path": "Extension.extension.extension",
        "max": "0"
      },
      {
        "path": "Extension.extension.url",
        "type": [
          {
            "code": "uri"
          }
        ],
        "fixedUri": "individual"
      },
      {
        "path": "Extension.extension.value[x]",
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "profile": "http://hl7.org/fhir/StructureDefinition/Patient"
          },
          {
            "code": "Reference",
            "profile": "http://hl7.org/fhir/StructureDefinition/Practitioner"
          },
          {
            "code": "Reference",
            "profile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson"
          }
        ]
      },
      {
        "name": "status",
        "path": "Extension.extension",
        "short": "agree | disagree | pending",
        "definition": "Indicates whether the specified individual has accepted the goal or not.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension"
          }
        ]
      },
      {
        "name": "extension",
        "path": "Extension.extension.extension",
        "max": "0"
      },
      {
        "path": "Extension.extension.url",
        "type": [
          {
            "code": "uri"
          }
        ],
        "fixedUri": "status"
      },
      {
        "path": "Extension.extension.value[x]",
        "min": 1,
        "type": [
          {
            "code": "code"
          }
        ],
        "binding": {
          "strength": "required",
          "description": "Codes indicating whether the goal has been accepted by a stakeholder",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/goal-acceptance-status"
          }
        }
      },
      {
        "name": "priority",
        "path": "Extension.extension",
        "short": "Priority of goal for individual",
        "definition": "Indicates the relative priority assigned to the resource by the stakeholder.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension"
          }
        ]
      },
      {
        "name": "extension",
        "path": "Extension.extension.extension",
        "max": "0"
      },
      {
        "path": "Extension.extension.url",
        "type": [
          {
            "code": "uri"
          }
        ],
        "fixedUri": "priority"
      },
      {
        "path": "Extension.extension.value[x]",
        "min": 1,
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "strength": "example",
          "description": "Codes indicating the relative priority assigned to a goal by a stakeholder",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/goal-priority"
          }
        }
      },
      {
        "path": "Extension.url",
        "type": [
          {
            "code": "uri"
          }
        ],
        "fixedUri": "http://hl7.org/fhir/StructureDefinition/goal-acceptance"
      },
      {
        "path": "Extension.value[x]",
        "min": 0,
        "max": "0"
      }
    ]
  }
}