Guide d'implémentation du médicament
0.1.0 - ci-build

Guide d'implémentation du médicament, published by Interop'Santé. This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/Interop-Sante/hl7.fhir.fr.medication/ and changes regularly. See the Directory of published versions

Resource Profile: FrMedication2unique ( Experimental )

Official URL: http://interopsante.org/fhir/StructureDefinition/FrMedication2unique Version: 0.1.0
Draft as of 2021-12-09 Computable Name: FrMedication2unique

ressource Medication unique regroupant les 4 profils en 1 (ucd, ucd-part, non-proprietary-name et compound)

Usage:

Formal Views of Profile Content

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

This structure is derived from Medication

NameFlagsCard.TypeDescription & Constraintsdoco
.. Medication C 0..* Medication Definition of a Medication
frmed-med-1: If fr-medication is a simple medication, ingredient SHALL NOT be a Reference
... code
.... Slices for coding 0..* Coding Code defined by a terminology system
Slice: Unordered, Open by pattern:coding.system
..... coding:ucdCode S 0..1 Coding Codes that identify this branded medication
Binding: http://phast.fr/fhir/ValueSet/Pharmacy/CIOdc/SIPh-CIO_UCD (required): UCD code

...... system 0..1 uri UCD codeSystem
Required Pattern: ^http:\/\/phast\.fr\/fhir\/ValueSet\/Pharmacy\/CIOdc\/SIPh-CIO_UCD$
...... code 0..1 code Symbol in syntax defined by the system
Binding Description (No ValueSet): : code UCD valide

..... coding:snomedMedicinalProductCode S 0..1 Coding Code defined by a terminology system
Binding: French Medicinal Product only (required)
...... system 0..1 uri SNOMED CT codeSystem
Required Pattern: ^http:\/\/snomed\.info\/sct$
...... code 0..1 code Symbol in syntax defined by the system
Binding Description (No ValueSet): : MP sctid valide

..... coding:otherMedicationCode SC 0..1 Coding Generaly no code for compound medicinal product
frmed-med-2: If fr-medication is an othter-medication, its code SHALL NOT be UCD
frmed-med-3: If fr-medication is a other-medication, its code SHALL NOT be SNOMED CT
frmed-med-4: if fr-medication has no code it SHALL have a text
.... text S 0..1 string Plain text representation of the concept
... ingredient S 1..* BackboneElement Active or inactive ingredient
.... item[x] S 1..1 The actual ingredient or content
..... itemCodeableConcept CodeableConcept(FrMPSubstance2Active)
..... itemReference Reference(FrMedication2unique)

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSetURI
Medication.code.coding:ucdCoderequiredhttp://phast.fr/fhir/ValueSet/Pharmacy/CIOdc/SIPh-CIO_UCD
http://phast.fr/fhir/ValueSet/Pharmacy/CIOdc/SIPh-CIO_UCD
Medication.code.coding:ucdCode.code
Medication.code.coding:snomedMedicinalProductCoderequiredFrMedicinalProductOnly
http://interopsante.org/fhir/ValueSet/fr-medicinal-product-only
from this IG
Medication.code.coding:snomedMedicinalProductCode.code

Constraints

IdGradePath(s)DetailsRequirements
frmed-med-1errorMedicationIf fr-medication is a simple medication, ingredient SHALL NOT be a Reference
: code.coding.system.exists() implies (ingredient.item as Reference).empty()
frmed-med-2errorMedication.code.coding:otherMedicationCodeIf fr-medication is an othter-medication, its code SHALL NOT be UCD
: coding.system != 'http://phast.fr/fhir/ValueSet/Pharmacy/CIOdc/SIPh-CIO_UCD'
frmed-med-3errorMedication.code.coding:otherMedicationCodeIf fr-medication is a other-medication, its code SHALL NOT be SNOMED CT
: coding.system != 'http://snomed.info/sct'
frmed-med-4errorMedication.code.coding:otherMedicationCodeif fr-medication has no code it SHALL have a text
: coding.code.exist() or text.exist()
NameFlagsCard.TypeDescription & Constraintsdoco
.. Medication C 0..* Medication Definition of a Medication
frmed-med-1: If fr-medication is a simple medication, ingredient SHALL NOT be a Reference
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... code Σ 0..1 CodeableConcept Codes that identify this medication
Binding: SNOMEDCTMedicationCodes (example): A coded concept that defines the type of a medication.

