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
| Draft as of 2026-10-29 |
{
"resourceType" : "OperationDefinition",
"id" : "R4TransformOperation",
"text" : {
"status" : "generated",
"div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: OperationDefinition R4TransformOperation</b></p><a name=\"R4TransformOperation\"> </a><a name=\"hcR4TransformOperation\"> </a><p>URL: [base]/$transform</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>source</td><td/><td>1..1</td><td><a href=\"http://hl7.org/fhir/R4/resource.html\">Resource</a></td><td/><td><div><p>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.</p>\n</div></td></tr><tr><td>IN</td><td>sourceProfile</td><td/><td>0..1</td><td><a href=\"http://hl7.org/fhir/R4/datatypes.html#canonical\">canonical</a></td><td/><td><div><p>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.</p>\n</div></td></tr><tr><td>IN</td><td>targetProfile</td><td/><td>1..1</td><td><a href=\"http://hl7.org/fhir/R4/datatypes.html#canonical\">canonical</a></td><td/><td><div><p>Canonical URL of the requested R4 target profile. A supplied |version must exactly match an installed StructureDefinition.version.</p>\n</div></td></tr><tr><td>IN</td><td>validationMode</td><td/><td>0..1</td><td><a href=\"http://hl7.org/fhir/R4/datatypes.html#code\">code</a></td><td/><td><div><p>Ordered source, logical, governance, and target validation. report is the non-blocking default; enforce blocks errors; none is explicitly gated.</p>\n</div></td></tr><tr><td>IN</td><td>returnLogical</td><td/><td>0..1</td><td><a href=\"http://hl7.org/fhir/R4/datatypes.html#boolean\">boolean</a></td><td/><td><div><p>When true, include the intermediate logical model as Binary. Laboratory input returns per-resource edge/logical Binary parts in mappingEvidence.</p>\n</div></td></tr><tr><td>OUT</td><td>result</td><td/><td>1..1</td><td><a href=\"http://hl7.org/fhir/R4/resource.html\">Resource</a></td><td/><td><div><p>The translated R4 resource or NLPS document Bundle; in NLPS document mode targetProfile identifies its Composition contract.</p>\n</div></td></tr><tr><td>OUT</td><td>targetProfile</td><td/><td>1..1</td><td><a href=\"http://hl7.org/fhir/R4/datatypes.html#canonical\">canonical</a></td><td/><td><div><p>Canonical URL of the R4 target profile route used by the translation.</p>\n</div></td></tr><tr><td>OUT</td><td>translationReport</td><td/><td>0..1</td><td><a href=\"http://hl7.org/fhir/R4/parameters.html\">Parameters</a></td><td/><td><div><p>Required for FHIR profile-pair sources. Binary laboratory input instead returns mappingEvidence and profileAssessment.</p>\n</div></td></tr><tr><td>OUT</td><td>logical</td><td/><td>0..1</td><td><a href=\"http://hl7.org/fhir/R4/binary.html\">Binary</a></td><td/><td><div><p>The intermediate logical model serialized as JSON for FHIR profile-pair sources.</p>\n</div></td></tr><tr><td>OUT</td><td>outcome</td><td/><td>0..1</td><td><a href=\"http://hl7.org/fhir/R4/operationoutcome.html\">OperationOutcome</a></td><td/><td><div><p>Validation output for enforce and report modes.</p>\n</div></td></tr><tr><td>IN</td><td>timeZone</td><td/><td>0..1</td><td><a href=\"http://hl7.org/fhir/R4/datatypes.html#string\">string</a></td><td/><td><div><p>Binary laboratory input only: zone for offset-free timestamps; default Europe/Amsterdam. Laboratory validationMode is report or enforce.</p>\n</div></td></tr><tr><td>OUT</td><td>source</td><td/><td>0..1</td><td><a href=\"http://hl7.org/fhir/R4/binary.html\">Binary</a></td><td/><td><div><p>Binary laboratory input only: original source bytes.</p>\n</div></td></tr><tr><td>OUT</td><td>profileAssessment</td><td/><td>0..*</td><td></td><td/><td><div><p>Conditional output for the registered laboratory Binary source.</p>\n</div></td></tr><tr><td>OUT</td><td>profileAssessment.resource</td><td/><td>1..1</td><td><a href=\"http://hl7.org/fhir/R4/references.html#Reference\">Reference</a></td><td/><td/></tr><tr><td>OUT</td><td>profileAssessment.profile</td><td/><td>1..1</td><td><a href=\"http://hl7.org/fhir/R4/datatypes.html#canonical\">canonical</a></td><td/><td/></tr><tr><td>OUT</td><td>profileAssessment.accepted</td><td/><td>1..1</td><td><a href=\"http://hl7.org/fhir/R4/datatypes.html#boolean\">boolean</a></td><td/><td/></tr><tr><td>OUT</td><td>profileAssessment.outcome</td><td/><td>1..1</td><td><a href=\"http://hl7.org/fhir/R4/operationoutcome.html\">OperationOutcome</a></td><td/><td/></tr><tr><td>OUT</td><td>mappingEvidence</td><td/><td>0..*</td><td></td><td/><td><div><p>Conditional output for the registered laboratory Binary source.</p>\n</div></td></tr><tr><td>OUT</td><td>mappingEvidence.resource</td><td/><td>1..1</td><td><a href=\"http://hl7.org/fhir/R4/references.html#Reference\">Reference</a></td><td/><td/></tr><tr><td>OUT</td><td>mappingEvidence.sourceMap</td><td/><td>1..1</td><td><a href=\"http://hl7.org/fhir/R4/datatypes.html#canonical\">canonical</a></td><td/><td/></tr><tr><td>OUT</td><td>mappingEvidence.targetMap</td><td/><td>1..1</td><td><a href=\"http://hl7.org/fhir/R4/datatypes.html#canonical\">canonical</a></td><td/><td/></tr><tr><td>OUT</td><td>mappingEvidence.logicalValidation</td><td/><td>1..1</td><td><a href=\"http://hl7.org/fhir/R4/operationoutcome.html\">OperationOutcome</a></td><td/><td/></tr><tr><td>OUT</td><td>mappingEvidence.edgeValidation</td><td/><td>1..1</td><td><a href=\"http://hl7.org/fhir/R4/operationoutcome.html\">OperationOutcome</a></td><td/><td/></tr><tr><td>OUT</td><td>mappingEvidence.edge</td><td/><td>0..1</td><td><a href=\"http://hl7.org/fhir/R4/binary.html\">Binary</a></td><td/><td/></tr><tr><td>OUT</td><td>mappingEvidence.logical</td><td/><td>0..1</td><td><a href=\"http://hl7.org/fhir/R4/binary.html\">Binary</a></td><td/><td/></tr><tr><td>IN</td><td>documentContext</td><td/><td>0..1</td><td><a href=\"http://hl7.org/fhir/R4/composition.html\">Composition</a></td><td/><td><div><p>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.</p>\n</div></td></tr></table></div>"
},
"url" : "https://fhir.cumuluz.org/OperationDefinition/r4-transform",
"version" : "0.1.0",
"name" : "R4Transform",
"title" : "Supported R4 to R4 Transform",
"status" : "draft",
"kind" : "operation",
"date" : "2026-10-29T15:53:40+01:00",
"publisher" : "Cumuluz",
"description" : "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.",
"affectsState" : false,
"code" : "transform",
"system" : true,
"type" : false,
"instance" : false,
"parameter" : [
{
"name" : "source",
"use" : "in",
"min" : 1,
"max" : "1",
"documentation" : "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.",
"type" : "Resource"
},
{
"name" : "sourceProfile",
"use" : "in",
"min" : 0,
"max" : "1",
"documentation" : "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.",
"type" : "canonical"
},
{
"name" : "targetProfile",
"use" : "in",
"min" : 1,
"max" : "1",
"documentation" : "Canonical URL of the requested R4 target profile. A supplied |version must exactly match an installed StructureDefinition.version.",
"type" : "canonical"
},
{
"name" : "validationMode",
"use" : "in",
"min" : 0,
"max" : "1",
"documentation" : "Ordered source, logical, governance, and target validation. report is the non-blocking default; enforce blocks errors; none is explicitly gated.",
"type" : "code"
},
{
"name" : "returnLogical",
"use" : "in",
"min" : 0,
"max" : "1",
"documentation" : "When true, include the intermediate logical model as Binary. Laboratory input returns per-resource edge/logical Binary parts in mappingEvidence.",
"type" : "boolean"
},
{
"name" : "result",
"use" : "out",
"min" : 1,
"max" : "1",
"documentation" : "The translated R4 resource or NLPS document Bundle; in NLPS document mode targetProfile identifies its Composition contract.",
"type" : "Resource"
},
{
"name" : "targetProfile",
"use" : "out",
"min" : 1,
"max" : "1",
"documentation" : "Canonical URL of the R4 target profile route used by the translation.",
"type" : "canonical"
},
{
"name" : "translationReport",
"use" : "out",
"min" : 0,
"max" : "1",
"documentation" : "Required for FHIR profile-pair sources. Binary laboratory input instead returns mappingEvidence and profileAssessment.",
"type" : "Parameters"
},
{
"name" : "logical",
"use" : "out",
"min" : 0,
"max" : "1",
"documentation" : "The intermediate logical model serialized as JSON for FHIR profile-pair sources.",
"type" : "Binary"
},
{
"name" : "outcome",
"use" : "out",
"min" : 0,
"max" : "1",
"documentation" : "Validation output for enforce and report modes.",
"type" : "OperationOutcome"
},
{
"name" : "timeZone",
"use" : "in",
"min" : 0,
"max" : "1",
"documentation" : "Binary laboratory input only: zone for offset-free timestamps; default Europe/Amsterdam. Laboratory validationMode is report or enforce.",
"type" : "string"
},
{
"name" : "source",
"use" : "out",
"min" : 0,
"max" : "1",
"documentation" : "Binary laboratory input only: original source bytes.",
"type" : "Binary"
},
{
"name" : "profileAssessment",
"use" : "out",
"min" : 0,
"max" : "*",
"documentation" : "Conditional output for the registered laboratory Binary source.",
"part" : [
{
"name" : "resource",
"use" : "out",
"min" : 1,
"max" : "1",
"type" : "Reference"
},
{
"name" : "profile",
"use" : "out",
"min" : 1,
"max" : "1",
"type" : "canonical"
},
{
"name" : "accepted",
"use" : "out",
"min" : 1,
"max" : "1",
"type" : "boolean"
},
{
"name" : "outcome",
"use" : "out",
"min" : 1,
"max" : "1",
"type" : "OperationOutcome"
}
]
},
{
"name" : "mappingEvidence",
"use" : "out",
"min" : 0,
"max" : "*",
"documentation" : "Conditional output for the registered laboratory Binary source.",
"part" : [
{
"name" : "resource",
"use" : "out",
"min" : 1,
"max" : "1",
"type" : "Reference"
},
{
"name" : "sourceMap",
"use" : "out",
"min" : 1,
"max" : "1",
"type" : "canonical"
},
{
"name" : "targetMap",
"use" : "out",
"min" : 1,
"max" : "1",
"type" : "canonical"
},
{
"name" : "logicalValidation",
"use" : "out",
"min" : 1,
"max" : "1",
"type" : "OperationOutcome"
},
{
"name" : "edgeValidation",
"use" : "out",
"min" : 1,
"max" : "1",
"type" : "OperationOutcome"
},
{
"name" : "edge",
"use" : "out",
"min" : 0,
"max" : "1",
"type" : "Binary"
},
{
"name" : "logical",
"use" : "out",
"min" : 0,
"max" : "1",
"type" : "Binary"
}
]
},
{
"name" : "documentContext",
"use" : "in",
"min" : 0,
"max" : "1",
"documentation" : "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.",
"type" : "Composition"
}
]
}