POST PlanCare2Api/MedicalAllergyIntolerance
Insert MedicalAllergyIntolerance.
Relation(s) must be of the following type: Client
Requires 'Insert' 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 |
None. |
| MedicalCodeAllergyStatusId |
Id of MedicalCodeAllergyStatus (MedicalCodeListType.AllergyStatus). |
globally unique identifier |
Required |
| StartDateTime |
Date and time when the allergy intolerance started. |
date |
None. |
| MedicalCodeDegreeOfCriticismId |
Id of MedicalCodeDegreeOfCriticism (MedicalCodeListType.AllergyDegreeOfCriticism). |
globally unique identifier |
Required |
| Reactions |
Reactions. |
string |
None. |
| Id |
Id of the registration. |
integer |
None. |
| 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 |
None. |
Request Formats
application/json, text/json
{
"CausingSubstance": "sample string 1",
"MedicalCodeAllergyCategoryId": "99c6a367-92f0-4cd9-89e3-4b168eb2d8c7",
"MedicalCodeAllergyStatusId": "e76ef3e4-df6e-4749-88a2-4236aa4f16fe",
"StartDateTime": "2026-05-26T22:09:00.9840579+02:00",
"MedicalCodeDegreeOfCriticismId": "31ecc048-cddd-41ce-9f80-730039afd9c8",
"Reactions": "sample string 4",
"Id": 5,
"RelationId": 6,
"RegistrationDateTime": "2026-05-26T22:09:00.9840579+02:00",
"Source": "sample string 8"
}
application/xml, text/xml
<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-26T22:09:00.9840579+02:00</RegistrationDateTime> <RelationId>6</RelationId> <Source>sample string 8</Source> <CausingSubstance>sample string 1</CausingSubstance> <MedicalCodeAllergyCategoryId>99c6a367-92f0-4cd9-89e3-4b168eb2d8c7</MedicalCodeAllergyCategoryId> <MedicalCodeAllergyStatusId>e76ef3e4-df6e-4749-88a2-4236aa4f16fe</MedicalCodeAllergyStatusId> <MedicalCodeDegreeOfCriticismId>31ecc048-cddd-41ce-9f80-730039afd9c8</MedicalCodeDegreeOfCriticismId> <Reactions>sample string 4</Reactions> <StartDateTime>2026-05-26T22:09:00.9840579+02:00</StartDateTime> </MedicalAllergyIntolerance>
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |