This page is part of the WHO Digital Documentation of COVID-19 Certificates (DDCC) (v1.0.0: releases Draft) based on FHIR (HL7® FHIR® Standard) R4. This is the current published version. For a full list of available versions, see the Directory of published versions
Draft as of 2024-10-15 |
@prefix fhir: <http://hl7.org/fhir/> . @prefix owl: <http://www.w3.org/2002/07/owl#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . # - resource ------------------------------------------------------------------- a fhir:StructureMap ; fhir:nodeRole fhir:treeRoot ; fhir:id [ fhir:v "CoreDataSetLibrary"] ; # fhir:text [ fhir:status [ fhir:v "generated" ] ; fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: StructureMap CoreDataSetLibrary</b></p><a name=\"CoreDataSetLibrary\"> </a><a name=\"hcCoreDataSetLibrary\"> </a><a name=\"CoreDataSetLibrary-en-US\"> </a><pre class=\"fml\">\r\n<b>map</b><span style=\"color: navy\"> "</span>http://smart.who.int/ddcc/StructureMap/CoreDataSetLibrary<span style=\"color: navy\">" = "</span>CoreDataSetLibrary<span style=\"color: navy\">"\r\n\r\n</span><b>uses</b><span style=\"color: navy\"> "</span><a href=\"StructureDefinition-DDCCCoreDataSetVS.html\" title=\"DDCC Core Data Set Logical Model for Vaccination Status\">http://smart.who.int/ddcc/StructureDefinition/DDCCCoreDataSetVS</a><span style=\"color: navy\">" </span><b>alias </b>DDCCVS <b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> "</span><a href=\"http://hl7.org/fhir/R4/patient.html\" title=\"Patient\">http://hl7.org/fhir/StructureDefinition/Patient</a><span style=\"color: navy\">" </span><b>alias </b>Patient <b>as </b><b>target</b>\r\n<b>uses</b><span style=\"color: navy\"> "</span><a href=\"StructureDefinition-DDCCPatient.html\" title=\"DDCC Patient\">http://smart.who.int/ddcc/StructureDefinition/DDCCPatient</a><span style=\"color: navy\">" </span><b>alias </b>DDCCPatient <b>as </b><b>target</b>\r\n<b>uses</b><span style=\"color: navy\"> "</span><a href=\"StructureDefinition-DDCCDocumentReferenceQR.html\" title=\"DDCC DocumentReference return for QR\">http://smart.who.int/ddcc/StructureDefinition/DDCCDocumentReferenceQR</a><span style=\"color: navy\">" </span><b>alias </b>DDCCDocRefQR <b>as </b><b>target</b>\r\n<b>uses</b><span style=\"color: navy\"> "</span><a href=\"StructureDefinition-DDCCComposition.html\" title=\"DDCC Composition\">http://smart.who.int/ddcc/StructureDefinition/DDCCComposition</a><span style=\"color: navy\">" </span><b>alias </b>DDCCComposition <b>as </b><b>target</b>\r\n\r\n<b>group </b>DDCCToPatient<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>DDCCVS, <b>target</b> <span style=\"color: maroon\">patient</span><span style=\"color: navy\"> : </span>DDCCPatient, <b>source</b> <span style=\"color: maroon\">pid</span><span style=\"color: navy\">)</span><span style=\"color: navy\"> {\r\n</span> pid<span style=\"color: navy\"><b> -> </b></span>patient.id = <span style=\"color: maroon\">pid</span> <i>"set id"</i><span style=\"color: navy\">;</span>\r\n src.name<b> as </b><span style=\"color: maroon\">name</span><span style=\"color: navy\"><b> -> </b></span>patient.name<b> as </b><span style=\"color: maroon\">tName</span><b> then</b><span style=\"color: navy\"> {\r\n</span> name<span style=\"color: navy\"><b> -> </b></span>tName.text = <span style=\"color: maroon\">name</span> <i>"set name"</i><span style=\"color: navy\">;</span>\r\n <span style=\"color: navy\">}</span> <i>"set full name"</i><span style=\"color: navy\">;</span>\r\n src.birthDate<b> as </b><span style=\"color: maroon\">birthDate</span><span style=\"color: navy\"><b> -> </b></span>patient.birthDate = <span style=\"color: maroon\">birthDate</span> <i>"set birthDate"</i><span style=\"color: navy\">;</span>\r\n src.identifier<b> as </b><span style=\"color: maroon\">identifier</span><span style=\"color: navy\"><b> -> </b></span>patient.identifier = <span style=\"color: maroon\">identifier</span> <i>"set identifier"</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>DDCCToDocumentReference<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>DDCCVS, <b>target</b> <span style=\"color: maroon\">ref</span><span style=\"color: navy\"> : </span>DDCCDocRefQR, <b>source</b> <span style=\"color: maroon\">id</span>, <b>source</b> <span style=\"color: maroon\">pid</span><span style=\"color: navy\">)</span><span style=\"color: navy\"> {\r\n</span> id<span style=\"color: navy\"><b> -> </b></span>ref.id = <span style=\"color: maroon\">id</span> <i>"set id"</i><span style=\"color: navy\">;</span>\r\n src<span style=\"color: navy\"><b> -> </b></span>ref.status = <span style=\"color: blue\">'current'</span> <i>"set status"</i><span style=\"color: navy\">;</span>\r\n src<span style=\"color: navy\"><b> -> </b></span> ref.subject<b> as </b><span style=\"color: maroon\">patient</span><span style=\"color: navy\">, </span> patient.reference = <b>append</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Patient/'</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">pid</span><span style=\"color: navy\">)</span> <i>"set patient"</i><span style=\"color: navy\">;</span>\r\n src<span style=\"color: navy\"><b> -> </b></span>ref.content<b> as </b><span style=\"color: maroon\">content</span><b> then</b><span style=\"color: navy\"> {\r\n</span> src<span style=\"color: navy\"><b> -> </b></span> content.attachment<b> as </b><span style=\"color: maroon\">attachment</span><span style=\"color: navy\">, </span> attachment.contentType = <span style=\"color: blue\">'application/json'</span> <i>"set contentType"</i><span style=\"color: navy\">;</span>\r\n src<span style=\"color: navy\"><b> -> </b></span> content.format<b> as </b><span style=\"color: maroon\">format</span><span style=\"color: navy\">, </span> format.system = <span style=\"color: blue\">'http://smart.who.int/ddcc/CodeSystem/DDCCQRFormatCodeSystem'</span><span style=\"color: navy\">, </span> format.code = <span style=\"color: blue\">'serialized'</span> <i>"set format code"</i><span style=\"color: navy\">;</span>\r\n <span style=\"color: navy\">}</span> <i>"set serialized content"</i><span style=\"color: navy\">;</span>\r\n src<span style=\"color: navy\"><b> -> </b></span>ref.content<b> as </b><span style=\"color: maroon\">content</span><b> then</b><span style=\"color: navy\"> {\r\n</span> src<span style=\"color: navy\"><b> -> </b></span> content.attachment<b> as </b><span style=\"color: maroon\">attachment</span><span style=\"color: navy\">, </span> attachment.contentType = <span style=\"color: blue\">'image/png'</span> <i>"set contentType"</i><span style=\"color: navy\">;</span>\r\n src<span style=\"color: navy\"><b> -> </b></span> content.format<b> as </b><span style=\"color: maroon\">format</span><span style=\"color: navy\">, </span> format.system = <span style=\"color: blue\">'http://smart.who.int/ddcc/CodeSystem/DDCCQRFormatCodeSystem'</span><span style=\"color: navy\">, </span> format.code = <span style=\"color: blue\">'image'</span> <i>"set format code"</i><span style=\"color: navy\">;</span>\r\n <span style=\"color: navy\">}</span> <i>"set image content"</i><span style=\"color: navy\">;</span>\r\n src<span style=\"color: navy\"><b> -> </b></span>ref.content<b> as </b><span style=\"color: maroon\">content</span><b> then</b><span style=\"color: navy\"> {\r\n</span> src<span style=\"color: navy\"><b> -> </b></span> content.attachment<b> as </b><span style=\"color: maroon\">attachment</span><span style=\"color: navy\">, </span> attachment.contentType = <span style=\"color: blue\">'application/pdf'</span> <i>"set contentType"</i><span style=\"color: navy\">;</span>\r\n src<span style=\"color: navy\"><b> -> </b></span> content.format<b> as </b><span style=\"color: maroon\">format</span><span style=\"color: navy\">, </span> format.system = <span style=\"color: blue\">'http://smart.who.int/ddcc/CodeSystem/DDCCQRFormatCodeSystem'</span><span style=\"color: navy\">, </span> format.code = <span style=\"color: blue\">'pdf'</span> <i>"set format code"</i><span style=\"color: navy\">;</span>\r\n <span style=\"color: navy\">}</span> <i>"set pdf content"</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>DDCCToComposition<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>DDCCVS, <b>target</b> <span style=\"color: maroon\">comp</span><span style=\"color: navy\"> : </span>DDCCComposition, <b>source</b> <span style=\"color: maroon\">id</span>, <b>source</b> <span style=\"color: maroon\">pid</span><span style=\"color: navy\">)</span><span style=\"color: navy\"> {\r\n</span> id<span style=\"color: navy\"><b> -> </b></span>comp.id = <span style=\"color: maroon\">id</span> <i>"set id"</i><span style=\"color: navy\">;</span>\r\n src<span style=\"color: navy\"><b> -> </b></span> comp.subject<b> as </b><span style=\"color: maroon\">patient</span><span style=\"color: navy\">, </span> patient.reference = <b>append</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Patient/'</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">pid</span><span style=\"color: navy\">)</span> <i>"set patient"</i><span style=\"color: navy\">;</span>\r\n src<span style=\"color: navy\"><b> -> </b></span> comp.type<b> as </b><span style=\"color: maroon\">type</span><span style=\"color: navy\">, </span> type.coding<b> as </b><span style=\"color: maroon\">coding</span><b> then</b><span style=\"color: navy\"> {\r\n</span> src<span style=\"color: navy\"><b> -> </b></span> coding.system = <span style=\"color: blue\">'http://loinc.org'</span><span style=\"color: navy\">, </span> coding.code = <span style=\"color: blue\">'82593-5'</span> <i>"set type coding"</i><span style=\"color: navy\">;</span>\r\n <span style=\"color: navy\">}</span> <i>"set type"</i><span style=\"color: navy\">;</span>\r\n src.certificate<b> as </b><span style=\"color: maroon\">certificate</span><span style=\"color: navy\"><b> -> </b></span> comp.author<b> as </b><span style=\"color: maroon\">author</span><span style=\"color: navy\">, </span> comp.event<b> as </b><span style=\"color: maroon\">event</span><b> then</b><span style=\"color: navy\"> {\r\n</span> certificate.period<b> as </b><span style=\"color: maroon\">period</span><span style=\"color: navy\"><b> -> </b></span>event.period = <span style=\"color: maroon\">period</span> <i>"set event period"</i><span style=\"color: navy\">;</span>\r\n certificate.issuer<b> as </b><span style=\"color: maroon\">issuer</span><span style=\"color: navy\"><b> -> </b></span>author.type = <span style=\"color: blue\">'Organization'</span><b> then</b><span style=\"color: navy\"> {\r\n</span> issuer.identifier<b> as </b><span style=\"color: maroon\">pha</span><span style=\"color: navy\"><b> -> </b></span>author.identifier<b> as </b><span style=\"color: maroon\">identifier</span><b> then</b><span style=\"color: navy\"> {\r\n</span> pha.value<b> as </b><span style=\"color: maroon\">value</span><span style=\"color: navy\"><b> -> </b></span>identifier.value = <span style=\"color: maroon\">value</span> <i>"set pha"</i><span style=\"color: navy\">;</span>\r\n <span style=\"color: navy\">}</span> <i>"set author identifier"</i><span style=\"color: navy\">;</span>\r\n <span style=\"color: navy\">}</span> <i>"set author ref"</i><span style=\"color: navy\">;</span>\r\n <span style=\"color: navy\">}</span> <i>"set certificate"</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span></pre></div>" ] ; # fhir:url [ fhir:v "http://smart.who.int/ddcc/StructureMap/CoreDataSetLibrary"^^xsd:anyURI] ; # fhir:version [ fhir:v "1.0.0"] ; # fhir:name [ fhir:v "CoreDataSetLibrary"] ; # fhir:status [ fhir:v "draft"] ; # fhir:date [ fhir:v "2024-10-15T11:00:36+02:00"^^xsd:dateTime] ; # fhir:publisher [ fhir:v "WHO"] ; # fhir:contact ( [ fhir:name [ fhir:v "WHO" ] ; ( fhir:telecom [ fhir:system [ fhir:v "url" ] ; fhir:value [ fhir:v "http://who.int" ] ] ) ] ) ; # fhir:jurisdiction ( [ ( fhir:coding [ fhir:system [ fhir:v "http://unstats.un.org/unsd/methods/m49/m49.htm"^^xsd:anyURI ] ; fhir:code [ fhir:v "001" ] ] ) ] ) ; # fhir:structure ( [ fhir:url [ fhir:v "http://smart.who.int/ddcc/StructureDefinition/DDCCCoreDataSetVS"^^xsd:anyURI ; fhir:link <http://smart.who.int/ddcc/StructureDefinition/DDCCCoreDataSetVS> ] ; fhir:mode [ fhir:v "source" ] ; fhir:alias [ fhir:v "DDCCVS" ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/Patient"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureDefinition/Patient> ] ; fhir:mode [ fhir:v "target" ] ; fhir:alias [ fhir:v "Patient" ] ] [ fhir:url [ fhir:v "http://smart.who.int/ddcc/StructureDefinition/DDCCPatient"^^xsd:anyURI ; fhir:link <http://smart.who.int/ddcc/StructureDefinition/DDCCPatient> ] ; fhir:mode [ fhir:v "target" ] ; fhir:alias [ fhir:v "DDCCPatient" ] ] [ fhir:url [ fhir:v "http://smart.who.int/ddcc/StructureDefinition/DDCCDocumentReferenceQR"^^xsd:anyURI ; fhir:link <http://smart.who.int/ddcc/StructureDefinition/DDCCDocumentReferenceQR> ] ; fhir:mode [ fhir:v "target" ] ; fhir:alias [ fhir:v "DDCCDocRefQR" ] ] [ fhir:url [ fhir:v "http://smart.who.int/ddcc/StructureDefinition/DDCCComposition"^^xsd:anyURI ; fhir:link <http://smart.who.int/ddcc/StructureDefinition/DDCCComposition> ] ; fhir:mode [ fhir:v "target" ] ; fhir:alias [ fhir:v "DDCCComposition" ] ] ) ; # fhir:group ( [ fhir:name [ fhir:v "DDCCToPatient" ] ; fhir:typeMode [ fhir:v "none" ] ; ( fhir:input [ fhir:name [ fhir:v "src" ] ; fhir:type [ fhir:v "DDCCVS" ] ; fhir:mode [ fhir:v "source" ] ] [ fhir:name [ fhir:v "patient" ] ; fhir:type [ fhir:v "DDCCPatient" ] ; fhir:mode [ fhir:v "target" ] ] [ fhir:name [ fhir:v "pid" ] ; fhir:mode [ fhir:v "source" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "set id" ] ; ( fhir:source [ fhir:context [ fhir:v "pid" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "patient" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "id" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "pid" ] ] ) ] ) ] [ fhir:name [ fhir:v "set full name" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "name" ] ; fhir:variable [ fhir:v "name" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "patient" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "name" ] ; fhir:variable [ fhir:v "tName" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "set name" ] ; ( fhir:source [ fhir:context [ fhir:v "name" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tName" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "text" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "name" ] ] ) ] ) ] ) ] [ fhir:name [ fhir:v "set birthDate" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "birthDate" ] ; fhir:variable [ fhir:v "birthDate" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "patient" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "birthDate" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "birthDate" ] ] ) ] ) ] [ fhir:name [ fhir:v "set identifier" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "identifier" ] ; fhir:variable [ fhir:v "identifier" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "patient" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "identifier" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "identifier" ] ] ) ] ) ] ) ] [ fhir:name [ fhir:v "DDCCToDocumentReference" ] ; fhir:typeMode [ fhir:v "none" ] ; ( fhir:input [ fhir:name [ fhir:v "src" ] ; fhir:type [ fhir:v "DDCCVS" ] ; fhir:mode [ fhir:v "source" ] ] [ fhir:name [ fhir:v "ref" ] ; fhir:type [ fhir:v "DDCCDocRefQR" ] ; fhir:mode [ fhir:v "target" ] ] [ fhir:name [ fhir:v "id" ] ; fhir:mode [ fhir:v "source" ] ] [ fhir:name [ fhir:v "pid" ] ; fhir:mode [ fhir:v "source" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "set id" ] ; ( fhir:source [ fhir:context [ fhir:v "id" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "ref" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "id" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "id" ] ] ) ] ) ] [ fhir:name [ fhir:v "set status" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "ref" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "status" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "current" ] ] ) ] ) ] [ fhir:name [ fhir:v "set patient" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "ref" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "subject" ] ; fhir:variable [ fhir:v "patient" ] ] [ fhir:context [ fhir:v "patient" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "reference" ] ; fhir:transform [ fhir:v "append" ] ; ( fhir:parameter [ fhir:value [ fhir:v "Patient/" ] ] [ fhir:value [ fhir:v "pid" ] ] ) ] ) ] [ fhir:name [ fhir:v "set serialized content" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "ref" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "content" ] ; fhir:variable [ fhir:v "content" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "set contentType" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "content" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "attachment" ] ; fhir:variable [ fhir:v "attachment" ] ] [ fhir:context [ fhir:v "attachment" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "contentType" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "application/json" ] ] ) ] ) ] [ fhir:name [ fhir:v "set format code" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "content" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "format" ] ; fhir:variable [ fhir:v "format" ] ] [ fhir:context [ fhir:v "format" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "system" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "http://smart.who.int/ddcc/CodeSystem/DDCCQRFormatCodeSystem" ] ] ) ] [ fhir:context [ fhir:v "format" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "code" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "serialized" ] ] ) ] ) ] ) ] [ fhir:name [ fhir:v "set image content" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "ref" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "content" ] ; fhir:variable [ fhir:v "content" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "set contentType" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "content" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "attachment" ] ; fhir:variable [ fhir:v "attachment" ] ] [ fhir:context [ fhir:v "attachment" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "contentType" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "image/png" ] ] ) ] ) ] [ fhir:name [ fhir:v "set format code" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "content" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "format" ] ; fhir:variable [ fhir:v "format" ] ] [ fhir:context [ fhir:v "format" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "system" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "http://smart.who.int/ddcc/CodeSystem/DDCCQRFormatCodeSystem" ] ] ) ] [ fhir:context [ fhir:v "format" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "code" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "image" ] ] ) ] ) ] ) ] [ fhir:name [ fhir:v "set pdf content" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "ref" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "content" ] ; fhir:variable [ fhir:v "content" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "set contentType" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "content" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "attachment" ] ; fhir:variable [ fhir:v "attachment" ] ] [ fhir:context [ fhir:v "attachment" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "contentType" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "application/pdf" ] ] ) ] ) ] [ fhir:name [ fhir:v "set format code" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "content" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "format" ] ; fhir:variable [ fhir:v "format" ] ] [ fhir:context [ fhir:v "format" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "system" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "http://smart.who.int/ddcc/CodeSystem/DDCCQRFormatCodeSystem" ] ] ) ] [ fhir:context [ fhir:v "format" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "code" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "pdf" ] ] ) ] ) ] ) ] ) ] [ fhir:name [ fhir:v "DDCCToComposition" ] ; fhir:typeMode [ fhir:v "none" ] ; ( fhir:input [ fhir:name [ fhir:v "src" ] ; fhir:type [ fhir:v "DDCCVS" ] ; fhir:mode [ fhir:v "source" ] ] [ fhir:name [ fhir:v "comp" ] ; fhir:type [ fhir:v "DDCCComposition" ] ; fhir:mode [ fhir:v "target" ] ] [ fhir:name [ fhir:v "id" ] ; fhir:mode [ fhir:v "source" ] ] [ fhir:name [ fhir:v "pid" ] ; fhir:mode [ fhir:v "source" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "set id" ] ; ( fhir:source [ fhir:context [ fhir:v "id" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "comp" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "id" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "id" ] ] ) ] ) ] [ fhir:name [ fhir:v "set patient" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "comp" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "subject" ] ; fhir:variable [ fhir:v "patient" ] ] [ fhir:context [ fhir:v "patient" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "reference" ] ; fhir:transform [ fhir:v "append" ] ; ( fhir:parameter [ fhir:value [ fhir:v "Patient/" ] ] [ fhir:value [ fhir:v "pid" ] ] ) ] ) ] [ fhir:name [ fhir:v "set type" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "comp" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "type" ] ; fhir:variable [ fhir:v "type" ] ] [ fhir:context [ fhir:v "type" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "coding" ] ; fhir:variable [ fhir:v "coding" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "set type coding" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "coding" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "system" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "http://loinc.org" ] ] ) ] [ fhir:context [ fhir:v "coding" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "code" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "82593-5" ] ] ) ] ) ] ) ] [ fhir:name [ fhir:v "set certificate" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "certificate" ] ; fhir:variable [ fhir:v "certificate" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "comp" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "author" ] ; fhir:variable [ fhir:v "author" ] ] [ fhir:context [ fhir:v "comp" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "event" ] ; fhir:variable [ fhir:v "event" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "set event period" ] ; ( fhir:source [ fhir:context [ fhir:v "certificate" ] ; fhir:element [ fhir:v "period" ] ; fhir:variable [ fhir:v "period" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "event" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "period" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "period" ] ] ) ] ) ] [ fhir:name [ fhir:v "set author ref" ] ; ( fhir:source [ fhir:context [ fhir:v "certificate" ] ; fhir:element [ fhir:v "issuer" ] ; fhir:variable [ fhir:v "issuer" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "author" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "type" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "Organization" ] ] ) ] ) ; ( fhir:rule [ fhir:name [ fhir:v "set author identifier" ] ; ( fhir:source [ fhir:context [ fhir:v "issuer" ] ; fhir:element [ fhir:v "identifier" ] ; fhir:variable [ fhir:v "pha" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "author" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "identifier" ] ; fhir:variable [ fhir:v "identifier" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "set pha" ] ; ( fhir:source [ fhir:context [ fhir:v "pha" ] ; fhir:element [ fhir:v "value" ] ; fhir:variable [ fhir:v "value" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "identifier" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "value" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ fhir:v "value" ] ] ) ] ) ] ) ] ) ] ) ] ) ] ) . #
IG © 2021+ WHO. Package who.ddcc#1.0.0 based on FHIR 4.0.1. Generated 2024-10-15
Links: Table of Contents |
QA Report
| Issues
| Version History | License