GET PlanCare2Api/MedicalIntoxicationTobacco/{id}
Gets MedicalIntoxicationTobacco by id.
Requires 'Read' permission for function MedicalIntoxicationTobacco {579E3587-91BB-44F9-AD7D-BABC85B1E17D}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
The id of the MedicalIntoxicationTobacco. |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
MedicalIntoxicationTobacco.
MedicalIntoxicationTobacco| Name | Description | Type | Additional information |
|---|---|---|---|
| StartDate |
StartDate. |
date |
Nullable |
| StopDate |
StopDate. |
date |
Nullable |
| MedicalCodeTobaccoStatusId |
Id of MedicalCodeTobaccoStatus (MedicalCodeListType.TobaccoStatus). |
globally unique identifier |
- |
| MedicalCodeTobaccoTypeUserId |
Id of MedicalCodeTobaccoTypeUser (MedicalCodeListType.TobaccoTypeUser). |
globally unique identifier |
Nullable |
| Amount |
Amount. |
integer |
Nullable |
| PackYears |
PackYears. |
integer |
Nullable |
| Remarks |
Remarks. |
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 |
- |
Response Formats
application/json, text/json
Sample:
{
"StartDate": "2026-05-26T23:18:37.268589+02:00",
"StopDate": "2026-05-26T23:18:37.268589+02:00",
"MedicalCodeTobaccoStatusId": "8ef7e3b7-5c04-42c8-867b-d2700f2dd5f4",
"MedicalCodeTobaccoTypeUserId": "5188008b-91b3-44d0-bc91-09005de9a908",
"Amount": 1,
"PackYears": 1,
"Remarks": "sample string 2",
"Id": 3,
"RelationId": 4,
"RegistrationDateTime": "2026-05-26T23:18:37.268589+02:00",
"Source": "sample string 6"
}
application/xml, text/xml
Sample:
<MedicalIntoxicationTobacco xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DHS.PlanCare.Web.Api.Interface.Medical"> <Id>3</Id> <RegistrationDateTime>2026-05-26T23:18:37.268589+02:00</RegistrationDateTime> <RelationId>4</RelationId> <Source>sample string 6</Source> <Amount>1</Amount> <MedicalCodeTobaccoStatusId>8ef7e3b7-5c04-42c8-867b-d2700f2dd5f4</MedicalCodeTobaccoStatusId> <MedicalCodeTobaccoTypeUserId>5188008b-91b3-44d0-bc91-09005de9a908</MedicalCodeTobaccoTypeUserId> <PackYears>1</PackYears> <Remarks>sample string 2</Remarks> <StartDate>2026-05-26T23:18:37.268589+02:00</StartDate> <StopDate>2026-05-26T23:18:37.268589+02:00</StopDate> </MedicalIntoxicationTobacco>