.... Slices for coding Σ 0..* Coding Code defined by a terminology system
Slice: Unordered, Open by pattern:coding.system
..... coding:ucdCode SΣ 0..1 Coding Codes that identify this branded medication
Binding: http://phast.fr/fhir/ValueSet/Pharmacy/CIOdc/SIPh-CIO_UCD (required): UCD code


...... system Σ 0..1 uri UCD codeSystem
Required Pattern: ^http:\/\/phast\.fr\/fhir\/ValueSet\/Pharmacy\/CIOdc\/SIPh-CIO_UCD$
...... code Σ 0..1 code Symbol in syntax defined by the system
Binding Description (No ValueSet): : code UCD valide

..... coding:snomedMedicinalProductCode SΣ 0..1 Coding Code defined by a terminology system
Binding: French Medicinal Product only (required)
...... system Σ 0..1 uri SNOMED CT codeSystem
Required Pattern: ^http:\/\/snomed\.info\/sct$
...... code Σ 0..1 code Symbol in syntax defined by the system
Binding Description (No ValueSet): : MP sctid valide

..... coding:otherMedicationCode SΣC 0..1 Coding Generaly no code for compound medicinal product
frmed-med-2: If fr-medication is an othter-medication, its code SHALL NOT be UCD
frmed-med-3: If fr-medication is a other-medication, its code SHALL NOT be SNOMED CT
frmed-med-4: if fr-medication has no code it SHALL have a text
.... text SΣ 0..1 string Plain text representation of the concept
... ingredient S 1..* BackboneElement Active or inactive ingredient
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... item[x] S 1..1 The actual ingredient or content
..... itemCodeableConcept CodeableConcept(FrMPSubstance2Active)
..... itemReference Reference(FrMedication2unique)

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Medication.codeexampleSNOMEDCTMedicationCodes
http://hl7.org/fhir/ValueSet/medication-codes
from the FHIR Standard
Medication.code.coding:ucdCoderequiredhttp://phast.fr/fhir/ValueSet/Pharmacy/CIOdc/SIPh-CIO_UCD
http://phast.fr/fhir/ValueSet/Pharmacy/CIOdc/SIPh-CIO_UCD
Medication.code.coding:ucdCode.code
Medication.code.coding:snomedMedicinalProductCoderequiredFrMedicinalProductOnly
http://interopsante.org/fhir/ValueSet/fr-medicinal-product-only
from this IG
Medication.code.coding:snomedMedicinalProductCode.code
Medication.statusrequiredMedication Status Codes
http://hl7.org/fhir/ValueSet/medication-status|4.0.1
from the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorMedicationIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorMedicationIf the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource
: contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4errorMedicationIf a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
: contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5errorMedicationIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceMedicationA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
frmed-med-1errorMedicationIf fr-medication is a simple medication, ingredient SHALL NOT be a Reference
: code.coding.system.exists() implies (ingredient.item as Reference).empty()
frmed-med-2errorMedication.code.coding:otherMedicationCodeIf fr-medication is an othter-medication, its code SHALL NOT be UCD
: coding.system != 'http://phast.fr/fhir/ValueSet/Pharmacy/CIOdc/SIPh-CIO_UCD'
frmed-med-3errorMedication.code.coding:otherMedicationCodeIf fr-medication is a other-medication, its code SHALL NOT be SNOMED CT
: coding.system != 'http://snomed.info/sct'
frmed-med-4errorMedication.code.coding:otherMedicationCodeif fr-medication has no code it SHALL have a text
: coding.code.exist() or text.exist()
NameFlagsCard.TypeDescription & Constraintsdoco
.. Medication C 0..* Medication Definition of a Medication
frmed-med-1: If fr-medication is a simple medication, ingredient SHALL NOT be a Reference
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... text 0..1 Narrative Text summary of the resource, for human interpretation
... contained 0..* Resource Contained, inline Resources
... extension 0..* Extension Additional content defined by implementations
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... identifier Σ 0..* Identifier Business identifier for this medication
... code Σ 0..1 CodeableConcept Codes that identify this medication
Binding: SNOMEDCTMedicationCodes (example): A coded concept that defines the type of a medication.

.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... Slices for coding Σ 0..* Coding Code defined by a terminology system
Slice: Unordered, Open by pattern:coding.system
..... coding:ucdCode SΣ 0..1 Coding Codes that identify this branded medication
Binding: http://phast.fr/fhir/ValueSet/Pharmacy/CIOdc/SIPh-CIO_UCD (required): UCD code


