encounter

package
v0.0.0-...-9ef2174 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 27, 2024 License: Apache-2.0, MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Encounter

type Encounter struct {

	// The set of accounts that may be used for billing for this Encounter.
	Account []*fhir.Reference `fhirpath:"account"`

	// The appointment that scheduled this encounter.
	Appointment []*fhir.Reference `fhirpath:"appointment"`

	// The request this encounter satisfies (e.g. incoming referral or procedure
	// request).
	BasedOn []*fhir.Reference `fhirpath:"basedOn"`

	// Concepts representing classification of patient encounter such as ambulatory
	// (outpatient), inpatient, emergency, home health or others due to local
	// variations.
	Class *fhir.Coding `fhirpath:"class"`

	// The class history permits the tracking of the encounters transitions without
	// needing to go through the resource history. This would be used for a case
	// where an admission starts of as an emergency encounter, then transitions
	// into an inpatient scenario. Doing this and not restarting a new encounter
	// ensures that any lab/diagnostic results can more easily follow the patient
	// and not require re-processing and not get lost or cancelled during a kind of
	// discharge from emergency to inpatient.
	ClassHistory []*EncounterClassHistory `fhirpath:"classHistory"`

	// These resources do not have an independent existence apart from the resource
	// that contains them - they cannot be identified independently, and nor can
	// they have their own independent transaction scope.
	Contained []fhir.Resource `fhirpath:"contained"`

	// The list of diagnosis relevant to this encounter.
	Diagnosis []*EncounterDiagnosis `fhirpath:"diagnosis"`

	// Where a specific encounter should be classified as a part of a specific
	// episode(s) of care this field should be used. This association can
	// facilitate grouping of related encounters together for a specific purpose,
	// such as government reporting, issue tracking, association via a common
	// problem. The association is recorded on the encounter as these are typically
	// created after the episode of care and grouped on entry rather than editing
	// the episode of care to append another encounter to it (the episode of care
	// could span years).
	EpisodeOfCare []*fhir.Reference `fhirpath:"episodeOfCare"`

	// May be used to represent additional information that is not part of the
	// basic definition of the resource. 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.
	Extension []*fhir.Extension `fhirpath:"extension"`

	// Details about the admission to a healthcare service.
	Hospitalization *EncounterHospitalization `fhirpath:"hospitalization"`

	// The logical id of the resource, as used in the URL for the resource. Once
	// assigned, this value never changes.
	ID string `fhirpath:"id"`

	// Identifier(s) by which this encounter is known.
	Identifier []*fhir.Identifier `fhirpath:"identifier"`

	// A reference to a set of rules that were followed when the resource was
	// constructed, and which must be understood when processing the content.
	// Often, this is a reference to an implementation guide that defines the
	// special rules along with other profiles etc.
	ImplicitRules *fhir.URI `fhirpath:"implicitRules"`

	// The base language in which the resource is written.
	Language *fhir.Code `fhirpath:"language"`

	// Quantity of time the encounter lasted. This excludes the time during leaves
	// of absence.
	Length *fhir.Duration `fhirpath:"length"`

	// List of locations where the patient has been during this encounter.
	Location []*EncounterLocation `fhirpath:"location"`

	// The metadata about the resource. This is content that is maintained by the
	// infrastructure. Changes to the content might not always be associated with
	// version changes to the resource.
	Meta *fhir.Meta `fhirpath:"meta"`

	// May be used to represent additional information that is not part of the
	// basic definition of the resource and that modifies the understanding of the
	// element that contains it and/or the understanding of the containing
	// element's descendants. Usually modifier elements provide negation or
	// qualification. 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.
	// Applications processing a resource are required to check for modifier
	// extensions.
	// Modifier extensions SHALL NOT change the meaning of any elements on Resource
	// or DomainResource (including cannot change the meaning of modifierExtension
	// itself).
	ModifierExtension []*fhir.Extension `fhirpath:"modifierExtension"`

	// Another Encounter of which this encounter is a part of (administratively or
	// in time).
	PartOf *fhir.Reference `fhirpath:"partOf"`

	// The list of people responsible for providing the service.
	Participant []*EncounterParticipant `fhirpath:"participant"`

	// The start and end time of the encounter.
	Period *fhir.Period `fhirpath:"period"`

	// Indicates the urgency of the encounter.
	Priority *fhir.CodeableConcept `fhirpath:"priority"`

	// Reason the encounter takes place, expressed as a code. For admissions, this
	// can be used for a coded admission diagnosis.
	ReasonCode []*fhir.CodeableConcept `fhirpath:"reasonCode"`

	// Reason the encounter takes place, expressed as a code. For admissions, this
	// can be used for a coded admission diagnosis.
	ReasonReference []*fhir.Reference `fhirpath:"reasonReference"`

	// The organization that is primarily responsible for this Encounter's
	// services. This MAY be the same as the organization on the Patient record,
	// however it could be different, such as if the actor performing the services
	// was from an external organization (which may be billed seperately) for an
	// external consultation. Refer to the example bundle showing an abbreviated
	// set of Encounters for a colonoscopy.
	ServiceProvider *fhir.Reference `fhirpath:"serviceProvider"`

	// Broad categorization of the service that is to be provided (e.g.
	// cardiology).
	ServiceType *fhir.CodeableConcept `fhirpath:"serviceType"`

	// planned | arrived | triaged | in-progress | onleave | finished | cancelled
	// +.
	Status *fhir.Code `fhirpath:"status"`

	// The status history permits the encounter resource to contain the status
	// history without needing to read through the historical versions of the
	// resource, or even have the server store them.
	StatusHistory []*EncounterStatusHistory `fhirpath:"statusHistory"`

	// The patient or group present at the encounter.
	Subject *fhir.Reference `fhirpath:"subject"`

	// A human-readable narrative that contains a summary of the resource and can
	// be used to represent the content of the resource to a human. The narrative
	// need not encode all the structured data, but is required to contain
	// sufficient detail to make it "clinically safe" for a human to just read the
	// narrative. Resource definitions may define what content should be
	// represented in the narrative to ensure clinical safety.
	Text *fhir.Narrative `fhirpath:"text"`

	// Specific type of encounter (e.g. e-mail consultation, surgical day-care,
	// skilled nursing, rehabilitation).
	Type []*fhir.CodeableConcept `fhirpath:"type"`

	profileimpl.BaseDomainResource
	profileimpl.BaseResource
}

