Personal Health Records
1.0.0-ballot2 - STU 1 ballot International flag

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

OperationDefinition: PHR Import Operation (Experimental)

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

Parameters

UseNameScopeCardinalityTypeBindingDocumentation
INstrategy0..1code

Import strategy: merge (reconcile with existing records, default) or append (import without reconciliation).

INmode0..1code

Processing mode: commit (default) or validate (validation-only dry run, nothing persisted).

OUTreturn1..1Resource

An import manifest: an OperationOutcome (or Parameters resource for asynchronous imports) reporting resource counts, rejected resources, and unresolved references.