...... 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 Σ 0..1 uri UCD codeSystem
Required Pattern: ^http:\/\/phast\.fr\/fhir\/ValueSet\/Pharmacy\/CIOdc\/SIPh-CIO_UCD$
...... version Σ 0..1 string Version of the system - if relevant
...... code Σ 0..1 code Symbol in syntax defined by the system
Binding Description (No ValueSet): : code UCD valide

...... display Σ 0..1 string Representation defined by the system
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
..... coding:snomedMedicinalProductCode SΣ 0..1 Coding Code defined by a terminology system
Binding: French Medicinal Product only (required)
...... 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 Σ 0..1 uri SNOMED CT codeSystem
Required Pattern: ^http:\/\/snomed\.info\/sct$
...... version Σ 0..1 string Version of the system - if relevant
...... code Σ 0..1 code Symbol in syntax defined by the system
Binding Description (No ValueSet): : MP sctid valide

...... display Σ 0..1 string Representation defined by the system
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
..... coding:otherMedicationCode SΣC 0..1 Coding Generaly no code for compound medicinal product
frmed-med-2: If fr-medication is an othter-medication, its code SHALL NOT be UCD
frmed-med-3: If fr-medication is a other-medication, its code SHALL NOT be SNOMED CT
frmed-med-4: if fr-medication has no code it SHALL have a text
.... text SΣ 0..1 string Plain text representation of the concept
... status ?!Σ 0..1 code active | inactive | entered-in-error
Binding: Medication Status Codes (required): A coded concept defining if the medication is in active use.

... manufacturer Σ 0..1 Reference(Organization) Manufacturer of the item
... form 0..1 CodeableConcept powder | tablets | capsule +
Binding: SNOMEDCTFormCodes (example): A coded concept defining the form of a medication.

... amount Σ 0..1 Ratio Amount of drug in package
... ingredient S 1..* BackboneElement Active or inactive ingredient
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... item[x] S 1..1 The actual ingredient or content
..... itemCodeableConcept CodeableConcept(FrMPSubstance2Active)
..... itemReference Reference(FrMedication2unique)
.... isActive 0..1 boolean Active ingredient indicator
.... strength 0..1 Ratio Quantity of ingredient present
... batch 0..1 BackboneElement Details about packaged medications
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... lotNumber 0..1 string Identifier assigned to batch
.... expirationDate 0..1 dateTime When batch will expire

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Medication.languagepreferredCommonLanguages
Additional Bindings Purpose
AllLanguages Max Binding
http://hl7.org/fhir/ValueSet/languages
from the FHIR Standard
Medication.codeexampleSNOMEDCTMedicationCodes
http://hl7.org/fhir/ValueSet/medication-codes
from the FHIR Standard
Medication.code.coding:ucdCoderequiredhttp://phast.fr/fhir/ValueSet/Pharmacy/CIOdc/SIPh-CIO_UCD
http://phast.fr/fhir/ValueSet/Pharmacy/CIOdc/SIPh-CIO_UCD
Medication.code.coding:ucdCode.code
Medication.code.coding:snomedMedicinalProductCoderequiredFrMedicinalProductOnly
http://interopsante.org/fhir/ValueSet/fr-medicinal-product-only
from this IG
Medication.code.coding:snomedMedicinalProductCode.code
Medication.statusrequiredMedication Status Codes
http://hl7.org/fhir/ValueSet/medication-status|4.0.1
from the FHIR Standard
Medication.formexampleSNOMEDCTFormCodes
http://hl7.org/fhir/ValueSet/medication-form-codes
from the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorMedicationIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorMedicationIf the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource
: contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4errorMedicationIf a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
: contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5errorMedicationIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceMedicationA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
frmed-med-1errorMedicationIf fr-medication is a simple medication, ingredient SHALL NOT be a Reference
: code.coding.system.exists() implies (ingredient.item as Reference).empty()
frmed-med-2errorMedication.code.coding:otherMedicationCodeIf fr-medication is an othter-medication, its code SHALL NOT be UCD
: coding.system != 'http://phast.fr/fhir/ValueSet/Pharmacy/CIOdc/SIPh-CIO_UCD'
frmed-med-3errorMedication.code.coding:otherMedicationCodeIf fr-medication is a other-medication, its code SHALL NOT be SNOMED CT
: coding.system != 'http://snomed.info/sct'
frmed-med-4errorMedication.code.coding:otherMedicationCodeif fr-medication has no code it SHALL have a text
: coding.code.exist() or text.exist()