An interaction between a patient and healthcare provider(s) for the purpose of providing healthcare service(s) or assessing the health status of a patient.

Meta Details:

func (*Encounter) GetAccount

func (e *Encounter) GetAccount() []*fhir.Reference

GetAccount returns the value of the field Account. This function is safe to call on nil pointers, and will return the zero value instead.

func (*Encounter) GetAppointment

func (e *Encounter) GetAppointment() []*fhir.Reference

GetAppointment returns the value of the field Appointment. This function is safe to call on nil pointers, and will return the zero value instead.

func (*Encounter) GetBasedOn

func (e *Encounter) GetBasedOn() []*fhir.Reference

GetBasedOn returns the value of the field BasedOn. This function is safe to call on nil pointers, and will return the zero value instead.

func (*Encounter) GetClass

func (e *Encounter) GetClass() *fhir.Coding

GetClass returns the value of the field Class. This function is safe to call on nil pointers, and will return the zero value instead.

func (*Encounter) GetClassHistory

func (e *Encounter) GetClassHistory() []*EncounterClassHistory

GetClassHistory returns the value of the field ClassHistory. This function is safe to call on nil pointers, and will return the zero value instead.

func (*Encounter) GetContained

func (e *Encounter) GetContained() []fhir.Resource

GetContained returns the value of the field Contained. This function is safe to call on nil pointers, and will return the zero value instead.

func (*Encounter) GetDiagnosis

func (e *Encounter) GetDiagnosis() []*EncounterDiagnosis

GetDiagnosis returns the value of the field Diagnosis. This function is safe to call on nil pointers, and will return the zero value instead.

func (*Encounter) GetEpisodeOfCare

func (e *Encounter) GetEpisodeOfCare() []*fhir.Reference

GetEpisodeOfCare returns the value of the field EpisodeOfCare. This function is safe to call on nil pointers, and will return the zero value instead.

func (*Encounter) GetExtension

func (e *Encounter) GetExtension() []*fhir.Extension

GetExtension returns the value of the field Extension. This function is safe to call on nil pointers, and will return the zero value instead.

func (*Encounter) GetHospitalization

func (e *Encounter) GetHospitalization() *EncounterHospitalization

GetHospitalization returns the value of the field Hospitalization. This function is safe to call on nil pointers, and will return the zero value instead.

func (*Encounter) GetID

func (e *Encounter) GetID() string

