CH LAB-Order (R4)
            
            3.0.0-ci-build - ci-build
  
            
          
CH LAB-Order (R4), published by HL7 Switzerland. This guide is not an authorized publication; it is the continuous build for version 3.0.0-ci-build built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/hl7ch/ch-lab-order/ and changes regularly. See the Directory of published versions
| Active as of 2025-10-19 | 
Mappings for the ch-lab-document-reference resource profile.
No Mappings Found
No Mappings Found
| Name | XDS metadata | Workflow Pattern | FHIR Composition | RIM Mapping | CDA (R2) | FiveWs Pattern Mapping | HL7 v2 Mapping | XDS metadata equivalent  | 
|---|---|---|---|---|---|---|---|---|
|   DocumentReference | Event | when describing a Composition | Document[classCode="DOC" and moodCode="EVN"] | when describing a CDA | ||||
|    id | ||||||||
|    meta | ||||||||
|    implicitRules | ||||||||
|    language | ||||||||
|    text | Act.text? | |||||||
|    contained | N/A | |||||||
|    extension | N/A | |||||||
|    modifierExtension | N/A | |||||||
|    masterIdentifier | Event.identifier | Composition.identifier | .id | ClinicalDocument/id | FiveWs.identifier | TXA-12 | DocumentEntry.uniqueId | |
|    identifier | Event.identifier | .id / .setId | FiveWs.identifier | TXA-16? | DocumentEntry.entryUUID | |||
|    status | 
 | Event.status | 
 | FiveWs.status | TXA-19 | DocumentEntry.availabilityStatus | ||
|    docStatus | Composition.status | .statusCode | FiveWs.status | TXA-17 | ||||
|    type | Event.code | Composition.type | ./code | 
 | FiveWs.class | TXA-2 | DocumentEntry.type | |
|    category | Composition.class | 
 | 
 | FiveWs.class | DocumentEntry.class | |||
|    subject | Event.subject | Composition.subject | .participation[typeCode="SBJ"].role[typeCode="PAT"] | ClinicalDocument/recordTarget/ | FiveWs.subject | PID-3 (No standard way to define a Practitioner or Group subject in HL7 v2 MDM message) | DocumentEntry.patientId | |
|    date | Event.occurrence[x] | Composition.date | .availabilityTime[type="TS"] | FiveWs.recorded | ||||
|    author | Event.performer.actor | Composition.author | .participation[typeCode="AUT"].role[classCode="ASSIGNED"] | ClinicalDocument/author | TXA-9 (No standard way to indicate a Device in HL7 v2 MDM message) | DocumentEntry.author | ||
|    authenticator | Event.performer.actor | Composition.attester | .participation[typeCode="AUTHEN"].role[classCode="ASSIGNED"] | ClinicalDocument/legalAuthenticator | FiveWs.witness | TXA-10 | DocumentEntry.legalAuthenticator | |
|    custodian | Event.performer.actor | Composition.custodian | .participation[typeCode="RCV"].role[classCode="CUST"].scoper[classCode="ORG" and determinerCode="INST"] | |||||
|    relatesTo | Composition.relatesTo | .outboundRelationship | DocumentEntry Associations | |||||
|     id | n/a | |||||||
|     extension | n/a | |||||||
|     modifierExtension | N/A | |||||||
|     code | Composition.relatesTo.code | .outboundRelationship.typeCode | DocumentEntry Associations type | |||||
|     target | Composition.relatesTo.target | 
 | DocumentEntry Associations reference | |||||
|    description | .outboundRelationship[typeCode="SUBJ"].target.text | TXA-25 | DocumentEntry.comments | |||||
|    securityLabel | 
 | .confidentialityCode | ClinicalDocument/confidentialityCode/@code | TXA-18 | DocumentEntry.confidentialityCode | |||
|    content | Bundle(Composition+*) | document.text | ||||||
|     id | n/a | |||||||
|     extension | n/a | |||||||
|     modifierExtension | N/A | |||||||
|     attachment | 
 | document.text | 
 | TXA-3 for mime type | 
 | |||
|      id | n/a | |||||||
|      extension | n/a | |||||||
|      contentType | 
 | ED.2+ED.3/RP.2+RP.3. Note conversion may be needed if old style values are being used | ||||||
|      language | ./language | |||||||
|      data | ./data | ED.5 | ||||||
|      url | ./reference/literal | RP.1+RP.2 - if they refer to a URL (see v2.6) | ||||||
|      size | N/A (needs data type R3 proposal) | |||||||
|      hash | :ED/integrityCheckAlgorithm="SHA-1"] | |||||||
|      title | ./title/data | |||||||
|      creation | N/A (needs data type R3 proposal) | |||||||
|     format | Composition.meta.profile | document.text | derived from the IHE Profile or Implementation Guide templateID | DocumentEntry.formatCode | ||||
|    context | outboundRelationship[typeCode="SUBJ"].target[classCode<'ACT'] | |||||||
|     id | n/a | |||||||
|     extension | n/a | |||||||
|     modifierExtension | N/A | |||||||
|     encounter | Event.context | Composition.encounter | 
 | FiveWs.context | ||||
|     event | Composition.event.code | .code | DocumentEntry.eventCodeList | |||||
|     period | Composition.event.period | .effectiveTime | ClinicalDocument/documentationOf/
serviceEvent/effectiveTime/low/
@value --> ClinicalDocument/documentationOf/
serviceEvent/effectiveTime/high/
@value | 
 | ||||
|     facilityType | usually from a mapping to a local ValueSet | .participation[typeCode="LOC"].role[classCode="DSDLOC"].code | usually a mapping to a local ValueSet. Must be consistent with /clinicalDocument/code | DocumentEntry.healthcareFacilityTypeCode | ||||
|     practiceSetting | usually from a mapping to a local ValueSet | .participation[typeCode="LOC"].role[classCode="DSDLOC"].code | usually from a mapping to a local ValueSet | DocumentEntry.practiceSettingCode | ||||
|     sourcePatientInfo | Composition.subject | .participation[typeCode="SBJ"].role[typeCode="PAT"] | ClinicalDocument/recordTarget/ | 
 | ||||
|     related | Composition.event.detail | ./outboundRelationship[typeCode="PERT" and isNormalActRelationship()] / target[isNormalAct] | ClinicalDocument/relatedDocument | DocumentEntry.referenceIdList | ||||
|  Documentation for this format | ||||||||