This structure is derived from Medication

Summary

Mandatory: 1 element
Must-Support: 6 elements

Structures

This structure refers to these other structures:

Slices

This structure defines the following Slices:

  • The element 1 is sliced based on the value of Medication.code.coding

Differential View

This structure is derived from Medication

NameFlagsCard.TypeDescription & Constraintsdoco
.. Medication C 0..* Medication Definition of a Medication
frmed-med-1: If fr-medication is a simple medication, ingredient SHALL NOT be a Reference
... code
.... Slices for coding 0..* Coding Code defined by a terminology system
Slice: Unordered, Open by pattern:coding.system
..... coding:ucdCode S 0..1 Coding Codes that identify this branded medication
Binding: http://phast.fr/fhir/ValueSet/Pharmacy/CIOdc/SIPh-CIO_UCD (required): UCD code

...... system 0..1 uri UCD codeSystem
Required Pattern: ^http:\/\/phast\.fr\/fhir\/ValueSet\/Pharmacy\/CIOdc\/SIPh-CIO_UCD$
...... code 0..1 code Symbol in syntax defined by the system
Binding Description (No ValueSet): : code UCD valide

..... coding:snomedMedicinalProductCode S 0..1 Coding Code defined by a terminology system
Binding: French Medicinal Product only (required)
...... system 0..1 uri SNOMED CT codeSystem
Required Pattern: ^http:\/\/snomed\.info\/sct$
...... code 0..1 code Symbol in syntax defined by the system
Binding Description (No ValueSet): : MP sctid valide

..... coding:otherMedicationCode SC 0..1 Coding Generaly no code for compound medicinal product
frmed-med-2: If fr-medication is an othter-medication, its code SHALL NOT be UCD
frmed-med-3: If fr-medication is a other-medication, its code SHALL NOT be SNOMED CT
frmed-med-4: if fr-medication has no code it SHALL have a text
.... text S 0..1 string Plain text representation of the concept
... ingredient S 1..* BackboneElement Active or inactive ingredient
.... item[x] S 1..1 The actual ingredient or content
..... itemCodeableConcept CodeableConcept(FrMPSubstance2Active)
..... itemReference Reference(FrMedication2unique)

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSetURI
Medication.code.coding:ucdCoderequiredhttp://phast.fr/fhir/ValueSet/Pharmacy/CIOdc/SIPh-CIO_UCD
http://phast.fr/fhir/ValueSet/Pharmacy/CIOdc/SIPh-CIO_UCD
Medication.code.coding:ucdCode.code
Medication.code.coding:snomedMedicinalProductCoderequiredFrMedicinalProductOnly
http://interopsante.org/fhir/ValueSet/fr-medicinal-product-only
from this IG
Medication.code.coding:snomedMedicinalProductCode.code

Constraints

IdGradePath(s)DetailsRequirements
frmed-med-1errorMedicationIf fr-medication is a simple medication, ingredient SHALL NOT be a Reference
: code.coding.system.exists() implies (ingredient.item as Reference).empty()
frmed-med-2errorMedication.code.coding:otherMedicationCodeIf fr-medication is an othter-medication, its code SHALL NOT be UCD
: coding.system != 'http://phast.fr/fhir/ValueSet/Pharmacy/CIOdc/SIPh-CIO_UCD'
frmed-med-3errorMedication.code.coding:otherMedicationCodeIf fr-medication is a other-medication, its code SHALL NOT be SNOMED CT
: coding.system != 'http://snomed.info/sct'
frmed-med-4errorMedication.code.coding:otherMedicationCodeif fr-medication has no code it SHALL have a text
: coding.code.exist() or text.exist()

Key Elements View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Medication C 0..* Medication Definition of a Medication
frmed-med-1: If fr-medication is a simple medication, ingredient SHALL NOT be a Reference
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... code Σ 0..1 CodeableConcept Codes that identify this medication
Binding: SNOMEDCTMedicationCodes (example): A coded concept that defines the type of a medication.

.... Slices for coding Σ 0..* Coding Code defined by a terminology system
Slice: Unordered, Open by pattern:coding.system
..... coding:ucdCode SΣ 0..1 Coding Codes that identify this branded medication
Binding: http://phast.fr/fhir/ValueSet/Pharmacy/CIOdc/SIPh-CIO_UCD (required): UCD code