GetID returns the value of the field ID. This function is safe to call on nil pointers, and will return the zero value instead.

func (*Encounter) GetIdentifier

func (e *Encounter) GetIdentifier() []*fhir.Identifier

GetIdentifier returns the value of the field Identifier. This function is safe to call on nil pointers, and will return the zero value instead.

func (*Encounter) GetImplicitRules

func (e *Encounter) GetImplicitRules() *fhir.URI

GetImplicitRules returns the value of the field ImplicitRules. This function is safe to call on nil pointers, and will return the zero value instead.

func (*Encounter) GetLanguage

func (e *Encounter) GetLanguage() *fhir.Code

GetLanguage returns the value of the field Language. This function is safe to call on nil pointers, and will return the zero value instead.

func (*Encounter) GetLength

func (e *Encounter) GetLength() *fhir.Duration

GetLength returns the value of the field Length. This function is safe to call on nil pointers, and will return the zero value instead.

func (*Encounter) GetLocation

func (e *Encounter) GetLocation() []*EncounterLocation

GetLocation returns the value of the field Location. This function is safe to call on nil pointers, and will return the zero value instead.

func (*Encounter) GetMeta

func (e *Encounter) GetMeta() *fhir.Meta

GetMeta returns the value of the field Meta. This function is safe to call on nil pointers, and will return the zero value instead.

func (*Encounter) GetModifierExtension

func (e *Encounter) GetModifierExtension() []*fhir.Extension

GetModifierExtension returns the value of the field ModifierExtension. This function is safe to call on nil pointers, and will return the zero value instead.

func (*Encounter) GetPartOf

func (e *Encounter) GetPartOf() *fhir.Reference

GetPartOf returns the value of the field PartOf. This function is safe to call on nil pointers, and will return the zero value instead.

func (*Encounter) GetParticipant

func (e *Encounter) GetParticipant() []*EncounterParticipant

GetParticipant returns the value of the field Participant. This function is safe to call on nil pointers, and will return the zero value instead.

func (*Encounter) GetPeriod

func (e *Encounter) GetPeriod() *fhir.Period

GetPeriod returns the value of the field Period. This function is safe to call on nil pointers, and will return the zero value instead.

func (*Encounter) GetPriority

func (e *Encounter) GetPriority() *fhir.CodeableConcept

GetPriority returns the value of the field Priority. This function is safe to call on nil pointers, and will return the zero value instead.

func (*Encounter) GetReasonCode

func (e *Encounter) GetReasonCode() []*fhir.CodeableConcept

GetReasonCode returns the value of the field ReasonCode. This function is safe to call on nil pointers, and will return the zero value instead.

func (*Encounter) GetReasonReference

func (e *Encounter) GetReasonReference() []*fhir.Reference

GetReasonReference returns the value of the field ReasonReference. This function is safe to call on nil pointers, and will return the zero value instead.

func (*Encounter) GetServiceProvider

func (e *Encounter) GetServiceProvider() *fhir.Reference

GetServiceProvider returns the value of the field ServiceProvider. This function is safe to call on nil pointers, and will return the zero value instead.

func (*Encounter) GetServiceType

func (e *Encounter) GetServiceType() *fhir.CodeableConcept

GetServiceType returns the value of the field ServiceType. This function is safe to call on nil pointers, and will return the zero value instead.

func (*Encounter) GetStatus

func (e *Encounter) GetStatus() *fhir.Code

GetStatus returns the value of the field Status. This function is safe to call on nil pointers, and will return the zero value instead.

func (*Encounter) GetStatusHistory

func (e *Encounter) GetStatusHistory() []*EncounterStatusHistory

GetStatusHistory returns the value of the field StatusHistory. This function is safe to call on nil pointers, and will return the zero value instead.

func (*Encounter) GetSubject

func (e *Encounter) GetSubject() *fhir.Reference

GetSubject returns the value of the field Subject. This function is safe to call on nil pointers, and will return the zero value instead.

func (*Encounter) GetText

func (e *Encounter) GetText() *fhir.Narrative

GetText returns the value of the field Text. This function is safe to call on nil pointers, and will return the zero value instead.

func (*Encounter) GetType

func (e *Encounter) GetType() []*fhir.CodeableConcept

GetType returns the value of the field Type. This function is safe to call on nil pointers, and will return the zero value instead.

func (*Encounter) MarshalJSON

func (e *Encounter) MarshalJSON() ([]byte, error)

func (*Encounter) UnmarshalJSON

