Implementation Guide
ePA Medication Service
Version 1.3.2 - release

## Extension: NarcoticsExtension

Official URL: https://gematik.de/fhir/epa-medication/StructureDefinition/narcotics-extension | Version: 1.3.1
Active as of 2026-03-20 | Computable Name: NarcoticsExtension
Copyright/Legal: gematik GmbH / Dieses Artefakt ist lizenziert unter Apache License, Version 2.0.

Abbildung der Angaben zur Verordnung eines Betäubungsmittels im Sinne des Betäubungsmittelgesetzes (BtMG)

Context of Use

This extension may be used on the following element(s):

- Element ID Element

Usage info

Usages:

- Use this Extension: EPA MedicationRequest

You can also check for usages in the FHIR IG Statistics

### Formal Views of Extension Content

Description of Profiles, Differentials, Snapshots, and how the XML and JSON presentations work.

- Text Summary
- Differential Table
- Snapshot Table
- All

This structure is derived from Extension

Summary

Complex Extension: Abbildung der Angaben zur Verordnung eines Betäubungsmittels im Sinne des Betäubungsmittelgesetzes (BtMG)

- narcotics-markings: Coding: An Extension
- additional-information-substitutes: string: An Extension

This structure is derived from Extension

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Extension |  | 0..* | Extension | Extension
Slices for extension | S | 0..* | Extension | Extension Slice: Unordered, Closed by value:url
extension:narcotics-markings | S | 0..1 | Extension | Extension
extension |  | 0..0 |  | Extension
url | S | 1..1 | uri | "narcotics-markings"
value[x] | S | 0..1 | Coding | Value of extension Binding: https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_KBV_NARCOTIC_LABEL (required) Required Pattern: At least the following
system | S | 0..1 | uri | Identity of the terminology system Fixed Value: https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_NARCOTIC_LABEL
code | S | 0..1 | code | Kennzeichen nach § 9 Abs. 1 Nr. 6 BtMVV
extension:additional-information-substitutes | S | 0..1 | Extension | Extension
extension |  | 0..0 |  | Extension
url | S | 1..1 | uri | "additional-information-substitutes"
value[x] | S | 0..1 | string | Ergänzende Angaben zu Substitutionsmittel
url | S | 1..1 | uri | "https://gematik.de/fhir/epa-medication/StructureDefinition/narcotics-extension"
value[x] |  | 0..0 |  | Value of extension
Documentation for this format

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Extension |  | 0..* | Extension | Extension
id |  | 0..1 | string | Unique id for inter-element referencing
Slices for extension | S | 0..* | Extension | Extension Slice: Unordered, Closed by value:url
extension:narcotics-markings | S | 0..1 | Extension | Extension
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..0 |  | Extension Slice: Unordered, Open by value:url
url | S | 1..1 | uri | "narcotics-markings"
value[x] | S | 0..1 | Coding | Value of extension Binding: https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_KBV_NARCOTIC_LABEL (required) Required Pattern: At least the following
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
system | S Σ | 0..1 | uri | Identity of the terminology system Fixed Value: https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_NARCOTIC_LABEL
version | Σ | 0..1 | string | Version of the system - if relevant
code | S Σ | 0..1 | code | Kennzeichen nach § 9 Abs. 1 Nr. 6 BtMVV
display | Σ | 0..1 | string | Representation defined by the system
userSelected | Σ | 0..1 | boolean | If this coding was chosen directly by the user
extension:additional-information-substitutes | S | 0..1 | Extension | Extension
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..0 |  | Extension Slice: Unordered, Open by value:url
url | S | 1..1 | uri | "additional-information-substitutes"
value[x] | S | 0..1 | string | Ergänzende Angaben zu Substitutionsmittel
url | S | 1..1 | uri | "https://gematik.de/fhir/epa-medication/StructureDefinition/narcotics-extension"
Documentation for this format

This structure is derived from Extension

Summary

Complex Extension: Abbildung der Angaben zur Verordnung eines Betäubungsmittels im Sinne des Betäubungsmittelgesetzes (BtMG)

- narcotics-markings: Coding: An Extension
- additional-information-substitutes: string: An Extension

Differential View

This structure is derived from Extension

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Extension |  | 0..* | Extension | Extension
Slices for extension | S | 0..* | Extension | Extension Slice: Unordered, Closed by value:url
extension:narcotics-markings | S | 0..1 | Extension | Extension
extension |  | 0..0 |  | Extension
url | S | 1..1 | uri | "narcotics-markings"
value[x] | S | 0..1 | Coding | Value of extension Binding: https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_KBV_NARCOTIC_LABEL (required) Required Pattern: At least the following
system | S | 0..1 | uri | Identity of the terminology system Fixed Value: https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_NARCOTIC_LABEL
code | S | 0..1 | code | Kennzeichen nach § 9 Abs. 1 Nr. 6 BtMVV
extension:additional-information-substitutes | S | 0..1 | Extension | Extension
extension |  | 0..0 |  | Extension
url | S | 1..1 | uri | "additional-information-substitutes"
value[x] | S | 0..1 | string | Ergänzende Angaben zu Substitutionsmittel
url | S | 1..1 | uri | "https://gematik.de/fhir/epa-medication/StructureDefinition/narcotics-extension"
value[x] |  | 0..0 |  | Value of extension
Documentation for this format

Snapshot View

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Extension |  | 0..* | Extension | Extension
id |  | 0..1 | string | Unique id for inter-element referencing
Slices for extension | S | 0..* | Extension | Extension Slice: Unordered, Closed by value:url
extension:narcotics-markings | S | 0..1 | Extension | Extension
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..0 |  | Extension Slice: Unordered, Open by value:url
url | S | 1..1 | uri | "narcotics-markings"
value[x] | S | 0..1 | Coding | Value of extension Binding: https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_KBV_NARCOTIC_LABEL (required) Required Pattern: At least the following
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
system | S Σ | 0..1 | uri | Identity of the terminology system Fixed Value: https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_NARCOTIC_LABEL
version | Σ | 0..1 | string | Version of the system - if relevant
code | S Σ | 0..1 | code | Kennzeichen nach § 9 Abs. 1 Nr. 6 BtMVV
display | Σ | 0..1 | string | Representation defined by the system
userSelected | Σ | 0..1 | boolean | If this coding was chosen directly by the user
extension:additional-information-substitutes | S | 0..1 | Extension | Extension
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..0 |  | Extension Slice: Unordered, Open by value:url
url | S | 1..1 | uri | "additional-information-substitutes"
value[x] | S | 0..1 | string | Ergänzende Angaben zu Substitutionsmittel
url | S | 1..1 | uri | "https://gematik.de/fhir/epa-medication/StructureDefinition/narcotics-extension"
Documentation for this format

Other representations of profile: CSV, Excel, Schematron

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
Extension.extension:narcotics-markings.​value[x] | Base | required | https://fhir.kbv.de/ValueSet/KBV_VS_SFHIR_KBV_NARCOTIC_LABEL | Not State | Unknown

#### Constraints

Id | Grade | Path(s) | Description | Expression
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children | `hasValue() or (children().count() > id.count())`
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both | `extension.exists() != value.exists()`