Personal Health Records, published by HL7 International / Patient Empowerment. This guide is not an authorized publication; it is the continuous build for version 1.0.0-ballot2 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/personal-health-record-format-ig/ and changes regularly. See the Directory of published versions
| Official URL: http://hl7.org/fhir/uv/phr/OperationDefinition/phr-import | Version: 1.0.0-ballot2 | ||||
| Standards status: Informative | Computable Name: PHRImport | ||||
Accepts PHR data in NDJSON or Bundle form and imports it into the receiving system. The request body carries the payload directly (Content-Type: application/x-ndjson or application/fhir+json). Importers are expected to deduplicate, retain provenance, validate, and resolve forward references; servers SHOULD support the FHIR asynchronous request pattern (202 Accepted + Content-Location polling) for large payloads and MAY apply back pressure with 429/Retry-After. See the API Endpoints page for conformance requirements and sequencing guidance.
Language: en
URL: [base]/Bundle/$import
| Use | Name | Scope | Cardinality | Type | Binding | Documentation |
| IN | strategy | 0..1 | code | Import strategy: merge (reconcile with existing records, default) or append (import without reconciliation). | ||
| IN | mode | 0..1 | code | Processing mode: commit (default) or validate (validation-only dry run, nothing persisted). | ||
| OUT | return | 1..1 | Resource | An import manifest: an OperationOutcome (or Parameters resource for asynchronous imports) reporting resource counts, rejected resources, and unresolved references. |