ConceptMap

Introducción

El servicio terminológico FHIR MINSAL convierte las fuentes terminológicas en recursos Conceptmap y provee la posibilidad de interactuar con estos en el formato FHIR.

Los ConceptMap pueden ser recuperados usando su Namespace Global (url canónica).

Links:

Obtener una lista de los ConceptMaps

Esta solicitud devuelve las versiones más recientes de todos los conceptmaps.

URL de Solicitud

GET /fhir/ConceptMap/

Parámetros de Solicitud

Parameter Description
   

Example Request

GET /fhir/ConceptMap/

Example Response

{
    "resourceType": "Bundle",
    "id": "27e8285f-7b96-44a0-8545-3234ad7d14cb",
    "meta": {
        "lastUpdated": "2023-07-04T21:38:33.235+00:00"
    },
    "type": "searchset",
    "total": 10,
    "link": [
        {
            "relation": "self",
            "url": "{{baseUrl}}/ConceptMap/"
        }
    ],
    "entry": [
        {
            "fullUrl": "{{baseUrl}}/ConceptMap/snomed_implicit_map_900000000000527005",
            "resource": {
                "resourceType": "ConceptMap",
                "id": "snomed_implicit_map_900000000000527005",
                "text": {
                    "status": "generated",
                    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">This SNOMED CT Implicit Concept Map from http://snomed.info/sct?fhir_vs to http://snomed.info/sct?fhir_vs is generated using Reference Set 900000000000527005.</div>"
                },
                "url": "http://snomed.info/sct?fhir_cm=900000000000527005",
                "name": "SAME AS",
                "sourceUri": "http://snomed.info/sct?fhir_vs",
                "targetUri": "http://snomed.info/sct?fhir_vs"
            }
        },
        {
            "fullUrl": "{{baseUrl}}/ConceptMap/snomed_implicit_map_446608001",
            "resource": {
                "resourceType": "ConceptMap",
                "id": "snomed_implicit_map_446608001",
                "text": {
                    "status": "generated",
                    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">This SNOMED CT Implicit Concept Map from http://snomed.info/sct?fhir_vs to http://hl7.org/fhir/sid/icd-o?fhir_vs is generated using Reference Set 446608001.</div>"
                },
                "url": "http://snomed.info/sct?fhir_cm=446608001",
                "name": "SNOMED CT to ICD-O simple map",
                "sourceUri": "http://snomed.info/sct?fhir_vs",
                "targetUri": "http://hl7.org/fhir/sid/icd-o?fhir_vs"
            }
        },
        {
            "fullUrl": "{{baseUrl}}/ConceptMap/snomed_implicit_map_447562003",
            "resource": {
                "resourceType": "ConceptMap",
                "id": "snomed_implicit_map_447562003",
                "text": {
                    "status": "generated",
                    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">This SNOMED CT Implicit Concept Map from http://snomed.info/sct?fhir_vs to http://hl7.org/fhir/sid/icd-10?fhir_vs is generated using Reference Set 447562003.</div>"
                },
                "url": "http://snomed.info/sct?fhir_cm=447562003",
                "name": "SNOMED CT to ICD-10 extended map",
                "sourceUri": "http://snomed.info/sct?fhir_vs",
                "targetUri": "http://hl7.org/fhir/sid/icd-10?fhir_vs"
            }
        },
        {
            "fullUrl": "{{baseUrl}}/ConceptMap/snomed_implicit_map_784008009",
            "resource": {
                "resourceType": "ConceptMap",
                "id": "snomed_implicit_map_784008009",
                "text": {
                    "status": "generated",
                    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">This SNOMED CT Implicit Concept Map from http://snomed.info/sct?fhir_vs to http://hl7.org/fhir/sid/orphanet?fhir_vs is generated using Reference Set 784008009.</div>"
                },
                "url": "http://snomed.info/sct?fhir_cm=784008009",
                "name": "SNOMED CT to Orphanet simple map",
                "sourceUri": "http://snomed.info/sct?fhir_vs",
                "targetUri": "http://hl7.org/fhir/sid/orphanet?fhir_vs"
            }
        },
        {
            "fullUrl": "{{baseUrl}}/ConceptMap/snomed_implicit_map_900000000000530003",
            "resource": {
                "resourceType": "ConceptMap",
                "id": "snomed_implicit_map_900000000000530003",
                "text": {
                    "status": "generated",
                    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">This SNOMED CT Implicit Concept Map from http://snomed.info/sct?fhir_vs to http://snomed.info/sct?fhir_vs is generated using Reference Set 900000000000530003.</div>"
                },
                "url": "http://snomed.info/sct?fhir_cm=900000000000530003",
                "name": "ALTERNATIVE",
                "sourceUri": "http://snomed.info/sct?fhir_vs",
                "targetUri": "http://snomed.info/sct?fhir_vs"
            }
        },
        {
            "fullUrl": "{{baseUrl}}/ConceptMap/snomed_implicit_map_900000000000497000",
            "resource": {
                "resourceType": "ConceptMap",
                "id": "snomed_implicit_map_900000000000497000",
                "text": {
                    "status": "generated",
                    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">This SNOMED CT Implicit Concept Map from CTV-3?fhir_vs to http://snomed.info/sct?fhir_vs is generated using Reference Set 900000000000497000.</div>"
                },
                "url": "http://snomed.info/sct?fhir_cm=900000000000497000",
                "name": "CTV3 to SNOMED CT simple map",
                "sourceUri": "CTV-3?fhir_vs",
                "targetUri": "http://snomed.info/sct?fhir_vs"
            }
        },
        {
            "fullUrl": "{{baseUrl}}/ConceptMap/snomed_implicit_map_900000000000523009",
            "resource": {
                "resourceType": "ConceptMap",
                "id": "snomed_implicit_map_900000000000523009",
                "text": {
                    "status": "generated",
                    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">This SNOMED CT Implicit Concept Map from http://snomed.info/sct?fhir_vs to http://snomed.info/sct?fhir_vs is generated using Reference Set 900000000000523009.</div>"
                },
                "url": "http://snomed.info/sct?fhir_cm=900000000000523009",
                "name": "POSSIBLY EQUIVALENT TO",
                "sourceUri": "http://snomed.info/sct?fhir_vs",
                "targetUri": "http://snomed.info/sct?fhir_vs"
            }
        },
        {
            "fullUrl": "{{baseUrl}}/ConceptMap/snomed_implicit_map_6011000124106",
            "resource": {
                "resourceType": "ConceptMap",
                "id": "snomed_implicit_map_6011000124106",
                "text": {
                    "status": "generated",
                    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">This SNOMED CT Implicit Concept Map from http://snomed.info/sct?fhir_vs to http://hl7.org/fhir/sid/icd-10-cm?fhir_vs is generated using Reference Set 6011000124106.</div>"
                },
                "url": "http://snomed.info/sct?fhir_cm=6011000124106",
                "name": "SNOMED CT to ICD-10-CM complex map",
                "sourceUri": "http://snomed.info/sct?fhir_vs",
                "targetUri": "http://hl7.org/fhir/sid/icd-10-cm?fhir_vs"
            }
        },
        {
            "fullUrl": "{{baseUrl}}/ConceptMap/snomed_implicit_map_900000000000526001",
            "resource": {
                "resourceType": "ConceptMap",
                "id": "snomed_implicit_map_900000000000526001",
                "text": {
                    "status": "generated",
                    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">This SNOMED CT Implicit Concept Map from http://snomed.info/sct?fhir_vs to http://snomed.info/sct?fhir_vs is generated using Reference Set 900000000000526001.</div>"
                },
                "url": "http://snomed.info/sct?fhir_cm=900000000000526001",
                "name": "REPLACED BY",
                "sourceUri": "http://snomed.info/sct?fhir_vs",
                "targetUri": "http://snomed.info/sct?fhir_vs"
            }
        },
        {
            "fullUrl": "{{baseUrl}}/ConceptMap/snomed_implicit_map_816210007",
            "resource": {
                "resourceType": "ConceptMap",
                "id": "snomed_implicit_map_816210007",
                "text": {
                    "status": "generated",
                    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">This SNOMED CT Implicit Concept Map from http://snomed.info/sct?fhir_vs to http://hl7.org/fhir/sid/meddra?fhir_vs is generated using Reference Set 816210007.</div>"
                },
                "url": "http://snomed.info/sct?fhir_cm=816210007",
                "name": "SNOMED CT to MedDra simple map",
                "sourceUri": "http://snomed.info/sct?fhir_vs",
                "targetUri": "http://hl7.org/fhir/sid/meddra?fhir_vs"
            }
        }
    ]
}

Operaciones FHIR

Según el perfil mSVCM, las siguientes operaciones FHIR deben ser soportadas para un conceptmap:

  1. $translate

$translate

URL de Solicitud

GET /fhir/ConceptMap/$translate/?url=:url&system=:systam&code=:code

Parámetros de Solicitud (GET)

Parameter Description
system (M) La URL canónica del conceptmap
code (M) El código del concepto que será traducido
targetSystem (O) La url canónica del codesystem objetivo

Solicitud de ejemplo

GET /fhir/ConceptMap/$translate?code=35037009&system=http://snomed.info/sct&targetsystem=http://hl7.org/fhir/sid/icd-10

Respuesta de Ejemplo

{
    "resourceType": "Parameters",
    "parameter": [
        {
            "name": "result",
            "valueBoolean": true
        },
        {
            "name": "message",
            "valueString": "Please observe the following map advice. Group:1, Priority:1, Rule:TRUE, Advice:'ALWAYS J84.9', Map Category:'null'."
        },
        {
            "name": "match",
            "part": [
                {
                    "name": "equivalence",
                    "valueCode": "unmatched"
                },
                {
                    "name": "concept",
                    "valueCoding": {
                        "system": "http://hl7.org/fhir/sid/icd-10",
                        "code": "J84.9"
                    }
                },
                {
                    "name": "source",
                    "valueString": "http://snomed.info/sct/900000000000207008/version/20230430?fhir_cm=447562003"
                }
            ]
        }
    ]
}