Document to FHIR
Category: Healthcare Standards
Node id: document-to-fhir
Standards: PHI, IEC-62304-Class-C
Deterministically map a document-extract ExtractionResult into a FHIR R4 transaction Bundle (Patient + Coverage/Claim/ExplanationOfBenefit for bills, Procedure/Condition for reports, ServiceRequest for referrals, Observation/DiagnosticReport for labs).
What it does
- Deterministic ExtractionResult → FHIR R4 mapping
- Transaction Bundle with conditional-create idempotency
- No LLM / no code invention
Input ports
| Name | Type | Required | Description |
|---|---|---|---|
extracted | json | No | ExtractionResult object from document-extract |
raw_response | text | No | ExtractionResult JSON string (alternative to 'extracted') |
document_id | text | No | Stable document identifier for idempotent conditional creates |
Output ports
| Name | Type | Required | Description |
|---|---|---|---|
bundle | fhir-bundle | No | FHIR R4 transaction Bundle ready for fhir-crud transaction |
resource_count | number | No | Number of resources in the bundle |
document_type | text | No | Source document type |
needs_review | boolean | No | Passthrough of the extraction review flag |
success | boolean | No | Whether mapping succeeded |
Settings
Basic
| Setting | Name | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|---|
| MRN Identifier System | identifier_system | string | No | urn:tietai:hydra:mrn | FHIR identifier system for the patient MRN | |
| Document Identifier System | document_identifier_system | string | No | urn:tietai:hydra:document | FHIR identifier system for the source document id | |
| Default Currency | currency | string | No | USD | ISO-4217 currency when the document does not state one |
Runtime notes
- Emits a FHIR transaction Bundle; POST it with the fhir-crud 'transaction' operation.
- With a document_id, Claim/EOB dedupe by document identifier and Patient dedupes by MRN.
See Build any workflow for how to put nodes together and Ports, types and data flow for how port types connect.
Etwas unklar? Senden Sie Feedback zur Dokumentation per E-Mail..