{
  "resourceType": "StructureDefinition",
  "id": "shr-allergy-AllergyIntolerance",
  "text": {
    "status": "generated",
    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n  <p><b>SHR AllergyIntolerance Profile</b></p>\n  <p>A finding related to the presence or absence of an individual's risk or sensitivity to a substance or class of substances. A finding can be taken as tantamount to a representation of an allergic condition, allowing it to be tracked over time.</p>\n  <p><b>SHR Mapping Summary</b></p>\n  <p><pre>shr.allergy.AllergyIntolerance maps to http://hl7.org/fhir/us/core/StructureDefinition/us-core-allergyintolerance:\n  Informant maps to asserter\n  Author maps to recorder\n  CodeableConcept maps to code\n  ClinicalStatus maps to clinicalStatus\n  Entry.CreationTime maps to assertedDate\n  Subject maps to patient\n  Type maps to type\n  Criticality maps to criticality\n  SubstanceCategory maps to category\n  VerificationStatus maps to verificationStatus\n  Onset maps to onset[x]\n  MostRecentOccurrenceTime maps to lastOccurrence\n  AdverseReaction.AllergenIrritant maps to reaction.substance\n  AdverseReaction.Manifestation maps to reaction.manifestation\n  AdverseReaction.Details maps to reaction.description\n  AdverseReaction.OccurrenceTime maps to reaction.onset\n  AdverseReaction.Severity maps to reaction.severity\n  AdverseReaction.RouteIntoBody maps to reaction.exposureRoute\n</pre></p>\n</div>"
  },
  "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-allergy-AllergyIntolerance",
  "identifier": [
    {
      "system": "http://standardhealthrecord.org",
      "value": "shr.allergy.AllergyIntolerance"
    }
  ],
  "version": "0.0.1",
  "name": "SHR AllergyIntolerance Profile",
  "status": "draft",
  "date": "2017-12-20",
  "publisher": "The MITRE Corporation: Standard Health Record Collaborative",
  "contact": [
    {
      "telecom": [
        {
          "system": "url",
          "value": "http://standardhealthrecord.org"
        }
      ]
    }
  ],
  "description": "A finding related to the presence or absence of an individual's risk or sensitivity to a substance or class of substances. A finding can be taken as tantamount to a representation of an allergic condition, allowing it to be tracked over time.",
  "jurisdiction": [
    {
      "coding": [
        {
          "system": "urn:iso:std:iso:3166",
          "code": "US",
          "display": "United States Minor Outlying Islands (the)"
        }
      ]
    }
  ],
  "fhirVersion": "3.0.1",
  "mapping": [
    {
      "identity": "argonaut-dq-dstu2",
      "uri": "http://unknown.org/Argonaut DQ DSTU2",
      "name": "Argonaut DQ DSTU2"
    },
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    },
    {
      "identity": "w5",
      "uri": "http://hl7.org/fhir/w5",
      "name": "W5 Mapping"
    },
    {
      "identity": "v2",
      "uri": "http://hl7.org/v2",
      "name": "HL7 v2 Mapping"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "AllergyIntolerance",
  "baseDefinition": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-allergyintolerance",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "AllergyIntolerance:shr-allergy-AllergyIntolerance",
        "path": "AllergyIntolerance",
        "short": "SHR AllergyIntolerance Profile",
        "definition": "A finding related to the presence or absence of an individual's risk or sensitivity to a substance or class of substances. A finding can be taken as tantamount to a representation of an allergic condition, allowing it to be tracked over time.",
        "mustSupport": false
      },
      {
        "id": "AllergyIntolerance:shr-allergy-AllergyIntolerance.extension:relatedencounter",
        "path": "AllergyIntolerance.extension",
        "sliceName": "relatedencounter",
        "definition": "If content was generated during a patient encounter, related encounter is the encounter where the information was gained.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-RelatedEncounter-extension"
          }
        ]
      },
      {
        "id": "AllergyIntolerance:shr-allergy-AllergyIntolerance.extension:focalsubject",
        "path": "AllergyIntolerance.extension",
        "sliceName": "focalsubject",
        "definition": "For use when FHIR's subject does not allow the desired type of Subject in the Finding.Subject field.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-finding-FocalSubject-extension"
          }
        ]
      },
      {
        "id": "AllergyIntolerance:shr-allergy-AllergyIntolerance.extension:focalsubjectreference",
        "path": "AllergyIntolerance.extension",
        "sliceName": "focalsubjectreference",
        "definition": "For use when FHIR's subject does not allow the desired type of Subject in the Finding.Subject field.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-finding-FocalSubjectReference-extension"
          }
        ]
      },
      {
        "id": "AllergyIntolerance:shr-allergy-AllergyIntolerance.extension:findingmethod",
        "path": "AllergyIntolerance.extension",
        "sliceName": "findingmethod",
        "definition": "The technique used to create the finding, for example, the specific imaging technical, lab test code, or assessment vehicle.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-finding-FindingMethod-extension"
          }
        ]
      },
      {
        "id": "AllergyIntolerance:shr-allergy-AllergyIntolerance.extension:findingstatus",
        "path": "AllergyIntolerance.extension",
        "sliceName": "findingstatus",
        "definition": "Indicates whether the finding is preliminary, amended, final, etc..",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-finding-FindingStatus-extension"
          }
        ]
      },
      {
        "id": "AllergyIntolerance:shr-allergy-AllergyIntolerance.extension:evidence",
        "path": "AllergyIntolerance.extension",
        "sliceName": "evidence",
        "definition": "A symptom, observation, or other item, for example, a radiology report, that serves as evidence for the current assessment.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Extension",
            "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-finding-Evidence-extension"
          }
        ]
      },
      {
        "id": "AllergyIntolerance:shr-allergy-AllergyIntolerance.extension:abatement",
        "path": "AllergyIntolerance.extension",
        "sliceName": "abatement",
        "definition": "The end, remission or resolution.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-condition-Abatement-extension"
          }
        ]
      },
      {
        "id": "AllergyIntolerance:shr-allergy-AllergyIntolerance.code",
        "path": "AllergyIntolerance.code",
        "binding": {
          "strength": "required",
          "valueSetReference": {
            "reference": "http://standardhealthrecord.org/shr/allergy/vs/AllergenIrritantVS"
          }
        }
      },
      {
        "id": "AllergyIntolerance:shr-allergy-AllergyIntolerance.patient",
        "path": "AllergyIntolerance.patient",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-entity-Patient"
          }
        ]
      },
      {
        "id": "AllergyIntolerance:shr-allergy-AllergyIntolerance.onset[x]",
        "path": "AllergyIntolerance.onset[x]",
        "type": [
          {
            "code": "dateTime"
          },
          {
            "code": "Age",
            "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-GestationalAge"
          },
          {
            "code": "Period"
          }
        ]
      },
      {
        "id": "AllergyIntolerance:shr-allergy-AllergyIntolerance.assertedDate",
        "path": "AllergyIntolerance.assertedDate",
        "min": 1,
        "max": "1"
      },
      {
        "id": "AllergyIntolerance:shr-allergy-AllergyIntolerance.recorder",
        "path": "AllergyIntolerance.recorder",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-entity-Patient"
          }
        ]
      },
      {
        "id": "AllergyIntolerance:shr-allergy-AllergyIntolerance.asserter",
        "path": "AllergyIntolerance.asserter",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-entity-Patient"
          },
          {
            "code": "Reference",
            "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-entity-RelatedPerson"
          }
        ]
      },
      {
        "id": "AllergyIntolerance:shr-allergy-AllergyIntolerance.reaction",
        "path": "AllergyIntolerance.reaction"
      },
      {
        "id": "AllergyIntolerance:shr-allergy-AllergyIntolerance.reaction.substance",
        "path": "AllergyIntolerance.reaction.substance",
        "binding": {
          "strength": "required",
          "valueSetReference": {
            "reference": "http://standardhealthrecord.org/shr/allergy/vs/AllergenIrritantVS"
          }
        }
      },
      {
        "id": "AllergyIntolerance:shr-allergy-AllergyIntolerance.reaction.manifestation",
        "path": "AllergyIntolerance.reaction.manifestation",
        "binding": {
          "strength": "required",
          "valueSetReference": {
            "reference": "http://standardhealthrecord.org/shr/allergy/vs/ManifestationVS"
          }
        }
      },
      {
        "id": "AllergyIntolerance:shr-allergy-AllergyIntolerance.reaction.exposureRoute",
        "path": "AllergyIntolerance.reaction.exposureRoute",
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "RouteOfAdministration"
            }
          ],
          "strength": "required",
          "description": "A coded concept describing the route or physiological path of administration of a therapeutic agent into or onto the body of a subject.",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/route-codes"
          }
        }
      }
    ]
  }
}