POST PlanCare2Api/MedicalAllergyIntolerance/Update

Update MedicalAllergyIntolerance.

Relation(s) can be of the following types: Client, Prospect

Requires 'Edit' permission for function MedicalAllergyIntolerance {69731383-9F0D-48C6-81D1-F8456D0A2E91}

Request Information

URI Parameters

None.

Body Parameters

MedicalAllergyIntolerance.

MedicalAllergyIntolerance
Name Description Type Additional information
CausingSubstance

Causing substance.

string

Required

MedicalCodeAllergyCategoryId

Id of MedicalCodeAllergyCategory (MedicalCodeListType.AllergyCategory).

globally unique identifier

Nullable

MedicalCodeAllergyStatusId

Id of MedicalCodeAllergyStatus (MedicalCodeListType.AllergyStatus).

globally unique identifier

Required

StartDateTime

Date and time when the allergy intolerance started.

date

Nullable

MedicalCodeDegreeOfCriticismId

Id of MedicalCodeDegreeOfCriticism (MedicalCodeListType.AllergyDegreeOfCriticism).

globally unique identifier

Required

Reactions

Reactions.

string

-

Id

Id of the registration.

integer

-

RelationId

Id of the relation which the registration belongs to.

integer

Required

RegistrationDateTime

DateTime of measurement.

date

Required

Source

Source of registration (example: name of the questionnaire).

string

-

Request Formats

application/json, text/json

Sample:
{
  "CausingSubstance": "sample string 1",
  "MedicalCodeAllergyCategoryId": "33e95b13-04d1-468d-8a5c-ec9c2b4c3c1a",
  "MedicalCodeAllergyStatusId": "174adc10-f4f8-4625-9519-752011ea7a42",
  "StartDateTime": "2026-05-26T23:20:01.6754963+02:00",
  "MedicalCodeDegreeOfCriticismId": "dea1ae29-abfa-4acb-9958-af5da8e35f9e",
  "Reactions": "sample string 4",
  "Id": 5,
  "RelationId": 6,
  "RegistrationDateTime": "2026-05-26T23:20:01.6754963+02:00",
  "Source": "sample string 8"
}

application/xml, text/xml

Sample:
<MedicalAllergyIntolerance xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DHS.PlanCare.Web.Api.Interface.Medical">
  <Id>5</Id>
  <RegistrationDateTime>2026-05-26T23:20:01.6754963+02:00</RegistrationDateTime>
  <RelationId>6</RelationId>
  <Source>sample string 8</Source>
  <CausingSubstance>sample string 1</CausingSubstance>
  <MedicalCodeAllergyCategoryId>33e95b13-04d1-468d-8a5c-ec9c2b4c3c1a</MedicalCodeAllergyCategoryId>
  <MedicalCodeAllergyStatusId>174adc10-f4f8-4625-9519-752011ea7a42</MedicalCodeAllergyStatusId>
  <MedicalCodeDegreeOfCriticismId>dea1ae29-abfa-4acb-9958-af5da8e35f9e</MedicalCodeDegreeOfCriticismId>
  <Reactions>sample string 4</Reactions>
  <StartDateTime>2026-05-26T23:20:01.6754963+02:00</StartDateTime>
</MedicalAllergyIntolerance>

Response Information

Resource Description

HttpResponseMessage
Name Description Type Additional information
Version

Version

-

Content

HttpContent

-

StatusCode

HttpStatusCode

-

ReasonPhrase

string

-

Headers

Collection of Object

-

RequestMessage

HttpRequestMessage

-

IsSuccessStatusCode

boolean

-