Create an order

Being a REST API, each HTTP method has the expected meaning; to perform creation the POST method is used.

The data that needs to be sent for creation includes:

  • Patient demographic data

  • Information about the study or procedure

  • Information about the unit/branch where the study will be performed

  • Information about the referring physician (Optional)

  • Scheduling information (Optional)

Create an order.

post
/orders/

Creates a new order from the provided data.

Authorizations
AuthorizationstringRequired
Body
foliostringRequired

Study identifier, assigned by the hospital. Max length is 80 characters. You can use 'accession_number' as an alias for this field.

descriptionstringRequired

Description of the order (reason for doing the study). Max length is 255 characters. You can use 'requested_procedure_description' as an alias for this field.

facility_identifierstringRequired

Unique facility identifier. Max length is 40 characters.

modalitystringRequired

Modality identifier. Max length is 20 characters.

prioritystringOptional

Order priorities (NORMAL, HIGHEST, URGENT). It is used to define the priority of an order.

extra_fieldsobjectOptional

The extra field API attribute allows you to send custom fields in JSON format ({'key': 'value'}) that are not available in the service, which can then be mapped in the study report.

room_identifierstringOptional

Room AETITLE or slug.

room_namestringOptional

Room name, it is an optional field, it is recommended to send it when the room_identifier is not sent

study_codestringRequired

Study code (internal identifier). Max length is 20 characters.

study_namestringRequired

The name of the study type. Max length is 255 characters.

patient_identifierstringOptional

Patient's unique identifier. Max length is 255 characters. You can use 'patient_id' as an alias for this field.

patient_namestringRequired

Patient's names. Max length is 255 characters.

patient_first_surnamestringOptional

Patient's principal surname. Max length is 255 characters.

patient_last_surnamestringOptional

Patient's second surname. Max length is 255 characters.

patient_emailstringOptional

Patient's email. Max length is 80 characters.

patient_genderstringRequired

Patient's gender (F, M, O). You can use 'patient_sex' as an alias for this field.

patient_birth_datestringRequired

Patient's birthdate in ISO-8601 format. You can use 'patient_birthdate' as an alias for this field.

patient_phone_codestringOptional

Phone code of the country to which the telephone number belongs according to the ISD standard. Max length is 3 characters.

patient_phone_numberstringOptional

Patient's phone number.

physician_identifierstringOptional

Referring physician's custom identifier.

physician_namestringOptional

Referring physician's name. Max length is 255 characters.

physician_first_surnamestringOptional

Referring physician's first surname. Max length is 255 characters.

physician_last_surnamestringOptional

Referring physician's last surname. Max length is 255 characters.

physician_emailstringOptional

Referring physician's email. Identifier of the physician in our platform. Max length is 80 characters.

physician_genderstringOptional

Referring physician's gender (F, M, O).

physician_phone_codestringOptional

Phone code of the country to which the telephone number belongs according to the ISD standard. Max length is 3 characters.

physician_phone_numberstringOptional

Referring physician's phone number.

practitioner_assigned_emailstringOptional

Practitioner's email. Identifier of the practitioner in our platform. Max length is 80 characters.

appointment_datestringOptional

Date you want to create the appointment, datefield format: YYYY-MM-DD

appointment_timestringOptional

Time you want to create the appointment, time format: HH:MM:SS, in 24 hour format

appointment_durationintegerOptional

Duration of the appointment in minutes, for example 30

Responses
post
/orders/
circle-info

Note To create an order, the branch identifier <facility_identifier> is required in our staging environment you can send "FACILITY_01" or "FACILITY_02", Additionally if you already use unique identifiers for your branches, you can provide them to be configured in the production environment so you don't have to use new identifiers. In the case of the field modality our services are developed taking into account the "DICOM" standard therefore the modalities accepted are those indicated at the following link: https://www.dicomlibrary.com/dicom/modality/arrow-up-right and you must send its abbreviation e.g.: "modality":"CT" for "Computed Tomography"

Last updated