pub struct Coding {
pub id: Option<String>,
pub extension: Vec<Extension>,
pub system: Option<Uri>,
pub version: Option<String>,
pub code: Option<Code>,
pub display: Option<String>,
pub user_selected: Option<Boolean>,
}Expand description
A reference to a code defined by a terminology system.
Fields§
§id: Option<String>xml:id (or equivalent in JSON)
unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
extension: Vec<Extension>Additional Content defined by implementations
May be used to represent additional information that is not part of the basic definition of the element. In order 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 is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
system: Option<Uri>Identity of the terminology system
The identification of the code system that defines the meaning of the symbol in the code.
version: Option<String>Version of the system - if relevant
The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.
code: Option<Code>Symbol in syntax defined by the system
A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).
display: Option<String>Representation defined by the system
A representation of the meaning of the code in the system, following the rules of the system.
user_selected: Option<Boolean>If this coding was chosen directly by the user
Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays).