This page is part of the FHIR Core Extensions Registry (v5.1.0-snapshot1: Release 5.1) 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" : "Consent4Bto5",
"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/Consent4Bto5'</span>\r\n<span style=\"color: #cc00cc\">/// <b>name</b> = </span><span style=\"color: blue\">'Consent4Bto5'</span>\r\n<span style=\"color: #cc00cc\">/// <b>title</b> = </span><span style=\"color: blue\">'FML Conversion for Consent: 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>ConsentDataMeaning<span style=\"color: navy\">" {\r\n</span><b> prefix </b>s<span style=\"color: navy\"> = "</span><a href=\"http://hl7.org/fhir/R4B/codesystem-consent-data-meaning.html\" title=\"ConsentDataMeaning\">http://hl7.org/fhir/4.3/consent-data-meaning</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-consent-data-meaning.html\" title=\"Consent Data Meaning\">http://hl7.org/fhir/consent-data-meaning</a><span style=\"color: navy\">"\r\n</span>\r\n s<span style=\"color: navy\">:</span>instance <b>-</b> t<span style=\"color: navy\">:</span>instance\r\n s<span style=\"color: navy\">:</span>related <b>-</b> t<span style=\"color: navy\">:</span>related\r\n s<span style=\"color: navy\">:</span>dependents <b>-</b> t<span style=\"color: navy\">:</span>dependents\r\n s<span style=\"color: navy\">:</span>authoredby <b>-</b> t<span style=\"color: navy\">:</span>authoredby\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>conceptmap</b><span style=\"color: navy\"> "</span>ConsentProvisionType<span style=\"color: navy\">" {\r\n</span><b> prefix </b>s<span style=\"color: navy\"> = "</span><a href=\"http://hl7.org/fhir/R4B/codesystem-consent-provision-type.html\" title=\"ConsentProvisionType\">http://hl7.org/fhir/4.3/consent-provision-type</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-consent-provision-type.html\" title=\"Consent Provision Type\">http://hl7.org/fhir/consent-provision-type</a><span style=\"color: navy\">"\r\n</span>\r\n s<span style=\"color: navy\">:</span>deny <b>-</b> t<span style=\"color: navy\">:</span>deny\r\n s<span style=\"color: navy\">:</span>permit <b>-</b> t<span style=\"color: navy\">:</span>permit\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>conceptmap</b><span style=\"color: navy\"> "</span>ConsentState<span style=\"color: navy\">" {\r\n</span><b> prefix </b>s<span style=\"color: navy\"> = "</span><a href=\"http://hl7.org/fhir/R4B/codesystem-consent-state-codes.html\" title=\"ConsentState\">http://hl7.org/fhir/4.3/consent-state-codes</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-consent-state-codes.html\" title=\"Consent State\">http://hl7.org/fhir/consent-state-codes</a><span style=\"color: navy\">"\r\n</span>\r\n s<span style=\"color: navy\">:</span>draft <b>-</b> t<span style=\"color: navy\">:</span>draft\r\n s<span style=\"color: navy\">:</span>active <b>-</b> t<span style=\"color: navy\">:</span>active\r\n s<span style=\"color: navy\">:</span>inactive <b>-</b> t<span style=\"color: navy\">:</span>inactive\r\n s<span style=\"color: navy\">:</span>rejected <b>-</b> t<span style=\"color: navy\">:</span><span style=\"color: navy\">"</span>not-done<span style=\"color: navy\">"</span>\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 s<span style=\"color: navy\">:</span>proposed <b>-</b> t<span style=\"color: navy\">:</span>unknown\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/consent.html\" title=\"Consent\">http://hl7.org/fhir/4.3/StructureDefinition/Consent</a><span style=\"color: navy\">" </span><b>alias </b>ConsentR4B <b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> "</span><a href=\"http://hl7.org/fhir/R5/consent.html\" title=\"Consent\">http://hl7.org/fhir/StructureDefinition/Consent</a><span style=\"color: navy\">" </span><b>alias </b>ConsentR5 <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>Consent<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>ConsentR4B, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>ConsentR5<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.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\">'#ConsentState'</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.category<span style=\"color: navy\"><b> -> </b></span>tgt.category<span style=\"color: navy\">;</span>\r\n src.patient<span style=\"color: navy\"><b> -> </b></span>tgt.subject<span style=\"color: navy\">;</span>\r\n src.dateTime<span style=\"color: navy\"><b> -> </b></span>tgt.date<span style=\"color: navy\">;</span>\r\n src.performer<span style=\"color: navy\"><b> -> </b></span>tgt.grantee<span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">src.period -> tgt.period;</span>\r\n src.source<span style=\"color: navy\"> : </span>Attachment<span style=\"color: navy\"><b> -> </b></span>tgt.sourceAttachment<span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">src.manager -> tgt.manager;</span>\r\n src.source<span style=\"color: navy\"> : </span>Reference<span style=\"color: navy\"><b> -> </b></span>tgt.sourceReference<span style=\"color: navy\">;</span>\r\n src.policyRule<span style=\"color: navy\"><b> -> </b></span>tgt.regulatoryBasis<span style=\"color: navy\">;</span>\r\n src.policy<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span> tgt.policyBasis<b> as </b><span style=\"color: maroon\">t</span><span style=\"color: navy\">, </span> t.url = <span style=\"color: maroon\">s.uri</span><span style=\"color: navy\">;</span>\r\n src.verification<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span>tgt.verification<b> as </b><span style=\"color: maroon\">t</span><b> then </b>ConsentVerification<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.policyText -> tgt.policyText;</span>\r\n src.provision<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span>tgt.provision<b> as </b><span style=\"color: maroon\">t</span><b> then </b>ConsentProvision<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.decision as v -> tgt.decision = translate(v, '#ConsentProvisionType', 'code');</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><span style=\"color: navy\">// </span><span style=\"color: green\">group ConsentPolicyBasis(source src, target tgt) extends BackboneElement {</span>\r\n<span style=\"color: #b36b00\" title=\"This element was not defined prior to R5\">// src.reference -> tgt.reference;</span>\r\n<span style=\"color: #b36b00\" title=\"This element was not defined prior to R5\">// src.url -> tgt.url;</span>\r\n<span style=\"color: navy\">// </span><span style=\"color: green\">}</span>\r\n<b>group </b>ConsentVerification<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.verified<span style=\"color: navy\"><b> -> </b></span>tgt.verified<span style=\"color: navy\">;</span>\r\n src.verifiedWith<span style=\"color: navy\"><b> -> </b></span>tgt.verifiedWith<span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">src.verificationType -> tgt.verificationType;</span>\r\n src.verificationDate<span style=\"color: navy\"><b> -> </b></span>tgt.verificationDate<span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>ConsentProvision<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.period<span style=\"color: navy\"><b> -> </b></span>tgt.period<span style=\"color: navy\">;</span>\r\n src.actor<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span>tgt.actor<b> as </b><span style=\"color: maroon\">t</span><b> then </b>ConsentProvisionActor<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.action<span style=\"color: navy\"><b> -> </b></span>tgt.action<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.purpose<span style=\"color: navy\"><b> -> </b></span>tgt.purpose<span style=\"color: navy\">;</span>\r\n src.class<span style=\"color: navy\"><b> -> </b></span>tgt.documentType<span style=\"color: navy\">;</span>\r\n src.code<span style=\"color: navy\"><b> -> </b></span>tgt.code<span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">src.resourceType -> tgt.resourceType;</span>\r\n src.dataPeriod<span style=\"color: navy\"><b> -> </b></span>tgt.dataPeriod<span style=\"color: navy\">;</span>\r\n src.data<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span>tgt.data<b> as </b><span style=\"color: maroon\">t</span><b> then </b>ConsentProvisionData<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>ConsentProvisionActor<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.role<span style=\"color: navy\"><b> -> </b></span>tgt.role<span style=\"color: navy\">;</span>\r\n src.reference<span style=\"color: navy\"><b> -> </b></span>tgt.reference<span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>ConsentProvisionData<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.meaning<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </b></span>tgt.meaning = <b>translate</b><span style=\"color: navy\">(</span><span style=\"color: maroon\">v</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'#ConsentDataMeaning'</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.reference<span style=\"color: navy\"><b> -> </b></span>tgt.reference<span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span></pre></div>"
},
"contained" : [
{
"resourceType" : "ConceptMap",
"id" : "ConsentDataMeaning",
"status" : "active",
"group" : [
{
"source" : "http://hl7.org/fhir/4.3/consent-data-meaning",
"target" : "http://hl7.org/fhir/consent-data-meaning",
"element" : [
{
"code" : "instance",
"target" : [
{
"code" : "instance",
"relationship" : "related-to"
}
]
},
{
"code" : "related",
"target" : [
{
"code" : "related",
"relationship" : "related-to"
}
]
},
{
"code" : "dependents",
"target" : [
{
"code" : "dependents",
"relationship" : "related-to"
}
]
},
{
"code" : "authoredby",
"target" : [
{
"code" : "authoredby",
"relationship" : "related-to"
}
]
}
]
}
]
},
{
"resourceType" : "ConceptMap",
"id" : "ConsentProvisionType",
"status" : "active",
"group" : [
{
"source" : "http://hl7.org/fhir/4.3/consent-provision-type",
"target" : "http://hl7.org/fhir/consent-provision-type",
"element" : [
{
"code" : "deny",
"target" : [
{
"code" : "deny",
"relationship" : "related-to"
}
]
},
{
"code" : "permit",
"target" : [
{
"code" : "permit",
"relationship" : "related-to"
}
]
}
]
}
]
},
{
"resourceType" : "ConceptMap",
"id" : "ConsentState",
"status" : "active",
"group" : [
{
"source" : "http://hl7.org/fhir/4.3/consent-state-codes",
"target" : "http://hl7.org/fhir/consent-state-codes",
"element" : [
{
"code" : "draft",
"target" : [
{
"code" : "draft",
"relationship" : "related-to"
}
]
},
{
"code" : "active",
"target" : [
{
"code" : "active",
"relationship" : "related-to"
}
]
},
{
"code" : "inactive",
"target" : [
{
"code" : "inactive",
"relationship" : "related-to"
}
]
},
{
"code" : "rejected",
"target" : [
{
"code" : "not-done",
"relationship" : "related-to"
}
]
},
{
"code" : "entered-in-error",
"target" : [
{
"code" : "entered-in-error",
"relationship" : "related-to"
}
]
},
{
"code" : "proposed",
"target" : [
{
"code" : "unknown",
"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/Consent4Bto5",
"version" : "5.1.0-snapshot1",
"name" : "Consent4Bto5",
"title" : "FML Conversion for Consent: R4B to R5",
"status" : "active",
"date" : "2024-03-12T13:30:10+11:00",
"publisher" : "HL7 International / FHIR Infrastructure",
"contact" : [
{
"telecom" : [
{
"system" : "url",
"value" : "http://www.hl7.org/Special/committees/fiwg"
}
]
}
],
"description" : "FMLConversionforConsentR4BtoR5",
"jurisdiction" : [
{
"coding" : [
{
"system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
"code" : "001"
}
]
}
],
"structure" : [
{
"url" : "http://hl7.org/fhir/4.3/StructureDefinition/Consent",
"mode" : "source",
"alias" : "ConsentR4B"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/Consent",
"mode" : "target",
"alias" : "ConsentR5"
}
],
"import" : [
"http://hl7.org/fhir/StructureMap/*4Bto5"
],
"group" : [
{
"name" : "Consent",
"extends" : "DomainResource",
"typeMode" : "type-and-types",
"input" : [
{
"name" : "src",
"type" : "ConsentR4B",
"mode" : "source"
},
{
"name" : "tgt",
"type" : "ConsentR5",
"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" : "status",
"source" : [
{
"context" : "src",
"element" : "status",
"variable" : "v"
}
],
"target" : [
{
"context" : "tgt",
"element" : "status",
"transform" : "translate",
"parameter" : [
{
"valueId" : "v"
},
{
"valueString" : "#ConsentState"
},
{
"valueString" : "code"
}
]
}
]
},
{
"name" : "category",
"source" : [
{
"context" : "src",
"element" : "category",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "category",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "patient",
"source" : [
{
"context" : "src",
"element" : "patient",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "subject",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "dateTime",
"source" : [
{
"context" : "src",
"element" : "dateTime",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "date",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "performer",
"source" : [
{
"context" : "src",
"element" : "performer",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "grantee",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
],
"documentation" : "src.period -> tgt.period;"
},
{
"name" : "sourceAttachment",
"source" : [
{
"context" : "src",
"type" : "Attachment",
"element" : "source",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "sourceAttachment",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
],
"documentation" : "src.manager -> tgt.manager;"
},
{
"name" : "sourceReference",
"source" : [
{
"context" : "src",
"type" : "Reference",
"element" : "source",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "sourceReference",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "policyRule",
"source" : [
{
"context" : "src",
"element" : "policyRule",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "regulatoryBasis",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "policy",
"source" : [
{
"context" : "src",
"element" : "policy",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "policyBasis",
"variable" : "t"
},
{
"context" : "t",
"element" : "url",
"transform" : "copy",
"parameter" : [
{
"valueId" : "s.uri"
}
]
}
]
},
{
"name" : "verification",
"source" : [
{
"context" : "src",
"element" : "verification",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "verification",
"variable" : "t"
}
],
"dependent" : [
{
"name" : "ConsentVerification",
"parameter" : [
{
"valueId" : "s"
},
{
"valueId" : "t"
}
]
}
],
"documentation" : "src.policyText -> tgt.policyText;"
},
{
"name" : "provision",
"source" : [
{
"context" : "src",
"element" : "provision",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "provision",
"variable" : "t"
}
],
"dependent" : [
{
"name" : "ConsentProvision",
"parameter" : [
{
"valueId" : "s"
},
{
"valueId" : "t"
}
]
}
],
"documentation" : "src.decision as v -> tgt.decision = translate(v, '#ConsentProvisionType', 'code');"
}
]
},
{
"name" : "ConsentVerification",
"extends" : "BackboneElement",
"documentation" : "group ConsentPolicyBasis(source src, target tgt) extends BackboneElement {\r\nsrc.reference -> tgt.reference;\r\nsrc.url -> tgt.url;\r\n}",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "verified",
"source" : [
{
"context" : "src",
"element" : "verified",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "verified",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "verifiedWith",
"source" : [
{
"context" : "src",
"element" : "verifiedWith",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "verifiedWith",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
],
"documentation" : "src.verificationType -> tgt.verificationType;"
},
{
"name" : "verificationDate",
"source" : [
{
"context" : "src",
"element" : "verificationDate",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "verificationDate",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
},
{
"name" : "ConsentProvision",
"extends" : "BackboneElement",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "period",
"source" : [
{
"context" : "src",
"element" : "period",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "period",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "actor",
"source" : [
{
"context" : "src",
"element" : "actor",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "actor",
"variable" : "t"
}
],
"dependent" : [
{
"name" : "ConsentProvisionActor",
"parameter" : [
{
"valueId" : "s"
},
{
"valueId" : "t"
}
]
}
]
},
{
"name" : "action",
"source" : [
{
"context" : "src",
"element" : "action",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "action",
"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" : "purpose",
"source" : [
{
"context" : "src",
"element" : "purpose",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "purpose",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "class",
"source" : [
{
"context" : "src",
"element" : "class",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "documentType",
"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" : "code",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
],
"documentation" : "src.resourceType -> tgt.resourceType;"
},
{
"name" : "dataPeriod",
"source" : [
{
"context" : "src",
"element" : "dataPeriod",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "dataPeriod",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "data",
"source" : [
{
"context" : "src",
"element" : "data",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "data",
"variable" : "t"
}
],
"dependent" : [
{
"name" : "ConsentProvisionData",
"parameter" : [
{
"valueId" : "s"
},
{
"valueId" : "t"
}
]
}
]
}
]
},
{
"name" : "ConsentProvisionActor",
"extends" : "BackboneElement",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"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" : "reference",
"source" : [
{
"context" : "src",
"element" : "reference",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "reference",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
},
{
"name" : "ConsentProvisionData",
"extends" : "BackboneElement",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "meaning",
"source" : [
{
"context" : "src",
"element" : "meaning",
"variable" : "v"
}
],
"target" : [
{
"context" : "tgt",
"element" : "meaning",
"transform" : "translate",
"parameter" : [
{
"valueId" : "v"
},
{
"valueString" : "#ConsentDataMeaning"
},
{
"valueString" : "code"
}
]
}
]
},
{
"name" : "reference",
"source" : [
{
"context" : "src",
"element" : "reference",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "reference",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
}
]
}