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.OrphanDoseFromTemplateData| Name | Description | Type | Additional information |
|---|---|---|---|
| TemplateId |
Orphan Template Id |
integer |
None. |
| TemplateInstanceGuid |
Template Instance Guid |
globally unique identifier |
None. |
| IsHomeMedication |
Is orphan dose HomeMedication |
boolean |
None. |
| IsSelfAdmin |
Is orphan dose self administration |
boolean |
None. |
| StartTime |
Start time of the orphan dose |
date |
None. |
| CoSignPreparationUser |
CoSign user for preparation |
string |
None. |
| CosignAdministrationUser |
CoSign user for administration |
string |
None. |
| OrderedBy |
order by user |
string |
None. |
| IsPrepared |
Is orphan dose prepared |
boolean |
None. |
| PumpId |
Pump id to associste to the dose |
integer |
None. |
| AttachedForms |
Attached Forms |
Collection of iMDsoft.API.Metavision.Data.Doses.AttachedForm |
None. |
| ActionTime |
Action time. in offline case we also support the former report not in the future. |
date |
None. |
Request Formats
application/json, text/json
Sample:
{
"templateId": 1,
"templateInstanceGuid": "ee63941a-6cd6-4b2c-91d2-ae8511a265dc",
"isHomeMedication": true,
"isSelfAdmin": true,
"startTime": "2026-08-16T13:08:06.4840072+03:00",
"coSignPreparationUser": "sample string 4",
"cosignAdministrationUser": "sample string 5",
"orderedBy": "sample string 6",
"isPrepared": true,
"pumpId": 1,
"attachedForms": [
{
"formId": "1b822aaf-decb-4563-a4c7-603f06fbd146",
"formName": "sample string 2",
"isMandatory": true,
"callerId": "8e1a70d0-198f-42f5-b4fb-def414da927d",
"isCrossPlatform": true,
"hasSession": true,
"isMandatoryFor1stPlannedDoseOfOrder": true
},
{
"formId": "1b822aaf-decb-4563-a4c7-603f06fbd146",
"formName": "sample string 2",
"isMandatory": true,
"callerId": "8e1a70d0-198f-42f5-b4fb-def414da927d",
"isCrossPlatform": true,
"hasSession": true,
"isMandatoryFor1stPlannedDoseOfOrder": true
}
],
"actionTime": "2026-08-16T13:08:06.4840072+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.