Huli FHIR Core Implementation Guide (R5)
0.1.0 - Release
Latin America and the Caribbean
Huli FHIR Core Implementation Guide (R5) - Local Development build (v0.1.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions
| Official URL: https://fhir.huli.ai/r5/OperationDefinition/DocumentReference-upload | Version: 0.1.0 | |||
| Active as of 2026-09-11 | Computable Name: DocumentReferenceUpload | |||
Create a DocumentReference together with its binary in one request. Two intake modes are accepted: (1) an inline DocumentReference whose binary rides in content[0].attachment.data (base64); (2) a multipart/form-data body with a file part plus subject (Patient reference or id) and optional encounter and category fields. Returns the created DocumentReference; a subsequent read carries a time-limited signed download URL.
URL: [base]/DocumentReference/$upload
| Use | Name | Scope | Cardinality | Type | Binding | Documentation |
| IN | document | 1..1 | DocumentReference | The inline DocumentReference (base64 binary in content[0].attachment.data). For the multipart mode the equivalent fields are supplied as form parts ( | ||
| OUT | return | 1..1 | DocumentReference | The created DocumentReference. |