Key fields
Identify the patient in one of three ways: the inline fields (
name, idCountry, idType, idValue), an existing patientId (sp_...), or your own internalCode. patientId cannot be combined with the inline identity or internalCode. internalCode may be sent alone to reference an existing patient, or together with the full inline identity, which creates and tags the patient when the code is new. Providing both patientId and the inline identity, or an incomplete inline identity, returns a 400 error.Accepted documents by country
The
idType must be valid for the given idCountry. For example, passing CC with idCountry: BR returns a 400 error.Templates: pass exactly one
medicalRecordConfiguration, medicalRecordConfigurationId, and scribeSessionConfigurationId are mutually exclusive — pass at most one. We recommend the inline medicalRecordConfiguration form: it’s reproducible, lets you version the template alongside your code, and the server dedups by content hash so you don’t accumulate duplicates.