Segmento MSH en FHIR
Cómo el segmento MSH (Message Header) se convierte en recursos FHIR R4, según la guía HL7 Version 2 to FHIR.
- Definición HL7 v2
- Definición de MSH en HL7 v2 2.8
- Mapas
- Provenance (Operator)Provenance (Source)BundleEncounterMessageHeaderProvenance (Transformation)
- Usado en los mensajes
- ADT_A01ADT_A02ADT_A05ADT_A06ADT_A09ADT_A11ADT_A17MDM_T02OML_O21ORM_O01ORU_R01SIU_S12VXU_V04
A ProvenanceOperator2 filas
| Origen HL7 v2 | Tipo v2 | Elemento FHIR | Tipo FHIR | Condiciones y notas |
|---|---|---|---|---|
MSH-4Sending Facility | HD | agent.who(Organization) | Reference(Organization) | Si IF MSH-22 NOT VALUED |
MSH-22Sending Responsible Organization | XON | agent.who(Organization) | Reference(Organization) |
A ProvenanceSource15 filas
| Origen HL7 v2 | Tipo v2 | Elemento FHIR | Tipo FHIR | Condiciones y notas |
|---|---|---|---|---|
MSHsegmento completo | entity[1].what(DocumentReference.content.attachment.url) | when you hold on to/persist the v2 message in a data store | ||
MSHsegmento completo | entity[1].what(DocumentReference.content.attachment.data) | when you do not hold on to/persist the v2 message in a data storeValor /v2.txt or v2.xml into base 64/ | ||
MSHsegmento completo | entity[1].what(DocumentReference.status) | when you do not hold on to/persist the v2 message in a data storeValor "current" | ||
MSHsegmento completo | entity[1].role | Valor "source" | ||
MSH-3Sending Application | HD | entity[2].what(Device.identifier) | Reference(Device) | Si IF MSH-3 AND MSH-24 VALUED |
MSH-3Sending Application | HD | entity[2].role | code | Si IF MSH-3 AND MSH-24 VALUEDValor "source" |
MSH-4Sending Facility | HD | agent[1].who(Organization) | Reference(Organization) | Si IF MSH-22 NOT VALUED |
MSH-4Sending Facility | HD | agent[1].type.coding.code | code | Si IF MSH-22 NOT VALUEDValor "author" |
MSH-4Sending Facility | HD | agent[1].type.coding.system | uri | Si IF MSH-22 NOT VALUEDValor "http://terminology.hl7.org/CodeSystem/provenance-participant-type" |
MSH-7Date/Time Of Message | DTM | recorded | ||
MSH-7Date/Time Of Message | DTM | occurred | ||
MSH-9Message Type | MSG | activity.coding.display | string | Valor "message - "+MSG.1+"^"+MSG.2+"^"+MSG.3 |
MSH-22Sending Responsible Organization | XON | agent[2].who(Organization) | Reference(Organization) | |
MSH-22Sending Responsible Organization | XON | agent[2].type.coding.code | code | Valor "author" |
MSH-22Sending Responsible Organization | XON | agent[2].type.coding.system | uri | Valor "http://terminology.hl7.org/CodeSystem/provenance-participant-type" |
A Bundle4 filas
| Origen HL7 v2 | Tipo v2 | Elemento FHIR | Tipo FHIR | Condiciones y notas |
|---|---|---|---|---|
MSHsegmento completo | type | code | Valor "message" | |
MSH-7Date/Time Of Message | DTM | timestamp | instant | |
MSH-10Message Control Id | ST | identifier.value | string | |
MSH-10Message Control Id | ST | identifier.system | uri | Valor /to be determined by the implementer/ |
A Encounter1 filas
| Origen HL7 v2 | Tipo v2 | Elemento FHIR | Tipo FHIR | Condiciones y notas |
|---|---|---|---|---|
MSH-9Message Type | MSG | status | code | Mapa de códigos encounter-status |
A MessageHeader22 filas
| Origen HL7 v2 | Tipo v2 | Elemento FHIR | Tipo FHIR | Condiciones y notas |
|---|---|---|---|---|
MSH-3Sending Application | HD | source[1] | ||
MSH-3Sending Application | HD | source[1].endpoint | uri | Si IF MSH-24 NOT VALUED |
MSH-4Sending Facility | HD | sender(Organization) | Reference(Organization) | |
MSH-5Receiving Application | HD | destination[1].target(Device) | Reference(Device) | |
MSH-5Receiving Application | HD | destination[1].name | name | Si IF MSH-25 VALUED |
MSH-5Receiving Application | HD | destination[1].endpoint | url | Si IF MSH-25 NOT VALUED |
MSH-6Receiving Facility | HD | destination[1].receiver(Organization) | Reference(Organization) | Si IF MSH-23 NOT VALUED |
MSH-8Security | ST | meta.security | string | |
MSH-9Message Type | MSG | eventCoding | Coding | |
MSH-11Processing Id | PT | meta | meta | |
MSH-17Country Code | ID | sender(Organization.address.country) | string | Mapa de códigos iso-3166-1 |
MSH-19Principal Language Of Message | CWE | language | code | Mapa de códigos unspecified_mapping |
MSH-22Sending Responsible Organization | XON | responsible(Organization) | Reference(Organization) | |
MSH-23Receiving Responsible Organization | XON | destination[1].receiver(Organization) | Reference(Organization) | |
MSH-24Sending Network Address | HD | source | string | |
MSH-24Sending Network Address | HD | source.endpoint.extension.url | uri | Si IF MSH-24 NOT VALUED AND MSH-3 NOT VALUEDValor "http://hl7.org/fhir/R4/extension-data-absent-reason.html" |
MSH-24Sending Network Address | HD | source.endpoint.extension.valueCode | code | Si IF MSH-24 NOT VALUED AND MSH-3 NOT VALUEDValor "unknown" |
MSH-25Receiving Network Address | HD | destination[1] | uri | |
MSH-25Receiving Network Address | HD | destination[1].endpoint.extension.url | uri | Si IF MSH-25 NOT VALUED AND MSH-5 NOT VALUEDValor "http://hl7.org/fhir/R4/extension-data-absent-reason.html" |
MSH-25Receiving Network Address | HD | destination[1].endpoint.extension.valueCode | code | Si IF MSH-25 NOT VALUED AND MSH-5 NOT VALUEDValor "unknown" |
MSH-26 | CWE | meta.security[2] | Coding | Mapa de códigos unspecified_mapping |
MSH-27 | CWE | meta.security[2] | Coding | Mapa de códigos unspecified_mapping |
A ProvenanceTransformation11 filas
| Origen HL7 v2 | Tipo v2 | Elemento FHIR | Tipo FHIR | Condiciones y notas |
|---|---|---|---|---|
MSHsegmento completo | activity.coding.code | Valor "v2-fhir-transformation" | ||
MSHsegmento completo | activity.coding.system | Valor "http://hl7.org/fhir/uv/v2mappings/CodeSystem/provenance-activity-type-v2-to-fhir" | ||
MSHsegmento completo | recorded | Valor /timestamp of tranformation/ | ||
MSHsegmento completo | policy | Valor /uri of the policy governing transformation of the v2 to FHIR/ | ||
MSHsegmento completo | agent[1].type.coding.code | string | Valor "assembler" | |
MSHsegmento completo | agent[1].type.coding.system | url | Valor "http://terminology.hl7.org/CodeSystem/provenance-participant-type" | |
MSHsegmento completo | agent[1].who(Organization|Device) | Reference(Organization|Device) | Valor /the organization owning or device performing the transformation by the mapping tool/ | |
MSHsegmento completo | entity[1].what(DocumentReference.content.attachment.url) | when you hold on to/persist the v2 message in a data store | ||
MSHsegmento completo | entity[1].what(DocumentReference.content.attachment.data) | when you do not hold on to/persist the v2 message in a data storeValor /v2.txt or v2.xml into base 64/ | ||
MSHsegmento completo | entity[1].what(DocumentReference.status) | Valor "current" | ||
MSHsegmento completo | entity[1].role | Valor "source" |
