POST
/
api
/
v2
/
hie
/
documents
/
upload
Python
from samplehc import SampleHealthcare

client = SampleHealthcare(
    api_key="My API Key",
)
response = client.v2.hie.documents.upload(
    description="description",
    document_type={
        "text": "text"
    },
    file_metadata_id="fileMetadataId",
    patient_id="patientId",
)
print(response)
{}

Body

application/json

Response

200 - application/json

Default Response

The response is of type object.