Standard Health Record FHIR Implementation Guide

SHR MedicationOrCode Extension

 

The official URL for this profile is:

http://standardhealthrecord.org/fhir/StructureDefinition/shr-entity-MedicationOrCode-extension

A medication entity or a medication code.

This profile builds on Extension.

This profile was published on Wed Dec 20 00:00:00 EST 2017 as a draft by The MITRE Corporation: Standard Health Record Collaborative.

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

Summary

Mandatory: 0 element (1 nested mandatory element)
Fixed Value: 1 element
Prohibited: 1 element

Structures

This structure refers to these other structures:

Slices

This structure defines the following Slices:

  • The element Extension.value[x] is sliced based on the value of type:$this
NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..*SHR MedicationOrCode Extension
... url uri"http://standardhealthrecord.org/fhir/StructureDefinition/shr-entity-MedicationOrCode-extension"
... value[x] CodeableConcept, Reference(SHR Medication Profile)Slice: Unordered, Open by type:$this
... valueCodeableConcept CodeableConceptBinding: Medication Clinical Drug (RxNorm) (extensible)
... extension ..0

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension I0..*SHR MedicationOrCode Extension
... id 0..1stringxml:id (or equivalent in JSON)
... url 1..1uri"http://standardhealthrecord.org/fhir/StructureDefinition/shr-entity-MedicationOrCode-extension"
... value[x] CodeableConcept, Reference(SHR Medication Profile)Value of extension
Slice: Unordered, Open by type:$this
... valueCodeableConcept 1..1CodeableConceptValue of extension
Binding: Medication Clinical Drug (RxNorm) (extensible)

doco Documentation for this format

Summary

Mandatory: 0 element (1 nested mandatory element)
Fixed Value: 1 element
Prohibited: 1 element

Structures

This structure refers to these other structures:

Slices

This structure defines the following Slices:

  • The element Extension.value[x] is sliced based on the value of type:$this

Differential View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..*SHR MedicationOrCode Extension
... url uri"http://standardhealthrecord.org/fhir/StructureDefinition/shr-entity-MedicationOrCode-extension"
... value[x] CodeableConcept, Reference(SHR Medication Profile)Slice: Unordered, Open by type:$this
... valueCodeableConcept CodeableConceptBinding: Medication Clinical Drug (RxNorm) (extensible)
... extension ..0

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension I0..*SHR MedicationOrCode Extension
... id 0..1stringxml:id (or equivalent in JSON)
... url 1..1uri"http://standardhealthrecord.org/fhir/StructureDefinition/shr-entity-MedicationOrCode-extension"
... value[x] CodeableConcept, Reference(SHR Medication Profile)Value of extension
Slice: Unordered, Open by type:$this
... valueCodeableConcept 1..1CodeableConceptValue of extension
Binding: Medication Clinical Drug (RxNorm) (extensible)

doco Documentation for this format

Downloads: StructureDefinition: (XML, JSON, TTL), Schema: XML Schematron

 

Terminology Bindings

PathNameConformanceValueSet
Extension.valueCodeableConceptMedication Clinical Drug (RxNorm)extensibleMedication Clinical Drug (RxNorm)

 

Constraints

IdPathDetailsRequirements
ele-1ExtensionAll FHIR elements must have a @value or children
: children().count() > id.count()
ext-1ExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()