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
| Page standards status: Informative |
{
"resourceType" : "OperationDefinition",
"id" : "phr-import",
"language" : "en",
"text" : {
"status" : "generated",
"div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: OperationDefinition phr-import</b></p><a name=\"phr-import\"> </a><a name=\"hcphr-import\"> </a><p>URL: [base]/Bundle/$import</p><h3>Parameters</h3><table class=\"grid\"><tr><td><b>Use</b></td><td><b>Name</b></td><td><b>Scope</b></td><td><b>Cardinality</b></td><td><b>Type</b></td><td><b>Binding</b></td><td><b>Documentation</b></td></tr><tr><td>IN</td><td>strategy</td><td/><td>0..1</td><td><a href=\"http://hl7.org/fhir/R4/datatypes.html#code\">code</a></td><td/><td><div><p>Import strategy: merge (reconcile with existing records, default) or append (import without reconciliation).</p>\n</div></td></tr><tr><td>IN</td><td>mode</td><td/><td>0..1</td><td><a href=\"http://hl7.org/fhir/R4/datatypes.html#code\">code</a></td><td/><td><div><p>Processing mode: commit (default) or validate (validation-only dry run, nothing persisted).</p>\n</div></td></tr><tr><td>OUT</td><td>return</td><td/><td>1..1</td><td><a href=\"http://hl7.org/fhir/R4/resource.html\">Resource</a></td><td/><td><div><p>An import manifest: an OperationOutcome (or Parameters resource for asynchronous imports) reporting resource counts, rejected resources, and unresolved references.</p>\n</div></td></tr></table></div>"
},
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
"valueCode" : "pe"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "informative",
"_valueCode" : {
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
"valueCanonical" : "http://hl7.org/fhir/uv/phr/ImplementationGuide/hl7.fhir.uv.phr"
}
]
}
}
],
"url" : "http://hl7.org/fhir/uv/phr/OperationDefinition/phr-import",
"version" : "1.0.0-ballot2",
"name" : "PHRImport",
"title" : "PHR Import Operation",
"status" : "draft",
"kind" : "operation",
"experimental" : true,
"date" : "2026-10-09T01:04:02+00:00",
"publisher" : "HL7 International / Patient Empowerment",
"contact" : [
{
"name" : "HL7 International / Patient Empowerment",
"telecom" : [
{
"system" : "url",
"value" : "http://www.hl7.org/Special/committees/patientempowerment"
}
]
}
],
"description" : "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.",
"jurisdiction" : [
{
"coding" : [
{
"system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
"code" : "001",
"display" : "World"
}
]
}
],
"code" : "import",
"resource" : [
"Bundle"
],
"system" : false,
"type" : true,
"instance" : false,
"parameter" : [
{
"name" : "strategy",
"use" : "in",
"min" : 0,
"max" : "1",
"documentation" : "Import strategy: merge (reconcile with existing records, default) or append (import without reconciliation).",
"type" : "code"
},
{
"name" : "mode",
"use" : "in",
"min" : 0,
"max" : "1",
"documentation" : "Processing mode: commit (default) or validate (validation-only dry run, nothing persisted).",
"type" : "code"
},
{
"name" : "return",
"use" : "out",
"min" : 1,
"max" : "1",
"documentation" : "An import manifest: an OperationOutcome (or Parameters resource for asynchronous imports) reporting resource counts, rejected resources, and unresolved references.",
"type" : "Resource"
}
]
}