Cumuluz Translate Implementation Guide
0.1.0 - ci-build

Cumuluz Translate Implementation Guide - Local Development build (v0.1.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

OperationDefinition: Supported R4 to R4 Transform

Official URL: https://fhir.cumuluz.org/OperationDefinition/r4-transform Version: 0.1.0
Draft as of 2026-10-29 Computable Name: R4Transform

System-level transform for registered R4 profile pairs, NLPS document assembly from R4 Bundles, and experimental GLIMS OUL R21/2.4 or R22/2.5 Binary or multipart input to EU Lab 2.1.0.

URL: [base]/$transform

Parameters

UseNameScopeCardinalityTypeBindingDocumentation
INsource1..1Resource

The supported R4 source resource, collection/document Bundle for NLPS assembly, or Binary x-application/hl7-v2+er7 for the registered experimental GLIMS R21/2.4 or R22/2.5 contract.

INsourceProfile0..1canonical

Canonical URL of the supported R4 source profile. Omission requires one unique supported declared profile, preferring its most-derived declared descendant. Omit for NLPS document Bundles; each entry declares its source profile. For Binary laboratory input, MSH selects the exact registered R21/2.4 or R22/2.5 source contract; an explicit sourceProfile must agree with that header. A supplied |version must match the registered contract.

INtargetProfile1..1canonical

Canonical URL of the requested R4 target profile. A supplied |version must exactly match an installed StructureDefinition.version.

INvalidationMode0..1code

Ordered source, logical, governance, and target validation. report is the non-blocking default; enforce blocks errors; none is explicitly gated.

INreturnLogical0..1boolean

When true, include the intermediate logical model as Binary. Laboratory input returns per-resource edge/logical Binary parts in mappingEvidence.

OUTresult1..1Resource

The translated R4 resource or NLPS document Bundle; in NLPS document mode targetProfile identifies its Composition contract.

OUTtargetProfile1..1canonical

Canonical URL of the R4 target profile route used by the translation.

OUTtranslationReport0..1Parameters

Required for FHIR profile-pair sources. Binary laboratory input instead returns mappingEvidence and profileAssessment.

OUTlogical0..1Binary

The intermediate logical model serialized as JSON for FHIR profile-pair sources.

OUToutcome0..1OperationOutcome

Validation output for enforce and report modes.

INtimeZone0..1string

Binary laboratory input only: zone for offset-free timestamps; default Europe/Amsterdam. Laboratory validationMode is report or enforce.

OUTsource0..1Binary

Binary laboratory input only: original source bytes.

OUTprofileAssessment0..*

Conditional output for the registered laboratory Binary source.

OUTprofileAssessment.resource1..1Reference
OUTprofileAssessment.profile1..1canonical
OUTprofileAssessment.accepted1..1boolean
OUTprofileAssessment.outcome1..1OperationOutcome
OUTmappingEvidence0..*

Conditional output for the registered laboratory Binary source.

OUTmappingEvidence.resource1..1Reference
OUTmappingEvidence.sourceMap1..1canonical
OUTmappingEvidence.targetMap1..1canonical
OUTmappingEvidence.logicalValidation1..1OperationOutcome
OUTmappingEvidence.edgeValidation1..1OperationOutcome
OUTmappingEvidence.edge0..1Binary
OUTmappingEvidence.logical0..1Binary
INdocumentContext0..1Composition

NLPS Bundle input only: caller-authored R4 Composition with explicit subject, author, identifier, date, title, five required sections, narratives and supplied emptyReason assertions. Supply this context or one registered R4 Composition entry, never both. Unsupported for Binary laboratory input.