Referral Prescription
1.0.0 - STU

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

## : be-map-model-referral-prescription - TTL Representation

Draft as of 2025-10-10

Raw ttl | Download

    @prefix fhir: <http://hl7.org/fhir/> .
    @prefix owl: <http://www.w3.org/2002/07/owl#> .
    @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
    @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
    @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

    # - resource -------------------------------------------------------------------

     a fhir:StructureMap ;
      fhir:nodeRole fhir:treeRoot ;
      fhir:id [ fhir:v "be-map-model-referral-prescription"] ; #
      fhir:text [
    fhir:status [ fhir:v "additional" ] ;
    fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><pre>map \"https://www.ehealth.fgov.be/standards/fhir/referral/StructureMap/be-map-model-referral-prescription\" = \"be-map-model-referral-prescription\"#xD;\n#xD;\nuses \"https://www.ehealth.fgov.be/standards/fhir/referral/StructureDefinition/be-model-referralprescription\" alias BeModelReferralPrescription as source#xD;\nuses \"https://www.ehealth.fgov.be/standards/fhir/referral/StructureDefinition/be-referralprescription\" alias BeReferralPrescription as target#xD;\n#xD;\n#xD;\n#xD;\ngroup Main(source model : BeModelReferralPrescription, target profile : BeReferralPrescription) {#xD;\n    model.recordedDate as a -&gt; profile.authoredOn = a;#xD;\n    model.recorder as recorder -&gt; profile.extension = create('Extension') as ext, #xD;\n        ext.url = \"https://www.ehealth.fgov.be/standards/fhir/core/StructureDefinition/be-ext-recorder\", #xD;\n        ext.value = recorder;#xD;\n    model.prescriber as prescriber -&gt; profile.requester = prescriber;#xD;\n    model.'co-prescriberNr' as nr, model.'co-prescriber' as co -&gt; profile.extension = create('Extension') as ext,#xD;\n    ext.url = \"https://www.ehealth.fgov.be/standards/fhir/referral/StructureDefinition/be-ext-co-prescriber-info\", #xD;\n    ext.value = recorder'c0';#xD;\n     #xD;\n}#xD;\n#xD;\n#xD;\n#xD;\n</pre></div>"^^rdf:XMLLiteral
      ] ; #
      fhir:url [ fhir:v "https://www.ehealth.fgov.be/standards/fhir/referral/StructureMap/be-map-model-referral-prescription"^^xsd:anyURI] ; #
      fhir:version [ fhir:v "1.0.0"] ; #
      fhir:name [ fhir:v "be-map-model-referral-prescription"] ; #
      fhir:status [ fhir:v "draft"] ; #
      fhir:date [ fhir:v "2025-10-10T11:53:35+00:00"^^xsd:dateTime] ; #
      fhir:jurisdiction ( [
        ( fhir:coding [
    fhir:system [ fhir:v "urn:iso:std:iso:3166"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "BE" ] ;
    fhir:display [ fhir:v "Belgium" ]     ] )
      ] ) ; #
      fhir:structure ( [
    fhir:url [
    fhir:v "https://www.ehealth.fgov.be/standards/fhir/referral/StructureDefinition/be-model-referralprescription"^^xsd:anyURI ;
    fhir:link <https://www.ehealth.fgov.be/standards/fhir/referral/StructureDefinition/be-model-referralprescription>     ] ;
    fhir:mode [ fhir:v "source" ] ;
    fhir:alias [ fhir:v "BeModelReferralPrescription" ]
      ] [
    fhir:url [
    fhir:v "https://www.ehealth.fgov.be/standards/fhir/referral/StructureDefinition/be-referralprescription"^^xsd:anyURI ;
    fhir:link <https://www.ehealth.fgov.be/standards/fhir/referral/StructureDefinition/be-referralprescription>     ] ;
    fhir:mode [ fhir:v "target" ] ;
    fhir:alias [ fhir:v "BeReferralPrescription" ]
      ] ) ; #
      fhir:group ( [
    fhir:name [ fhir:v "Main" ] ;
    fhir:typeMode [ fhir:v "none" ] ;
        ( fhir:input [
    fhir:name [ fhir:v "model" ] ;
    fhir:type [ fhir:v "BeModelReferralPrescription" ] ;
    fhir:mode [ fhir:v "source" ]     ] [
    fhir:name [ fhir:v "profile" ] ;
    fhir:type [ fhir:v "BeReferralPrescription" ] ;
    fhir:mode [ fhir:v "target" ]     ] ) ;
        ( fhir:rule [
    fhir:name [ fhir:v "recordedDate" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "model" ] ;
    fhir:element [ fhir:v "recordedDate" ] ;
    fhir:variable [ fhir:v "a" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "profile" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "authoredOn" ] ;
    fhir:transform [ fhir:v "copy" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:id ;
    fhir:v "a"           ]         ] )       ] )     ] [
    fhir:name [ fhir:v "recorder" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "model" ] ;
    fhir:element [ fhir:v "recorder" ] ;
    fhir:variable [ fhir:v "recorder" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "profile" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "extension" ] ;
    fhir:variable [ fhir:v "ext" ] ;
    fhir:transform [ fhir:v "create" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "Extension"           ]         ] )       ] [
    fhir:context [ fhir:v "ext" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "url" ] ;
    fhir:transform [ fhir:v "copy" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "https://www.ehealth.fgov.be/standards/fhir/core/StructureDefinition/be-ext-recorder"           ]         ] )       ] [
    fhir:context [ fhir:v "ext" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "value" ] ;
    fhir:transform [ fhir:v "copy" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:id ;
    fhir:v "recorder"           ]         ] )       ] )     ] [
    fhir:name [ fhir:v "prescriber" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "model" ] ;
    fhir:element [ fhir:v "prescriber" ] ;
    fhir:variable [ fhir:v "prescriber" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "profile" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "requester" ] ;
    fhir:transform [ fhir:v "copy" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:id ;
    fhir:v "prescriber"           ]         ] )       ] )     ] [
    fhir:name [ fhir:v "c0" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "model" ] ;
    fhir:element [ fhir:v "'co-prescriberNr'" ] ;
    fhir:variable [ fhir:v "nr" ]       ] [
    fhir:context [ fhir:v "model" ] ;
    fhir:element [ fhir:v "'co-prescriber'" ] ;
    fhir:variable [ fhir:v "co" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "profile" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "extension" ] ;
    fhir:variable [ fhir:v "ext" ] ;
    fhir:transform [ fhir:v "create" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "Extension"           ]         ] )       ] [
    fhir:context [ fhir:v "ext" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "url" ] ;
    fhir:transform [ fhir:v "copy" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "https://www.ehealth.fgov.be/standards/fhir/referral/StructureDefinition/be-ext-co-prescriber-info"           ]         ] )       ] [
    fhir:context [ fhir:v "ext" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "value" ] ;
    fhir:transform [ fhir:v "copy" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:id ;
    fhir:v "recorder"           ]         ] )       ] )     ] )
      ] ) . #