{
  "resourceType": "StructureDefinition",
  "id": "shr-behavior-ReasonForBehavior-extension",
  "text": {
    "status": "generated",
    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n  <p><b>SHR ReasonForBehavior Extension</b></p>\n  <p>Why the behavior has taken or is taking place.</p>\n</div>"
  },
  "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-ReasonForBehavior-extension",
  "identifier": [
    {
      "system": "http://standardhealthrecord.org",
      "value": "shr.behavior.ReasonForBehavior"
    }
  ],
  "version": "0.0.1",
  "name": "SHR ReasonForBehavior Extension",
  "title": "SHR ReasonForBehavior Extension",
  "status": "draft",
  "date": "2017-12-20",
  "publisher": "The MITRE Corporation: Standard Health Record Collaborative",
  "contact": [
    {
      "telecom": [
        {
          "system": "url",
          "value": "http://standardhealthrecord.org"
        }
      ]
    }
  ],
  "description": "Why the behavior has taken or is taking place.",
  "fhirVersion": "3.0.1",
  "kind": "complex-type",
  "abstract": false,
  "contextType": "resource",
  "context": [
    "*"
  ],
  "type": "Extension",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Extension:reasonforbehavior",
        "path": "Extension",
        "short": "SHR ReasonForBehavior Extension",
        "definition": "Why the behavior has taken or is taking place.",
        "min": 0,
        "max": "*"
      },
      {
        "id": "Extension:reasonforbehavior.extension:codeableconcept",
        "path": "Extension.extension",
        "sliceName": "codeableconcept",
        "definition": "A set of codes drawn from different coding systems, representing the same concept.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept-extension"
          }
        ]
      },
      {
        "id": "Extension:reasonforbehavior.extension:valueabsentreason",
        "path": "Extension.extension",
        "sliceName": "valueabsentreason",
        "definition": "Provides a reason why the value of the observation is missing, if it is expected (some observations are not expected to have a value).",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-finding-ValueAbsentReason-extension"
          }
        ]
      },
      {
        "id": "Extension:reasonforbehavior.extension:observationcode",
        "path": "Extension.extension",
        "sliceName": "observationcode",
        "definition": "A code that represents what the finding concerns, for example, the subject's height, blood pressure, disease status, wound dimensions, diabetes risk, etc. Although named ObservationCode, in different contexts the same attribute might be more naturally referred to as a property, observable, or test code. In assertions (observations without an explicit question), the observation code is defaulted to a value representing 'assertion'.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-finding-ObservationCode-extension"
          }
        ]
      },
      {
        "id": "Extension:reasonforbehavior.extension:interpretation",
        "path": "Extension.extension",
        "sliceName": "interpretation",
        "definition": "A clinical interpretation of a finding.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-finding-Interpretation-extension"
          }
        ]
      },
      {
        "id": "Extension:reasonforbehavior.extension:referencerange",
        "path": "Extension.extension",
        "sliceName": "referencerange",
        "definition": "The usual or acceptable range for a test result.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Extension",
            "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-finding-ReferenceRange-extension"
          }
        ]
      },
      {
        "id": "Extension:reasonforbehavior.url",
        "path": "Extension.url",
        "type": [
          {
            "code": "uri"
          }
        ],
        "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-ReasonForBehavior-extension"
      },
      {
        "id": "Extension:reasonforbehavior.value[x]",
        "path": "Extension.value[x]",
        "min": 0,
        "max": "0"
      }
    ]
  }
}