Getters and setters are used to protect your data, particularly when creating classes. For each instance variable, a getter method returns its value while a setter method sets or updates its value.
Is your feature request related to a problem? Please describe. fhir-model provides static factory helpers like String.of, Code.of, etc. However, due to the decision to use the fhir names verbatim, ...