POST API/V1/Patients/{patientId}/AdministeredDoses/CreateOrphanDoseFromTemplate
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
patientId | integer |
Required |
Body Parameters
iMDsoft.API.Metavision.Data.Doses.DoseActionDataModels.OrphanDoseFromTemplateDataName | Description | Type | Additional information |
---|---|---|---|
TemplateId | integer |
None. |
|
TemplateInstanceGuid | globally unique identifier |
None. |
|
IsHomeMedication | boolean |
None. |
|
IsSelfAdmin | boolean |
None. |
|
StartTime | date |
None. |
|
CoSignPreparationUser | string |
None. |
|
CosignAdministrationUser | string |
None. |
|
OrderedBy | string |
None. |
|
IsPrepared | boolean |
None. |
|
PumpId | integer |
None. |
|
AttachedForms | Collection of iMDsoft.API.Metavision.Data.Doses.AttachedForm |
None. |
|
ActionTime | date |
None. |
Request Formats
application/json, text/json
Sample:
{ "templateId": 1, "templateInstanceGuid": "cc10787e-24a9-4f21-9f86-67e64bedbfb1", "isHomeMedication": true, "isSelfAdmin": true, "startTime": "2024-09-22T13:32:04.9241095+03:00", "coSignPreparationUser": "sample string 4", "cosignAdministrationUser": "sample string 5", "orderedBy": "sample string 6", "isPrepared": true, "pumpId": 1, "attachedForms": [ { "formId": "c6c8c217-f3aa-4da5-bf8f-33c8e604dd09", "formName": "sample string 2", "isMandatory": true, "callerId": "411493e1-4fc0-4f13-a8b7-6835b73d9406", "isCrossPlatform": true }, { "formId": "c6c8c217-f3aa-4da5-bf8f-33c8e604dd09", "formName": "sample string 2", "isMandatory": true, "callerId": "411493e1-4fc0-4f13-a8b7-6835b73d9406", "isCrossPlatform": true } ], "actionTime": "2024-09-22T13:32:04.9241095+03:00" }
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
System.Web.Http.IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.