func (e *Encounter) UnmarshalJSON(data []byte) error

type EncounterClassHistory

type EncounterClassHistory struct {

	// inpatient | outpatient | ambulatory | emergency +.
	Class *fhir.Coding `fhirpath:"class"`

	// 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.
	Extension []*fhir.Extension `fhirpath:"extension"`

	// Unique id for the element within a resource (for internal references). This
	// may be any string value that does not contain spaces.
	ID string `fhirpath:"id"`

	// May be used to represent additional information that is not part of the
	// basic definition of the element and that modifies the understanding of the
	// element in which it is contained and/or the understanding of the containing
	// element's descendants. Usually modifier elements provide negation or
	// qualification. 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.
	// Applications processing a resource are required to check for modifier
	// extensions.
	// Modifier extensions SHALL NOT change the meaning of any elements on Resource
	// or DomainResource (including cannot change the meaning of modifierExtension
	// itself).
	ModifierExtension []*fhir.Extension `fhirpath:"modifierExtension"`

	// The time that the episode was in the specified class.
	Period *fhir.Period `fhirpath:"period"`

	profileimpl.BaseBackboneElement
	profileimpl.BaseElement
}

List of past encounter classes// The class history permits the tracking of the encounters transitions without needing to go through the resource history. This would be used for a case where an admission starts of as an emergency encounter, then transitions into an inpatient scenario. Doing this and not restarting a new encounter ensures that any lab/diagnostic results can more easily follow the patient and not require re-processing and not get lost or cancelled during a kind of discharge from emergency to inpatient.

Meta Details:

  • Package IG: hl7.fhir.r4.core@4.0.1
  • StructureDefinition:
  • Source File: StructureDefinition-Encounter.json

func (*EncounterClassHistory) GetClass

func (ech *EncounterClassHistory) GetClass() *fhir.Coding

GetClass returns the value of the field Class. This function is safe to call on nil pointers, and will return the zero value instead.

func (*EncounterClassHistory) GetExtension

func (ech *EncounterClassHistory) GetExtension() []*fhir.Extension

GetExtension returns the value of the field Extension. This function is safe to call on nil pointers, and will return the zero value instead.

func (*EncounterClassHistory) GetID

func (ech *EncounterClassHistory) GetID() string

GetID returns the value of the field ID. This function is safe to call on nil pointers, and will return the zero value instead.

func (*EncounterClassHistory) GetModifierExtension

func (ech *EncounterClassHistory) GetModifierExtension() []*fhir.Extension

GetModifierExtension returns the value of the field ModifierExtension. This function is safe to call on nil pointers, and will return the zero value instead.

func (*EncounterClassHistory) GetPeriod

func (ech *EncounterClassHistory) GetPeriod() *fhir.Period

GetPeriod returns the value of the field Period. This function is safe to call on nil pointers, and will return the zero value instead.

func (*EncounterClassHistory) MarshalJSON

func (ech *EncounterClassHistory) MarshalJSON() ([]byte, error)

func (*EncounterClassHistory) UnmarshalJSON

func (ech *EncounterClassHistory) UnmarshalJSON(data []byte) error

type EncounterDiagnosis

type EncounterDiagnosis struct {

	// Reason the encounter takes place, as specified using information from
	// another resource. For admissions, this is the admission diagnosis. The
	// indication will typically be a Condition (with other resources referenced in
	// the evidence.detail), or a Procedure.
	Condition *fhir.Reference `fhirpath:"condition"`

	// 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.
	Extension []*fhir.Extension `fhirpath:"extension"`

	// Unique id for the element within a resource (for internal references). This
	// may be any string value that does not contain spaces.
	ID string `fhirpath:"id"`

	// May be used to represent additional information that is not part of the
	// basic definition of the element and that modifies the understanding of the
	// element in which it is contained and/or the understanding of the containing
	// element's descendants. Usually modifier elements provide negation or
	// qualification. 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.
	// Applications processing a resource are required to check for modifier
	// extensions.
	// Modifier extensions SHALL NOT change the meaning of any elements on Resource
	// or DomainResource (including cannot change the meaning of modifierExtension
	// itself).
	ModifierExtension []*fhir.Extension `fhirpath:"modifierExtension"`

	// Ranking of the diagnosis (for each role type).
	Rank *fhir.PositiveInt `fhirpath:"rank"`

	// Role that this diagnosis has within the encounter (e.g. admission, billing,
	// discharge …).
	Use *fhir.CodeableConcept `fhirpath:"use"`

	profileimpl.BaseBackboneElement
	profileimpl.BaseElement
}

