MedicationType
Defines the CodableConcept constraints on the MedicationType extension for the minimal set of data to query and retrieve MedicationType code of the patient.
Usage
This extension is used as part of the Medication resources to store the type of medication(s).
URL
Type |
URL |
Canonical |
https://fhir.kemkes.go.id/r4/StructureDefinition/MedicationType |
Structure
Snapshot
MedicationType (Extension) | I | | Extension | There are no (further) constraints on this element Element idShort description Optional Extensions Element Definition Optional Extension Element - found in all resources.
Data type Extension Constraints- ele-1: All FHIR elements must have a @value or children
hasValue() or (children().count() > id.count()) - ext-1: Must have either extensions or value[x], not both
extension.exists() != value.exists()
Mappings |
id | | 0..1 | string | There are no (further) constraints on this element Element idShort description Unique id for inter-element referencing Definition Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Data type string Mappings |
extension | I | 0..* | Extension | There are no (further) constraints on this element Element idShort description Additional content defined by implementations Alternate names extensions, user content Definition May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
Comments There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
Data type Extension Sliced: Unordered, Open, by url(Value) Extensions are always sliced by (at least) url Constraints- ele-1: All FHIR elements must have a @value or children
hasValue() or (children().count() > id.count()) - ext-1: Must have either extensions or value[x], not both
extension.exists() != value.exists()
Mappings |
url | | 1..1 | uriFixed Value | Element idShort description identifies the meaning of the extension Definition Source of the definition for the extension code - a logical name or a URL.
Comments The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.
Data type uri Fixed value https://fhir.kemkes.go.id/r4/StructureDefinition/MedicationType Mappings |
value[x] | | 1..1 | | Element idShort description Type of medication Definition Value of extension - must be one of non-compound|compound|compound-dtd
Constraints- ele-1: All FHIR elements must have a @value or children
hasValue() or (children().count() > id.count())
Mappings |
valueCodeableConcept | | | CodeableConcept | Data type CodeableConcept |
Examples
Dictionary
Extension |
Definition | Optional Extension Element - found in all resources. |
Cardinality | 1...1 |
Invariants | - ele-1: All FHIR elements must have a @value or children
hasValue() or (children().count() > id.count()) - ext-1: Must have either extensions or value[x], not both
extension.exists() != value.exists()
|
Mappings | |
Extension.id |
Definition | Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. |
Cardinality | 0...1 |
Type | string |
Mappings | |
Extension.extension |
Definition | May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. |
Cardinality | 0...* |
Type | Extension |
Alias | extensions, user content |
Comments | There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
|
Slicing | Unordered, Open, by url(Value) |
Invariants | - ele-1: All FHIR elements must have a @value or children
hasValue() or (children().count() > id.count()) - ext-1: Must have either extensions or value[x], not both
extension.exists() != value.exists()
|
Mappings | |
Extension.url |
Definition | Source of the definition for the extension code - a logical name or a URL. |
Cardinality | 1...1 |
Type | uri |
Comments | The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.
|
Fixed Value | https://fhir.kemkes.go.id/r4/StructureDefinition/MedicationType |
Mappings | |
Extension.value[x] |
Definition | Value of extension - must be one of non-compound|compound|compound-dtd |
Cardinality | 1...1 |
Type | CodeableConcept |
Invariants | - ele-1: All FHIR elements must have a @value or children
hasValue() or (children().count() > id.count())
|
Mappings | |