Creates a DiagnosticOrderInput resource.
Creates a DiagnosticOrderInput resource.
Creates a DiagnosticOrderInput resource.
Authorization
apiKey In: header
Header Parameters
Language for Errors and Translatable properties
Allowed values: "de", "en", "fr"
The new DiagnosticOrderInput resource
TypeScript Definitions
Use the request body type in TypeScript.
Identifiers of the DiagnosticProducts to order. Each entry may be a UUID, a DiagnosticProduct IRI, or a canonical ID. Provide at least one product ID.
Patient gender. Defaults to `X` (Unknown) when omitted.
Allowed values: "M", "F", "D", "X"
Patient date of birth.
Health insurance details, when applicable for the ordered DiagnosticProduct.
Allowed values: "GKV", "PKV", null
The insurer assigned ID for the Subscriber.
Optional partner-defined metadata. Up to 10 entries are supported and values must be JSON primitive values (string, number, or boolean).
Response Body
curl -X POST "https://example.com/v1/diagnostic_orders" \ -H "accept-language: de" \ -H "Content-Type: application/json" \ -d '{ "productIds": [ "1f09de62-6e45-6970-afda-7b07372bb3bd" ], "patient": { "firstName": "Jane", "lastName": "Doe", "email": "meron.nagy@probatix.de", "gender": "X", "dateOfBirth": "1994-01-15", "healthInsuranceDetails": { "countryCode": "DE", "provider": "Example Insurance", "healthInsuranceTypeDE": "GKV", "subscriberIdentifier": "string" } }, "shippingAddress": { "address1": "Bismarckstraße 10-12", "address2": "6. OG", "zip": "10625", "city": "Berlin", "countryCode": "DE", "firstName": "Jane", "lastName": "Doe", "phone": "030 56838352", "company": "Probatix Health GmbH", "name": "Probatix Health GmbH" }, "metadata": { "yourReference1": "abc", "yourReference2": 123, "yourFlag1": true } }'{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "diagnosticTests": [ "/entity/1" ], "createdAt": "2019-08-24T14:15:22Z", "fulfilledAt": "2019-08-24T14:15:22Z", "shipmentTracking": { "provider": "DHL", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "trackingCode": "string", "url": "string", "shipmentStatus": "confirmed", "providerStatus": "string", "rawProviderHistory": [ "string" ] }, "shippingAddress": { "address1": "string", "address2": "string", "zip": "string", "city": "string", "countryCode": "DE", "firstName": "string", "lastName": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "phone": "string", "company": "string", "name": "string" }, "metadata": [ "string" ]}