POST PlanCare2Api/MedicalEpilepsy

Insert MedicalEpilepsy.

Relation(s) must be of the following type: Client

Requires 'Insert' permission for function MedicalEpilepsy {E4BB8F45-B210-424C-8CF2-98B7F0ADCA42}

Request Information

URI Parameters

None.

Body Parameters

MedicalEpilepsy.

MedicalEpilepsy
NameDescriptionTypeAdditional information
NumberOfAttacks

Number of attacks.

integer

None

LengthInMinutes

Length in minutes.

integer

None

MedicalCodeEpilepsyTypeOfAttackId

Id of MedicalCodeEpilepsyTypeOfAttack (MedicalCodeListType.EpilepsyTypeOfAttack).

globally unique identifier

None

MedicalCodeEpilepsyDaypartId

Id of MedicalCodeEpilepsyDaypart (MedicalCodeListType.EpilepsyDaypart).

globally unique identifier

None

CoupeMedication

Coupe medication.

boolean

None

Remarks

Remarks.

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

Sample:
{
  "NumberOfAttacks": 1,
  "LengthInMinutes": 1,
  "MedicalCodeEpilepsyTypeOfAttackId": "45763354-c17d-4763-9519-a238aae92699",
  "MedicalCodeEpilepsyDaypartId": "cfb34e13-7f2f-4877-aaec-16143eac8d0d",
  "CoupeMedication": true,
  "Remarks": "sample string 5",
  "Id": 6,
  "RelationId": 7,
  "RegistrationDateTime": "2026-05-26T22:07:42.6397678+02:00",
  "Source": "sample string 9"
}

application/xml, text/xml

Sample:
<MedicalEpilepsy xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DHS.PlanCare.Web.Api.Interface.Medical">
  <Id>6</Id>
  <RegistrationDateTime>2026-05-26T22:07:42.6397678+02:00</RegistrationDateTime>
  <RelationId>7</RelationId>
  <Source>sample string 9</Source>
  <CoupeMedication>true</CoupeMedication>
  <LengthInMinutes>1</LengthInMinutes>
  <MedicalCodeEpilepsyDaypartId>cfb34e13-7f2f-4877-aaec-16143eac8d0d</MedicalCodeEpilepsyDaypartId>
  <MedicalCodeEpilepsyTypeOfAttackId>45763354-c17d-4763-9519-a238aae92699</MedicalCodeEpilepsyTypeOfAttackId>
  <NumberOfAttacks>1</NumberOfAttacks>
  <Remarks>sample string 5</Remarks>
</MedicalEpilepsy>

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None

Content

HttpContent

None

StatusCode

HttpStatusCode

None

ReasonPhrase

string

None

Headers

Collection of Object

None

RequestMessage

HttpRequestMessage

None

IsSuccessStatusCode

boolean

None