0.1.0 - Costa Rica flag

Guía de Implementación de Homologación Regional (PH4H) de Costa Rica - Versión en desarrollo (v0.1.0): borrador de trabajo de la Iniciativa HL7® Costa Rica, que puede cambiar sin aviso.

:

Page standards status: Draft

Raw ttl | Download


@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 -------------------------------------------------------------------

<http://hl7.org/fhir/StructureMap/CRPractitionerRoleToIPS> a fhir:StructureMap ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "CRPractitionerRoleToIPS"] ;
  fhir:Resource.language [ fhir:value "en"] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: StructureMap CRPractitionerRoleToIPS</b></p><a name=\"CRPractitionerRoleToIPS\"> </a><a name=\"hcCRPractitionerRoleToIPS\"> </a><pre class=\"fml\">#xD;\n<b>map</b><span style=\"color: navy\"> \"</span>https://hl7.or.cr/fhir/ph4h/StructureMap/CRPractitionerRoleToIPS<span style=\"color: navy\">\" = \"</span>CRPractitionerRoleToIPS<span style=\"color: navy\">\"#xD;\n#xD;\n</span><b>uses</b><span style=\"color: navy\"> \"</span>http://hl7.org/fhir/5.0/StructureDefinition/PractitionerRole<span style=\"color: navy\">\" </span><b>alias </b>PractitionerRole <b>as </b><b>source</b>#xD;\n<b>uses</b><span style=\"color: navy\"> \"</span>http://hl7.org/fhir/4.0/StructureDefinition/PractitionerRole<span style=\"color: navy\">\" </span><b>alias </b>PractitionerRoleR4 <b>as </b><b>target</b>#xD;\n#xD;\n<b>imports</b><span style=\"color: navy\"> \"</span><a href=\"StructureMap-CRComun.html\" title=\"CRComun\">https://hl7.or.cr/fhir/ph4h/StructureMap/CRComun</a><span style=\"color: navy\">\"#xD;\n</span>#xD;\n<b>group </b>CRPractitionerRoleToIPS<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>PractitionerRole, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>PractitionerRoleR4<span style=\"color: navy\">)</span><span style=\"color: navy\"> {#xD;\n</span>  src.id<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.id = <span style=\"color: maroon\">v</span><span style=\"color: navy\">;</span>#xD;\n  src<span style=\"color: navy\"><b> -&gt; </b></span>tgt.meta<b> as </b><span style=\"color: maroon\">m</span><b> then</b><span style=\"color: navy\"> {#xD;\n</span>    src<span style=\"color: navy\"><b> -&gt; </b></span>m.profile = <span style=\"color: blue\">'http://hl7.org/fhir/uv/ips/StructureDefinition/PractitionerRole-uv-ips'</span> <i>\"perfil\"</i><span style=\"color: navy\">;</span>#xD;\n  <span style=\"color: navy\">}</span> <i>\"meta\"</i><span style=\"color: navy\">;</span>#xD;\n  src.active<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.active = <span style=\"color: maroon\">v</span> <i>\"activo\"</i><span style=\"color: navy\">;</span>#xD;\n  src.period<b> as </b><span style=\"color: maroon\">p</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.period<b> as </b><span style=\"color: maroon\">tp</span><b> then </b>Periodo<span style=\"color: navy\">(</span><span style=\"color: maroon\">p</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">tp</span><span style=\"color: navy\">)</span> <i>\"periodo\"</i><span style=\"color: navy\">;</span>#xD;\n  src.practitioner<b> as </b><span style=\"color: maroon\">r</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.practitioner<b> as </b><span style=\"color: maroon\">tr</span><b> then </b>Referencia<span style=\"color: navy\">(</span><span style=\"color: maroon\">r</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">tr</span><span style=\"color: navy\">)</span> <i>\"profesional\"</i><span style=\"color: navy\">;</span>#xD;\n  src.organization<b> as </b><span style=\"color: maroon\">r</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.organization<b> as </b><span style=\"color: maroon\">tr</span><b> then </b>Referencia<span style=\"color: navy\">(</span><span style=\"color: maroon\">r</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">tr</span><span style=\"color: navy\">)</span> <i>\"organizacion\"</i><span style=\"color: navy\">;</span>#xD;\n  src.location<b> as </b><span style=\"color: maroon\">r</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.location<b> as </b><span style=\"color: maroon\">tr</span><b> then </b>Referencia<span style=\"color: navy\">(</span><span style=\"color: maroon\">r</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">tr</span><span style=\"color: navy\">)</span> <i>\"ubicacion\"</i><span style=\"color: navy\">;</span>#xD;\n  src.code<b> as </b><span style=\"color: maroon\">c</span><b> where </b><span style=\"color: navy\">(</span>coding.where(system = 'https://hl7.or.cr/fhir/terminology/CodeSystem/cr-profesion-salud').exists()<span style=\"color: navy\">)</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.code<b> as </b><span style=\"color: maroon\">tc</span><b> then</b><span style=\"color: navy\"> {#xD;\n</span>    c.coding<b> as </b><span style=\"color: maroon\">sc</span><b> where </b><span style=\"color: navy\">(</span>system = 'https://hl7.or.cr/fhir/terminology/CodeSystem/cr-profesion-salud'<span style=\"color: navy\">)</span><b> then</b><span style=\"color: navy\"> {#xD;\n</span>      sc<span style=\"color: navy\"><b> -&gt; </b></span>tc.coding<b> as </b><span style=\"color: maroon\">t</span><b> then </b>Codificacion<span style=\"color: navy\">(</span><span style=\"color: maroon\">sc</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">t</span><span style=\"color: navy\">)</span> <i>\"cr\"</i><span style=\"color: navy\">;</span>#xD;\n      sc<span style=\"color: navy\"><b> -&gt; </b></span>tc.coding = <b>translate</b><span style=\"color: navy\">(</span><span style=\"color: maroon\">sc</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'https://hl7.or.cr/fhir/terminology/ConceptMap/cr-profesion-salud-isco08'</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'Coding'</span><span style=\"color: navy\">)</span> <i>\"isco08\"</i><span style=\"color: navy\">;</span>#xD;\n    <span style=\"color: navy\">}</span> <i>\"codings\"</i><span style=\"color: navy\">;</span>#xD;\n    c.text<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -&gt; </b></span>tc.text = <span style=\"color: maroon\">v</span><span style=\"color: navy\">;</span>#xD;\n  <span style=\"color: navy\">}</span> <i>\"profesion\"</i><span style=\"color: navy\">;</span>#xD;\n  src.specialty<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.specialty<b> as </b><span style=\"color: maroon\">ts</span><b> then </b>Concepto<span style=\"color: navy\">(</span><span style=\"color: maroon\">s</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">ts</span><span style=\"color: navy\">)</span> <i>\"especialidad\"</i><span style=\"color: navy\">;</span>#xD;\n  src.contact<b> as </b><span style=\"color: maroon\">c</span><b> where </b><span style=\"color: navy\">(</span>purpose.exists().not()<span style=\"color: navy\">)</span><b> then</b><span style=\"color: navy\"> {#xD;\n</span>    c.telecom<b> as </b><span style=\"color: maroon\">t</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.telecom<b> as </b><span style=\"color: maroon\">tt</span><b> then </b>Telecom<span style=\"color: navy\">(</span><span style=\"color: maroon\">t</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">tt</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>#xD;\n  <span style=\"color: navy\">}</span> <i>\"contactoGeneral\"</i><span style=\"color: navy\">;</span>#xD;\n<span style=\"color: navy\">}#xD;\n#xD;\n</span></pre></div>"
  ] ;
  fhir:StructureMap.url [ fhir:value "https://hl7.or.cr/fhir/ph4h/StructureMap/CRPractitionerRoleToIPS"] ;
  fhir:StructureMap.version [ fhir:value "0.1.0"] ;
  fhir:StructureMap.name [ fhir:value "CRPractitionerRoleToIPS"] ;
  fhir:StructureMap.status [ fhir:value "draft"] ;
  fhir:StructureMap.date [ fhir:value "2026-09-30T16:04:28-06:00"^^xsd:dateTime] ;
  fhir:StructureMap.publisher [ fhir:value "HL7 Costa Rica"] ;
  fhir:StructureMap.contact [
     fhir:index -1 ;
     fhir:ContactDetail.name [ fhir:value "HL7 Costa Rica" ] ;
     fhir:ContactDetail.telecom [
       fhir:index -1 ;
       fhir:ContactPoint.system [ fhir:value "url" ] ;
       fhir:ContactPoint.value [ fhir:value "https://hl7.or.cr" ]
     ]
  ] ;
  fhir:StructureMap.jurisdiction [
     fhir:index -1 ;
     fhir:CodeableConcept.coding [
       fhir:index -1 ;
       fhir:Coding.system [ fhir:value "urn:iso:std:iso:3166" ] ;
       fhir:Coding.code [ fhir:value "CR" ] ;
       fhir:Coding.display [ fhir:value "Costa Rica" ]
     ]
  ] ;
  fhir:StructureMap.structure [
     fhir:index -1 ;
     fhir:StructureMap.structure.url [
       fhir:value "http://hl7.org/fhir/5.0/StructureDefinition/PractitionerRole" ;
       fhir:link <http://hl7.org/fhir/5.0/StructureDefinition/PractitionerRole>
     ] ;
     fhir:StructureMap.structure.mode [ fhir:value "source" ] ;
     fhir:StructureMap.structure.alias [ fhir:value "PractitionerRole" ]
  ], [
     fhir:index -1 ;
     fhir:StructureMap.structure.url [
       fhir:value "http://hl7.org/fhir/4.0/StructureDefinition/PractitionerRole" ;
       fhir:link <http://hl7.org/fhir/4.0/StructureDefinition/PractitionerRole>
     ] ;
     fhir:StructureMap.structure.mode [ fhir:value "target" ] ;
     fhir:StructureMap.structure.alias [ fhir:value "PractitionerRoleR4" ]
  ] ;
  fhir:StructureMap.import [
     fhir:value "https://hl7.or.cr/fhir/ph4h/StructureMap/CRComun" ;
     fhir:index -1 ;
     fhir:link <https://hl7.or.cr/fhir/ph4h/StructureMap/CRComun>
  ] ;
  fhir:StructureMap.group [
     fhir:index -1 ;
     fhir:StructureMap.group.name [ fhir:value "CRPractitionerRoleToIPS" ] ;
     fhir:StructureMap.group.typeMode [ fhir:value "none" ] ;
     fhir:StructureMap.group.input [
       fhir:index -1 ;
       fhir:StructureMap.group.input.name [ fhir:value "src" ] ;
       fhir:StructureMap.group.input.type [ fhir:value "PractitionerRole" ] ;
       fhir:StructureMap.group.input.mode [ fhir:value "source" ]
     ], [
       fhir:index -1 ;
       fhir:StructureMap.group.input.name [ fhir:value "tgt" ] ;
       fhir:StructureMap.group.input.type [ fhir:value "PractitionerRoleR4" ] ;
       fhir:StructureMap.group.input.mode [ fhir:value "target" ]
     ] ;
     fhir:StructureMap.group.rule [
       fhir:index -1 ;
       fhir:StructureMap.group.rule.name [ fhir:value "id" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "src" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "id" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "v" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "tgt" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "id" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "v" ]
         ]
       ]
     ], [
       fhir:index -1 ;
       fhir:StructureMap.group.rule.name [ fhir:value "meta" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "src" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "tgt" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "meta" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "m" ]
       ] ;
       fhir:StructureMap.group.rule.rule [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.name [ fhir:value "perfil" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "src" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "m" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "profile" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index -1 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://hl7.org/fhir/uv/ips/StructureDefinition/PractitionerRole-uv-ips" ]
           ]
         ]
       ]
     ], [
       fhir:index -1 ;
       fhir:StructureMap.group.rule.name [ fhir:value "activo" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "src" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "active" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "v" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "tgt" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "active" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "v" ]
         ]
       ]
     ], [
       fhir:index -1 ;
       fhir:StructureMap.group.rule.name [ fhir:value "periodo" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "src" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "period" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "p" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "tgt" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "period" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "tp" ]
       ] ;
       fhir:StructureMap.group.rule.dependent [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.dependent.name [ fhir:value "Periodo" ] ;
         fhir:StructureMap.group.rule.dependent.variable [
           fhir:value "p" ;
           fhir:index -1
         ], [
           fhir:value "tp" ;
           fhir:index -1
         ]
       ]
     ], [
       fhir:index -1 ;
       fhir:StructureMap.group.rule.name [ fhir:value "profesional" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "src" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "practitioner" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "r" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "tgt" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "practitioner" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "tr" ]
       ] ;
       fhir:StructureMap.group.rule.dependent [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.dependent.name [ fhir:value "Referencia" ] ;
         fhir:StructureMap.group.rule.dependent.variable [
           fhir:value "r" ;
           fhir:index -1
         ], [
           fhir:value "tr" ;
           fhir:index -1
         ]
       ]
     ], [
       fhir:index -1 ;
       fhir:StructureMap.group.rule.name [ fhir:value "organizacion" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "src" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "organization" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "r" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "tgt" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "organization" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "tr" ]
       ] ;
       fhir:StructureMap.group.rule.dependent [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.dependent.name [ fhir:value "Referencia" ] ;
         fhir:StructureMap.group.rule.dependent.variable [
           fhir:value "r" ;
           fhir:index -1
         ], [
           fhir:value "tr" ;
           fhir:index -1
         ]
       ]
     ], [
       fhir:index -1 ;
       fhir:StructureMap.group.rule.name [ fhir:value "ubicacion" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "src" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "location" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "r" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "tgt" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "location" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "tr" ]
       ] ;
       fhir:StructureMap.group.rule.dependent [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.dependent.name [ fhir:value "Referencia" ] ;
         fhir:StructureMap.group.rule.dependent.variable [
           fhir:value "r" ;
           fhir:index -1
         ], [
           fhir:value "tr" ;
           fhir:index -1
         ]
       ]
     ], [
       fhir:index -1 ;
       fhir:StructureMap.group.rule.name [ fhir:value "profesion" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "src" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "code" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "c" ] ;
         fhir:StructureMap.group.rule.source.condition [ fhir:value "coding.where(system = 'https://hl7.or.cr/fhir/terminology/CodeSystem/cr-profesion-salud').exists()" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "tgt" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "code" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "tc" ]
       ] ;
       fhir:StructureMap.group.rule.rule [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.name [ fhir:value "codings" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "c" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "coding" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "sc" ] ;
           fhir:StructureMap.group.rule.source.condition [ fhir:value "system = 'https://hl7.or.cr/fhir/terminology/CodeSystem/cr-profesion-salud'" ]
         ] ;
         fhir:StructureMap.group.rule.rule [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.name [ fhir:value "cr" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index -1 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "sc" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index -1 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "tc" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "coding" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "t" ]
           ] ;
           fhir:StructureMap.group.rule.dependent [
             fhir:index -1 ;
             fhir:StructureMap.group.rule.dependent.name [ fhir:value "Codificacion" ] ;
             fhir:StructureMap.group.rule.dependent.variable [
               fhir:value "sc" ;
               fhir:index -1
             ], [
               fhir:value "t" ;
               fhir:index -1
             ]
           ]
         ], [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.name [ fhir:value "isco08" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index -1 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "sc" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index -1 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "tc" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "coding" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "translate" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index -1 ;
               fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "sc" ]
             ], [
               fhir:index -1 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "https://hl7.or.cr/fhir/terminology/ConceptMap/cr-profesion-salud-isco08" ]
             ], [
               fhir:index -1 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Coding" ]
             ]
           ]
         ]
       ], [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.name [ fhir:value "text" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "c" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "text" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "v" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "tc" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "text" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index -1 ;
             fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "v" ]
           ]
         ]
       ]
     ], [
       fhir:index -1 ;
       fhir:StructureMap.group.rule.name [ fhir:value "especialidad" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "src" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "specialty" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "s" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "tgt" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "specialty" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "ts" ]
       ] ;
       fhir:StructureMap.group.rule.dependent [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.dependent.name [ fhir:value "Concepto" ] ;
         fhir:StructureMap.group.rule.dependent.variable [
           fhir:value "s" ;
           fhir:index -1
         ], [
           fhir:value "ts" ;
           fhir:index -1
         ]
       ]
     ], [
       fhir:index -1 ;
       fhir:StructureMap.group.rule.name [ fhir:value "contactoGeneral" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "src" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "contact" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "c" ] ;
         fhir:StructureMap.group.rule.source.condition [ fhir:value "purpose.exists().not()" ]
       ] ;
       fhir:StructureMap.group.rule.rule [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.name [ fhir:value "telecom" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "c" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "telecom" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "t" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "tgt" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "telecom" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "tt" ]
         ] ;
         fhir:StructureMap.group.rule.dependent [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.dependent.name [ fhir:value "Telecom" ] ;
           fhir:StructureMap.group.rule.dependent.variable [
             fhir:value "t" ;
             fhir:index -1
           ], [
             fhir:value "tt" ;
             fhir:index -1
           ]
         ]
       ]
     ]
  ] .

# - ontology header ------------------------------------------------------------

<http://hl7.org/fhir/StructureMap/CRPractitionerRoleToIPS.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl ;
  owl:versionIRI <http://build.fhir.org/StructureMap/CRPractitionerRoleToIPS.ttl> .