This page is part of the FHIR Core Extensions Registry (v5.1.0-ballot: Releases Ballot 4) based on FHIR (HL7® FHIR® Standard) v5.0.0. The current version which supersedes this version is 1.0.0. For a full list of available versions, see the Directory of published versions
Page standards status: Trial-use | Maturity Level: 1 |
{
"resourceType" : "StructureMap",
"id" : "TestReport5to4",
"text" : {
"status" : "generated",
"div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><pre class=\"fml\">\r\n<span style=\"color: #cc00cc\">/// <b>url</b> = </span><span style=\"color: blue\">'http://hl7.org/fhir/StructureMap/TestReport5to4'</span>\r\n<span style=\"color: #cc00cc\">/// <b>name</b> = </span><span style=\"color: blue\">'TestReport5to4'</span>\r\n<span style=\"color: #cc00cc\">/// <b>title</b> = </span><span style=\"color: blue\">'FML Conversion for TestReport: R5 to R4'</span>\r\n<span style=\"color: #cc00cc\">/// <b>status</b> = </span><span style=\"color: blue\">'active'</span>\r\n\r\n<b>conceptmap</b><span style=\"color: navy\"> "</span>TestReportActionResult<span style=\"color: navy\">" {\r\n</span><b> prefix </b>s<span style=\"color: navy\"> = "</span><a href=\"http://hl7.org/fhir/R5/codesystem-report-action-result-codes.html\" title=\"Test Report Action Result\">http://hl7.org/fhir/report-action-result-codes</a><span style=\"color: navy\">"\r\n</span><b> prefix </b>t<span style=\"color: navy\"> = "</span><a href=\"http://hl7.org/fhir/R4/codesystem-report-action-result-codes.html\" title=\"TestReportActionResult\">http://hl7.org/fhir/4.0/report-action-result-codes</a><span style=\"color: navy\">"\r\n</span>\r\n s<span style=\"color: navy\">:</span>pass <b>-</b> t<span style=\"color: navy\">:</span>pass\r\n s<span style=\"color: navy\">:</span>skip <b>-</b> t<span style=\"color: navy\">:</span>skip\r\n s<span style=\"color: navy\">:</span>fail <b>-</b> t<span style=\"color: navy\">:</span>fail\r\n s<span style=\"color: navy\">:</span>warning <b>-</b> t<span style=\"color: navy\">:</span>warning\r\n s<span style=\"color: navy\">:</span>error <b>-</b> t<span style=\"color: navy\">:</span>error\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>conceptmap</b><span style=\"color: navy\"> "</span>TestReportParticipantType<span style=\"color: navy\">" {\r\n</span><b> prefix </b>s<span style=\"color: navy\"> = "</span><a href=\"http://hl7.org/fhir/R5/codesystem-report-participant-type.html\" title=\"Test Report Participant Type\">http://hl7.org/fhir/report-participant-type</a><span style=\"color: navy\">"\r\n</span><b> prefix </b>t<span style=\"color: navy\"> = "</span><a href=\"http://hl7.org/fhir/R4/codesystem-report-participant-type.html\" title=\"TestReportParticipantType\">http://hl7.org/fhir/4.0/report-participant-type</a><span style=\"color: navy\">"\r\n</span>\r\n s<span style=\"color: navy\">:</span>"test-engine" <b>-</b> t<span style=\"color: navy\">:</span><span style=\"color: navy\">"</span>test-engine<span style=\"color: navy\">"</span>\r\n s<span style=\"color: navy\">:</span>client <b>-</b> t<span style=\"color: navy\">:</span>client\r\n s<span style=\"color: navy\">:</span>server <b>-</b> t<span style=\"color: navy\">:</span>server\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>conceptmap</b><span style=\"color: navy\"> "</span>TestReportResult<span style=\"color: navy\">" {\r\n</span><b> prefix </b>s<span style=\"color: navy\"> = "</span><a href=\"http://hl7.org/fhir/R5/codesystem-report-result-codes.html\" title=\"Test Report Result\">http://hl7.org/fhir/report-result-codes</a><span style=\"color: navy\">"\r\n</span><b> prefix </b>t<span style=\"color: navy\"> = "</span><a href=\"http://hl7.org/fhir/R4/codesystem-report-result-codes.html\" title=\"TestReportResult\">http://hl7.org/fhir/4.0/report-result-codes</a><span style=\"color: navy\">"\r\n</span>\r\n s<span style=\"color: navy\">:</span>pass <b>-</b> t<span style=\"color: navy\">:</span>pass\r\n s<span style=\"color: navy\">:</span>fail <b>-</b> t<span style=\"color: navy\">:</span>fail\r\n s<span style=\"color: navy\">:</span>pending <b>-</b> t<span style=\"color: navy\">:</span>pending\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>conceptmap</b><span style=\"color: navy\"> "</span>TestReportStatus<span style=\"color: navy\">" {\r\n</span><b> prefix </b>s<span style=\"color: navy\"> = "</span><a href=\"http://hl7.org/fhir/R5/codesystem-report-status-codes.html\" title=\"Test Report Status\">http://hl7.org/fhir/report-status-codes</a><span style=\"color: navy\">"\r\n</span><b> prefix </b>t<span style=\"color: navy\"> = "</span><a href=\"http://hl7.org/fhir/R4/codesystem-report-status-codes.html\" title=\"TestReportStatus\">http://hl7.org/fhir/4.0/report-status-codes</a><span style=\"color: navy\">"\r\n</span>\r\n s<span style=\"color: navy\">:</span>completed <b>-</b> t<span style=\"color: navy\">:</span>completed\r\n s<span style=\"color: navy\">:</span>"in-progress" <b>-</b> t<span style=\"color: navy\">:</span><span style=\"color: navy\">"</span>in-progress<span style=\"color: navy\">"</span>\r\n s<span style=\"color: navy\">:</span>waiting <b>-</b> t<span style=\"color: navy\">:</span>waiting\r\n s<span style=\"color: navy\">:</span>stopped <b>-</b> t<span style=\"color: navy\">:</span>stopped\r\n s<span style=\"color: navy\">:</span>"entered-in-error" <b>-</b> t<span style=\"color: navy\">:</span><span style=\"color: navy\">"</span>entered-in-error<span style=\"color: navy\">"</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>uses</b><span style=\"color: navy\"> "</span><a href=\"http://hl7.org/fhir/R5/testreport.html\" title=\"TestReport\">http://hl7.org/fhir/StructureDefinition/TestReport</a><span style=\"color: navy\">" </span><b>alias </b>TestReportR5 <b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> "</span><a href=\"http://hl7.org/fhir/R4/testreport.html\" title=\"TestReport\">http://hl7.org/fhir/4.0/StructureDefinition/TestReport</a><span style=\"color: navy\">" </span><b>alias </b>TestReportR4 <b>as </b><b>target</b>\r\n\r\n<b>imports</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/StructureMap/*5to4<span style=\"color: navy\">"\r\n</span>\r\n<b>group </b>TestReport<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>TestReportR5, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>TestReportR4<span style=\"color: navy\">)</span><b> extends </b>DomainResource<b> <<type+>></b><span style=\"color: navy\"> {\r\n</span> src.identifier<span style=\"color: navy\"><b> -> </b></span>tgt.identifier<span style=\"color: navy\">;</span>\r\n src.name<span style=\"color: navy\"><b> -> </b></span>tgt.name<span style=\"color: navy\">;</span>\r\n src.status<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </b></span>tgt.status = <b>translate</b><span style=\"color: navy\">(</span><span style=\"color: maroon\">v</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'#TestReportStatus'</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'code'</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n src.testScript<span style=\"color: navy\"><b> -> </b></span>tgt.testScript<span style=\"color: navy\">;</span>\r\n src.result<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </b></span>tgt.result = <b>translate</b><span style=\"color: navy\">(</span><span style=\"color: maroon\">v</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'#TestReportResult'</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'code'</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n src.score<span style=\"color: navy\"><b> -> </b></span>tgt.score<span style=\"color: navy\">;</span>\r\n src.tester<span style=\"color: navy\"><b> -> </b></span>tgt.tester<span style=\"color: navy\">;</span>\r\n src.issued<span style=\"color: navy\"><b> -> </b></span>tgt.issued<span style=\"color: navy\">;</span>\r\n src.participant<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span>tgt.participant<b> as </b><span style=\"color: maroon\">t</span><b> then </b>TestReportParticipant<span style=\"color: navy\">(</span><span style=\"color: maroon\">s</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">t</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n src.setup<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span>tgt.setup<b> as </b><span style=\"color: maroon\">t</span><b> then </b>TestReportSetup<span style=\"color: navy\">(</span><span style=\"color: maroon\">s</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">t</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n src.test<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span>tgt.test<b> as </b><span style=\"color: maroon\">t</span><b> then </b>TestReportTest<span style=\"color: navy\">(</span><span style=\"color: maroon\">s</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">t</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n src.teardown<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span>tgt.teardown<b> as </b><span style=\"color: maroon\">t</span><b> then </b>TestReportTeardown<span style=\"color: navy\">(</span><span style=\"color: maroon\">s</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">t</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>TestReportParticipant<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><b> extends </b>BackboneElement<span style=\"color: navy\"> {\r\n</span> src.type<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </b></span>tgt.type = <b>translate</b><span style=\"color: navy\">(</span><span style=\"color: maroon\">v</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'#TestReportParticipantType'</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'code'</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n src.uri<span style=\"color: navy\"><b> -> </b></span>tgt.uri<span style=\"color: navy\">;</span>\r\n src.display<span style=\"color: navy\"><b> -> </b></span>tgt.display<span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>TestReportSetup<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><b> extends </b>BackboneElement<span style=\"color: navy\"> {\r\n</span> src.action<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span>tgt.action<b> as </b><span style=\"color: maroon\">t</span><b> then </b>TestReportSetupAction<span style=\"color: navy\">(</span><span style=\"color: maroon\">s</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">t</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>TestReportSetupAction<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><b> extends </b>BackboneElement<span style=\"color: navy\"> {\r\n</span> src.operation<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span>tgt.operation<b> as </b><span style=\"color: maroon\">t</span><b> then </b>TestReportSetupActionOperation<span style=\"color: navy\">(</span><span style=\"color: maroon\">s</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">t</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n src.assert<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span>tgt.assert<b> as </b><span style=\"color: maroon\">t</span><b> then </b>TestReportSetupActionAssert<span style=\"color: navy\">(</span><span style=\"color: maroon\">s</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">t</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>TestReportSetupActionOperation<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><b> extends </b>BackboneElement<span style=\"color: navy\"> {\r\n</span> src.result<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </b></span>tgt.result = <b>translate</b><span style=\"color: navy\">(</span><span style=\"color: maroon\">v</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'#TestReportActionResult'</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'code'</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n src.message<span style=\"color: navy\"><b> -> </b></span>tgt.message<span style=\"color: navy\">;</span>\r\n src.detail<span style=\"color: navy\"><b> -> </b></span>tgt.detail<span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>TestReportSetupActionAssert<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><b> extends </b>BackboneElement<span style=\"color: navy\"> {\r\n</span> src.result<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </b></span>tgt.result = <b>translate</b><span style=\"color: navy\">(</span><span style=\"color: maroon\">v</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'#TestReportActionResult'</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'code'</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n src.message<span style=\"color: navy\"><b> -> </b></span>tgt.message<span style=\"color: navy\">;</span>\r\n src.detail<span style=\"color: navy\"><b> -> </b></span>tgt.detail<span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><span style=\"color: navy\">// </span><span style=\"color: green\">group TestReportSetupActionAssertRequirement(source src, target tgt) extends BackboneElement {</span>\r\n<span style=\"color: #b36b00\" title=\"This element was not defined prior to R5\">// src.link : uri -> tgt.link;</span>\r\n<span style=\"color: #b36b00\" title=\"This element was not defined prior to R5\">// src.link : canonical -> tgt.link;</span>\r\n<span style=\"color: navy\">// </span><span style=\"color: green\">}</span>\r\n<b>group </b>TestReportTest<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><b> extends </b>BackboneElement<span style=\"color: navy\"> {\r\n</span> src.name<span style=\"color: navy\"><b> -> </b></span>tgt.name<span style=\"color: navy\">;</span>\r\n src.description<span style=\"color: navy\"><b> -> </b></span>tgt.description<span style=\"color: navy\">;</span>\r\n src.action<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span>tgt.action<b> as </b><span style=\"color: maroon\">t</span><b> then </b>TestReportTestAction<span style=\"color: navy\">(</span><span style=\"color: maroon\">s</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">t</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>TestReportTestAction<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><b> extends </b>BackboneElement<span style=\"color: navy\"> {\r\n</span> src.operation<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span>tgt.operation<b> as </b><span style=\"color: maroon\">t</span><b> then </b>TestReportSetupActionOperation<span style=\"color: navy\">(</span><span style=\"color: maroon\">s</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">t</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n src.assert<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span>tgt.assert<b> as </b><span style=\"color: maroon\">t</span><b> then </b>TestReportSetupActionAssert<span style=\"color: navy\">(</span><span style=\"color: maroon\">s</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">t</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>TestReportTeardown<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><b> extends </b>BackboneElement<span style=\"color: navy\"> {\r\n</span> src.action<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span>tgt.action<b> as </b><span style=\"color: maroon\">t</span><b> then </b>TestReportTeardownAction<span style=\"color: navy\">(</span><span style=\"color: maroon\">s</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">t</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>TestReportTeardownAction<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><b> extends </b>BackboneElement<span style=\"color: navy\"> {\r\n</span> src.operation<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span>tgt.operation<b> as </b><span style=\"color: maroon\">t</span><b> then </b>TestReportSetupActionOperation<span style=\"color: navy\">(</span><span style=\"color: maroon\">s</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">t</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span></pre></div>"
},
"contained" : [
{
"resourceType" : "ConceptMap",
"id" : "TestReportActionResult",
"status" : "active",
"group" : [
{
"source" : "http://hl7.org/fhir/report-action-result-codes",
"target" : "http://hl7.org/fhir/4.0/report-action-result-codes",
"element" : [
{
"code" : "pass",
"target" : [
{
"code" : "pass",
"relationship" : "related-to"
}
]
},
{
"code" : "skip",
"target" : [
{
"code" : "skip",
"relationship" : "related-to"
}
]
},
{
"code" : "fail",
"target" : [
{
"code" : "fail",
"relationship" : "related-to"
}
]
},
{
"code" : "warning",
"target" : [
{
"code" : "warning",
"relationship" : "related-to"
}
]
},
{
"code" : "error",
"target" : [
{
"code" : "error",
"relationship" : "related-to"
}
]
}
]
}
]
},
{
"resourceType" : "ConceptMap",
"id" : "TestReportParticipantType",
"status" : "active",
"group" : [
{
"source" : "http://hl7.org/fhir/report-participant-type",
"target" : "http://hl7.org/fhir/4.0/report-participant-type",
"element" : [
{
"code" : "test-engine",
"target" : [
{
"code" : "test-engine",
"relationship" : "related-to"
}
]
},
{
"code" : "client",
"target" : [
{
"code" : "client",
"relationship" : "related-to"
}
]
},
{
"code" : "server",
"target" : [
{
"code" : "server",
"relationship" : "related-to"
}
]
}
]
}
]
},
{
"resourceType" : "ConceptMap",
"id" : "TestReportResult",
"status" : "active",
"group" : [
{
"source" : "http://hl7.org/fhir/report-result-codes",
"target" : "http://hl7.org/fhir/4.0/report-result-codes",
"element" : [
{
"code" : "pass",
"target" : [
{
"code" : "pass",
"relationship" : "related-to"
}
]
},
{
"code" : "fail",
"target" : [
{
"code" : "fail",
"relationship" : "related-to"
}
]
},
{
"code" : "pending",
"target" : [
{
"code" : "pending",
"relationship" : "related-to"
}
]
}
]
}
]
},
{
"resourceType" : "ConceptMap",
"id" : "TestReportStatus",
"status" : "active",
"group" : [
{
"source" : "http://hl7.org/fhir/report-status-codes",
"target" : "http://hl7.org/fhir/4.0/report-status-codes",
"element" : [
{
"code" : "completed",
"target" : [
{
"code" : "completed",
"relationship" : "related-to"
}
]
},
{
"code" : "in-progress",
"target" : [
{
"code" : "in-progress",
"relationship" : "related-to"
}
]
},
{
"code" : "waiting",
"target" : [
{
"code" : "waiting",
"relationship" : "related-to"
}
]
},
{
"code" : "stopped",
"target" : [
{
"code" : "stopped",
"relationship" : "related-to"
}
]
},
{
"code" : "entered-in-error",
"target" : [
{
"code" : "entered-in-error",
"relationship" : "related-to"
}
]
}
]
}
]
}
],
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
"valueCode" : "fhir"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
"valueInteger" : 1,
"_valueInteger" : {
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
"valueCanonical" : "http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.extensions"
}
]
}
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "trial-use",
"_valueCode" : {
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
"valueCanonical" : "http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.extensions"
}
]
}
}
],
"url" : "http://hl7.org/fhir/StructureMap/TestReport5to4",
"version" : "5.1.0-ballot1",
"name" : "TestReport5to4",
"title" : "FML Conversion for TestReport: R5 to R4",
"status" : "active",
"date" : "2023-12-19T08:40:03+11:00",
"publisher" : "HL7 International / FHIR Infrastructure",
"contact" : [
{
"telecom" : [
{
"system" : "url",
"value" : "http://www.hl7.org/Special/committees/fiwg"
}
]
}
],
"description" : "FMLConversionforTestReportR5toR4",
"jurisdiction" : [
{
"coding" : [
{
"system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
"code" : "001"
}
]
}
],
"structure" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/TestReport",
"mode" : "source",
"alias" : "TestReportR5"
},
{
"url" : "http://hl7.org/fhir/4.0/StructureDefinition/TestReport",
"mode" : "target",
"alias" : "TestReportR4"
}
],
"import" : [
"http://hl7.org/fhir/StructureMap/*5to4"
],
"group" : [
{
"name" : "TestReport",
"extends" : "DomainResource",
"typeMode" : "type-and-types",
"input" : [
{
"name" : "src",
"type" : "TestReportR5",
"mode" : "source"
},
{
"name" : "tgt",
"type" : "TestReportR4",
"mode" : "target"
}
],
"rule" : [
{
"name" : "identifier",
"source" : [
{
"context" : "src",
"element" : "identifier",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "identifier",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "name",
"source" : [
{
"context" : "src",
"element" : "name",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "name",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "status",
"source" : [
{
"context" : "src",
"element" : "status",
"variable" : "v"
}
],
"target" : [
{
"context" : "tgt",
"element" : "status",
"transform" : "translate",
"parameter" : [
{
"valueId" : "v"
},
{
"valueString" : "#TestReportStatus"
},
{
"valueString" : "code"
}
]
}
]
},
{
"name" : "testScript",
"source" : [
{
"context" : "src",
"element" : "testScript",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "testScript",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "result",
"source" : [
{
"context" : "src",
"element" : "result",
"variable" : "v"
}
],
"target" : [
{
"context" : "tgt",
"element" : "result",
"transform" : "translate",
"parameter" : [
{
"valueId" : "v"
},
{
"valueString" : "#TestReportResult"
},
{
"valueString" : "code"
}
]
}
]
},
{
"name" : "score",
"source" : [
{
"context" : "src",
"element" : "score",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "score",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "tester",
"source" : [
{
"context" : "src",
"element" : "tester",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "tester",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "issued",
"source" : [
{
"context" : "src",
"element" : "issued",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "issued",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "participant",
"source" : [
{
"context" : "src",
"element" : "participant",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "participant",
"variable" : "t"
}
],
"dependent" : [
{
"name" : "TestReportParticipant",
"parameter" : [
{
"valueId" : "s"
},
{
"valueId" : "t"
}
]
}
]
},
{
"name" : "setup",
"source" : [
{
"context" : "src",
"element" : "setup",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "setup",
"variable" : "t"
}
],
"dependent" : [
{
"name" : "TestReportSetup",
"parameter" : [
{
"valueId" : "s"
},
{
"valueId" : "t"
}
]
}
]
},
{
"name" : "test",
"source" : [
{
"context" : "src",
"element" : "test",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "test",
"variable" : "t"
}
],
"dependent" : [
{
"name" : "TestReportTest",
"parameter" : [
{
"valueId" : "s"
},
{
"valueId" : "t"
}
]
}
]
},
{
"name" : "teardown",
"source" : [
{
"context" : "src",
"element" : "teardown",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "teardown",
"variable" : "t"
}
],
"dependent" : [
{
"name" : "TestReportTeardown",
"parameter" : [
{
"valueId" : "s"
},
{
"valueId" : "t"
}
]
}
]
}
]
},
{
"name" : "TestReportParticipant",
"extends" : "BackboneElement",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "type",
"source" : [
{
"context" : "src",
"element" : "type",
"variable" : "v"
}
],
"target" : [
{
"context" : "tgt",
"element" : "type",
"transform" : "translate",
"parameter" : [
{
"valueId" : "v"
},
{
"valueString" : "#TestReportParticipantType"
},
{
"valueString" : "code"
}
]
}
]
},
{
"name" : "uri",
"source" : [
{
"context" : "src",
"element" : "uri",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "uri",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "display",
"source" : [
{
"context" : "src",
"element" : "display",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "display",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
},
{
"name" : "TestReportSetup",
"extends" : "BackboneElement",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "action",
"source" : [
{
"context" : "src",
"element" : "action",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "action",
"variable" : "t"
}
],
"dependent" : [
{
"name" : "TestReportSetupAction",
"parameter" : [
{
"valueId" : "s"
},
{
"valueId" : "t"
}
]
}
]
}
]
},
{
"name" : "TestReportSetupAction",
"extends" : "BackboneElement",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "operation",
"source" : [
{
"context" : "src",
"element" : "operation",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "operation",
"variable" : "t"
}
],
"dependent" : [
{
"name" : "TestReportSetupActionOperation",
"parameter" : [
{
"valueId" : "s"
},
{
"valueId" : "t"
}
]
}
]
},
{
"name" : "assert",
"source" : [
{
"context" : "src",
"element" : "assert",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "assert",
"variable" : "t"
}
],
"dependent" : [
{
"name" : "TestReportSetupActionAssert",
"parameter" : [
{
"valueId" : "s"
},
{
"valueId" : "t"
}
]
}
]
}
]
},
{
"name" : "TestReportSetupActionOperation",
"extends" : "BackboneElement",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "result",
"source" : [
{
"context" : "src",
"element" : "result",
"variable" : "v"
}
],
"target" : [
{
"context" : "tgt",
"element" : "result",
"transform" : "translate",
"parameter" : [
{
"valueId" : "v"
},
{
"valueString" : "#TestReportActionResult"
},
{
"valueString" : "code"
}
]
}
]
},
{
"name" : "message",
"source" : [
{
"context" : "src",
"element" : "message",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "message",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "detail",
"source" : [
{
"context" : "src",
"element" : "detail",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "detail",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
},
{
"name" : "TestReportSetupActionAssert",
"extends" : "BackboneElement",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "result",
"source" : [
{
"context" : "src",
"element" : "result",
"variable" : "v"
}
],
"target" : [
{
"context" : "tgt",
"element" : "result",
"transform" : "translate",
"parameter" : [
{
"valueId" : "v"
},
{
"valueString" : "#TestReportActionResult"
},
{
"valueString" : "code"
}
]
}
]
},
{
"name" : "message",
"source" : [
{
"context" : "src",
"element" : "message",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "message",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "detail",
"source" : [
{
"context" : "src",
"element" : "detail",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "detail",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
},
{
"name" : "TestReportTest",
"extends" : "BackboneElement",
"documentation" : "group TestReportSetupActionAssertRequirement(source src, target tgt) extends BackboneElement {\r\nsrc.link : uri -> tgt.link;\r\nsrc.link : canonical -> tgt.link;\r\n}",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "name",
"source" : [
{
"context" : "src",
"element" : "name",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "name",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "description",
"source" : [
{
"context" : "src",
"element" : "description",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "description",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "action",
"source" : [
{
"context" : "src",
"element" : "action",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "action",
"variable" : "t"
}
],
"dependent" : [
{
"name" : "TestReportTestAction",
"parameter" : [
{
"valueId" : "s"
},
{
"valueId" : "t"
}
]
}
]
}
]
},
{
"name" : "TestReportTestAction",
"extends" : "BackboneElement",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "operation",
"source" : [
{
"context" : "src",
"element" : "operation",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "operation",
"variable" : "t"
}
],
"dependent" : [
{
"name" : "TestReportSetupActionOperation",
"parameter" : [
{
"valueId" : "s"
},
{
"valueId" : "t"
}
]
}
]
},
{
"name" : "assert",
"source" : [
{
"context" : "src",
"element" : "assert",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "assert",
"variable" : "t"
}
],
"dependent" : [
{
"name" : "TestReportSetupActionAssert",
"parameter" : [
{
"valueId" : "s"
},
{
"valueId" : "t"
}
]
}
]
}
]
},
{
"name" : "TestReportTeardown",
"extends" : "BackboneElement",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "action",
"source" : [
{
"context" : "src",
"element" : "action",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "action",
"variable" : "t"
}
],
"dependent" : [
{
"name" : "TestReportTeardownAction",
"parameter" : [
{
"valueId" : "s"
},
{
"valueId" : "t"
}
]
}
]
}
]
},
{
"name" : "TestReportTeardownAction",
"extends" : "BackboneElement",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "operation",
"source" : [
{
"context" : "src",
"element" : "operation",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "operation",
"variable" : "t"
}
],
"dependent" : [
{
"name" : "TestReportSetupActionOperation",
"parameter" : [
{
"valueId" : "s"
},
{
"valueId" : "t"
}
]
}
]
}
]
}
]
}
IG © 2022+ HL7 International / FHIR Infrastructure. Package hl7.fhir.uv.extensions#5.1.0-ballot1 based on FHIR 5.0.0. Generated 2023-12-19
Links: Table of Contents |
QA Report
| Version History |
|
Propose a change