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.
| URL oficial: https://hl7.or.cr/fhir/ph4h/StructureMap/CROrganizationToLACOrganization | Versión: 0.1.0 | ||||
| Standards status: Draft | Nombre computable: CROrganizationToLACOrganization | ||||
Idioma: es
map "https://hl7.or.cr/fhir/ph4h/StructureMap/CROrganizationToLACOrganization" = "CROrganizationToLACOrganization" uses "http://hl7.org/fhir/5.0/StructureDefinition/Organization" alias Organization as source uses "http://hl7.org/fhir/4.0/StructureDefinition/Organization" alias OrganizationR4 as target imports "https://hl7.or.cr/fhir/ph4h/StructureMap/CRComun" group CROrganizationToLACOrganization(source src : Organization, target tgt : OrganizationR4) { src.id as v -> tgt.id = v; src -> tgt.meta as m then { src -> m.profile = 'http://racsel.org/StructureDefinition/LACOrganization' "perfil"; } "meta"; src.identifier as id where (use = 'official') -> tgt.identifier as ti then Identificador(id, ti) "identificador"; src.active as v -> tgt.active = v "activa"; src.type as t -> tgt.type as tt then Concepto(t, tt) "tipo"; src.name as v -> tgt.name = v "nombre"; src.alias as v -> tgt.alias = v; src.contact as c where (purpose.exists().not()) then { c.telecom as t -> tgt.telecom as tt then Telecom(t, tt); c.address as a -> tgt.address as ta then Direccion(a, ta) "direccion"; } "contactoGeneral"; src.partOf as p -> tgt.partOf as tp then Referencia(p, tp) "superior"; }