...... system Σ 0..1 uri UCD codeSystem
Required Pattern: ^http:\/\/phast\.fr\/fhir\/ValueSet\/Pharmacy\/CIOdc\/SIPh-CIO_UCD$
...... code Σ 0..1 code Symbol in syntax defined by the system
Binding Description (No ValueSet): : code UCD valide

..... coding:snomedMedicinalProductCode SΣ 0..1 Coding Code defined by a terminology system
Binding: French Medicinal Product only (required)
...... system Σ 0..1 uri SNOMED CT codeSystem
Required Pattern: ^http:\/\/snomed\.info\/sct$
...... code Σ 0..1 code Symbol in syntax defined by the system
Binding Description (No ValueSet): : MP sctid valide

..... coding:otherMedicationCode SΣC 0..1 Coding Generaly no code for compound medicinal product
frmed-med-2: If fr-medication is an othter-medication, its code SHALL NOT be UCD
frmed-med-3: If fr-medication is a other-medication, its code SHALL NOT be SNOMED CT
frmed-med-4: if fr-medication has no code it SHALL have a text
.... text SΣ 0..1 string Plain text representation of the concept
... ingredient S 1..* BackboneElement Active or inactive ingredient
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... item[x] S 1..1 The actual ingredient or content
..... itemCodeableConcept CodeableConcept(FrMPSubstance2Active)
..... itemReference Reference(FrMedication2unique)

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Medication.codeexampleSNOMEDCTMedicationCodes
http://hl7.org/fhir/ValueSet/medication-codes
from the FHIR Standard
Medication.code.coding:ucdCoderequiredhttp://phast.fr/fhir/ValueSet/Pharmacy/CIOdc/SIPh-CIO_UCD
http://phast.fr/fhir/ValueSet/Pharmacy/CIOdc/SIPh-CIO_UCD
Medication.code.coding:ucdCode.code
Medication.code.coding:snomedMedicinalProductCoderequiredFrMedicinalProductOnly
http://interopsante.org/fhir/ValueSet/fr-medicinal-product-only
from this IG
Medication.code.coding:snomedMedicinalProductCode.code
Medication.statusrequiredMedication Status Codes
http://hl7.org/fhir/ValueSet/medication-status|4.0.1
from the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorMedicationIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorMedicationIf the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource
: contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4errorMedicationIf a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
: contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5errorMedicationIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceMedicationA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
frmed-med-1errorMedicationIf fr-medication is a simple medication, ingredient SHALL NOT be a Reference
: code.coding.system.exists() implies (ingredient.item as Reference).empty()
frmed-med-2errorMedication.code.coding:otherMedicationCodeIf fr-medication is an othter-medication, its code SHALL NOT be UCD
: coding.system != 'http://phast.fr/fhir/ValueSet/Pharmacy/CIOdc/SIPh-CIO_UCD'
frmed-med-3errorMedication.code.coding:otherMedicationCodeIf fr-medication is a other-medication, its code SHALL NOT be SNOMED CT
: coding.system != 'http://snomed.info/sct'
frmed-med-4errorMedication.code.coding:otherMedicationCodeif fr-medication has no code it SHALL have a text
: coding.code.exist() or text.exist()

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Medication C 0..* Medication Definition of a Medication
frmed-med-1: If fr-medication is a simple medication, ingredient SHALL NOT be a Reference
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... text 0..1 Narrative Text summary of the resource, for human interpretation
... contained 0..* Resource Contained, inline Resources
... extension 0..* Extension Additional content defined by implementations
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... identifier Σ 0..* Identifier Business identifier for this medication
... code Σ 0..1 CodeableConcept Codes that identify this medication
Binding: SNOMEDCTMedicationCodes (example): A coded concept that defines the type of a medication.

.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... Slices for coding Σ 0..* Coding Code defined by a terminology system
Slice: Unordered, Open by pattern:coding.system
..... coding:ucdCode SΣ 0..1 Coding Codes that identify this branded medication
Binding: http://phast.fr/fhir/ValueSet/Pharmacy/CIOdc/SIPh-CIO_UCD (required): UCD code


...... 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 Σ 0..1 uri UCD codeSystem
Required Pattern: ^http:\/\/phast\.fr\/fhir\/ValueSet\/Pharmacy\/CIOdc\/SIPh-CIO_UCD$
...... version Σ 0..1 string Version of the system - if relevant
...... code Σ 0..1 code Symbol in syntax defined by the system
Binding Description (No ValueSet): : code UCD valide

