EncounterHospitalization class

Annotations
  • @freezed

Constructors

EncounterHospitalization({@JsonKey(name: 'id') FhirId? fhirId, @JsonKey(name: 'extension') List<FhirExtension>? extension_, @JsonKey(name: 'fhir_comments') List<String>? fhirComments, List<FhirExtension>? modifierExtension, Identifier? preAdmissionIdentifier, Reference? origin, CodeableConcept? admitSource, List<Reference>? admittingDiagnosis, CodeableConcept? reAdmission, List<CodeableConcept>? dietPreference, List<CodeableConcept>? specialCourtesy, List<CodeableConcept>? specialArrangement, Reference? destination, CodeableConcept? dischargeDisposition, List<Reference>? dischargeDiagnosis})
const
factory
EncounterHospitalization.fromJson(Map<String, dynamic> json)
Factory constructor, accepts Map<String, dynamic> as an argument
factory
EncounterHospitalization.fromJsonString(String source)
Acts like a constructor, returns a EncounterHospitalization, accepts a String as an argument, mostly because I got tired of typing it out
factory
EncounterHospitalization.fromYaml(dynamic yaml)
Factory constructor, accepts a String in YAML format as an argument
factory

Properties

admitSource CodeableConcept?
no setterinherited
admittingDiagnosis List<Reference>?
no setterinherited
copyWith → $EncounterHospitalizationCopyWith<EncounterHospitalization>
no setterinherited
destination Reference?
no setterinherited
dietPreference List<CodeableConcept>?
no setterinherited
dischargeDiagnosis List<Reference>?
no setterinherited
dischargeDisposition CodeableConcept?
no setterinherited
extension_ List<FhirExtension>?
no setterinherited
fhirComments List<String>?
no setterinherited
fhirId FhirId?
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
modifierExtension List<FhirExtension>?
no setterinherited
origin Reference?
no setterinherited
preAdmissionIdentifier Identifier?
no setterinherited
reAdmission CodeableConcept?
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
specialArrangement List<CodeableConcept>?
no setterinherited
specialCourtesy List<CodeableConcept>?
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
inherited
toJsonString() String
Another convenience method because more and more I'm transmitting FHIR data as a String and not a Map
toString() String
A string representation of this object.
inherited
toYaml() String
Produces a Yaml formatted String version of the object

Operators

operator ==(Object other) bool
The equality operator.
inherited