This page is part of a downloaded copy of this specification. This page is part of the Da Vinci Coverage Requirements Discovery (CRD) FHIR IG (v0.1.0: STU 1 Ballot 1) based on FHIR v3.5.0. . For a full list of available versions, see the Directory of published versions

This is a pre-release version (Ballot 1) of Coverage Requirements Discovery (CRD) R1/STU. There is no current official version.
For a full list of available versions, see the Directory of published versions .

## StructureDefinition: CRD Medication

The official URL for this profile is:

    http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-medication-r4

### Formal Views of Profile Content

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

- Text Summary
- Differential Table
- Snapshot Table
- All

This structure is derived from Medication

Summary

Mandatory: 1 element
Must-Support: 4 elements

This structure is derived from Medication

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
Medication |  | 0..* |  |
code | S | 1..1 | CodeableConcept | Binding: http://hl7.org/fhir/us/core/ValueSet/us-core-medication-codes (required)
coding | S | 0..* | Coding |
system | S | 0..1 | uri |
code | S | 0..1 | code |
Documentation for this format

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
Medication | I | 0..* |  | Definition of a Medication
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
language |  | 0..1 | code | Language of the resource content Binding: Common Languages (preferred)
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
code | S Î£ | 1..1 | CodeableConcept | Codes that identify this medication Binding: http://hl7.org/fhir/us/core/ValueSet/us-core-medication-codes (required)
id |  | 0..1 | string | xml:id (or equivalent in JSON)
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
coding | S Î£ | 0..* | Coding | Code defined by a terminology system
id |  | 0..1 | string | xml:id (or equivalent in JSON)
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
system | S Î£ | 0..1 | uri | Identity of the terminology system
version | Î£ | 0..1 | string | Version of the system - if relevant
code | S Î£ | 0..1 | code | Symbol in syntax defined by the system
display | Î£ | 0..1 | string | Representation defined by the system
userSelected | Î£ | 0..1 | boolean | If this coding was chosen directly by the user
text | Î£ | 0..1 | string | Plain text representation of the concept
status | ?!Î£ | 0..1 | code | active | inactive | entered-in-error Binding: MedicationStatus (required)
manufacturer | Î£ | 0..1 | Reference(Organization) | Manufacturer of the item
form |  | 0..1 | CodeableConcept | powder | tablets | capsule + Binding: SNOMEDCTFormCodes (example)
amount | Î£ | 0..1 | SimpleQuantity | Amount of drug in package
ingredient | I | 0..* | BackboneElement | Active or inactive ingredient
id |  | 0..1 | string | xml:id (or equivalent in JSON)
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Î£ | 0..* | Extension | Extensions that cannot be ignored if unrecognized
item[x] |  | 1..1 | CodeableConcept, Reference(Substance | Medication) | The actual ingredient or content
isActive |  | 0..1 | boolean | Active ingredient indicator
amount |  | 0..1 | Ratio | Quantity of ingredient present
batch | I | 0..1 | BackboneElement | Details about packaged medications
id |  | 0..1 | string | xml:id (or equivalent in JSON)
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Î£ | 0..* | Extension | Extensions that cannot be ignored if unrecognized
lotNumber |  | 0..1 | string | Identifier assigned to batch
expirationDate |  | 0..1 | dateTime | When batch will expire
serialNumber |  | 0..1 | string | Identifier assigned to a drug at the time of manufacture
Documentation for this format

This structure is derived from Medication

Summary

Mandatory: 1 element
Must-Support: 4 elements

Differential View

This structure is derived from Medication

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
Medication |  | 0..* |  |
code | S | 1..1 | CodeableConcept | Binding: http://hl7.org/fhir/us/core/ValueSet/us-core-medication-codes (required)
coding | S | 0..* | Coding |
system | S | 0..1 | uri |
code | S | 0..1 | code |
Documentation for this format

Snapshot View

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
Medication | I | 0..* |  | Definition of a Medication
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
language |  | 0..1 | code | Language of the resource content Binding: Common Languages (preferred)
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
code | S Î£ | 1..1 | CodeableConcept | Codes that identify this medication Binding: http://hl7.org/fhir/us/core/ValueSet/us-core-medication-codes (required)
id |  | 0..1 | string | xml:id (or equivalent in JSON)
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
coding | S Î£ | 0..* | Coding | Code defined by a terminology system
id |  | 0..1 | string | xml:id (or equivalent in JSON)
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
system | S Î£ | 0..1 | uri | Identity of the terminology system
version | Î£ | 0..1 | string | Version of the system - if relevant
code | S Î£ | 0..1 | code | Symbol in syntax defined by the system
display | Î£ | 0..1 | string | Representation defined by the system
userSelected | Î£ | 0..1 | boolean | If this coding was chosen directly by the user
text | Î£ | 0..1 | string | Plain text representation of the concept
status | ?!Î£ | 0..1 | code | active | inactive | entered-in-error Binding: MedicationStatus (required)
manufacturer | Î£ | 0..1 | Reference(Organization) | Manufacturer of the item
form |  | 0..1 | CodeableConcept | powder | tablets | capsule + Binding: SNOMEDCTFormCodes (example)
amount | Î£ | 0..1 | SimpleQuantity | Amount of drug in package
ingredient | I | 0..* | BackboneElement | Active or inactive ingredient
id |  | 0..1 | string | xml:id (or equivalent in JSON)
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Î£ | 0..* | Extension | Extensions that cannot be ignored if unrecognized
item[x] |  | 1..1 | CodeableConcept, Reference(Substance | Medication) | The actual ingredient or content
isActive |  | 0..1 | boolean | Active ingredient indicator
amount |  | 0..1 | Ratio | Quantity of ingredient present
batch | I | 0..1 | BackboneElement | Details about packaged medications
id |  | 0..1 | string | xml:id (or equivalent in JSON)
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Î£ | 0..* | Extension | Extensions that cannot be ignored if unrecognized
lotNumber |  | 0..1 | string | Identifier assigned to batch
expirationDate |  | 0..1 | dateTime | When batch will expire
serialNumber |  | 0..1 | string | Identifier assigned to a drug at the time of manufacture
Documentation for this format

Other representations of profile: Schematron

### Terminology Bindings

Path | Name | Conformance | ValueSet
Medication.language | Language | preferred | Common Languages
Medication.code | ?ext | required | http://hl7.org/fhir/us/core/ValueSet/us-core-medication-codes
Medication.status | MedicationStatus | required | MedicationStatus
Medication.form | SNOMED CT Form Codes | example | SNOMEDCTFormCodes

### Constraints

Id | Path | Details | Requirements
dom-2 | Medication | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() |
dom-4 | Medication | If 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-3 | Medication | If 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-6 | Medication | A resource should have narrative for robust management : text.div.exists() |
dom-5 | Medication | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() |
ele-1 | Medication.ingredient | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ele-1 | Medication.batch | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |