Referral Prescription
1.0.0 - STU Belgium flag

Referral Prescription, published by . This guide is not an authorized publication; it is the continuous build for version 1.0.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/hl7-be/referral/ and changes regularly. See the Directory of published versions

StructureMap:

Official URL: https://www.ehealth.fgov.be/standards/fhir/referral/StructureMap/be-map-model-referral-prescription Version: 1.0.0
Draft as of 2024-11-21 Computable Name: be-map-model-referral-prescription
map "https://www.ehealth.fgov.be/standards/fhir/referral/StructureMap/be-map-model-referral-prescription" = "be-map-model-referral-prescription"

uses "https://www.ehealth.fgov.be/standards/fhir/referral/StructureDefinition/be-model-referralprescription" alias BeModelReferralPrescription as source
uses "https://www.ehealth.fgov.be/standards/fhir/referral/StructureDefinition/be-referral-servicerequest" alias BeReferralPrescription as target



group Main(source model : BeModelReferralPrescription, target profile : BeReferralPrescription) {
    model.recordedDate as a -> profile.authoredOn = a;
    model.recorder as recorder -> profile.extension = create('Extension') as ext, 
        ext.url = "https://www.ehealth.fgov.be/standards/fhir/core/StructureDefinition/be-ext-recorder", 
        ext.value = recorder;
    model.prescriber as prescriber -> profile.requester = prescriber;
    model.'co-prescriberNr' as nr, model.'co-prescriber' as co -> profile.extension = create('Extension') as ext,
    ext.url = "https://www.ehealth.fgov.be/standards/fhir/referral/StructureDefinition/be-ext-co-prescriber-info", 
    ext.value = recorder'c0';
     
}