# Mapping to Profiles - MyHealth@Eu Laboratory Report v9.1.1

* [**Table of Contents**](toc.md)
* **Mapping to Profiles**

## Mapping to Profiles

### Mappings from MyHealth@EU / EHDS models to FHIR profiles

MyHealth@EU logical models refine the EHDS logical information models provided by the Xt-EHR project. These models add obligation levels (Mandatory, Required, Optional) to the EHDS base elements.
 Please read more about the models on the [Laboratory Models Overview](overview-laboratory.md) page.

The mappings below show how the logical model elements explicitly defined in the MyHealth@EU models are realised in the FHIR R4 profiles of this guide.

#### Laboratory Report

The [MyHealthEuLabReport](StructureDefinition-MyHealthEuLabReport.md) model refines [EHDSLaboratoryReport](https://www.xt-ehr.eu/fhir/models/0.3.0/StructureDefinition-EHDSLaboratoryReport.html). The report maps to multiple FHIR resources: [BundleLabReportMyHealthEu](StructureDefinition-Bundle-lab-myhealtheu.md), [CompositionLabReportMyHealthEu](StructureDefinition-Composition-lab-myhealtheu.md), [DiagnosticReportLabMyHealthEu](StructureDefinition-DiagnosticReport-lab-myhealtheu.md), and [ServiceRequestLabMyHealthEu](StructureDefinition-ServiceRequest-lab-myhealtheu.md).

| | | |
| :--- | :--- | :--- |
| header.subject | Composition.subject; DiagnosticReport.subject | Reference to PatientMyHealthCore. |
| header.identifier | Composition.identifier; DiagnosticReport.identifier; Bundle.identifier |   |
| header.documentType | Composition.type; DiagnosticReport.code |   |
| header.documentTitle | Composition.title |   |
| header.status | DiagnosticReport.status | Composition and DiagnosticReport status are expected to be aligned. |
| header.date | Composition.date |   |
| header.language | Composition.language |   |
| header.version | Composition.extension:versionNumber |   |
| header.custodian | Composition.custodian | Reference to OrganizationMyHealthCore. |
| header.eventType | Composition.category[studyType] |   |
| header.author[x] | Composition.author | Reference to PractitionerRoleMyHealthCore, OrganizationMyHealthCore, or DeviceMeasuringMyHealthEu. |
| header.attestation.attester[x] | Composition.attester.party |   |
| header.attestation.datetime | Composition.attester.time |   |
| header.legalAuthentication.legalAuthenticator[x] | Composition.attester.party | May require attester mode constraints. |
| header.legalAuthentication.datetime | Composition.attester.time |   |
| intendedRecipient[x] | Composition.extension:information-recipient |   |
| body.orderInformation | ServiceRequest | ServiceRequest referred in DiagnosticReport.basedOn. |
| body.supportingInformation.sexForClinicalUse | PatientMyHealthCore.extension[sex-for-clinical-use] |   |
| body.specimen | DiagnosticReport.specimen | Reference to SpecimenMyHealthEu. |
| body.resultData.commentsInterpretationAndRecommendations | Composition.section[annotations].text; DiagnosticReport.conclusion |   |
| body.resultData.laboratoryTestResults | DiagnosticReport.result; Composition.section.entry | Reference to ObservationResultsLaboratoryMyHealthEu. |
| presentedForm | DiagnosticReport.presentedForm |   |
| attachments | DiagnosticReport.media.link |   |

#### Laboratory Observation

The [MyHealthEuLabObservation](StructureDefinition-MyHealthEuLabObservation.md) model refines [EHDSLaboratoryObservation](https://www.xt-ehr.eu/fhir/models/0.3.0/StructureDefinition-EHDSLaboratoryObservation.html). It maps to [ObservationResultsLaboratoryMyHealthEu](StructureDefinition-Observation-resultslab-lab-myhealtheu.md).

| | | |
| :--- | :--- | :--- |
| type | Observation.code |   |
| originalName | Observation.code.text |   |
| method | Observation.method |   |
| order | Observation.basedOn | Reference to ServiceRequestLabMyHealthEu. |
| specimen | Observation.specimen | Reference to SpecimenMyHealthEu. |
| performer[x] | Observation.performer |   |
| observationDate[x] | Observation.effective[x] |   |
| result.value[x] | Observation.value[x] |   |
| interpretation | Observation.interpretation |   |
| referenceRange | Observation.referenceRange |   |
| component.result.value[x] | Observation.component.value[x] |   |
| component.referenceRange | Observation.component.referenceRange |   |
| component.interpretation | Observation.component.interpretation |   |
| note | Observation.note |   |
| accreditationStatus | Organization.extension:qualification | On Observation.performer (Organization). Preadopted from R5. |
| testKit | Observation.device | Reference to DeviceMeasuringMyHealthEu. |
| calibrator | Observation.extension:certifiedRefMaterialCodeable; Observation.extension:certifiedRefMaterialIdentifier |   |

#### Service Request

The [MyHealthEuLabServiceRequest](StructureDefinition-MyHealthEuLabServiceRequest.md) model refines [EHDSServiceRequest](https://www.xt-ehr.eu/fhir/models/0.3.0/StructureDefinition-EHDSServiceRequest.html). It maps to [ServiceRequestLabMyHealthEu](StructureDefinition-ServiceRequest-lab-myhealtheu.md).

| | | |
| :--- | :--- | :--- |
| header.identifier | ServiceRequest.identifier |   |
| header.date | ServiceRequest.authoredOn |   |
| header.author[x] | ServiceRequest.requester | Reference to PractitionerMyHealthCore, PractitionerRoleMyHealthCore, OrganizationMyHealthCore, or Device. |
| reason[x] | ServiceRequest.reasonCode; ServiceRequest.reasonReference |   |

#### Specimen

The [MyHealthEuLabSpecimen](StructureDefinition-MyHealthEuLabSpecimen.md) model refines [EHDSSpecimen](https://www.xt-ehr.eu/fhir/models/0.3.0/StructureDefinition-EHDSSpecimen.html). It maps to [SpecimenMyHealthEu](StructureDefinition-Specimen-lab-myhealtheu.md).

| | | |
| :--- | :--- | :--- |
| identifier | Specimen.identifier |   |
| type | Specimen.type |   |
| specimenSource[x] | Specimen.subject | Reference to PatientMyHealthCore or DeviceSpecimenMyHealthEu. |
| collection.collected[x] | Specimen.collection.collected[x] |   |
| collection.method | Specimen.collection.method |   |
| collection.device | Specimen.collection.extension:device | R5 preadoption extension. |
| collection.bodySite | Specimen.collection.extension:bodySite | Reference to BodyStructureMyHealthCore. |
| receivedDate | Specimen.receivedTime |   |

#### Supporting models mapped in MyHealth@EU Core

Several referenced EHDS models are implemented through the MyHealth@EU Core IG. The mappings below cover only the elements explicitly defined in the MyHealth@EU models.

##### Patient

The MyHealthEuPatient model refines [EHDSPatient](https://www.xt-ehr.eu/fhir/models/0.3.0/StructureDefinition-EHDSPatient.html).

| | | |
| :--- | :--- | :--- |
| identifier | Patient.identifier |   |
| name | Patient.name | Constrained to MyHealthEuHumanName. |
| dateOfBirth | Patient.birthDate |   |
| administrativeGender | Patient.gender |   |
| address | Patient.address | Constrained to MyHealthEuAddress. |
| telecom | Patient.telecom | Constrained to MyHealthEuTelecom. |

##### Human Name

The MyHealthEuHumanName model refines [EHDSHumanName](https://www.xt-ehr.eu/fhir/models/0.3.0/StructureDefinition-EHDSHumanName.html).

| | | |
| :--- | :--- | :--- |
| family | HumanName.family |   |
| given | HumanName.given |   |

##### Address

The MyHealthEuAddress model refines [EHDSAddress](https://www.xt-ehr.eu/fhir/models/0.3.0/StructureDefinition-EHDSAddress.html).

| | | |
| :--- | :--- | :--- |
| street | Address.line.extension:streetName | iso21090-ADXP-streetName extension. |
| houseNumber | Address.line.extension:houseNumber | iso21090-ADXP-houseNumber extension. |
| city | Address.city |   |
| postalCode | Address.postalCode |   |
| country | Address.country |   |

##### Telecom

The MyHealthEuTelecom model refines [EHDSTelecom](https://www.xt-ehr.eu/fhir/models/0.3.0/StructureDefinition-EHDSTelecom.html).

| | | |
| :--- | :--- | :--- |
| type | ContactPoint.system |   |
| value | ContactPoint.value |   |

##### Health Professional

The MyHealthEuHealthProfessional model refines [EHDSHealthProfessional](https://www.xt-ehr.eu/fhir/models/0.3.0/StructureDefinition-EHDSHealthProfessional.html).

| | | |
| :--- | :--- | :--- |
| identifier | Practitioner.identifier; PractitionerRole.identifier |   |
| name | Practitioner.name | Constrained to MyHealthEuHumanName. |
| address | Practitioner.address | Constrained to MyHealthEuAddress. |
| telecom | Practitioner.telecom | Constrained to MyHealthEuTelecom. |
| professionalRole.role | PractitionerRole.code |   |
| professionalRole.organisation | PractitionerRole.organization | Reference to OrganizationMyHealthCore. |
| professionalRole.specialty | PractitionerRole.specialty |   |

##### Organisation

The MyHealthEuOrganisation model refines [EHDSOrganisation](https://www.xt-ehr.eu/fhir/models/0.3.0/StructureDefinition-EHDSOrganisation.html).

| | | |
| :--- | :--- | :--- |
| identifier | Organization.identifier |   |
| name | Organization.name |   |
| address | Organization.address | Constrained to MyHealthEuAddress. |

##### Device

The MyHealthEuDevice model refines [EHDSDevice](https://www.xt-ehr.eu/fhir/models/0.3.0/StructureDefinition-EHDSDevice.html).

| | | |
| :--- | :--- | :--- |
| name | Device.deviceName.name |   |
| modelNumber | Device.modelNumber |   |
| instanceIdentifier | Device.identifier |   |
| type | Device.type |   |
| manufacturer | Device.manufacturer |   |

##### Body Structure

The MyHealthEuBodyStructure model refines [EHDSBodyStructure](https://www.xt-ehr.eu/fhir/models/0.3.0/StructureDefinition-EHDSBodyStructure.html).

| | | |
| :--- | :--- | :--- |
| morphology | BodyStructure.morphology |   |
| location | BodyStructure.location |   |
| locationQualifier | BodyStructure.locationQualifier |   |
| laterality | BodyStructure.extension:laterality | R5 preadoption extension. |

