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) | C | | Extension | There are no (further) constraints on this element Element idExtension Short descriptionOptional Extensions Element DefinitionOptional Extension Element - found in all resources.
Data typeExtension ConditionsThe cardinality or value of this element may be affected by these constraints: ele-1 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 idExtension.id Short descriptionUnique id for inter-element referencing DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Data typestring Mappings |
extension | C | 0..* | Extension | There are no (further) constraints on this element Element idExtension.extension Short descriptionAdditional content defined by implementations Alternate namesextensions, user content DefinitionMay 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.
CommentsThere 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 typeExtension SlicingUnordered, 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 idExtension.url Short descriptionidentifies the meaning of the extension DefinitionSource of the definition for the extension code - a logical name or a URL.
CommentsThe 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 typeuri Fixed valuehttps://fhir.kemkes.go.id/r4/StructureDefinition/MedicationType Mappings |
value[x] | | 1..1 | | Element idExtension.value[x] Short descriptionType of medication DefinitionValue 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 |
Short | Optional Extensions Element |
Definition | Optional Extension Element - found in all resources.
|
Cardinality | 1..1 |
Conditions | The cardinality or value of this element may be affected by these constraints: ele-1 |
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 | |
Extension.id |
Short | 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.
|
Cardinality | 0..1 |
Type | string |
Mappings | |
Extension.extension |
Short | Additional content defined by implementations |
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) 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 | |
Extension.url |
Short | identifies the meaning of the extension |
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] |
Short | Type of medication |
Definition | Value of extension - must be one of non-compound|compound|compound-dtd
|
Cardinality | 1..1 |
Type | CodeableConcept |
Constraints | - ele-1: All FHIR elements must have a @value or children
hasValue() or (children().count() > id.count())
|
Mappings | |