The list of diagnosis relevant to this encounter// The list of diagnosis relevant to this encounter.

Meta Details:

  • Package IG: hl7.fhir.r4.core@4.0.1
  • StructureDefinition:
  • Source File: StructureDefinition-Encounter.json

func (*EncounterDiagnosis) GetCondition

func (ed *EncounterDiagnosis) GetCondition() *fhir.Reference

GetCondition returns the value of the field Condition. This function is safe to call on nil pointers, and will return the zero value instead.

func (*EncounterDiagnosis) GetExtension

func (ed *EncounterDiagnosis) GetExtension() []*fhir.Extension

GetExtension returns the value of the field Extension. This function is safe to call on nil pointers, and will return the zero value instead.

func (*EncounterDiagnosis) GetID

func (ed *EncounterDiagnosis) GetID() string

GetID returns the value of the field ID. This function is safe to call on nil pointers, and will return the zero value instead.

func (*EncounterDiagnosis) GetModifierExtension

func (ed *EncounterDiagnosis) GetModifierExtension() []*fhir.Extension

GetModifierExtension returns the value of the field ModifierExtension. This function is safe to call on nil pointers, and will return the zero value instead.

func (*EncounterDiagnosis) GetRank

func (ed *EncounterDiagnosis) GetRank() *fhir.PositiveInt

GetRank returns the value of the field Rank. This function is safe to call on nil pointers, and will return the zero value instead.

func (*EncounterDiagnosis) GetUse

func (ed *EncounterDiagnosis) GetUse() *fhir.CodeableConcept

GetUse returns the value of the field Use. This function is safe to call on nil pointers, and will return the zero value instead.

func (*EncounterDiagnosis) MarshalJSON

func (ed *EncounterDiagnosis) MarshalJSON() ([]byte, error)

func (*EncounterDiagnosis) UnmarshalJSON

func (ed *EncounterDiagnosis) UnmarshalJSON(data []byte) error

type EncounterHospitalization

type EncounterHospitalization struct {

	// From where patient was admitted (physician referral, transfer).
	AdmitSource *fhir.CodeableConcept `fhirpath:"admitSource"`

	// Location/organization to which the patient is discharged.
	Destination *fhir.Reference `fhirpath:"destination"`

	// Diet preferences reported by the patient.
	DietPreference []*fhir.CodeableConcept `fhirpath:"dietPreference"`

	// Category or kind of location after discharge.
	DischargeDisposition *fhir.CodeableConcept `fhirpath:"dischargeDisposition"`

	// 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.
	Extension []*fhir.Extension `fhirpath:"extension"`

	// Unique id for the element within a resource (for internal references). This
	// may be any string value that does not contain spaces.
	ID string `fhirpath:"id"`

	// May be used to represent additional information that is not part of the
	// basic definition of the element and that modifies the understanding of the
	// element in which it is contained and/or the understanding of the containing
	// element's descendants. Usually modifier elements provide negation or
	// qualification. 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.
	// Applications processing a resource are required to check for modifier
	// extensions.
	// Modifier extensions SHALL NOT change the meaning of any elements on Resource
	// or DomainResource (including cannot change the meaning of modifierExtension
	// itself).
	ModifierExtension []*fhir.Extension `fhirpath:"modifierExtension"`

	// The location/organization from which the patient came before admission.
	Origin *fhir.Reference `fhirpath:"origin"`

	// Pre-admission identifier.
	PreAdmissionIdentifier *fhir.Identifier `fhirpath:"preAdmissionIdentifier"`

	// Whether this hospitalization is a readmission and why if known.
	ReAdmission *fhir.CodeableConcept `fhirpath:"reAdmission"`

	// Any special requests that have been made for this hospitalization encounter,
	// such as the provision of specific equipment or other things.
	SpecialArrangement []*fhir.CodeableConcept `fhirpath:"specialArrangement"`

	// Special courtesies (VIP, board member).
	SpecialCourtesy []*fhir.CodeableConcept `fhirpath:"specialCourtesy"`

	profileimpl.BaseBackboneElement
	profileimpl.BaseElement
}

Details about the admission to a healthcare service// Details about the admission to a healthcare service.// An Encounter may cover more than just the inpatient stay. Contexts such as outpatients, community clinics, and aged care facilities are also included. The duration recorded in the period of this encounter covers the entire scope of this hospitalization record.

Meta Details:

  • Package IG: hl7.fhir.r4.core@4.0.1
  • StructureDefinition:
  • Source File: StructureDefinition-Encounter.json

func (*EncounterHospitalization) GetAdmitSource

func (eh *EncounterHospitalization) GetAdmitSource() *fhir.CodeableConcept

GetAdmitSource returns the value of the field AdmitSource. This function is safe to call on nil pointers, and will return the zero value instead.

func (*EncounterHospitalization) GetDestination

func (eh *EncounterHospitalization) GetDestination() *fhir.Reference

GetDestination returns the value of the field Destination. This function is safe to call on nil pointers, and will return the zero value instead.

func (*EncounterHospitalization) GetDietPreference

func (eh *EncounterHospitalization) GetDietPreference() []*fhir.CodeableConcept

GetDietPreference returns the value of the field DietPreference. This function is safe to call on nil pointers, and will return the zero value instead.

func (*EncounterHospitalization) GetDischargeDisposition

func (eh *EncounterHospitalization) GetDischargeDisposition() *fhir.CodeableConcept

GetDischargeDisposition returns the value of the field DischargeDisposition. This function is safe to call on nil pointers, and will return the zero value instead.

func (*EncounterHospitalization) GetExtension

func (eh *EncounterHospitalization) GetExtension() []*fhir.Extension

GetExtension returns the value of the field Extension. This function is safe to call on nil pointers, and will return the zero value instead.

func (*EncounterHospitalization) GetID

func (eh *EncounterHospitalization) GetID() string

GetID returns the value of the field ID. This function is safe to call on nil pointers, and will return the zero value instead.

func (*EncounterHospitalization) GetModifierExtension

func (eh *EncounterHospitalization) GetModifierExtension() []*fhir.Extension

GetModifierExtension returns the value of the field ModifierExtension. This function is safe to call on nil pointers, and will return the zero value instead.

func (*EncounterHospitalization) GetOrigin

func (eh *EncounterHospitalization) GetOrigin() *fhir.Reference

GetOrigin returns the value of the field Origin. This function is safe to call on nil pointers, and will return the zero value instead.

func (*EncounterHospitalization) GetPreAdmissionIdentifier

func (eh *EncounterHospitalization) GetPreAdmissionIdentifier() *fhir.Identifier

GetPreAdmissionIdentifier returns the value of the field PreAdmissionIdentifier. This function is safe to call on nil pointers, and will return the zero value instead.

func (*EncounterHospitalization) GetReAdmission

func (eh *EncounterHospitalization) GetReAdmission() *fhir.CodeableConcept

GetReAdmission returns the value of the field ReAdmission. This function is safe to call on nil pointers, and will return the zero value instead.

func (*EncounterHospitalization) GetSpecialArrangement

func (eh *EncounterHospitalization) GetSpecialArrangement() []*fhir.CodeableConcept

GetSpecialArrangement returns the value of the field SpecialArrangement. This function is safe to call on nil pointers, and will return the zero value instead.

func (*EncounterHospitalization) GetSpecialCourtesy

func (eh *EncounterHospitalization) GetSpecialCourtesy() []*fhir.CodeableConcept

GetSpecialCourtesy returns the value of the field SpecialCourtesy. This function is safe to call on nil pointers, and will return the zero value instead.

func (*EncounterHospitalization) MarshalJSON

func (eh *EncounterHospitalization) MarshalJSON() ([]byte, error)

func (*EncounterHospitalization) UnmarshalJSON

func (eh *EncounterHospitalization) UnmarshalJSON(data []byte) error

type EncounterLocation

type EncounterLocation struct {

	// 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.
	Extension []*fhir.Extension `fhirpath:"extension"`

	// Unique id for the element within a resource (for internal references). This
	// may be any string value that does not contain spaces.
	ID string `fhirpath:"id"`

	// The location where the encounter takes place.
	Location *fhir.Reference `fhirpath:"location"`

	// May be used to represent additional information that is not part of the
	// basic definition of the element and that modifies the understanding of the
	// element in which it is contained and/or the understanding of the containing
	// element's descendants. Usually modifier elements provide negation or
	// qualification. 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.
	// Applications processing a resource are required to check for modifier
	// extensions.
	// Modifier extensions SHALL NOT change the meaning of any elements on Resource
	// or DomainResource (including cannot change the meaning of modifierExtension
	// itself).
	ModifierExtension []*fhir.Extension `fhirpath:"modifierExtension"`

	// Time period during which the patient was present at the location.
	Period *fhir.Period `fhirpath:"period"`

	// This will be used to specify the required levels (bed/ward/room/etc.)
	// desired to be recorded to simplify either messaging or query.
	PhysicalType *fhir.CodeableConcept `fhirpath:"physicalType"`

	// The status of the participants' presence at the specified location during
	// the period specified. If the participant is no longer at the location, then
	// the period will have an end date/time.
	Status *fhir.Code `fhirpath:"status"`

	profileimpl.BaseBackboneElement
	profileimpl.BaseElement
}

List of locations where the patient has been// List of locations where the patient has been during this encounter.// Virtual encounters can be recorded in the Encounter by specifying a location reference to a location of type "kind" such as "client's home" and an encounter.class = "virtual".

Meta Details:

  • Package IG: hl7.fhir.r4.core@4.0.1
  • StructureDefinition:
  • Source File: StructureDefinition-Encounter.json

func (*EncounterLocation) GetExtension

func (el *EncounterLocation) GetExtension() []*fhir.Extension

GetExtension returns the value of the field Extension. This function is safe to call on nil pointers, and will return the zero value instead.

func (*EncounterLocation) GetID

func (el *EncounterLocation) GetID() string

GetID returns the value of the field ID. This function is safe to call on nil pointers, and will return the zero value instead.

func (*EncounterLocation) GetLocation

func (el *EncounterLocation) GetLocation() *fhir.Reference

GetLocation returns the value of the field Location. This function is safe to call on nil pointers, and will return the zero value instead.

func (*EncounterLocation) GetModifierExtension

func (el *EncounterLocation) GetModifierExtension() []*fhir.Extension

GetModifierExtension returns the value of the field ModifierExtension. This function is safe to call on nil pointers, and will return the zero value instead.

func (*EncounterLocation) GetPeriod

func (el *EncounterLocation) GetPeriod() *fhir.Period

GetPeriod returns the value of the field Period. This function is safe to call on nil pointers, and will return the zero value instead.

func (*EncounterLocation) GetPhysicalType

func (el *EncounterLocation) GetPhysicalType() *fhir.CodeableConcept

GetPhysicalType returns the value of the field PhysicalType. This function is safe to call on nil pointers, and will return the zero value instead.

func (*EncounterLocation) GetStatus

func (el *EncounterLocation) GetStatus() *fhir.Code

GetStatus returns the value of the field Status. This function is safe to call on nil pointers, and will return the zero value instead.

func (*EncounterLocation) MarshalJSON

func (el *EncounterLocation) MarshalJSON() ([]byte, error)

func (*EncounterLocation) UnmarshalJSON

func (el *EncounterLocation) UnmarshalJSON(data []byte) error

type EncounterParticipant

type EncounterParticipant struct {

	// 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.
	Extension []*fhir.Extension `fhirpath:"extension"`

	// Unique id for the element within a resource (for internal references). This
	// may be any string value that does not contain spaces.
	ID string `fhirpath:"id"`

	// Persons involved in the encounter other than the patient.
	Individual *fhir.Reference `fhirpath:"individual"`

	// May be used to represent additional information that is not part of the
	// basic definition of the element and that modifies the understanding of the
	// element in which it is contained and/or the understanding of the containing
	// element's descendants. Usually modifier elements provide negation or
	// qualification. 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.
	// Applications processing a resource are required to check for modifier
	// extensions.
	// Modifier extensions SHALL NOT change the meaning of any elements on Resource
	// or DomainResource (including cannot change the meaning of modifierExtension
	// itself).
	ModifierExtension []*fhir.Extension `fhirpath:"modifierExtension"`

	// The period of time that the specified participant participated in the
	// encounter. These can overlap or be sub-sets of the overall encounter's
	// period.
	Period *fhir.Period `fhirpath:"period"`

	// Role of participant in encounter.
	Type []*fhir.CodeableConcept `fhirpath:"type"`

	profileimpl.BaseBackboneElement
	profileimpl.BaseElement
}

List of participants involved in the encounter// The list of people responsible for providing the service.

Meta Details:

  • Package IG: hl7.fhir.r4.core@4.0.1
  • StructureDefinition:
  • Source File: StructureDefinition-Encounter.json

func (*EncounterParticipant) GetExtension

func (ep *EncounterParticipant) GetExtension() []*fhir.Extension

