This page is part of the FHIR Core Extensions Registry (v5.1.0: Release 5.1) based on FHIR (HL7® FHIR® Standard) v5.0.0. This is the current published version. For a full list of available versions, see the Directory of published versions
Page standards status: Trial-use | Maturity Level: 1 |
{
"resourceType" : "StructureMap",
"id" : "AuditEvent5to4",
"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/AuditEvent5to4'</span>\r\n<span style=\"color: #cc00cc\">/// <b>name</b> = </span><span style=\"color: blue\">'AuditEvent5to4'</span>\r\n<span style=\"color: #cc00cc\">/// <b>title</b> = </span><span style=\"color: blue\">'FML Conversion for AuditEvent: 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>AuditEventAction<span style=\"color: navy\">" {\r\n</span><b> prefix </b>s<span style=\"color: navy\"> = "</span><a href=\"http://hl7.org/fhir/R5/codesystem-audit-event-action.html\" title=\"Audit Event Action\">http://hl7.org/fhir/audit-event-action</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-audit-event-action.html\" title=\"AuditEventAction\">http://hl7.org/fhir/4.0/audit-event-action</a><span style=\"color: navy\">"\r\n</span>\r\n s<span style=\"color: navy\">:</span>C <b>-</b> t<span style=\"color: navy\">:</span>C\r\n s<span style=\"color: navy\">:</span>R <b>-</b> t<span style=\"color: navy\">:</span>R\r\n s<span style=\"color: navy\">:</span>U <b>-</b> t<span style=\"color: navy\">:</span>U\r\n s<span style=\"color: navy\">:</span>D <b>-</b> t<span style=\"color: navy\">:</span>D\r\n s<span style=\"color: navy\">:</span>E <b>-</b> t<span style=\"color: navy\">:</span>E\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/auditevent.html\" title=\"AuditEvent\">http://hl7.org/fhir/StructureDefinition/AuditEvent</a><span style=\"color: navy\">" </span><b>alias </b>AuditEventR5 <b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> "</span><a href=\"http://hl7.org/fhir/R4/auditevent.html\" title=\"AuditEvent\">http://hl7.org/fhir/4.0/StructureDefinition/AuditEvent</a><span style=\"color: navy\">" </span><b>alias </b>AuditEventR4 <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>AuditEvent<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>AuditEventR5, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>AuditEventR4<span style=\"color: navy\">)</span><b> extends </b>DomainResource<b> <<type+>></b><span style=\"color: navy\"> {\r\n</span> src.category<span style=\"color: navy\"><b> -> </b></span>tgt.type<span style=\"color: navy\">;</span>\r\n src.code<span style=\"color: navy\"><b> -> </b></span>tgt.subtype<span style=\"color: navy\">;</span>\r\n src.action<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </b></span>tgt.action = <b>translate</b><span style=\"color: navy\">(</span><span style=\"color: maroon\">v</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'#AuditEventAction'</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.recorded<span style=\"color: navy\"><b> -> </b></span>tgt.recorded<span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">src.severity as v -> tgt.severity = translate(v, '#AuditEventSeverity', 'code');</span>\r\n src.outcome<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span>tgt.outcome<b> as </b><span style=\"color: maroon\">t</span><b> then </b>AuditEventOutcome<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.outcome<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span>tgt.outcomeDesc<b> as </b><span style=\"color: maroon\">t</span><b> then </b>AuditEventOutcomeDesc<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.agent<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span>tgt.agent<b> as </b><span style=\"color: maroon\">t</span><b> then </b>AuditEventAgent<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> <span style=\"color: navy\">// </span><span style=\"color: green\">src.authorization -> tgt.authorization;</span>\r\n src.source<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span>tgt.source<b> as </b><span style=\"color: maroon\">t</span><b> then </b>AuditEventSource<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.entity<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span>tgt.entity<b> as </b><span style=\"color: maroon\">t</span><b> then </b>AuditEventEntity<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>AuditEventOutcome<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.code<b> as </b><span style=\"color: maroon\">s</span><b> where </b>code = 'success'<span style=\"color: navy\"><b> -> </b></span>tgt = <span style=\"color: blue\">'0'</span><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">src.code -> tgt.code;</span>\r\n src.code<b> as </b><span style=\"color: maroon\">s</span><b> where </b>code = 'information'<span style=\"color: navy\"><b> -> </b></span>tgt = <span style=\"color: blue\">'0'</span><span style=\"color: navy\">;</span>\r\n src.code<b> as </b><span style=\"color: maroon\">s</span><b> where </b>code = 'warning'<span style=\"color: navy\"><b> -> </b></span>tgt = <span style=\"color: blue\">'4'</span><span style=\"color: navy\">;</span>\r\n src.code<b> as </b><span style=\"color: maroon\">s</span><b> where </b>code = 'error'<span style=\"color: navy\"><b> -> </b></span>tgt = <span style=\"color: blue\">'8'</span><span style=\"color: navy\">;</span>\r\n src.code<b> as </b><span style=\"color: maroon\">s</span><b> where </b>code = 'fatal'<span style=\"color: navy\"><b> -> </b></span>tgt = <span style=\"color: blue\">'12'</span><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>AuditEventOutcomeDesc<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.code<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span>tgt = <span style=\"color: maroon\">s.display</span><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>AuditEventAgent<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<span style=\"color: navy\"><b> -> </b></span>tgt.type<span style=\"color: navy\">;</span>\r\n src.role<span style=\"color: navy\"><b> -> </b></span>tgt.role<span style=\"color: navy\">;</span>\r\n src.who<span style=\"color: navy\"><b> -> </b></span>tgt.who<span style=\"color: navy\">;</span>\r\n src.requestor<span style=\"color: navy\"><b> -> </b></span>tgt.requestor<span style=\"color: navy\">;</span>\r\n src.location<span style=\"color: navy\"><b> -> </b></span>tgt.location<span style=\"color: navy\">;</span>\r\n src.policy<span style=\"color: navy\"><b> -> </b></span>tgt.policy<span style=\"color: navy\">;</span>\r\n src.network<span style=\"color: navy\"> : </span>Reference<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </b></span> tgt.network<b> as </b><span style=\"color: maroon\">t</span><span style=\"color: navy\">, </span> t.address = <span style=\"color: maroon\">v.display</span><span style=\"color: navy\">;</span>\r\n src.network<span style=\"color: navy\"> : </span>uri<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </b></span> tgt.network<b> as </b><span style=\"color: maroon\">t</span><span style=\"color: navy\">, </span> t.address = <span style=\"color: maroon\">v</span><span style=\"color: navy\">;</span>\r\n src.network<span style=\"color: navy\"> : </span>string<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </b></span> tgt.network<b> as </b><span style=\"color: maroon\">t</span><span style=\"color: navy\">, </span> t.address = <span style=\"color: maroon\">v</span><span style=\"color: navy\">;</span>\r\n src.authorization<span style=\"color: navy\"><b> -> </b></span>tgt.purposeOfUse<span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>AuditEventSource<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.site<span style=\"color: navy\"> : </span>Reference<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span><span style=\"color: maroon\">tgt</span><b> then</b><span style=\"color: navy\"> {\r\n</span> s.display<span style=\"color: navy\"><b> -> </b></span>tgt.site<span style=\"color: navy\">;</span>\r\n <span style=\"color: navy\">}</span><span style=\"color: navy\">;</span>\r\n src.observer<span style=\"color: navy\"><b> -> </b></span>tgt.observer<span style=\"color: navy\">;</span>\r\n src.type<span style=\"color: navy\"><b> -> </b></span>tgt.type<span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>AuditEventEntity<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.what<span style=\"color: navy\"><b> -> </b></span>tgt.what<span style=\"color: navy\">;</span>\r\n src.role<span style=\"color: navy\"><b> -> </b></span>tgt.role<span style=\"color: navy\">;</span>\r\n src.securityLabel<span style=\"color: navy\"><b> -> </b></span>tgt.securityLabel<span style=\"color: navy\">;</span>\r\n src.query<span style=\"color: navy\"><b> -> </b></span>tgt.query<span style=\"color: navy\">;</span>\r\n src.detail<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span>tgt.detail<b> as </b><span style=\"color: maroon\">t</span><b> then </b>AuditEventEntityDetail<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>AuditEventEntityDetail<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<span style=\"color: navy\"><b> -> </b></span>tgt.type<span style=\"color: navy\">;</span>\r\n src.value<span style=\"color: navy\"> : </span>Quantity<span style=\"color: navy\"><b> -> </b></span>tgt.value<span style=\"color: navy\">;</span>\r\n src.value<span style=\"color: navy\"> : </span>CodeableConcept<span style=\"color: navy\"><b> -> </b></span>tgt.value<span style=\"color: navy\">;</span>\r\n src.value<span style=\"color: navy\"> : </span>string<span style=\"color: navy\"><b> -> </b></span>tgt.value<span style=\"color: navy\">;</span>\r\n src.value<span style=\"color: navy\"> : </span>boolean<span style=\"color: navy\"><b> -> </b></span>tgt.value<span style=\"color: navy\">;</span>\r\n src.value<span style=\"color: navy\"> : </span>integer<span style=\"color: navy\"><b> -> </b></span>tgt.value<span style=\"color: navy\">;</span>\r\n src.value<span style=\"color: navy\"> : </span>Range<span style=\"color: navy\"><b> -> </b></span>tgt.value<span style=\"color: navy\">;</span>\r\n src.value<span style=\"color: navy\"> : </span>Ratio<span style=\"color: navy\"><b> -> </b></span>tgt.value<span style=\"color: navy\">;</span>\r\n src.value<span style=\"color: navy\"> : </span>time<span style=\"color: navy\"><b> -> </b></span>tgt.value<span style=\"color: navy\">;</span>\r\n src.value<span style=\"color: navy\"> : </span>dateTime<span style=\"color: navy\"><b> -> </b></span>tgt.value<span style=\"color: navy\">;</span>\r\n src.value<span style=\"color: navy\"> : </span>Period<span style=\"color: navy\"><b> -> </b></span>tgt.value<span style=\"color: navy\">;</span>\r\n src.value<span style=\"color: navy\"> : </span>base64Binary<span style=\"color: navy\"><b> -> </b></span>tgt.value<span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span></pre></div>"
},
"contained" : [
{
"resourceType" : "ConceptMap",
"id" : "AuditEventAction",
"status" : "active",
"group" : [
{
"source" : "http://hl7.org/fhir/audit-event-action",
"target" : "http://hl7.org/fhir/4.0/audit-event-action",
"element" : [
{
"code" : "C",
"target" : [
{
"code" : "C",
"relationship" : "related-to"
}
]
},
{
"code" : "R",
"target" : [
{
"code" : "R",
"relationship" : "related-to"
}
]
},
{
"code" : "U",
"target" : [
{
"code" : "U",
"relationship" : "related-to"
}
]
},
{
"code" : "D",
"target" : [
{
"code" : "D",
"relationship" : "related-to"
}
]
},
{
"code" : "E",
"target" : [
{
"code" : "E",
"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/AuditEvent5to4",
"version" : "5.1.0",
"name" : "AuditEvent5to4",
"title" : "FML Conversion for AuditEvent: R5 to R4",
"status" : "active",
"date" : "2024-04-27T18:54:50+10:00",
"publisher" : "HL7 International / FHIR Infrastructure",
"contact" : [
{
"telecom" : [
{
"system" : "url",
"value" : "http://www.hl7.org/Special/committees/fiwg"
}
]
}
],
"description" : "FMLConversionforAuditEventR5toR4",
"jurisdiction" : [
{
"coding" : [
{
"system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
"code" : "001"
}
]
}
],
"structure" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/AuditEvent",
"mode" : "source",
"alias" : "AuditEventR5"
},
{
"url" : "http://hl7.org/fhir/4.0/StructureDefinition/AuditEvent",
"mode" : "target",
"alias" : "AuditEventR4"
}
],
"import" : [
"http://hl7.org/fhir/StructureMap/*5to4"
],
"group" : [
{
"name" : "AuditEvent",
"extends" : "DomainResource",
"typeMode" : "type-and-types",
"input" : [
{
"name" : "src",
"type" : "AuditEventR5",
"mode" : "source"
},
{
"name" : "tgt",
"type" : "AuditEventR4",
"mode" : "target"
}
],
"rule" : [
{
"name" : "category",
"source" : [
{
"context" : "src",
"element" : "category",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "type",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "code",
"source" : [
{
"context" : "src",
"element" : "code",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "subtype",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "action",
"source" : [
{
"context" : "src",
"element" : "action",
"variable" : "v"
}
],
"target" : [
{
"context" : "tgt",
"element" : "action",
"transform" : "translate",
"parameter" : [
{
"valueId" : "v"
},
{
"valueString" : "#AuditEventAction"
},
{
"valueString" : "code"
}
]
}
]
},
{
"name" : "recorded",
"source" : [
{
"context" : "src",
"element" : "recorded",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "recorded",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
],
"documentation" : "src.severity as v -> tgt.severity = translate(v, '#AuditEventSeverity', 'code');"
},
{
"name" : "outcome",
"source" : [
{
"context" : "src",
"element" : "outcome",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "outcome",
"variable" : "t"
}
],
"dependent" : [
{
"name" : "AuditEventOutcome",
"parameter" : [
{
"valueId" : "s"
},
{
"valueId" : "t"
}
]
}
]
},
{
"name" : "outcome",
"source" : [
{
"context" : "src",
"element" : "outcome",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "outcomeDesc",
"variable" : "t"
}
],
"dependent" : [
{
"name" : "AuditEventOutcomeDesc",
"parameter" : [
{
"valueId" : "s"
},
{
"valueId" : "t"
}
]
}
]
},
{
"name" : "agent",
"source" : [
{
"context" : "src",
"element" : "agent",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "agent",
"variable" : "t"
}
],
"dependent" : [
{
"name" : "AuditEventAgent",
"parameter" : [
{
"valueId" : "s"
},
{
"valueId" : "t"
}
]
}
],
"documentation" : "src.authorization -> tgt.authorization;"
},
{
"name" : "source",
"source" : [
{
"context" : "src",
"element" : "source",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "source",
"variable" : "t"
}
],
"dependent" : [
{
"name" : "AuditEventSource",
"parameter" : [
{
"valueId" : "s"
},
{
"valueId" : "t"
}
]
}
]
},
{
"name" : "entity",
"source" : [
{
"context" : "src",
"element" : "entity",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "entity",
"variable" : "t"
}
],
"dependent" : [
{
"name" : "AuditEventEntity",
"parameter" : [
{
"valueId" : "s"
},
{
"valueId" : "t"
}
]
}
]
}
]
},
{
"name" : "AuditEventOutcome",
"extends" : "BackboneElement",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "code",
"source" : [
{
"context" : "src",
"element" : "code",
"variable" : "s",
"condition" : "code = 'success'"
}
],
"target" : [
{
"context" : "tgt",
"transform" : "copy",
"parameter" : [
{
"valueString" : "0"
}
]
}
],
"documentation" : "src.code -> tgt.code;"
},
{
"name" : "code",
"source" : [
{
"context" : "src",
"element" : "code",
"variable" : "s",
"condition" : "code = 'information'"
}
],
"target" : [
{
"context" : "tgt",
"transform" : "copy",
"parameter" : [
{
"valueString" : "0"
}
]
}
]
},
{
"name" : "code",
"source" : [
{
"context" : "src",
"element" : "code",
"variable" : "s",
"condition" : "code = 'warning'"
}
],
"target" : [
{
"context" : "tgt",
"transform" : "copy",
"parameter" : [
{
"valueString" : "4"
}
]
}
]
},
{
"name" : "code",
"source" : [
{
"context" : "src",
"element" : "code",
"variable" : "s",
"condition" : "code = 'error'"
}
],
"target" : [
{
"context" : "tgt",
"transform" : "copy",
"parameter" : [
{
"valueString" : "8"
}
]
}
]
},
{
"name" : "code",
"source" : [
{
"context" : "src",
"element" : "code",
"variable" : "s",
"condition" : "code = 'fatal'"
}
],
"target" : [
{
"context" : "tgt",
"transform" : "copy",
"parameter" : [
{
"valueString" : "12"
}
]
}
]
}
]
},
{
"name" : "AuditEventOutcomeDesc",
"extends" : "BackboneElement",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "code",
"source" : [
{
"context" : "src",
"element" : "code",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"transform" : "copy",
"parameter" : [
{
"valueId" : "s.display"
}
]
}
]
}
]
},
{
"name" : "AuditEventAgent",
"extends" : "BackboneElement",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "type",
"source" : [
{
"context" : "src",
"element" : "type",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "type",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "role",
"source" : [
{
"context" : "src",
"element" : "role",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "role",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "who",
"source" : [
{
"context" : "src",
"element" : "who",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "who",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "requestor",
"source" : [
{
"context" : "src",
"element" : "requestor",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "requestor",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "location",
"source" : [
{
"context" : "src",
"element" : "location",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "location",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "policy",
"source" : [
{
"context" : "src",
"element" : "policy",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "policy",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "networkReference",
"source" : [
{
"context" : "src",
"type" : "Reference",
"element" : "network",
"variable" : "v"
}
],
"target" : [
{
"context" : "tgt",
"element" : "network",
"variable" : "t"
},
{
"context" : "t",
"element" : "address",
"transform" : "copy",
"parameter" : [
{
"valueId" : "v.display"
}
]
}
]
},
{
"name" : "networkUri",
"source" : [
{
"context" : "src",
"type" : "uri",
"element" : "network",
"variable" : "v"
}
],
"target" : [
{
"context" : "tgt",
"element" : "network",
"variable" : "t"
},
{
"context" : "t",
"element" : "address",
"transform" : "copy",
"parameter" : [
{
"valueId" : "v"
}
]
}
]
},
{
"name" : "networkString",
"source" : [
{
"context" : "src",
"type" : "string",
"element" : "network",
"variable" : "v"
}
],
"target" : [
{
"context" : "tgt",
"element" : "network",
"variable" : "t"
},
{
"context" : "t",
"element" : "address",
"transform" : "copy",
"parameter" : [
{
"valueId" : "v"
}
]
}
]
},
{
"name" : "authorization",
"source" : [
{
"context" : "src",
"element" : "authorization",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "purposeOfUse",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
},
{
"name" : "AuditEventSource",
"extends" : "BackboneElement",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "siteReference",
"source" : [
{
"context" : "src",
"type" : "Reference",
"element" : "site",
"variable" : "s"
}
],
"target" : [
{
"transform" : "copy",
"parameter" : [
{
"valueId" : "tgt"
}
]
}
],
"rule" : [
{
"name" : "display",
"source" : [
{
"context" : "s",
"element" : "display",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "site",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
},
{
"name" : "observer",
"source" : [
{
"context" : "src",
"element" : "observer",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "observer",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "type",
"source" : [
{
"context" : "src",
"element" : "type",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "type",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
},
{
"name" : "AuditEventEntity",
"extends" : "BackboneElement",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "what",
"source" : [
{
"context" : "src",
"element" : "what",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "what",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "role",
"source" : [
{
"context" : "src",
"element" : "role",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "role",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "securityLabel",
"source" : [
{
"context" : "src",
"element" : "securityLabel",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "securityLabel",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "query",
"source" : [
{
"context" : "src",
"element" : "query",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "query",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "detail",
"source" : [
{
"context" : "src",
"element" : "detail",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "detail",
"variable" : "t"
}
],
"dependent" : [
{
"name" : "AuditEventEntityDetail",
"parameter" : [
{
"valueId" : "s"
},
{
"valueId" : "t"
}
]
}
]
}
]
},
{
"name" : "AuditEventEntityDetail",
"extends" : "BackboneElement",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "type",
"source" : [
{
"context" : "src",
"element" : "type",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "type",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "valueQuantity",
"source" : [
{
"context" : "src",
"type" : "Quantity",
"element" : "value",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "value",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "valueCodeableConcept",
"source" : [
{
"context" : "src",
"type" : "CodeableConcept",
"element" : "value",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "value",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "valueString",
"source" : [
{
"context" : "src",
"type" : "string",
"element" : "value",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "value",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "valueBoolean",
"source" : [
{
"context" : "src",
"type" : "boolean",
"element" : "value",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "value",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "valueInteger",
"source" : [
{
"context" : "src",
"type" : "integer",
"element" : "value",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "value",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "valueRange",
"source" : [
{
"context" : "src",
"type" : "Range",
"element" : "value",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "value",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "valueRatio",
"source" : [
{
"context" : "src",
"type" : "Ratio",
"element" : "value",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "value",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "valueTime",
"source" : [
{
"context" : "src",
"type" : "time",
"element" : "value",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "value",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "valueDateTime",
"source" : [
{
"context" : "src",
"type" : "dateTime",
"element" : "value",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "value",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "valuePeriod",
"source" : [
{
"context" : "src",
"type" : "Period",
"element" : "value",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "value",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "valueBase64Binary",
"source" : [
{
"context" : "src",
"type" : "base64Binary",
"element" : "value",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "value",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
}
]
}