AllergyIntolerance

POST {{host}}/fhir/AllergyIntolerance

Request Body

{"resourceType"=>"AllergyIntolerance", "id"=>"{{fhir_allergy_intolerance_id}}", "identifier"=>[{"system"=>"http://acme.com/ids/patients/risks", "value"=>"{{fhir_allergy_intolerance_id}}"}], "clinicalStatus"=>{"coding"=>[{"system"=>"http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical", "code"=>"active", "display"=>"Active"}]}, "verificationStatus"=>{"coding"=>[{"system"=>"http://terminology.hl7.org/CodeSystem/allergyintolerance-verification", "code"=>"confirmed", "display"=>"Confirmed"}]}, "type"=>"allergy", "category"=>["food"], "criticality"=>"high", "code"=>{"coding"=>[{"system"=>"http://snomed.info/sct", "code"=>"227493005", "display"=>"Cashew nuts"}]}, "patient"=>{"reference"=>"Patient/{{fhir_patient_id}}"}, "onsetDateTime"=>"2004", "recordedDate"=>"2014-10-09T14:58:00+11:00", "recorder"=>{"reference"=>"Practitioner/{{fhir_practitioner_id}}"}, "asserter"=>{"reference"=>"Practitioner/{{fhir_practitioner_id}}"}, "lastOccurrence"=>"2012-06", "note"=>[{"text"=>"The criticality is high becasue of the observed anaphylactic reaction when challenged with cashew extract."}], "reaction"=>[{"substance"=>{"coding"=>[{"system"=>"http://www.nlm.nih.gov/research/umls/rxnorm", "code"=>"1160593", "display"=>"cashew nut allergenic extract Injectable Product"}]}, "manifestation"=>[{"coding"=>[{"system"=>"http://snomed.info/sct", "code"=>"39579001", "display"=>"Anaphylactic reaction"}]}], "description"=>"Challenge Protocol. Severe reaction to subcutaneous cashew extract. Epinephrine administered", "onset"=>"2012-06-12", "severity"=>"severe", "exposureRoute"=>{"coding"=>[{"system"=>"http://snomed.info/sct", "code"=>"34206005", "display"=>"Subcutaneous route"}]}}, {"manifestation"=>[{"coding"=>[{"system"=>"http://snomed.info/sct", "code"=>"64305001", "display"=>"Urticaria"}]}], "onset"=>"2004", "severity"=>"moderate", "note"=>[{"text"=>"The patient reports that the onset of urticaria was within 15 minutes of eating cashews."}]}]}

HEADERS

KeyDatatypeRequiredDescription
content-typestring
preferstring