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" : "AuditEvent4Bto5",
"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/AuditEvent4Bto5'</span>\r\n<span style=\"color: #cc00cc\">/// <b>name</b> = </span><span style=\"color: blue\">'AuditEvent4Bto5'</span>\r\n<span style=\"color: #cc00cc\">/// <b>title</b> = </span><span style=\"color: blue\">'FML Conversion for AuditEvent: R4B to R5'</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/R4B/codesystem-audit-event-action.html\" title=\"AuditEventAction\">http://hl7.org/fhir/4.3/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/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>\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/R4B/auditevent.html\" title=\"AuditEvent\">http://hl7.org/fhir/4.3/StructureDefinition/AuditEvent</a><span style=\"color: navy\">" </span><b>alias </b>AuditEventR4B <b>as </b><b>source</b>\r\n<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>target</b>\r\n\r\n<b>imports</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/StructureMap/*4Bto5<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>AuditEventR4B, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>AuditEventR5<span style=\"color: navy\">)</span><b> extends </b>DomainResource<b> <<type+>></b><span style=\"color: navy\"> {\r\n</span> src.type<span style=\"color: navy\"><b> -> </b></span>tgt.category<span style=\"color: navy\">;</span>\r\n src.subtype<span style=\"color: navy\"><b> -> </b></span>tgt.code<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><b> where </b>outcome = '0'<span style=\"color: navy\"><b> -> </b></span> tgt.outcome<b> as </b><span style=\"color: maroon\">t</span><span style=\"color: navy\">, </span> t.code = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Coding'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tc</span><span style=\"color: navy\">, </span> tc.system = <span style=\"color: blue\">'http://hl7.org/fhir/issue-severity'</span><span style=\"color: navy\">, </span> tc.code = <span style=\"color: blue\">'success'</span><span style=\"color: navy\">, </span> tc.display = <span style=\"color: blue\">'Success'</span><span style=\"color: navy\">;</span>\r\n src.outcome<b> as </b><span style=\"color: maroon\">s</span><b> where </b>outcome = '4'<span style=\"color: navy\"><b> -> </b></span> tgt.outcome<b> as </b><span style=\"color: maroon\">t</span><span style=\"color: navy\">, </span> t.code = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Coding'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tc</span><span style=\"color: navy\">, </span> tc.system = <span style=\"color: blue\">'http://hl7.org/fhir/issue-severity'</span><span style=\"color: navy\">, </span> tc.code = <span style=\"color: blue\">'warning'</span><span style=\"color: navy\">, </span> tc.display = <span style=\"color: blue\">'Warning'</span><span style=\"color: navy\">;</span>\r\n src.outcome<b> as </b><span style=\"color: maroon\">s</span><b> where </b>outcome = '8'<span style=\"color: navy\"><b> -> </b></span> tgt.outcome<b> as </b><span style=\"color: maroon\">t</span><span style=\"color: navy\">, </span> t.code = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Coding'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tc</span><span style=\"color: navy\">, </span> tc.system = <span style=\"color: blue\">'http://hl7.org/fhir/issue-severity'</span><span style=\"color: navy\">, </span> tc.code = <span style=\"color: blue\">'error'</span><span style=\"color: navy\">, </span> tc.display = <span style=\"color: blue\">'error'</span><span style=\"color: navy\">;</span>\r\n src.outcome<b> as </b><span style=\"color: maroon\">s</span><b> where </b>outcome = '12'<span style=\"color: navy\"><b> -> </b></span> tgt.outcome<b> as </b><span style=\"color: maroon\">t</span><span style=\"color: navy\">, </span> t.code = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Coding'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tc</span><span style=\"color: navy\">, </span> tc.system = <span style=\"color: blue\">'http://hl7.org/fhir/issue-severity'</span><span style=\"color: navy\">, </span> tc.code = <span style=\"color: blue\">'fatal'</span><span style=\"color: navy\">, </span> tc.display = <span style=\"color: blue\">'Fatal'</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><span style=\"color: navy\">// </span><span style=\"color: green\">group AuditEventOutcome(source src, target tgt) extends BackboneElement {</span>\r\n<span style=\"color: #b36b00\" title=\"This element was not defined prior to R5\">// src.code -> tgt.code;</span>\r\n<span style=\"color: #b36b00\" title=\"This element was not defined prior to R5\">// src.detail -> tgt.detail;</span>\r\n<span style=\"color: navy\">// </span><span style=\"color: green\">}</span>\r\n<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<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </b></span><span style=\"color: maroon\">tgt</span><b> then</b><span style=\"color: navy\"> {\r\n</span> v.address<span style=\"color: navy\"><b> -> </b></span>tgt.network <i>"network"</i><span style=\"color: navy\">;</span>\r\n <span style=\"color: navy\">}</span><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">src.network : Reference -> tgt.network;</span>\r\n src.purposeOfUse<span style=\"color: navy\"><b> -> </b></span>tgt.authorization<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<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </b></span> tgt.site = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Reference'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">t</span><span style=\"color: navy\">, </span> t.display = <span style=\"color: maroon\">v</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>string<span style=\"color: navy\"><b> -> </b></span>tgt.value<span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">src.value : Quantity -> tgt.value;</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> <span style=\"color: navy\">// </span><span style=\"color: green\">src.value : boolean -> tgt.value;</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/4.3/audit-event-action",
"target" : "http://hl7.org/fhir/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/AuditEvent4Bto5",
"version" : "5.1.0",
"name" : "AuditEvent4Bto5",
"title" : "FML Conversion for AuditEvent: R4B to R5",
"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" : "FMLConversionforAuditEventR4BtoR5",
"jurisdiction" : [
{
"coding" : [
{
"system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
"code" : "001"
}
]
}
],
"structure" : [
{
"url" : "http://hl7.org/fhir/4.3/StructureDefinition/AuditEvent",
"mode" : "source",
"alias" : "AuditEventR4B"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/AuditEvent",
"mode" : "target",
"alias" : "AuditEventR5"
}
],
"import" : [
"http://hl7.org/fhir/StructureMap/*4Bto5"
],
"group" : [
{
"name" : "AuditEvent",
"extends" : "DomainResource",
"typeMode" : "type-and-types",
"input" : [
{
"name" : "src",
"type" : "AuditEventR4B",
"mode" : "source"
},
{
"name" : "tgt",
"type" : "AuditEventR5",
"mode" : "target"
}
],
"rule" : [
{
"name" : "type",
"source" : [
{
"context" : "src",
"element" : "type",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "category",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "subtype",
"source" : [
{
"context" : "src",
"element" : "subtype",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "code",
"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",
"condition" : "outcome = '0'"
}
],
"target" : [
{
"context" : "tgt",
"element" : "outcome",
"variable" : "t"
},
{
"context" : "t",
"element" : "code",
"variable" : "tc",
"transform" : "create",
"parameter" : [
{
"valueString" : "Coding"
}
]
},
{
"context" : "tc",
"element" : "system",
"transform" : "copy",
"parameter" : [
{
"valueString" : "http://hl7.org/fhir/issue-severity"
}
]
},
{
"context" : "tc",
"element" : "code",
"transform" : "copy",
"parameter" : [
{
"valueString" : "success"
}
]
},
{
"context" : "tc",
"element" : "display",
"transform" : "copy",
"parameter" : [
{
"valueString" : "Success"
}
]
}
]
},
{
"name" : "outcome",
"source" : [
{
"context" : "src",
"element" : "outcome",
"variable" : "s",
"condition" : "outcome = '4'"
}
],
"target" : [
{
"context" : "tgt",
"element" : "outcome",
"variable" : "t"
},
{
"context" : "t",
"element" : "code",
"variable" : "tc",
"transform" : "create",
"parameter" : [
{
"valueString" : "Coding"
}
]
},
{
"context" : "tc",
"element" : "system",
"transform" : "copy",
"parameter" : [
{
"valueString" : "http://hl7.org/fhir/issue-severity"
}
]
},
{
"context" : "tc",
"element" : "code",
"transform" : "copy",
"parameter" : [
{
"valueString" : "warning"
}
]
},
{
"context" : "tc",
"element" : "display",
"transform" : "copy",
"parameter" : [
{
"valueString" : "Warning"
}
]
}
]
},
{
"name" : "outcome",
"source" : [
{
"context" : "src",
"element" : "outcome",
"variable" : "s",
"condition" : "outcome = '8'"
}
],
"target" : [
{
"context" : "tgt",
"element" : "outcome",
"variable" : "t"
},
{
"context" : "t",
"element" : "code",
"variable" : "tc",
"transform" : "create",
"parameter" : [
{
"valueString" : "Coding"
}
]
},
{
"context" : "tc",
"element" : "system",
"transform" : "copy",
"parameter" : [
{
"valueString" : "http://hl7.org/fhir/issue-severity"
}
]
},
{
"context" : "tc",
"element" : "code",
"transform" : "copy",
"parameter" : [
{
"valueString" : "error"
}
]
},
{
"context" : "tc",
"element" : "display",
"transform" : "copy",
"parameter" : [
{
"valueString" : "error"
}
]
}
]
},
{
"name" : "outcome",
"source" : [
{
"context" : "src",
"element" : "outcome",
"variable" : "s",
"condition" : "outcome = '12'"
}
],
"target" : [
{
"context" : "tgt",
"element" : "outcome",
"variable" : "t"
},
{
"context" : "t",
"element" : "code",
"variable" : "tc",
"transform" : "create",
"parameter" : [
{
"valueString" : "Coding"
}
]
},
{
"context" : "tc",
"element" : "system",
"transform" : "copy",
"parameter" : [
{
"valueString" : "http://hl7.org/fhir/issue-severity"
}
]
},
{
"context" : "tc",
"element" : "code",
"transform" : "copy",
"parameter" : [
{
"valueString" : "fatal"
}
]
},
{
"context" : "tc",
"element" : "display",
"transform" : "copy",
"parameter" : [
{
"valueString" : "Fatal"
}
]
}
]
},
{
"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" : "AuditEventAgent",
"extends" : "BackboneElement",
"documentation" : "group AuditEventOutcome(source src, target tgt) extends BackboneElement {\r\nsrc.code -> tgt.code;\r\nsrc.detail -> tgt.detail;\r\n}",
"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" : "network",
"source" : [
{
"context" : "src",
"element" : "network",
"variable" : "v"
}
],
"target" : [
{
"transform" : "copy",
"parameter" : [
{
"valueId" : "tgt"
}
]
}
],
"rule" : [
{
"name" : "network",
"source" : [
{
"context" : "v",
"element" : "address",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "network",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
],
"documentation" : "src.network : Reference -> tgt.network;"
},
{
"name" : "purposeOfUse",
"source" : [
{
"context" : "src",
"element" : "purposeOfUse",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "authorization",
"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" : "site",
"source" : [
{
"context" : "src",
"element" : "site",
"variable" : "v"
}
],
"target" : [
{
"context" : "tgt",
"element" : "site",
"variable" : "t",
"transform" : "create",
"parameter" : [
{
"valueString" : "Reference"
}
]
},
{
"context" : "t",
"element" : "display",
"transform" : "copy",
"parameter" : [
{
"valueId" : "v"
}
]
}
]
},
{
"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" : "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"
}
]
}
],
"documentation" : "src.value : Quantity -> tgt.value;"
},
{
"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"
}
]
}
],
"documentation" : "src.value : boolean -> tgt.value;"
}
]
}
]
}