Create an allergy intolerance

post

/AllergyIntolerance

Creates a new allergy intolerance.

Note: Only the body fields mentioned below are supported. Unsupported fields are ignored.

Authorization Types

This operation supports the following authorization types:

  • Provider
  • System

Request

Supported Media Types
Header Parameters
Body ()
The body of the create operation.
Root Schema : AllergyIntoleranceCreate
Type: object
Show Source
  • The category of the identified substance.
    Example:
    {
      "type": "food"
    }
  • Contained, inline resources.
    Note: These resources should be Practitioner or RelatedPerson resources that are referenced with the reporter field.
    Examples:
    Contained RelatedPerson
    {
      "contained": [
        {
          "resourceType": "RelatedPerson",
          "id": "5366328",
          "relationship": {
            "coding": [
              {
                "system": "http://hl7.org/fhir/v3/RoleCode",
                "code": "SIGOTHR"
              }
            ]
          }
        }
      ]
    }

    Contained Practitioner
    {
      "contained": [
        {
          "resourceType": "Practitioner",
          "id": "123",
          "practitionerRole": [
            {
              "role": {
                "coding": [
                  {
                    "system": "http://hl7.org/fhir/v2/0286",
                    "code": "RP"
                  }
                ]
              }
            }
          ]
        }
      ]
    }
  • The estimate of the potential clinical harm, or seriousness, of the reaction to the identified substance.
    Example:
    {
      "criticality": "CRITU"
    }
  • note
    Additional text not captured in other fields.
    Example:
    {
      "note": {
        "authorReference": {
          "reference": "Practitioner/21500971"
        },
        "time": "2015-10-14T13:13:20-06:00",
        "text": "Patient complains of discomfort"
      }
    }
  • note.authorReference
    The individual responsible for the annotation.
    Example:
    {
      "note": {
        "authorReference": {
          "reference": "Practitioner/21500971"
        }
      }
    }
  • The text content.
    Example:
    {
      "note": {
        "text": "Patient complains of discomfort"
      }
    }
  • When the annotation was made.
    Example:
    {
      "note": {
        "time": "2015-10-14T13:13:20-06:00"
      }
    }
  • The date, time, or both when manifestations showed.
    Example:
    {
      "onset: "2012-07-13T00:00:00Z"
    }
  • patient
    Who the sensitivity is for.
    Example:
    {
      "patient": {
        "reference": "Patient/5366327"
      }
    }
  • reaction
    The adverse reaction events linked to exposure to the substance.
    Example:
    {
      "reaction": [
        {
          "manifestation": [
            {
              "coding": [
                {
                  "system": "http://snomed.info/sct",
                  "code": "39579001",
                  "display": "Anaphylactic reaction"
                }
              ]
            }
          ]
        }
      ]
    }
  • When the sensitivity was recorded.
    Example:
    {
      "recordedDate": "2015-10-14T13:13:20-06:00"
    }
  • recorder
    Who recorded the sensitivity.
    Note: The recorder must be a Practitioner reference.
    Example:
    {
      "recorder": {
        "reference": "Practitioner/21500971"
      }
    }
  • The source of the information about the allergy.
    Note: If the reporter is a contained reference, a matching RelatedPerson or Practitioner reference must be provided in the contained field.
    Examples:
    Reporter as a Patient Reference
    {
      "reporter": {
        "reference": "Patient/5366327"
      }
    }

    Reporter as a Contained Reference
    {
      "reporter": "#5366328"
    }
  • Allowed Values: [ "AllergyIntolerance" ]
    The type of the FHIR resource.
  • The assertion about the certainty associated with the propensity, or potential risk, of a reaction to the identified substance.
    Example:
    {
      "status": "resolved"
    }
  • substance
    The substance (or class) that is considered responsible for risk.
    Example:
    {
      "substance": {
        "coding": [
          {
            "system": "http://www.nlm.nih.gov/research/umls/rxnorm",
            "code": "4125",
            "display": "Ethiodized oil"
          }
        ]
      }
    }
  • The identification of the underlying physiological mechanism for the reaction risk.
    Example:
    {
      "type": "allergy"
    }
Nested Schema : note
Type: object
Additional text not captured in other fields.
Example:
{
  "note": {
    "authorReference": {
      "reference": "Practitioner/21500971"
    },
    "time": "2015-10-14T13:13:20-06:00",
    "text": "Patient complains of discomfort"
  }
}
Show Source
Nested Schema : note.authorReference
Type: object
The individual responsible for the annotation.
Example:
{
  "note": {
    "authorReference": {
      "reference": "Practitioner/21500971"
    }
  }
}
Show Source
Nested Schema : patient
Type: object
Who the sensitivity is for.
Example:
{
  "patient": {
    "reference": "Patient/5366327"
  }
}
Show Source
Nested Schema : reaction
Type: array
The adverse reaction events linked to exposure to the substance.
Example:
{
  "reaction": [
    {
      "manifestation": [
        {
          "coding": [
            {
              "system": "http://snomed.info/sct",
              "code": "39579001",
              "display": "Anaphylactic reaction"
            }
          ]
        }
      ]
    }
  ]
}
Show Source
Nested Schema : recorder
Type: object
Who recorded the sensitivity.
Note: The recorder must be a Practitioner reference.
Example:
{
  "recorder": {
    "reference": "Practitioner/21500971"
  }
}
Show Source
Nested Schema : substance
Type: object
The substance (or class) that is considered responsible for risk.
Example:
{
  "substance": {
    "coding": [
      {
        "system": "http://www.nlm.nih.gov/research/umls/rxnorm",
        "code": "4125",
        "display": "Ethiodized oil"
      }
    ]
  }
}
Show Source
Nested Schema : authorReference
Type: object
Show Source
Nested Schema : items
Type: object
Show Source
  • reaction.manifestation
    The clinical symptoms or signs associated with the event.
    Examples:
    Manifestation with a coding:
    {
      "reaction": [
        {
          "manifestation": [
            {
              "coding": [
                {
                  "system": "http://snomed.info/sct",
                  "code": "39579001",
                  "display": "Anaphylactic reaction"
                }
              ]
            }
          ]
        }
      ]
    }

    Manifestation with a free-text value:
    {
      "reaction": [
        {
          "manifestation": [
            {
              "text": "Anaphylactic reaction"
            }
          ]
        }
      ]
    }
Nested Schema : reaction.manifestation
Type: array
The clinical symptoms or signs associated with the event.
Examples:
Manifestation with a coding:
{
  "reaction": [
    {
      "manifestation": [
        {
          "coding": [
            {
              "system": "http://snomed.info/sct",
              "code": "39579001",
              "display": "Anaphylactic reaction"
            }
          ]
        }
      ]
    }
  ]
}

Manifestation with a free-text value:
{
  "reaction": [
    {
      "manifestation": [
        {
          "text": "Anaphylactic reaction"
        }
      ]
    }
  ]
}
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : coding
Type: array
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : coding
Type: array
Show Source
Nested Schema : items
Type: object
Show Source
Back to Top

Response

Supported Media Types

Default Response


Example Request:
POST https://fhir-ehr-code.cerner.com/dstu2/ec2458f2-1e24-41c8-b71b-0e701af7583d/AllergyIntolerance
Example Request Body:
{
    'resourceType': 'AllergyIntolerance',
    'category': 'medication',
    'criticality': 'CRITL',
    'recordedDate': '2017-02-28T15:03:00-06:00',
    'status': 'active',
    'type': 'allergy',
    'onset': '2015-12-15T00:00:00Z',
    'patient': {
      'reference': 'Patient/12742399'
    },
    'reporter': {
      'reference': 'Patient/12742399'
    },
    'recorder': {
      'reference': 'Practitioner/683925'
    },
    'reaction': [
      {
        'manifestation': [
          {
            'text': 'Hives'
          }
        ]
      }
    ],
    'note': {
      'authorReference': {
        'reference': 'Practitioner/683925'
      },
      'time': '2017-02-28T09:03:00Z',
      'text': 'Note 1'
    },
    'substance': {
      'coding': [
        {
          'system': 'http://www.nlm.nih.gov/research/umls/rxnorm',
          'code': '3498'
        }
      ]
    }
  }
Example Response:
  HTTP Status: 201 Created
  Date: Tue, 28 Feb 2017 21:08:20 GMT
  Cache-Control: no-cache
  Vary: Origin,User-Agent,Accept-Encoding
  Strict-Transport-Security: max-age=631152000
  X-Xss-Protection: 1; mode=block
  Pragma: no-cache
  X-Request-Id: 11111111111111111111111111111111
  Etag: W/"6167733"
  X-Frame-Options: SAMEORIGIN
  X-Content-Type-Options: nosniff
  Expires: Mon, 01 Jan 1990 00:00:00 GMT
  Last-Modified: Tue, 28 Feb 2017 21:03:00 GMT
  Location: https://fhir-ehr-code.cerner.com/dstu2/ec2458f2-1e24-41c8-b71b-0e701af7583d/AllergyIntolerance/6167733
  Content-Length: 0
  Content-Type: application/json
Headers
  • For Update or Patch versioning controls. Related to If-Match. When a resource performs an operation that creates or updates a record, an Etag value is returned as a header. This same value should be included in request headers as an If-Match for any subsequent update to that record.
  • Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the X-Request-Id, if present.
  • Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the opc-Request-Id, if present.
Back to Top