PUT pregnancy Report operation

This page will in details explain the PUT pregnancy Report operation.

The Pregnancy Report API Entity Set

The pregnancy report API only has one operation which PUT new pregnancy report resource into a storage account which is then handled by the cryos customer care team. On the developer portal we have added the request body with the needed data you need to provide in order to get a 200 success HTTP code in return.

General use

In order to make a succesfull put request - there are some fields that are required and mandatory in order to make a pregnancy report

Report field may have one of the following field values

  1. Pregnancy - If a succesfull pregnancy has been reported

  2. Miscarriage - if the pregnancy resulted in failure

  3. Completed - the pregnancy is completed with baby.

The following fields are mandatory and needs to be filed in order to create and send a pregnancy report to Cryos.

  • Timestamp may not be blank

  • TissueEstablismentName may not be blank

  • TissueEstablismentNumber may not be blank

  • PatientsBirthday may not be blank

  • PatientInitials may not be blank

  • PatientCountryCode may not be blank

  • Reference may not be blank

  • Details may not be blank

  • IsSibling my not be blank

  • ExpectedBirths must be bigger than zero

HTTP Request Example

You as the developer need to know the data that should be put in, but to give a short example of how this could look please use the example below as a form of guideline.

Please note that this a simplified example and you have to enter the correct Donor ID, TE-Number, TEName, reference and details yourself. Always if in doubt contact the clinic for these kinds of information,

since they know exactly what the data means regarding these fields. The report field can have one of three values – these are pregnancy, miscarriage or completed. The exact documentation can be found on the developer portal and have description for each field as well as the JSON file formatting.