Implementation Guide
TIFlow - Verordnungen für Arzneimittel
Version 2.0.0-ballot.2 - ballot

## : output-example-5 - TTL Representation

Raw ttl | Download

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

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

    <http://hl7.org/fhir/Parameters/output-example-5> a fhir:Parameters ;
      fhir:nodeRole fhir:treeRoot ;
      fhir:Resource.id [ fhir:value "output-example-5"] ;
      fhir:Parameters.parameter [
         fhir:index 0 ;
         fhir:Parameters.parameter.name [ fhir:value "rxPrescription" ] ;
         fhir:Parameters.parameter.part [
           fhir:index 0 ;
           fhir:Parameters.parameter.name [ fhir:value "authoredOn" ] ;
           fhir:Parameters.parameter.valueDateTime [ fhir:value "2025-05-20"^^xsd:date ]
         ], [
           fhir:index 1 ;
           fhir:Parameters.parameter.name [ fhir:value "medication" ] ;
           fhir:Parameters.parameter.resource [
             a fhir:Medication ;
             fhir:Resource.meta [
               fhir:Meta.profile [
                 fhir:value "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication" ;
                 fhir:index 0 ;
                 fhir:link <https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication>
               ]
             ] ;
             fhir:DomainResource.extension [
               fhir:index 0 ;
               fhir:Extension.url [ fhir:value "https://gematik.de/fhir/epa-medication/StructureDefinition/drug-category-extension" ] ;
               fhir:Extension.valueCoding [
                 fhir:Coding.code [ fhir:value "00" ]
               ]
             ], [
               fhir:index 1 ;
               fhir:Extension.url [ fhir:value "https://gematik.de/fhir/epa-medication/StructureDefinition/medication-id-vaccine-extension" ] ;
               fhir:Extension.valueBoolean [ fhir:value "false"^^xsd:boolean ]
             ] ;
             fhir:Medication.code [
               fhir:CodeableConcept.coding [
                 fhir:index 0 ;
                 fhir:Coding.system [ fhir:value "https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Type" ] ;
                 fhir:Coding.code [ fhir:value "rezeptur" ]
               ]
             ] ;
             fhir:Medication.form [
               fhir:CodeableConcept.text [ fhir:value "Lösung" ]
             ]
           ]
         ], [
           fhir:index 2 ;
           fhir:Parameters.parameter.name [ fhir:value "medicationRequest" ] ;
           fhir:Parameters.parameter.resource [
             a fhir:MedicationRequest ;
             fhir:Resource.meta [
               fhir:Meta.profile [
                 fhir:value "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request" ;
                 fhir:index 0 ;
                 fhir:link <https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-request>
               ]
             ] ;
             fhir:DomainResource.extension [
               fhir:index 0 ;
               fhir:Element.extension [
                 fhir:index 0 ;
                 fhir:Extension.url [ fhir:value "algorithmVersion" ] ;
                 fhir:Extension.valueString [ fhir:value "1.0.0" ]
               ], [
                 fhir:index 1 ;
                 fhir:Extension.url [ fhir:value "language" ] ;
                 fhir:Extension.valueCode [ fhir:value "de-DE" ]
               ] ;
               fhir:Extension.url [ fhir:value "http://ig.fhir.de/igs/medication/StructureDefinition/GeneratedDosageInstructionsMeta" ]
             ], [
               fhir:index 1 ;
               fhir:Extension.url [ fhir:value "https://gematik.de/fhir/epa-medication/StructureDefinition/indicator-ser-extension" ] ;
               fhir:Extension.valueBoolean [ fhir:value "false"^^xsd:boolean ]
             ], [
               fhir:index 2 ;
               fhir:Element.extension [
                 fhir:index 0 ;
                 fhir:Extension.url [ fhir:value "indicator" ] ;
                 fhir:Extension.valueBoolean [ fhir:value "false"^^xsd:boolean ]
               ] ;
               fhir:Extension.url [ fhir:value "https://gematik.de/fhir/epa-medication/StructureDefinition/multiple-prescription-extension" ]
             ], [
               fhir:index 3 ;
               fhir:Extension.url [ fhir:value "http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.renderedDosageInstruction" ] ;
               fhir:Extension.valueMarkdown [ fhir:value "1–3mal/Tag auf die erkrankten Hautstellen auftragen" ]
             ] ;
             fhir:MedicationRequest.status [ fhir:value "active" ] ;
             fhir:MedicationRequest.intent [ fhir:value "order" ] ;
             fhir:MedicationRequest.medicationReference [
               fhir:link <http://hl7.org/fhir/Medication/5cd916fc-2ae2-4148-b016-911ec5f4c0a5> ;
               fhir:Reference.reference [ fhir:value "Medication/5cd916fc-2ae2-4148-b016-911ec5f4c0a5" ]
             ] ;
             fhir:MedicationRequest.authoredOn [ fhir:value "2025-05-20"^^xsd:date ] ;
             fhir:MedicationRequest.requester [
               fhir:link <http://hl7.org/fhir/Practitioner/ec5b4fcf-9739-4055-b23c-a5b3a65beb66> ;
               fhir:Reference.reference [ fhir:value "Practitioner/ec5b4fcf-9739-4055-b23c-a5b3a65beb66" ]
             ] ;
             fhir:MedicationRequest.dosageInstruction [
               fhir:index 0 ;
               fhir:Dosage.text [ fhir:value "1–3mal/Tag auf die erkrankten Hautstellen auftragen" ]
             ] ;
             fhir:MedicationRequest.dispenseRequest [
               fhir:MedicationRequest.dispenseRequest.quantity [
                 fhir:Quantity.value [ fhir:value "1"^^xsd:decimal ] ;
                 fhir:Quantity.unit [ fhir:value "Packung" ]
               ]
             ] ;
             fhir:MedicationRequest.substitution [
               fhir:MedicationRequest.substitution.allowedBoolean [ fhir:value "true"^^xsd:boolean ]
             ]
           ]
         ], [
           fhir:index 3 ;
           fhir:Parameters.parameter.name [ fhir:value "organization" ] ;
           fhir:Parameters.parameter.resource [
             a fhir:Organization ;
             fhir:Resource.meta [
               fhir:Meta.profile [
                 fhir:value "https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory" ;
                 fhir:index 0 ;
                 fhir:link <https://gematik.de/fhir/directory/StructureDefinition/OrganizationDirectory>
               ]
             ] ;
             fhir:Organization.telecom [
               fhir:index 0 ;
               fhir:ContactPoint.system [ fhir:value "phone" ] ;
               fhir:ContactPoint.value [ fhir:value "0301234567" ]
             ], [
               fhir:index 1 ;
               fhir:ContactPoint.system [ fhir:value "fax" ] ;
               fhir:ContactPoint.value [ fhir:value "030123456789" ]
             ], [
               fhir:index 2 ;
               fhir:ContactPoint.system [ fhir:value "email" ] ;
               fhir:ContactPoint.value [ fhir:value "mvz@e-mail.de" ]
             ] ;
             fhir:Organization.address [
               fhir:index 0 ;
               fhir:Address.type [ fhir:value "both" ] ;
               fhir:Address.line [
                 fhir:value "Herbert-Lewin-Platz 2" ;
                 fhir:index 0 ;
                 fhir:Element.extension [
                   fhir:index 0 ;
                   fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber" ] ;
                   fhir:Extension.valueString [ fhir:value "2" ]
                 ], [
                   fhir:index 1 ;
                   fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName" ] ;
                   fhir:Extension.valueString [ fhir:value "Herbert-Lewin-Platz" ]
                 ]
               ] ;
               fhir:Address.city [ fhir:value "Berlin" ] ;
               fhir:Address.postalCode [ fhir:value "10623" ] ;
               fhir:Address.country [ fhir:value "D" ]
             ], [
               fhir:index 1 ;
               fhir:Address.type [ fhir:value "both" ] ;
               fhir:Address.line [
                 fhir:value "Herbert-Lewin-Platz 2" ;
                 fhir:index 0 ;
                 fhir:Element.extension [
                   fhir:index 0 ;
                   fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber" ] ;
                   fhir:Extension.valueString [ fhir:value "2" ]
                 ], [
                   fhir:index 1 ;
                   fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName" ] ;
                   fhir:Extension.valueString [ fhir:value "Herbert-Lewin-Platz" ]
                 ]
               ] ;
               fhir:Address.city [ fhir:value "Berlin" ] ;
               fhir:Address.postalCode [ fhir:value "10623" ] ;
               fhir:Address.country [ fhir:value "D" ]
             ]
           ]
         ], [
           fhir:index 4 ;
           fhir:Parameters.parameter.name [ fhir:value "practitioner" ] ;
           fhir:Parameters.parameter.resource [
             a fhir:Practitioner ;
             fhir:Resource.meta [
               fhir:Meta.profile [
                 fhir:value "https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory" ;
                 fhir:index 0 ;
                 fhir:link <https://gematik.de/fhir/directory/StructureDefinition/PractitionerDirectory>
               ]
             ] ;
             fhir:Practitioner.name [
               fhir:index 0 ;
               fhir:HumanName.use [ fhir:value "official" ] ;
               fhir:HumanName.family [
                 fhir:value "Schmidt" ;
                 fhir:Element.extension [
                   fhir:index 0 ;
                   fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/humanname-own-name" ] ;
                   fhir:Extension.valueString [ fhir:value "Schmidt" ]
                 ]
               ] ;
               fhir:HumanName.given [
                 fhir:value "Hanna" ;
                 fhir:index 0
               ] ;
               fhir:HumanName.prefix [
                 fhir:value "Dr." ;
                 fhir:index 0 ;
                 fhir:Element.extension [
                   fhir:index 0 ;
                   fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier" ] ;
                   fhir:Extension.valueCode [ fhir:value "AC" ]
                 ]
               ]
             ]
           ]
         ], [
           fhir:index 5 ;
           fhir:Parameters.parameter.name [ fhir:value "prescriptionId" ] ;
           fhir:Parameters.parameter.valueString [ fhir:value "160.100.000.000.024.67" ]
         ]
      ] .

    <http://hl7.org/fhir/Medication/5cd916fc-2ae2-4148-b016-911ec5f4c0a5> a fhir:Medication .

    <http://hl7.org/fhir/Practitioner/ec5b4fcf-9739-4055-b23c-a5b3a65beb66> a fhir:Practitioner .

    # - ontology header ------------------------------------------------------------

    <http://hl7.org/fhir/Parameters/output-example-5.ttl> a owl:Ontology ;
      owl:imports fhir:fhir.ttl ;
      owl:versionIRI <http://build.fhir.org/Parameters/output-example-5.ttl> .