GetExtension returns the value of the field Extension. This function is safe to call on nil pointers, and will return the zero value instead.

func (*EncounterParticipant) GetID

func (ep *EncounterParticipant) GetID() string

GetID returns the value of the field ID. This function is safe to call on nil pointers, and will return the zero value instead.

func (*EncounterParticipant) GetIndividual

func (ep *EncounterParticipant) GetIndividual() *fhir.Reference

GetIndividual returns the value of the field Individual. This function is safe to call on nil pointers, and will return the zero value instead.

func (*EncounterParticipant) GetModifierExtension

func (ep *EncounterParticipant) GetModifierExtension() []*fhir.Extension

GetModifierExtension returns the value of the field ModifierExtension. This function is safe to call on nil pointers, and will return the zero value instead.

func (*EncounterParticipant) GetPeriod

func (ep *EncounterParticipant) GetPeriod() *fhir.Period

GetPeriod returns the value of the field Period. This function is safe to call on nil pointers, and will return the zero value instead.

func (*EncounterParticipant) GetType

func (ep *EncounterParticipant) GetType() []*fhir.CodeableConcept

GetType returns the value of the field Type. This function is safe to call on nil pointers, and will return the zero value instead.

func (*EncounterParticipant) MarshalJSON

func (ep *EncounterParticipant) MarshalJSON() ([]byte, error)

func (*EncounterParticipant) UnmarshalJSON

func (ep *EncounterParticipant) UnmarshalJSON(data []byte) error

type EncounterStatusHistory

type EncounterStatusHistory struct {

	// 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.
	Extension []*fhir.Extension `fhirpath:"extension"`

	// Unique id for the element within a resource (for internal references). This
	// may be any string value that does not contain spaces.
	ID string `fhirpath:"id"`

	// May be used to represent additional information that is not part of the
	// basic definition of the element and that modifies the understanding of the
	// element in which it is contained and/or the understanding of the containing
	// element's descendants. Usually modifier elements provide negation or
	// qualification. 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.
	// Applications processing a resource are required to check for modifier
	// extensions.
	// Modifier extensions SHALL NOT change the meaning of any elements on Resource
	// or DomainResource (including cannot change the meaning of modifierExtension
	// itself).
	ModifierExtension []*fhir.Extension `fhirpath:"modifierExtension"`

	// The time that the episode was in the specified status.
	Period *fhir.Period `fhirpath:"period"`

	// planned | arrived | triaged | in-progress | onleave | finished | cancelled
	// +.
	Status *fhir.Code `fhirpath:"status"`

	profileimpl.BaseBackboneElement
	profileimpl.BaseElement
}

List of past encounter statuses// The status history permits the encounter resource to contain the status history without needing to read through the historical versions of the resource, or even have the server store them.// The current status is always found in the current version of the resource, not the status history.

Meta Details:

  • Package IG: hl7.fhir.r4.core@4.0.1
  • StructureDefinition:
  • Source File: StructureDefinition-Encounter.json

func (*EncounterStatusHistory) GetExtension

func (esh *EncounterStatusHistory) GetExtension() []*fhir.Extension

GetExtension returns the value of the field Extension. This function is safe to call on nil pointers, and will return the zero value instead.

func (*EncounterStatusHistory) GetID

func (esh *EncounterStatusHistory) GetID() string

GetID returns the value of the field ID. This function is safe to call on nil pointers, and will return the zero value instead.

func (*EncounterStatusHistory) GetModifierExtension

func (esh *EncounterStatusHistory) GetModifierExtension() []*fhir.Extension

GetModifierExtension returns the value of the field ModifierExtension. This function is safe to call on nil pointers, and will return the zero value instead.

func (*EncounterStatusHistory) GetPeriod

func (esh *EncounterStatusHistory) GetPeriod() *fhir.Period

GetPeriod returns the value of the field Period. This function is safe to call on nil pointers, and will return the zero value instead.

func (*EncounterStatusHistory) GetStatus

func (esh *EncounterStatusHistory) GetStatus() *fhir.Code

GetStatus returns the value of the field Status. This function is safe to call on nil pointers, and will return the zero value instead.

func (*EncounterStatusHistory) MarshalJSON

func (esh *EncounterStatusHistory) MarshalJSON() ([]byte, error)

func (*EncounterStatusHistory) UnmarshalJSON

func (esh *EncounterStatusHistory) UnmarshalJSON(data []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL