Metriport · Arazzo Workflow
Metriport Patient Document Retrieval
Version 1.0.0
Register a patient, trigger an IHE document query across the networks, poll until retrieval completes, list the resulting documents, and obtain a signed download URL.
View Spec
View on GitHub
HealthcareMedical RecordsFHIRHealth DataWearablesOpen SourceArazzoWorkflows
Provider
Workflows
patient-document-retrieval
Create a patient, run an IHE document query, then list and download the retrieved documents.
Implements the Metriport document-retrieval sequence end to end: patient registration, document query launch, status polling, document listing, and signed download URL retrieval.
1
createPatient
createPatient
Register the patient under the given facility so document queries can resolve against the networks.
2
startDocQuery
startDocumentQuery
Start an IHE document query that fans the patient out to the connected health information networks.
3
pollDocQuery
getDocumentQueryStatus
Poll the document query until the download progress reports complete.
4
listDocs
listDocuments
List the retrieved FHIR R4 DocumentReferences available for the patient.
5
getDownloadUrl
getDocumentUrl
Request a signed download URL for a specific retrieved document.