Guía de Implementación de Homologación Regional (PH4H) de Costa Rica
0.1.0 - ci-build
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.
| Estado de las normas de la página: Draft |
@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/CROrganizationToLACOrganization> a fhir:StructureMap ;
fhir:nodeRole fhir:treeRoot ;
fhir:Resource.id [ fhir:value "CROrganizationToLACOrganization"] ;
fhir:Resource.language [ fhir:value "es"] ;
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>Narrativa generada: MapaDeEstructura CROrganizationToLACOrganization</b></p><a name=\"CROrganizationToLACOrganization\"> </a><a name=\"hcCROrganizationToLACOrganization\"> </a><pre class=\"fml\">#xD;\n<b>map</b><span style=\"color: navy\"> \"</span>https://hl7.or.cr/fhir/ph4h/StructureMap/CROrganizationToLACOrganization<span style=\"color: navy\">\" = \"</span>CROrganizationToLACOrganization<span style=\"color: navy\">\"#xD;\n#xD;\n</span><b>uses</b><span style=\"color: navy\"> \"</span>http://hl7.org/fhir/5.0/StructureDefinition/Organization<span style=\"color: navy\">\" </span><b>alias </b>Organization <b>as </b><b>source</b>#xD;\n<b>uses</b><span style=\"color: navy\"> \"</span>http://hl7.org/fhir/4.0/StructureDefinition/Organization<span style=\"color: navy\">\" </span><b>alias </b>OrganizationR4 <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>CROrganizationToLACOrganization<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>Organization, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>OrganizationR4<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> -> </b></span>tgt.id = <span style=\"color: maroon\">v</span><span style=\"color: navy\">;</span>#xD;\n src<span style=\"color: navy\"><b> -> </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> -> </b></span>m.profile = <span style=\"color: blue\">'http://racsel.org/StructureDefinition/LACOrganization'</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.identifier<b> as </b><span style=\"color: maroon\">id</span><b> where </b><span style=\"color: navy\">(</span>use = 'official'<span style=\"color: navy\">)</span><span style=\"color: navy\"><b> -> </b></span>tgt.identifier<b> as </b><span style=\"color: maroon\">ti</span><b> then </b>Identificador<span style=\"color: navy\">(</span><span style=\"color: maroon\">id</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">ti</span><span style=\"color: navy\">)</span> <i>\"identificador\"</i><span style=\"color: navy\">;</span>#xD;\n src.active<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </b></span>tgt.active = <span style=\"color: maroon\">v</span> <i>\"activa\"</i><span style=\"color: navy\">;</span>#xD;\n src.type<b> as </b><span style=\"color: maroon\">t</span><span style=\"color: navy\"><b> -> </b></span>tgt.type<b> as </b><span style=\"color: maroon\">tt</span><b> then </b>Concepto<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> <i>\"tipo\"</i><span style=\"color: navy\">;</span>#xD;\n src.name<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </b></span>tgt.name = <span style=\"color: maroon\">v</span> <i>\"nombre\"</i><span style=\"color: navy\">;</span>#xD;\n src.alias<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </b></span>tgt.alias = <span style=\"color: maroon\">v</span><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> -> </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 c.address<b> as </b><span style=\"color: maroon\">a</span><span style=\"color: navy\"><b> -> </b></span>tgt.address<b> as </b><span style=\"color: maroon\">ta</span><b> then </b>Direccion<span style=\"color: navy\">(</span><span style=\"color: maroon\">a</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">ta</span><span style=\"color: navy\">)</span> <i>\"direccion\"</i><span style=\"color: navy\">;</span>#xD;\n <span style=\"color: navy\">}</span> <i>\"contactoGeneral\"</i><span style=\"color: navy\">;</span>#xD;\n src.partOf<b> as </b><span style=\"color: maroon\">p</span><span style=\"color: navy\"><b> -> </b></span>tgt.partOf<b> as </b><span style=\"color: maroon\">tp</span><b> then </b>Referencia<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>\"superior\"</i><span style=\"color: navy\">;</span>#xD;\n<span style=\"color: navy\">}#xD;\n#xD;\n</span></pre></div>"
] ;
fhir:DomainResource.extension [
fhir:index -1 ;
fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status" ] ;
fhir:Extension.valueCode [
fhir:value "draft" ;
fhir:Element.extension [
fhir:index -1 ;
fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom" ] ;
fhir:Extension.valueCanonical [
fhir:value "https://hl7.or.cr/fhir/ph4h/ImplementationGuide/hl7.fhir.cr.ph4h" ;
fhir:link <https://hl7.or.cr/fhir/ph4h/ImplementationGuide/hl7.fhir.cr.ph4h>
]
]
]
] ;
fhir:StructureMap.url [ fhir:value "https://hl7.or.cr/fhir/ph4h/StructureMap/CROrganizationToLACOrganization"] ;
fhir:StructureMap.version [ fhir:value "0.1.0"] ;
fhir:StructureMap.name [ fhir:value "CROrganizationToLACOrganization"] ;
fhir:StructureMap.status [ fhir:value "draft"] ;
fhir:StructureMap.date [ fhir:value "2026-10-06T00:22:41-06:00"^^xsd:dateTime] ;
fhir:StructureMap.publisher [ fhir:value "Iniciativa HL7 Costa Rica"] ;
fhir:StructureMap.contact [
fhir:index -1 ;
fhir:ContactDetail.name [ fhir:value "Iniciativa 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/Organization" ;
fhir:link <http://hl7.org/fhir/5.0/StructureDefinition/Organization>
] ;
fhir:StructureMap.structure.mode [ fhir:value "source" ] ;
fhir:StructureMap.structure.alias [ fhir:value "Organization" ]
], [
fhir:index -1 ;
fhir:StructureMap.structure.url [
fhir:value "http://hl7.org/fhir/4.0/StructureDefinition/Organization" ;
fhir:link <http://hl7.org/fhir/4.0/StructureDefinition/Organization>
] ;
fhir:StructureMap.structure.mode [ fhir:value "target" ] ;
fhir:StructureMap.structure.alias [ fhir:value "OrganizationR4" ]
] ;
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 "CROrganizationToLACOrganization" ] ;
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 "Organization" ] ;
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 "OrganizationR4" ] ;
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://racsel.org/StructureDefinition/LACOrganization" ]
]
]
]
], [
fhir:index -1 ;
fhir:StructureMap.group.rule.name [ fhir:value "identificador" ] ;
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 "identifier" ] ;
fhir:StructureMap.group.rule.source.variable [ fhir:value "id" ] ;
fhir:StructureMap.group.rule.source.condition [ fhir:value "use = 'official'" ]
] ;
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 "identifier" ] ;
fhir:StructureMap.group.rule.target.variable [ fhir:value "ti" ]
] ;
fhir:StructureMap.group.rule.dependent [
fhir:index -1 ;
fhir:StructureMap.group.rule.dependent.name [ fhir:value "Identificador" ] ;
fhir:StructureMap.group.rule.dependent.variable [
fhir:value "id" ;
fhir:index -1
], [
fhir:value "ti" ;
fhir:index -1
]
]
], [
fhir:index -1 ;
fhir:StructureMap.group.rule.name [ fhir:value "activa" ] ;
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 "tipo" ] ;
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 "type" ] ;
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 "type" ] ;
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 "Concepto" ] ;
fhir:StructureMap.group.rule.dependent.variable [
fhir:value "t" ;
fhir:index -1
], [
fhir:value "tt" ;
fhir:index -1
]
]
], [
fhir:index -1 ;
fhir:StructureMap.group.rule.name [ fhir:value "nombre" ] ;
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 "name" ] ;
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 "name" ] ;
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 "alias" ] ;
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 "alias" ] ;
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 "alias" ] ;
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 "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
]
]
], [
fhir:index -1 ;
fhir:StructureMap.group.rule.name [ fhir:value "direccion" ] ;
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 "address" ] ;
fhir:StructureMap.group.rule.source.variable [ fhir:value "a" ]
] ;
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 "address" ] ;
fhir:StructureMap.group.rule.target.variable [ fhir:value "ta" ]
] ;
fhir:StructureMap.group.rule.dependent [
fhir:index -1 ;
fhir:StructureMap.group.rule.dependent.name [ fhir:value "Direccion" ] ;
fhir:StructureMap.group.rule.dependent.variable [
fhir:value "a" ;
fhir:index -1
], [
fhir:value "ta" ;
fhir:index -1
]
]
]
], [
fhir:index -1 ;
fhir:StructureMap.group.rule.name [ fhir:value "superior" ] ;
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 "partOf" ] ;
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 "partOf" ] ;
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 "Referencia" ] ;
fhir:StructureMap.group.rule.dependent.variable [
fhir:value "p" ;
fhir:index -1
], [
fhir:value "tp" ;
fhir:index -1
]
]
]
] .
# - ontology header ------------------------------------------------------------
<http://hl7.org/fhir/StructureMap/CROrganizationToLACOrganization.ttl> a owl:Ontology ;
owl:imports fhir:fhir.ttl ;
owl:versionIRI <http://build.fhir.org/StructureMap/CROrganizationToLACOrganization.ttl> .
IG © 2026+. Iniciativa HL7 Costa Rica.
Paquete hl7.fhir.cr.ph4h#0.1.0 basado en FHIR 4.0.1.
Generado
2026-10-06
Enlaces: Índice |
Informe de control de calidad