...... display Σ 0..1 string Representation defined by the system
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
..... coding:snomedMedicinalProductCode SΣ 0..1 Coding Code defined by a terminology system
Binding: French Medicinal Product only (required)
...... 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 Σ 0..1 uri SNOMED CT codeSystem
Required Pattern: ^http:\/\/snomed\.info\/sct$
...... version Σ 0..1 string Version of the system - if relevant
...... code Σ 0..1 code Symbol in syntax defined by the system
Binding Description (No ValueSet): : MP sctid valide

...... display Σ 0..1 string Representation defined by the system
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
..... coding:otherMedicationCode SΣC 0..1 Coding Generaly no code for compound medicinal product
frmed-med-2: If fr-medication is an othter-medication, its code SHALL NOT be UCD
frmed-med-3: If fr-medication is a other-medication, its code SHALL NOT be SNOMED CT
frmed-med-4: if fr-medication has no code it SHALL have a text
.... text SΣ 0..1 string Plain text representation of the concept
... status ?!Σ 0..1 code active | inactive | entered-in-error
Binding: Medication Status Codes (required): A coded concept defining if the medication is in active use.

... manufacturer Σ 0..1 Reference(Organization) Manufacturer of the item
... form 0..1 CodeableConcept powder | tablets | capsule +
Binding: SNOMEDCTFormCodes (example): A coded concept defining the form of a medication.

... amount Σ 0..1 Ratio Amount of drug in package
... ingredient S 1..* BackboneElement Active or inactive ingredient
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... item[x] S 1..1 The actual ingredient or content
..... itemCodeableConcept CodeableConcept(FrMPSubstance2Active)
..... itemReference Reference(FrMedication2unique)
.... isActive 0..1 boolean Active ingredient indicator
.... strength 0..1 Ratio Quantity of ingredient present
... batch 0..1 BackboneElement Details about packaged medications
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... lotNumber 0..1 string Identifier assigned to batch
.... expirationDate 0..1 dateTime When batch will expire

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Medication.languagepreferredCommonLanguages
Additional Bindings Purpose
AllLanguages Max Binding
http://hl7.org/fhir/ValueSet/languages
from the FHIR Standard
Medication.codeexampleSNOMEDCTMedicationCodes
http://hl7.org/fhir/ValueSet/medication-codes
from the FHIR Standard
Medication.code.coding:ucdCoderequiredhttp://phast.fr/fhir/ValueSet/Pharmacy/CIOdc/SIPh-CIO_UCD
http://phast.fr/fhir/ValueSet/Pharmacy/CIOdc/SIPh-CIO_UCD
Medication.code.coding:ucdCode.code
Medication.code.coding:snomedMedicinalProductCoderequiredFrMedicinalProductOnly
http://interopsante.org/fhir/ValueSet/fr-medicinal-product-only
from this IG
Medication.code.coding:snomedMedicinalProductCode.code
Medication.statusrequiredMedication Status Codes
http://hl7.org/fhir/ValueSet/medication-status|4.0.1
from the FHIR Standard
Medication.formexampleSNOMEDCTFormCodes
http://hl7.org/fhir/ValueSet/medication-form-codes
from the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorMedicationIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorMedicationIf the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource
: contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4errorMedicationIf a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
: contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5errorMedicationIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceMedicationA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
frmed-med-1errorMedicationIf fr-medication is a simple medication, ingredient SHALL NOT be a Reference
: code.coding.system.exists() implies (ingredient.item as Reference).empty()
frmed-med-2errorMedication.code.coding:otherMedicationCodeIf fr-medication is an othter-medication, its code SHALL NOT be UCD
: coding.system != 'http://phast.fr/fhir/ValueSet/Pharmacy/CIOdc/SIPh-CIO_UCD'
frmed-med-3errorMedication.code.coding:otherMedicationCodeIf fr-medication is a other-medication, its code SHALL NOT be SNOMED CT
: coding.system != 'http://snomed.info/sct'
frmed-med-4errorMedication.code.coding:otherMedicationCodeif fr-medication has no code it SHALL have a text
: coding.code.exist() or text.exist()

This structure is derived from Medication

Summary

Mandatory: 1 element
Must-Support: 6 elements

Structures

This structure refers to these other structures:

Slices

This structure defines the following Slices:

  • The element 1 is sliced based on the value of Medication.code.coding

 

Other representations of profile: CSV, Excel, Schematron