TRxHub IG
0.1.0 - ci-build

TRxHub IG - Local Development build (v0.1.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

CodeSystem: TRxHub ServiceRequest Code

Official URL: https://trxhub.mediservice.ch/fhir/CodeSystem/trxhub-service-request-code Version: 0.1.0
Draft as of 2026-05-29 Computable Name: TRxHubServiceRequestCode

Codes for TRxHub ServiceRequests

Overview

register-normal

A ServiceRequest with code register-normal allows the registration of medications by directly creating MedicationRequest resources without a signed prescription source like ePrescription.

This flow is not available to external clients. Registering prescriptions without a signed source (such as an ePrescription or a physical envelope) is a legal grey area under Swiss prescription regulations. It is reserved for internal use by the Mediservice ERP — for example, when the ERP has processed a physical envelope and pushes the resulting MedicationRequests back into TRxHub.

register-eprescription

A ServiceRequest with code register-eprescription allows the registration of medications by creating an EPrescriptionDocumentReference Resource. The ePrescription will be parsed by TRxHub, and TRxHub will automatically create MedicationRequest resources based on the ePrescription.

register-envelope

A ServiceRequest with code register-envelope creates a request in the Mediservice ERP system to send an evelope to the patient, with which the patient can return his original paper prescription. Mediservice will then create the MedicationRequest resources based on the prescription and send them to TRxHub.

TBD: This flow is not yet implemented and might have special effects, like the automatic creation of an order for medication. This still needs to be defined.

register-from-practitioner

A ServiceRequest with code register-from-practitioner creates a request in the Mediservice ERP system to request the prescription from the given practitioner. Mediservice will then create the MedicationRequest resources based on the prescription received and send them to TRxHub.

This flow requires for a practitioner resource to be present and to be referenced in the ServiceRequest. This still needs to be defined.

TBD: This flow is not yet implemented and might have special effects, like the automatic creation of an order for medication. This still needs to be defined.

order-medication

A ServiceRequest with code order-medication allows the ordering of MedicationRequests present in TRxHub.

This Code system is referenced in the content logical definition of the following value sets:

This case-sensitive code system https://trxhub.mediservice.ch/fhir/CodeSystem/trxhub-service-request-code defines the following codes:

CodeDisplay
register-normal Register Prescription via normal flow
register-eprescription Register Prescription via ePrescription
register-envelope Register Prescription via envelope
register-from-practitioner Register Prescription via doctor
order-medication Order Medication from prescription