Update Allergy

PUT {{baseUrl}}/api/v2/AllergyIntolerance/:allergy-intolerance-id

Overview:

A targeted request to update or amend the details of a specific appointment ID - enabling programmatic management of visit attributes like services, providers, patients, timing, and locations to drive integrated downstream workflows dependent on appointment state.

Use Cases:

  • Wait Time Updates: Update duration and wait times

  • Staff Rescheduling Algorithms: Reroute if providers unavailable

  • Patient Visit Updates: Amend location or service needs

  • Telehealth Conversions: Pivot in-person to virtual

  • Referral Workflow Amends: Sync between systems

Request Body

{"context"=>{"requestId"=>"<string>", "source"=>"<string>", "quorum"=>"<boolean>"}, "data"=>{"resourceType"=>"<string>", "id"=>"<string>", "patient"=>{"reference"=>"<string>"}, "code"=>{"coding"=>[{"system"=>"<string>", "code"=>"<integer>", "display"=>"<string>"}, {"system"=>"<string>", "code"=>"<integer>", "display"=>"<string>"}]}, "category"=>["<string>", "<string>"], "criticality"=>"<string>", "onsetDateTime"=>"<string>", "reaction"=>[{"manifestation"=>[{"coding"=>[{"system"=>"<string>", "code"=>"<integer>", "display"=>"<string>"}, {"system"=>"<string>", "code"=>"<integer>", "display"=>"<string>"}]}, {"coding"=>[{"system"=>"<string>", "code"=>"<integer>", "display"=>"<string>"}, {"system"=>"<string>", "code"=>"<integer>", "display"=>"<string>"}]}], "severity"=>"<string>", "extension"=>[{"url"=>"<string>", "valueInteger"=>"<integer>"}, {"url"=>"<string>", "valueInteger"=>"<integer>"}]}, {"manifestation"=>[{"coding"=>[{"system"=>"<string>", "code"=>"<integer>", "display"=>"<string>"}, {"system"=>"<string>", "code"=>"<integer>", "display"=>"<string>"}]}, {"coding"=>[{"system"=>"<string>", "code"=>"<integer>", "display"=>"<string>"}, {"system"=>"<string>", "code"=>"<integer>", "display"=>"<string>"}]}], "severity"=>"<string>", "extension"=>[{"url"=>"<string>", "valueInteger"=>"<integer>"}, {"url"=>"<string>", "valueInteger"=>"<integer>"}]}]}}

HEADERS

KeyDatatypeRequiredDescription
x-source-idstring(Required) The source id provided for connecting to the data source
Content-Typestring
Authorizationstring

RESPONSES

status: OK

[{&quot;context&quot;:{&quot;requestId&quot;:&quot;\u003cstring\u003e&quot;,&quot;source&quot;:&quot;\u003cstring\u003e&quot;,&quot;quorum&quot;:&quot;\u003cboolean\u003e&quot;,&quot;notify&quot;:&quot;\u003cboolean\u003e&quot;},&quot;data&quot;:{&quot;id&quot;:&quot;\u003cinteger\u003e&quot;,&quot;status&quot;:&quot;\u003cstring\u003e&quot;}},{&quot;context&quot;:{&quot;requestId&quot;:&quot;\u003cstring\u003e&quot;,&quot;source&quot;:&quot;\u003cstring\u003e&quot;,&quot;quorum&quot;:&quot;\u003cboolean\u003e&quot;,&quot;notify&quot;:&quot;\u003cboolean\u003e&quot;},&quot;data&quot;:{&quot;id&quot;:&quot;\u003cinteger\u003e&quot;,&quot;status&quot;:&quot;\u003cstring\u003e&quot;}}]