Documentation ¶
Index ¶
- func GetAllowedResourceTypes() []string
- func GetTableNameByResourceType(resourceType string) (string, error)
- func Migrate(gormClient *gorm.DB) error
- type FhirAccount
- type FhirAdverseEvent
- type FhirAllergyIntolerance
- type FhirAppointment
- type FhirBinary
- type FhirCarePlan
- type FhirCareTeam
- type FhirClaim
- type FhirClaimResponse
- type FhirComposition
- type FhirCondition
- type FhirConsent
- type FhirCoverage
- type FhirCoverageEligibilityRequest
- type FhirCoverageEligibilityResponse
- type FhirDevice
- type FhirDeviceRequest
- type FhirDiagnosticReport
- type FhirDocumentManifest
- type FhirDocumentReference
- type FhirEncounter
- type FhirEndpoint
- type FhirEnrollmentRequest
- type FhirEnrollmentResponse
- type FhirExplanationOfBenefit
- type FhirFamilyMemberHistory
- type FhirGoal
- type FhirImagingStudy
- type FhirImmunization
- type FhirInsurancePlan
- type FhirLocation
- type FhirMedia
- type FhirMedication
- type FhirMedicationAdministration
- type FhirMedicationDispense
- type FhirMedicationRequest
- type FhirMedicationStatement
- type FhirNutritionOrder
- type FhirObservation
- type FhirOrganization
- type FhirOrganizationAffiliation
- type FhirPatient
- type FhirPerson
- type FhirPractitioner
- type FhirPractitionerRole
- type FhirProcedure
- type FhirProvenance
- type FhirQuestionnaire
- type FhirQuestionnaireResponse
- type FhirRelatedPerson
- type FhirSchedule
- type FhirServiceRequest
- type FhirSlot
- type FhirSpecimen
- type FhirVisionPrescription
- type IFhirResourceModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAllowedResourceTypes ¶
func GetAllowedResourceTypes() []string
Returns a slice of all allowed resource types
func GetTableNameByResourceType ¶
Returns the GORM table name for a FHIRResource when provided the FhirResource type string
Types ¶
type FhirAccount ¶
type FhirAccount struct { models.ResourceBase // Account number // https://hl7.org/fhir/r4/search.html#token Identifier datatypes.JSON `gorm:"column:identifier;type:text;serializer:json" json:"identifier,omitempty"` // Language of the resource content // https://hl7.org/fhir/r4/search.html#token Language datatypes.JSON `gorm:"column:language;type:text;serializer:json" json:"language,omitempty"` // When the resource version last changed // https://hl7.org/fhir/r4/search.html#date LastUpdated *time.Time `gorm:"column:lastUpdated;type:datetime" json:"lastUpdated,omitempty"` // Human-readable label // https://hl7.org/fhir/r4/search.html#string Name datatypes.JSON `gorm:"column:name;type:text;serializer:json" json:"name,omitempty"` // Entity managing the Account // https://hl7.org/fhir/r4/search.html#reference Owner datatypes.JSON `gorm:"column:owner;type:text;serializer:json" json:"owner,omitempty"` // Transaction window // https://hl7.org/fhir/r4/search.html#date Period *time.Time `gorm:"column:period;type:datetime" json:"period,omitempty"` // Profiles this resource claims to conform to // https://hl7.org/fhir/r4/search.html#reference Profile datatypes.JSON `gorm:"column:profile;type:text;serializer:json" json:"profile,omitempty"` // active | inactive | entered-in-error | on-hold | unknown // https://hl7.org/fhir/r4/search.html#token Status datatypes.JSON `gorm:"column:status;type:text;serializer:json" json:"status,omitempty"` // The entity that caused the expenses // https://hl7.org/fhir/r4/search.html#reference Subject datatypes.JSON `gorm:"column:subject;type:text;serializer:json" json:"subject,omitempty"` // Tags applied to this resource // https://hl7.org/fhir/r4/search.html#token Tag datatypes.JSON `gorm:"column:tag;type:text;serializer:json" json:"tag,omitempty"` // Text search against the narrative // https://hl7.org/fhir/r4/search.html#string Text datatypes.JSON `gorm:"column:text;type:text;serializer:json" json:"text,omitempty"` // A resource type filter // https://hl7.org/fhir/r4/search.html#special Type datatypes.JSON `gorm:"column:type;type:text;serializer:json" json:"type,omitempty"` }
func (*FhirAccount) GetSearchParameters ¶
func (s *FhirAccount) GetSearchParameters() map[string]string
func (*FhirAccount) PopulateAndExtractSearchParameters ¶
func (s *FhirAccount) PopulateAndExtractSearchParameters(resourceRaw json.RawMessage) error
func (*FhirAccount) TableName ¶
func (s *FhirAccount) TableName() string
TableName overrides the table name from fhir_observations (pluralized) to `fhir_observation`. https://gorm.io/docs/conventions.html#TableName
type FhirAdverseEvent ¶
type FhirAdverseEvent struct { models.ResourceBase // actual | potential // https://hl7.org/fhir/r4/search.html#token Actuality datatypes.JSON `gorm:"column:actuality;type:text;serializer:json" json:"actuality,omitempty"` // product-problem | product-quality | product-use-error | wrong-dose | incorrect-prescribing-information | wrong-technique | wrong-route-of-administration | wrong-rate | wrong-duration | wrong-time | expired-drug | medical-device-use-error | problem-different-manufacturer | unsafe-physical-environment // https://hl7.org/fhir/r4/search.html#token Category datatypes.JSON `gorm:"column:category;type:text;serializer:json" json:"category,omitempty"` // When the event occurred // https://hl7.org/fhir/r4/search.html#date Date *time.Time `gorm:"column:date;type:datetime" json:"date,omitempty"` // Type of the event itself in relation to the subject // https://hl7.org/fhir/r4/search.html#token Event datatypes.JSON `gorm:"column:event;type:text;serializer:json" json:"event,omitempty"` // Language of the resource content // https://hl7.org/fhir/r4/search.html#token Language datatypes.JSON `gorm:"column:language;type:text;serializer:json" json:"language,omitempty"` // When the resource version last changed // https://hl7.org/fhir/r4/search.html#date LastUpdated *time.Time `gorm:"column:lastUpdated;type:datetime" json:"lastUpdated,omitempty"` // Location where adverse event occurred // https://hl7.org/fhir/r4/search.html#reference Location datatypes.JSON `gorm:"column:location;type:text;serializer:json" json:"location,omitempty"` // Profiles this resource claims to conform to // https://hl7.org/fhir/r4/search.html#reference Profile datatypes.JSON `gorm:"column:profile;type:text;serializer:json" json:"profile,omitempty"` // Who recorded the adverse event // https://hl7.org/fhir/r4/search.html#reference Recorder datatypes.JSON `gorm:"column:recorder;type:text;serializer:json" json:"recorder,omitempty"` // Effect on the subject due to this event // https://hl7.org/fhir/r4/search.html#reference Resultingcondition datatypes.JSON `gorm:"column:resultingcondition;type:text;serializer:json" json:"resultingcondition,omitempty"` // Seriousness of the event // https://hl7.org/fhir/r4/search.html#token Seriousness datatypes.JSON `gorm:"column:seriousness;type:text;serializer:json" json:"seriousness,omitempty"` // mild | moderate | severe // https://hl7.org/fhir/r4/search.html#token Severity datatypes.JSON `gorm:"column:severity;type:text;serializer:json" json:"severity,omitempty"` // AdverseEvent.study // https://hl7.org/fhir/r4/search.html#reference Study datatypes.JSON `gorm:"column:study;type:text;serializer:json" json:"study,omitempty"` // Subject impacted by event // https://hl7.org/fhir/r4/search.html#reference Subject datatypes.JSON `gorm:"column:subject;type:text;serializer:json" json:"subject,omitempty"` // Refers to the specific entity that caused the adverse event // https://hl7.org/fhir/r4/search.html#reference Substance datatypes.JSON `gorm:"column:substance;type:text;serializer:json" json:"substance,omitempty"` // Tags applied to this resource // https://hl7.org/fhir/r4/search.html#token Tag datatypes.JSON `gorm:"column:tag;type:text;serializer:json" json:"tag,omitempty"` // Text search against the narrative // https://hl7.org/fhir/r4/search.html#string Text datatypes.JSON `gorm:"column:text;type:text;serializer:json" json:"text,omitempty"` // A resource type filter // https://hl7.org/fhir/r4/search.html#special Type datatypes.JSON `gorm:"column:type;type:text;serializer:json" json:"type,omitempty"` }
func (*FhirAdverseEvent) GetSearchParameters ¶
func (s *FhirAdverseEvent) GetSearchParameters() map[string]string
func (*FhirAdverseEvent) PopulateAndExtractSearchParameters ¶
func (s *FhirAdverseEvent) PopulateAndExtractSearchParameters(resourceRaw json.RawMessage) error
func (*FhirAdverseEvent) TableName ¶
func (s *FhirAdverseEvent) TableName() string
TableName overrides the table name from fhir_observations (pluralized) to `fhir_observation`. https://gorm.io/docs/conventions.html#TableName
type FhirAllergyIntolerance ¶
type FhirAllergyIntolerance struct { models.ResourceBase // Source of the information about the allergy // https://hl7.org/fhir/r4/search.html#reference Asserter datatypes.JSON `gorm:"column:asserter;type:text;serializer:json" json:"asserter,omitempty"` // food | medication | environment | biologic // https://hl7.org/fhir/r4/search.html#token Category datatypes.JSON `gorm:"column:category;type:text;serializer:json" json:"category,omitempty"` // active | inactive | resolved // https://hl7.org/fhir/r4/search.html#token ClinicalStatus datatypes.JSON `gorm:"column:clinicalStatus;type:text;serializer:json" json:"clinicalStatus,omitempty"` /* Multiple Resources: * [AllergyIntolerance](allergyintolerance.html): Code that identifies the allergy or intolerance * [Condition](condition.html): Code for the condition * [DeviceRequest](devicerequest.html): Code for what is being requested/ordered * [DiagnosticReport](diagnosticreport.html): The code for the report, as opposed to codes for the atomic results, which are the names on the observation resource referred to from the result * [FamilyMemberHistory](familymemberhistory.html): A search by a condition code * [List](list.html): What the purpose of this list is * [Medication](medication.html): Returns medications for a specific code * [MedicationAdministration](medicationadministration.html): Return administrations of this medication code * [MedicationDispense](medicationdispense.html): Returns dispenses of this medicine code * [MedicationRequest](medicationrequest.html): Return prescriptions of this medication code * [MedicationStatement](medicationstatement.html): Return statements of this medication code * [Observation](observation.html): The code of the observation type * [Procedure](procedure.html): A code to identify a procedure * [ServiceRequest](servicerequest.html): What is being requested/ordered */ // https://hl7.org/fhir/r4/search.html#token Code datatypes.JSON `gorm:"column:code;type:text;serializer:json" json:"code,omitempty"` // low | high | unable-to-assess // https://hl7.org/fhir/r4/search.html#token Criticality datatypes.JSON `gorm:"column:criticality;type:text;serializer:json" json:"criticality,omitempty"` /* Multiple Resources: * [AllergyIntolerance](allergyintolerance.html): Date first version of the resource instance was recorded * [CarePlan](careplan.html): Time period plan covers * [CareTeam](careteam.html): Time period team covers * [ClinicalImpression](clinicalimpression.html): When the assessment was documented * [Composition](composition.html): Composition editing time * [Consent](consent.html): When this Consent was created or indexed * [DiagnosticReport](diagnosticreport.html): The clinically relevant time of the report * [Encounter](encounter.html): A date within the period the Encounter lasted * [EpisodeOfCare](episodeofcare.html): The provided date search value falls within the episode of care's period * [FamilyMemberHistory](familymemberhistory.html): When history was recorded or last updated * [Flag](flag.html): Time period when flag is active * [Immunization](immunization.html): Vaccination (non)-Administration Date * [List](list.html): When the list was prepared * [Observation](observation.html): Obtained date/time. If the obtained element is a period, a date that falls in the period * [Procedure](procedure.html): When the procedure was performed * [RiskAssessment](riskassessment.html): When was assessment made? * [SupplyRequest](supplyrequest.html): When the request was made */ // https://hl7.org/fhir/r4/search.html#date Date *time.Time `gorm:"column:date;type:datetime" json:"date,omitempty"` /* Multiple Resources: * [AllergyIntolerance](allergyintolerance.html): External ids for this item * [CarePlan](careplan.html): External Ids for this plan * [CareTeam](careteam.html): External Ids for this team * [Composition](composition.html): Version-independent identifier for the Composition * [Condition](condition.html): A unique identifier of the condition record * [Consent](consent.html): Identifier for this record (external references) * [DetectedIssue](detectedissue.html): Unique id for the detected issue * [DeviceRequest](devicerequest.html): Business identifier for request/order * [DiagnosticReport](diagnosticreport.html): An identifier for the report * [DocumentManifest](documentmanifest.html): Unique Identifier for the set of documents * [DocumentReference](documentreference.html): Master Version Specific Identifier * [Encounter](encounter.html): Identifier(s) by which this encounter is known * [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare * [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier * [Goal](goal.html): External Ids for this goal * [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID and Accession number * [Immunization](immunization.html): Business identifier * [List](list.html): Business identifier * [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier * [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier * [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier * [MedicationStatement](medicationstatement.html): Return statements with this external identifier * [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier * [Observation](observation.html): The unique id for a particular observation * [Procedure](procedure.html): A unique identifier for a procedure * [RiskAssessment](riskassessment.html): Unique identifier for the assessment * [ServiceRequest](servicerequest.html): Identifiers assigned to this order * [SupplyDelivery](supplydelivery.html): External identifier * [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest * [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier */ // https://hl7.org/fhir/r4/search.html#token Identifier datatypes.JSON `gorm:"column:identifier;type:text;serializer:json" json:"identifier,omitempty"` // Language of the resource content // https://hl7.org/fhir/r4/search.html#token Language datatypes.JSON `gorm:"column:language;type:text;serializer:json" json:"language,omitempty"` // Date(/time) of last known occurrence of a reaction // https://hl7.org/fhir/r4/search.html#date LastDate *time.Time `gorm:"column:lastDate;type:datetime" json:"lastDate,omitempty"` // When the resource version last changed // https://hl7.org/fhir/r4/search.html#date LastUpdated *time.Time `gorm:"column:lastUpdated;type:datetime" json:"lastUpdated,omitempty"` // Clinical symptoms/signs associated with the Event // https://hl7.org/fhir/r4/search.html#token Manifestation datatypes.JSON `gorm:"column:manifestation;type:text;serializer:json" json:"manifestation,omitempty"` // Date(/time) when manifestations showed // https://hl7.org/fhir/r4/search.html#date Onset *time.Time `gorm:"column:onset;type:datetime" json:"onset,omitempty"` // Profiles this resource claims to conform to // https://hl7.org/fhir/r4/search.html#reference Profile datatypes.JSON `gorm:"column:profile;type:text;serializer:json" json:"profile,omitempty"` // Who recorded the sensitivity // https://hl7.org/fhir/r4/search.html#reference Recorder datatypes.JSON `gorm:"column:recorder;type:text;serializer:json" json:"recorder,omitempty"` // How the subject was exposed to the substance // https://hl7.org/fhir/r4/search.html#token Route datatypes.JSON `gorm:"column:route;type:text;serializer:json" json:"route,omitempty"` // mild | moderate | severe (of event as a whole) // https://hl7.org/fhir/r4/search.html#token Severity datatypes.JSON `gorm:"column:severity;type:text;serializer:json" json:"severity,omitempty"` // Tags applied to this resource // https://hl7.org/fhir/r4/search.html#token Tag datatypes.JSON `gorm:"column:tag;type:text;serializer:json" json:"tag,omitempty"` // Text search against the narrative // https://hl7.org/fhir/r4/search.html#string Text datatypes.JSON `gorm:"column:text;type:text;serializer:json" json:"text,omitempty"` // A resource type filter // https://hl7.org/fhir/r4/search.html#special Type datatypes.JSON `gorm:"column:type;type:text;serializer:json" json:"type,omitempty"` // unconfirmed | confirmed | refuted | entered-in-error // https://hl7.org/fhir/r4/search.html#token VerificationStatus datatypes.JSON `gorm:"column:verificationStatus;type:text;serializer:json" json:"verificationStatus,omitempty"` }
func (*FhirAllergyIntolerance) GetSearchParameters ¶
func (s *FhirAllergyIntolerance) GetSearchParameters() map[string]string
func (*FhirAllergyIntolerance) PopulateAndExtractSearchParameters ¶
func (s *FhirAllergyIntolerance) PopulateAndExtractSearchParameters(resourceRaw json.RawMessage) error
func (*FhirAllergyIntolerance) TableName ¶
func (s *FhirAllergyIntolerance) TableName() string
TableName overrides the table name from fhir_observations (pluralized) to `fhir_observation`. https://gorm.io/docs/conventions.html#TableName
type FhirAppointment ¶
type FhirAppointment struct { models.ResourceBase // Any one of the individuals participating in the appointment // https://hl7.org/fhir/r4/search.html#reference Actor datatypes.JSON `gorm:"column:actor;type:text;serializer:json" json:"actor,omitempty"` // The style of appointment or patient that has been booked in the slot (not service type) // https://hl7.org/fhir/r4/search.html#token AppointmentType datatypes.JSON `gorm:"column:appointmentType;type:text;serializer:json" json:"appointmentType,omitempty"` // The service request this appointment is allocated to assess // https://hl7.org/fhir/r4/search.html#reference BasedOn datatypes.JSON `gorm:"column:basedOn;type:text;serializer:json" json:"basedOn,omitempty"` // Appointment date/time. // https://hl7.org/fhir/r4/search.html#date Date *time.Time `gorm:"column:date;type:datetime" json:"date,omitempty"` // An Identifier of the Appointment // https://hl7.org/fhir/r4/search.html#token Identifier datatypes.JSON `gorm:"column:identifier;type:text;serializer:json" json:"identifier,omitempty"` // Language of the resource content // https://hl7.org/fhir/r4/search.html#token Language datatypes.JSON `gorm:"column:language;type:text;serializer:json" json:"language,omitempty"` // When the resource version last changed // https://hl7.org/fhir/r4/search.html#date LastUpdated *time.Time `gorm:"column:lastUpdated;type:datetime" json:"lastUpdated,omitempty"` // This location is listed in the participants of the appointment // https://hl7.org/fhir/r4/search.html#reference Location datatypes.JSON `gorm:"column:location;type:text;serializer:json" json:"location,omitempty"` // The Participation status of the subject, or other participant on the appointment. Can be used to locate participants that have not responded to meeting requests. // https://hl7.org/fhir/r4/search.html#token PartStatus datatypes.JSON `gorm:"column:partStatus;type:text;serializer:json" json:"partStatus,omitempty"` // One of the individuals of the appointment is this practitioner // https://hl7.org/fhir/r4/search.html#reference Practitioner datatypes.JSON `gorm:"column:practitioner;type:text;serializer:json" json:"practitioner,omitempty"` // Profiles this resource claims to conform to // https://hl7.org/fhir/r4/search.html#reference Profile datatypes.JSON `gorm:"column:profile;type:text;serializer:json" json:"profile,omitempty"` // Coded reason this appointment is scheduled // https://hl7.org/fhir/r4/search.html#token ReasonCode datatypes.JSON `gorm:"column:reasonCode;type:text;serializer:json" json:"reasonCode,omitempty"` // Reason the appointment is to take place (resource) // https://hl7.org/fhir/r4/search.html#reference ReasonReference datatypes.JSON `gorm:"column:reasonReference;type:text;serializer:json" json:"reasonReference,omitempty"` // A broad categorization of the service that is to be performed during this appointment // https://hl7.org/fhir/r4/search.html#token ServiceCategory datatypes.JSON `gorm:"column:serviceCategory;type:text;serializer:json" json:"serviceCategory,omitempty"` // The specific service that is to be performed during this appointment // https://hl7.org/fhir/r4/search.html#token ServiceType datatypes.JSON `gorm:"column:serviceType;type:text;serializer:json" json:"serviceType,omitempty"` // The slots that this appointment is filling // https://hl7.org/fhir/r4/search.html#reference Slot datatypes.JSON `gorm:"column:slot;type:text;serializer:json" json:"slot,omitempty"` // The specialty of a practitioner that would be required to perform the service requested in this appointment // https://hl7.org/fhir/r4/search.html#token Specialty datatypes.JSON `gorm:"column:specialty;type:text;serializer:json" json:"specialty,omitempty"` // The overall status of the appointment // https://hl7.org/fhir/r4/search.html#token Status datatypes.JSON `gorm:"column:status;type:text;serializer:json" json:"status,omitempty"` // Additional information to support the appointment // https://hl7.org/fhir/r4/search.html#reference SupportingInfo datatypes.JSON `gorm:"column:supportingInfo;type:text;serializer:json" json:"supportingInfo,omitempty"` // Tags applied to this resource // https://hl7.org/fhir/r4/search.html#token Tag datatypes.JSON `gorm:"column:tag;type:text;serializer:json" json:"tag,omitempty"` // Text search against the narrative // https://hl7.org/fhir/r4/search.html#string Text datatypes.JSON `gorm:"column:text;type:text;serializer:json" json:"text,omitempty"` // A resource type filter // https://hl7.org/fhir/r4/search.html#special Type datatypes.JSON `gorm:"column:type;type:text;serializer:json" json:"type,omitempty"` }
func (*FhirAppointment) GetSearchParameters ¶
func (s *FhirAppointment) GetSearchParameters() map[string]string
func (*FhirAppointment) PopulateAndExtractSearchParameters ¶
func (s *FhirAppointment) PopulateAndExtractSearchParameters(resourceRaw json.RawMessage) error
func (*FhirAppointment) TableName ¶
func (s *FhirAppointment) TableName() string
TableName overrides the table name from fhir_observations (pluralized) to `fhir_observation`. https://gorm.io/docs/conventions.html#TableName
type FhirBinary ¶
type FhirBinary struct { models.ResourceBase // Language of the resource content // https://hl7.org/fhir/r4/search.html#token Language datatypes.JSON `gorm:"column:language;type:text;serializer:json" json:"language,omitempty"` // When the resource version last changed // https://hl7.org/fhir/r4/search.html#date LastUpdated *time.Time `gorm:"column:lastUpdated;type:datetime" json:"lastUpdated,omitempty"` // Profiles this resource claims to conform to // https://hl7.org/fhir/r4/search.html#reference Profile datatypes.JSON `gorm:"column:profile;type:text;serializer:json" json:"profile,omitempty"` // Tags applied to this resource // https://hl7.org/fhir/r4/search.html#token Tag datatypes.JSON `gorm:"column:tag;type:text;serializer:json" json:"tag,omitempty"` // Text search against the narrative // https://hl7.org/fhir/r4/search.html#string Text datatypes.JSON `gorm:"column:text;type:text;serializer:json" json:"text,omitempty"` // A resource type filter // https://hl7.org/fhir/r4/search.html#special Type datatypes.JSON `gorm:"column:type;type:text;serializer:json" json:"type,omitempty"` }
func (*FhirBinary) GetSearchParameters ¶
func (s *FhirBinary) GetSearchParameters() map[string]string
func (*FhirBinary) PopulateAndExtractSearchParameters ¶
func (s *FhirBinary) PopulateAndExtractSearchParameters(resourceRaw json.RawMessage) error
func (*FhirBinary) TableName ¶
func (s *FhirBinary) TableName() string
TableName overrides the table name from fhir_observations (pluralized) to `fhir_observation`. https://gorm.io/docs/conventions.html#TableName
type FhirCarePlan ¶
type FhirCarePlan struct { models.ResourceBase // Detail type of activity // https://hl7.org/fhir/r4/search.html#token ActivityCode datatypes.JSON `gorm:"column:activityCode;type:text;serializer:json" json:"activityCode,omitempty"` // Specified date occurs within period specified by CarePlan.activity.detail.scheduled[x] // https://hl7.org/fhir/r4/search.html#date ActivityDate *time.Time `gorm:"column:activityDate;type:datetime" json:"activityDate,omitempty"` // Activity details defined in specific resource // https://hl7.org/fhir/r4/search.html#reference ActivityReference datatypes.JSON `gorm:"column:activityReference;type:text;serializer:json" json:"activityReference,omitempty"` // Fulfills CarePlan // https://hl7.org/fhir/r4/search.html#reference BasedOn datatypes.JSON `gorm:"column:basedOn;type:text;serializer:json" json:"basedOn,omitempty"` // Who's involved in plan? // https://hl7.org/fhir/r4/search.html#reference CareTeam datatypes.JSON `gorm:"column:careTeam;type:text;serializer:json" json:"careTeam,omitempty"` // Type of plan // https://hl7.org/fhir/r4/search.html#token Category datatypes.JSON `gorm:"column:category;type:text;serializer:json" json:"category,omitempty"` // Health issues this plan addresses // https://hl7.org/fhir/r4/search.html#reference Condition datatypes.JSON `gorm:"column:condition;type:text;serializer:json" json:"condition,omitempty"` /* Multiple Resources: * [AllergyIntolerance](allergyintolerance.html): Date first version of the resource instance was recorded * [CarePlan](careplan.html): Time period plan covers * [CareTeam](careteam.html): Time period team covers * [ClinicalImpression](clinicalimpression.html): When the assessment was documented * [Composition](composition.html): Composition editing time * [Consent](consent.html): When this Consent was created or indexed * [DiagnosticReport](diagnosticreport.html): The clinically relevant time of the report * [Encounter](encounter.html): A date within the period the Encounter lasted * [EpisodeOfCare](episodeofcare.html): The provided date search value falls within the episode of care's period * [FamilyMemberHistory](familymemberhistory.html): When history was recorded or last updated * [Flag](flag.html): Time period when flag is active * [Immunization](immunization.html): Vaccination (non)-Administration Date * [List](list.html): When the list was prepared * [Observation](observation.html): Obtained date/time. If the obtained element is a period, a date that falls in the period * [Procedure](procedure.html): When the procedure was performed * [RiskAssessment](riskassessment.html): When was assessment made? * [SupplyRequest](supplyrequest.html): When the request was made */ // https://hl7.org/fhir/r4/search.html#date Date *time.Time `gorm:"column:date;type:datetime" json:"date,omitempty"` // Encounter created as part of // https://hl7.org/fhir/r4/search.html#reference Encounter datatypes.JSON `gorm:"column:encounter;type:text;serializer:json" json:"encounter,omitempty"` // Desired outcome of plan // https://hl7.org/fhir/r4/search.html#reference Goal datatypes.JSON `gorm:"column:goal;type:text;serializer:json" json:"goal,omitempty"` /* Multiple Resources: * [AllergyIntolerance](allergyintolerance.html): External ids for this item * [CarePlan](careplan.html): External Ids for this plan * [CareTeam](careteam.html): External Ids for this team * [Composition](composition.html): Version-independent identifier for the Composition * [Condition](condition.html): A unique identifier of the condition record * [Consent](consent.html): Identifier for this record (external references) * [DetectedIssue](detectedissue.html): Unique id for the detected issue * [DeviceRequest](devicerequest.html): Business identifier for request/order * [DiagnosticReport](diagnosticreport.html): An identifier for the report * [DocumentManifest](documentmanifest.html): Unique Identifier for the set of documents * [DocumentReference](documentreference.html): Master Version Specific Identifier * [Encounter](encounter.html): Identifier(s) by which this encounter is known * [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare * [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier * [Goal](goal.html): External Ids for this goal * [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID and Accession number * [Immunization](immunization.html): Business identifier * [List](list.html): Business identifier * [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier * [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier * [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier * [MedicationStatement](medicationstatement.html): Return statements with this external identifier * [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier * [Observation](observation.html): The unique id for a particular observation * [Procedure](procedure.html): A unique identifier for a procedure * [RiskAssessment](riskassessment.html): Unique identifier for the assessment * [ServiceRequest](servicerequest.html): Identifiers assigned to this order * [SupplyDelivery](supplydelivery.html): External identifier * [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest * [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier */ // https://hl7.org/fhir/r4/search.html#token Identifier datatypes.JSON `gorm:"column:identifier;type:text;serializer:json" json:"identifier,omitempty"` // Instantiates FHIR protocol or definition // https://hl7.org/fhir/r4/search.html#reference InstantiatesCanonical datatypes.JSON `gorm:"column:instantiatesCanonical;type:text;serializer:json" json:"instantiatesCanonical,omitempty"` // Instantiates external protocol or definition // https://hl7.org/fhir/r4/search.html#uri InstantiatesUri string `gorm:"column:instantiatesUri;type:text" json:"instantiatesUri,omitempty"` // proposal | plan | order | option // https://hl7.org/fhir/r4/search.html#token Intent datatypes.JSON `gorm:"column:intent;type:text;serializer:json" json:"intent,omitempty"` // Language of the resource content // https://hl7.org/fhir/r4/search.html#token Language datatypes.JSON `gorm:"column:language;type:text;serializer:json" json:"language,omitempty"` // When the resource version last changed // https://hl7.org/fhir/r4/search.html#date LastUpdated *time.Time `gorm:"column:lastUpdated;type:datetime" json:"lastUpdated,omitempty"` // Part of referenced CarePlan // https://hl7.org/fhir/r4/search.html#reference PartOf datatypes.JSON `gorm:"column:partOf;type:text;serializer:json" json:"partOf,omitempty"` // Matches if the practitioner is listed as a performer in any of the "simple" activities. (For performers of the detailed activities, chain through the activitydetail search parameter.) // https://hl7.org/fhir/r4/search.html#reference Performer datatypes.JSON `gorm:"column:performer;type:text;serializer:json" json:"performer,omitempty"` // Profiles this resource claims to conform to // https://hl7.org/fhir/r4/search.html#reference Profile datatypes.JSON `gorm:"column:profile;type:text;serializer:json" json:"profile,omitempty"` // CarePlan replaced by this CarePlan // https://hl7.org/fhir/r4/search.html#reference Replaces datatypes.JSON `gorm:"column:replaces;type:text;serializer:json" json:"replaces,omitempty"` // draft | active | on-hold | revoked | completed | entered-in-error | unknown // https://hl7.org/fhir/r4/search.html#token Status datatypes.JSON `gorm:"column:status;type:text;serializer:json" json:"status,omitempty"` // Who the care plan is for // https://hl7.org/fhir/r4/search.html#reference Subject datatypes.JSON `gorm:"column:subject;type:text;serializer:json" json:"subject,omitempty"` // Tags applied to this resource // https://hl7.org/fhir/r4/search.html#token Tag datatypes.JSON `gorm:"column:tag;type:text;serializer:json" json:"tag,omitempty"` // Text search against the narrative // https://hl7.org/fhir/r4/search.html#string Text datatypes.JSON `gorm:"column:text;type:text;serializer:json" json:"text,omitempty"` // A resource type filter // https://hl7.org/fhir/r4/search.html#special Type datatypes.JSON `gorm:"column:type;type:text;serializer:json" json:"type,omitempty"` }
func (*FhirCarePlan) GetSearchParameters ¶
func (s *FhirCarePlan) GetSearchParameters() map[string]string
func (*FhirCarePlan) PopulateAndExtractSearchParameters ¶
func (s *FhirCarePlan) PopulateAndExtractSearchParameters(resourceRaw json.RawMessage) error
func (*FhirCarePlan) TableName ¶
func (s *FhirCarePlan) TableName() string
TableName overrides the table name from fhir_observations (pluralized) to `fhir_observation`. https://gorm.io/docs/conventions.html#TableName
type FhirCareTeam ¶
type FhirCareTeam struct { models.ResourceBase // Type of team // https://hl7.org/fhir/r4/search.html#token Category datatypes.JSON `gorm:"column:category;type:text;serializer:json" json:"category,omitempty"` /* Multiple Resources: * [AllergyIntolerance](allergyintolerance.html): Date first version of the resource instance was recorded * [CarePlan](careplan.html): Time period plan covers * [CareTeam](careteam.html): Time period team covers * [ClinicalImpression](clinicalimpression.html): When the assessment was documented * [Composition](composition.html): Composition editing time * [Consent](consent.html): When this Consent was created or indexed * [DiagnosticReport](diagnosticreport.html): The clinically relevant time of the report * [Encounter](encounter.html): A date within the period the Encounter lasted * [EpisodeOfCare](episodeofcare.html): The provided date search value falls within the episode of care's period * [FamilyMemberHistory](familymemberhistory.html): When history was recorded or last updated * [Flag](flag.html): Time period when flag is active * [Immunization](immunization.html): Vaccination (non)-Administration Date * [List](list.html): When the list was prepared * [Observation](observation.html): Obtained date/time. If the obtained element is a period, a date that falls in the period * [Procedure](procedure.html): When the procedure was performed * [RiskAssessment](riskassessment.html): When was assessment made? * [SupplyRequest](supplyrequest.html): When the request was made */ // https://hl7.org/fhir/r4/search.html#date Date *time.Time `gorm:"column:date;type:datetime" json:"date,omitempty"` // Encounter created as part of // https://hl7.org/fhir/r4/search.html#reference Encounter datatypes.JSON `gorm:"column:encounter;type:text;serializer:json" json:"encounter,omitempty"` /* Multiple Resources: * [AllergyIntolerance](allergyintolerance.html): External ids for this item * [CarePlan](careplan.html): External Ids for this plan * [CareTeam](careteam.html): External Ids for this team * [Composition](composition.html): Version-independent identifier for the Composition * [Condition](condition.html): A unique identifier of the condition record * [Consent](consent.html): Identifier for this record (external references) * [DetectedIssue](detectedissue.html): Unique id for the detected issue * [DeviceRequest](devicerequest.html): Business identifier for request/order * [DiagnosticReport](diagnosticreport.html): An identifier for the report * [DocumentManifest](documentmanifest.html): Unique Identifier for the set of documents * [DocumentReference](documentreference.html): Master Version Specific Identifier * [Encounter](encounter.html): Identifier(s) by which this encounter is known * [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare * [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier * [Goal](goal.html): External Ids for this goal * [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID and Accession number * [Immunization](immunization.html): Business identifier * [List](list.html): Business identifier * [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier * [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier * [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier * [MedicationStatement](medicationstatement.html): Return statements with this external identifier * [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier * [Observation](observation.html): The unique id for a particular observation * [Procedure](procedure.html): A unique identifier for a procedure * [RiskAssessment](riskassessment.html): Unique identifier for the assessment * [ServiceRequest](servicerequest.html): Identifiers assigned to this order * [SupplyDelivery](supplydelivery.html): External identifier * [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest * [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier */ // https://hl7.org/fhir/r4/search.html#token Identifier datatypes.JSON `gorm:"column:identifier;type:text;serializer:json" json:"identifier,omitempty"` // Language of the resource content // https://hl7.org/fhir/r4/search.html#token Language datatypes.JSON `gorm:"column:language;type:text;serializer:json" json:"language,omitempty"` // When the resource version last changed // https://hl7.org/fhir/r4/search.html#date LastUpdated *time.Time `gorm:"column:lastUpdated;type:datetime" json:"lastUpdated,omitempty"` // Who is involved // https://hl7.org/fhir/r4/search.html#reference Participant datatypes.JSON `gorm:"column:participant;type:text;serializer:json" json:"participant,omitempty"` // Profiles this resource claims to conform to // https://hl7.org/fhir/r4/search.html#reference Profile datatypes.JSON `gorm:"column:profile;type:text;serializer:json" json:"profile,omitempty"` // proposed | active | suspended | inactive | entered-in-error // https://hl7.org/fhir/r4/search.html#token Status datatypes.JSON `gorm:"column:status;type:text;serializer:json" json:"status,omitempty"` // Who care team is for // https://hl7.org/fhir/r4/search.html#reference Subject datatypes.JSON `gorm:"column:subject;type:text;serializer:json" json:"subject,omitempty"` // Tags applied to this resource // https://hl7.org/fhir/r4/search.html#token Tag datatypes.JSON `gorm:"column:tag;type:text;serializer:json" json:"tag,omitempty"` // Text search against the narrative // https://hl7.org/fhir/r4/search.html#string Text datatypes.JSON `gorm:"column:text;type:text;serializer:json" json:"text,omitempty"` // A resource type filter // https://hl7.org/fhir/r4/search.html#special Type datatypes.JSON `gorm:"column:type;type:text;serializer:json" json:"type,omitempty"` }
func (*FhirCareTeam) GetSearchParameters ¶
func (s *FhirCareTeam) GetSearchParameters() map[string]string
func (*FhirCareTeam) PopulateAndExtractSearchParameters ¶
func (s *FhirCareTeam) PopulateAndExtractSearchParameters(resourceRaw json.RawMessage) error
func (*FhirCareTeam) TableName ¶
func (s *FhirCareTeam) TableName() string
TableName overrides the table name from fhir_observations (pluralized) to `fhir_observation`. https://gorm.io/docs/conventions.html#TableName
type FhirClaim ¶
type FhirClaim struct { models.ResourceBase // Member of the CareTeam // https://hl7.org/fhir/r4/search.html#reference CareTeam datatypes.JSON `gorm:"column:careTeam;type:text;serializer:json" json:"careTeam,omitempty"` // The creation date for the Claim // https://hl7.org/fhir/r4/search.html#date Created *time.Time `gorm:"column:created;type:datetime" json:"created,omitempty"` // UDI associated with a line item, detail product or service // https://hl7.org/fhir/r4/search.html#reference DetailUdi datatypes.JSON `gorm:"column:detailUdi;type:text;serializer:json" json:"detailUdi,omitempty"` // Encounters associated with a billed line item // https://hl7.org/fhir/r4/search.html#reference Encounter datatypes.JSON `gorm:"column:encounter;type:text;serializer:json" json:"encounter,omitempty"` // The party responsible for the entry of the Claim // https://hl7.org/fhir/r4/search.html#reference Enterer datatypes.JSON `gorm:"column:enterer;type:text;serializer:json" json:"enterer,omitempty"` // Facility where the products or services have been or will be provided // https://hl7.org/fhir/r4/search.html#reference Facility datatypes.JSON `gorm:"column:facility;type:text;serializer:json" json:"facility,omitempty"` // The primary identifier of the financial resource // https://hl7.org/fhir/r4/search.html#token Identifier datatypes.JSON `gorm:"column:identifier;type:text;serializer:json" json:"identifier,omitempty"` // The target payor/insurer for the Claim // https://hl7.org/fhir/r4/search.html#reference Insurer datatypes.JSON `gorm:"column:insurer;type:text;serializer:json" json:"insurer,omitempty"` // UDI associated with a line item product or service // https://hl7.org/fhir/r4/search.html#reference ItemUdi datatypes.JSON `gorm:"column:itemUdi;type:text;serializer:json" json:"itemUdi,omitempty"` // Language of the resource content // https://hl7.org/fhir/r4/search.html#token Language datatypes.JSON `gorm:"column:language;type:text;serializer:json" json:"language,omitempty"` // When the resource version last changed // https://hl7.org/fhir/r4/search.html#date LastUpdated *time.Time `gorm:"column:lastUpdated;type:datetime" json:"lastUpdated,omitempty"` // The party receiving any payment for the Claim // https://hl7.org/fhir/r4/search.html#reference Payee datatypes.JSON `gorm:"column:payee;type:text;serializer:json" json:"payee,omitempty"` // Processing priority requested // https://hl7.org/fhir/r4/search.html#token Priority datatypes.JSON `gorm:"column:priority;type:text;serializer:json" json:"priority,omitempty"` // UDI associated with a procedure // https://hl7.org/fhir/r4/search.html#reference ProcedureUdi datatypes.JSON `gorm:"column:procedureUdi;type:text;serializer:json" json:"procedureUdi,omitempty"` // Profiles this resource claims to conform to // https://hl7.org/fhir/r4/search.html#reference Profile datatypes.JSON `gorm:"column:profile;type:text;serializer:json" json:"profile,omitempty"` // Provider responsible for the Claim // https://hl7.org/fhir/r4/search.html#reference Provider datatypes.JSON `gorm:"column:provider;type:text;serializer:json" json:"provider,omitempty"` // The status of the Claim instance. // https://hl7.org/fhir/r4/search.html#token Status datatypes.JSON `gorm:"column:status;type:text;serializer:json" json:"status,omitempty"` // UDI associated with a line item, detail, subdetail product or service // https://hl7.org/fhir/r4/search.html#reference SubdetailUdi datatypes.JSON `gorm:"column:subdetailUdi;type:text;serializer:json" json:"subdetailUdi,omitempty"` // Tags applied to this resource // https://hl7.org/fhir/r4/search.html#token Tag datatypes.JSON `gorm:"column:tag;type:text;serializer:json" json:"tag,omitempty"` // Text search against the narrative // https://hl7.org/fhir/r4/search.html#string Text datatypes.JSON `gorm:"column:text;type:text;serializer:json" json:"text,omitempty"` // A resource type filter // https://hl7.org/fhir/r4/search.html#special Type datatypes.JSON `gorm:"column:type;type:text;serializer:json" json:"type,omitempty"` // The kind of financial resource // https://hl7.org/fhir/r4/search.html#token Use datatypes.JSON `gorm:"column:use;type:text;serializer:json" json:"use,omitempty"` }
func (*FhirClaim) GetSearchParameters ¶
func (*FhirClaim) PopulateAndExtractSearchParameters ¶
func (s *FhirClaim) PopulateAndExtractSearchParameters(resourceRaw json.RawMessage) error
func (*FhirClaim) TableName ¶
TableName overrides the table name from fhir_observations (pluralized) to `fhir_observation`. https://gorm.io/docs/conventions.html#TableName
type FhirClaimResponse ¶
type FhirClaimResponse struct { models.ResourceBase // The creation date // https://hl7.org/fhir/r4/search.html#date Created *time.Time `gorm:"column:created;type:datetime" json:"created,omitempty"` // The contents of the disposition message // https://hl7.org/fhir/r4/search.html#string Disposition datatypes.JSON `gorm:"column:disposition;type:text;serializer:json" json:"disposition,omitempty"` // The identity of the ClaimResponse // https://hl7.org/fhir/r4/search.html#token Identifier datatypes.JSON `gorm:"column:identifier;type:text;serializer:json" json:"identifier,omitempty"` // The organization which generated this resource // https://hl7.org/fhir/r4/search.html#reference Insurer datatypes.JSON `gorm:"column:insurer;type:text;serializer:json" json:"insurer,omitempty"` // Language of the resource content // https://hl7.org/fhir/r4/search.html#token Language datatypes.JSON `gorm:"column:language;type:text;serializer:json" json:"language,omitempty"` // When the resource version last changed // https://hl7.org/fhir/r4/search.html#date LastUpdated *time.Time `gorm:"column:lastUpdated;type:datetime" json:"lastUpdated,omitempty"` // The processing outcome // https://hl7.org/fhir/r4/search.html#token Outcome datatypes.JSON `gorm:"column:outcome;type:text;serializer:json" json:"outcome,omitempty"` // The expected payment date // https://hl7.org/fhir/r4/search.html#date PaymentDate *time.Time `gorm:"column:paymentDate;type:datetime" json:"paymentDate,omitempty"` // Profiles this resource claims to conform to // https://hl7.org/fhir/r4/search.html#reference Profile datatypes.JSON `gorm:"column:profile;type:text;serializer:json" json:"profile,omitempty"` // The claim reference // https://hl7.org/fhir/r4/search.html#reference Request datatypes.JSON `gorm:"column:request;type:text;serializer:json" json:"request,omitempty"` // The Provider of the claim // https://hl7.org/fhir/r4/search.html#reference Requestor datatypes.JSON `gorm:"column:requestor;type:text;serializer:json" json:"requestor,omitempty"` // The status of the ClaimResponse // https://hl7.org/fhir/r4/search.html#token Status datatypes.JSON `gorm:"column:status;type:text;serializer:json" json:"status,omitempty"` // Tags applied to this resource // https://hl7.org/fhir/r4/search.html#token Tag datatypes.JSON `gorm:"column:tag;type:text;serializer:json" json:"tag,omitempty"` // Text search against the narrative // https://hl7.org/fhir/r4/search.html#string Text datatypes.JSON `gorm:"column:text;type:text;serializer:json" json:"text,omitempty"` // A resource type filter // https://hl7.org/fhir/r4/search.html#special Type datatypes.JSON `gorm:"column:type;type:text;serializer:json" json:"type,omitempty"` // The type of claim // https://hl7.org/fhir/r4/search.html#token Use datatypes.JSON `gorm:"column:use;type:text;serializer:json" json:"use,omitempty"` }
func (*FhirClaimResponse) GetSearchParameters ¶
func (s *FhirClaimResponse) GetSearchParameters() map[string]string
func (*FhirClaimResponse) PopulateAndExtractSearchParameters ¶
func (s *FhirClaimResponse) PopulateAndExtractSearchParameters(resourceRaw json.RawMessage) error
func (*FhirClaimResponse) TableName ¶
func (s *FhirClaimResponse) TableName() string
TableName overrides the table name from fhir_observations (pluralized) to `fhir_observation`. https://gorm.io/docs/conventions.html#TableName
type FhirComposition ¶
type FhirComposition struct { models.ResourceBase // Who attested the composition // https://hl7.org/fhir/r4/search.html#reference Attester datatypes.JSON `gorm:"column:attester;type:text;serializer:json" json:"attester,omitempty"` // Who and/or what authored the composition // https://hl7.org/fhir/r4/search.html#reference Author datatypes.JSON `gorm:"column:author;type:text;serializer:json" json:"author,omitempty"` // Categorization of Composition // https://hl7.org/fhir/r4/search.html#token Category datatypes.JSON `gorm:"column:category;type:text;serializer:json" json:"category,omitempty"` // As defined by affinity domain // https://hl7.org/fhir/r4/search.html#token Confidentiality datatypes.JSON `gorm:"column:confidentiality;type:text;serializer:json" json:"confidentiality,omitempty"` // Code(s) that apply to the event being documented // https://hl7.org/fhir/r4/search.html#token Context datatypes.JSON `gorm:"column:context;type:text;serializer:json" json:"context,omitempty"` /* Multiple Resources: * [AllergyIntolerance](allergyintolerance.html): Date first version of the resource instance was recorded * [CarePlan](careplan.html): Time period plan covers * [CareTeam](careteam.html): Time period team covers * [ClinicalImpression](clinicalimpression.html): When the assessment was documented * [Composition](composition.html): Composition editing time * [Consent](consent.html): When this Consent was created or indexed * [DiagnosticReport](diagnosticreport.html): The clinically relevant time of the report * [Encounter](encounter.html): A date within the period the Encounter lasted * [EpisodeOfCare](episodeofcare.html): The provided date search value falls within the episode of care's period * [FamilyMemberHistory](familymemberhistory.html): When history was recorded or last updated * [Flag](flag.html): Time period when flag is active * [Immunization](immunization.html): Vaccination (non)-Administration Date * [List](list.html): When the list was prepared * [Observation](observation.html): Obtained date/time. If the obtained element is a period, a date that falls in the period * [Procedure](procedure.html): When the procedure was performed * [RiskAssessment](riskassessment.html): When was assessment made? * [SupplyRequest](supplyrequest.html): When the request was made */ // https://hl7.org/fhir/r4/search.html#date Date *time.Time `gorm:"column:date;type:datetime" json:"date,omitempty"` /* Multiple Resources: * [Composition](composition.html): Context of the Composition * [DeviceRequest](devicerequest.html): Encounter during which request was created * [DiagnosticReport](diagnosticreport.html): The Encounter when the order was made * [DocumentReference](documentreference.html): Context of the document content * [Flag](flag.html): Alert relevant during encounter * [List](list.html): Context in which list created * [NutritionOrder](nutritionorder.html): Return nutrition orders with this encounter identifier * [Observation](observation.html): Encounter related to the observation * [Procedure](procedure.html): Encounter created as part of * [RiskAssessment](riskassessment.html): Where was assessment performed? * [ServiceRequest](servicerequest.html): An encounter in which this request is made * [VisionPrescription](visionprescription.html): Return prescriptions with this encounter identifier */ // https://hl7.org/fhir/r4/search.html#reference Encounter datatypes.JSON `gorm:"column:encounter;type:text;serializer:json" json:"encounter,omitempty"` // A reference to data that supports this section // https://hl7.org/fhir/r4/search.html#reference Entry datatypes.JSON `gorm:"column:entry;type:text;serializer:json" json:"entry,omitempty"` /* Multiple Resources: * [AllergyIntolerance](allergyintolerance.html): External ids for this item * [CarePlan](careplan.html): External Ids for this plan * [CareTeam](careteam.html): External Ids for this team * [Composition](composition.html): Version-independent identifier for the Composition * [Condition](condition.html): A unique identifier of the condition record * [Consent](consent.html): Identifier for this record (external references) * [DetectedIssue](detectedissue.html): Unique id for the detected issue * [DeviceRequest](devicerequest.html): Business identifier for request/order * [DiagnosticReport](diagnosticreport.html): An identifier for the report * [DocumentManifest](documentmanifest.html): Unique Identifier for the set of documents * [DocumentReference](documentreference.html): Master Version Specific Identifier * [Encounter](encounter.html): Identifier(s) by which this encounter is known * [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare * [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier * [Goal](goal.html): External Ids for this goal * [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID and Accession number * [Immunization](immunization.html): Business identifier * [List](list.html): Business identifier * [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier * [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier * [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier * [MedicationStatement](medicationstatement.html): Return statements with this external identifier * [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier * [Observation](observation.html): The unique id for a particular observation * [Procedure](procedure.html): A unique identifier for a procedure * [RiskAssessment](riskassessment.html): Unique identifier for the assessment * [ServiceRequest](servicerequest.html): Identifiers assigned to this order * [SupplyDelivery](supplydelivery.html): External identifier * [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest * [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier */ // https://hl7.org/fhir/r4/search.html#token Identifier datatypes.JSON `gorm:"column:identifier;type:text;serializer:json" json:"identifier,omitempty"` // Language of the resource content // https://hl7.org/fhir/r4/search.html#token Language datatypes.JSON `gorm:"column:language;type:text;serializer:json" json:"language,omitempty"` // When the resource version last changed // https://hl7.org/fhir/r4/search.html#date LastUpdated *time.Time `gorm:"column:lastUpdated;type:datetime" json:"lastUpdated,omitempty"` // The period covered by the documentation // https://hl7.org/fhir/r4/search.html#date Period *time.Time `gorm:"column:period;type:datetime" json:"period,omitempty"` // Profiles this resource claims to conform to // https://hl7.org/fhir/r4/search.html#reference Profile datatypes.JSON `gorm:"column:profile;type:text;serializer:json" json:"profile,omitempty"` // Target of the relationship // https://hl7.org/fhir/r4/search.html#token RelatedId datatypes.JSON `gorm:"column:relatedId;type:text;serializer:json" json:"relatedId,omitempty"` // Target of the relationship // https://hl7.org/fhir/r4/search.html#reference RelatedRef datatypes.JSON `gorm:"column:relatedRef;type:text;serializer:json" json:"relatedRef,omitempty"` // Classification of section (recommended) // https://hl7.org/fhir/r4/search.html#token Section datatypes.JSON `gorm:"column:section;type:text;serializer:json" json:"section,omitempty"` // preliminary | final | amended | entered-in-error // https://hl7.org/fhir/r4/search.html#token Status datatypes.JSON `gorm:"column:status;type:text;serializer:json" json:"status,omitempty"` // Who and/or what the composition is about // https://hl7.org/fhir/r4/search.html#reference Subject datatypes.JSON `gorm:"column:subject;type:text;serializer:json" json:"subject,omitempty"` // Tags applied to this resource // https://hl7.org/fhir/r4/search.html#token Tag datatypes.JSON `gorm:"column:tag;type:text;serializer:json" json:"tag,omitempty"` // Text search against the narrative // https://hl7.org/fhir/r4/search.html#string Text datatypes.JSON `gorm:"column:text;type:text;serializer:json" json:"text,omitempty"` // Human Readable name/title // https://hl7.org/fhir/r4/search.html#string Title datatypes.JSON `gorm:"column:title;type:text;serializer:json" json:"title,omitempty"` // A resource type filter // https://hl7.org/fhir/r4/search.html#special Type datatypes.JSON `gorm:"column:type;type:text;serializer:json" json:"type,omitempty"` }
func (*FhirComposition) GetSearchParameters ¶
func (s *FhirComposition) GetSearchParameters() map[string]string
func (*FhirComposition) PopulateAndExtractSearchParameters ¶
func (s *FhirComposition) PopulateAndExtractSearchParameters(resourceRaw json.RawMessage) error
func (*FhirComposition) TableName ¶
func (s *FhirComposition) TableName() string
TableName overrides the table name from fhir_observations (pluralized) to `fhir_observation`. https://gorm.io/docs/conventions.html#TableName
type FhirCondition ¶
type FhirCondition struct { models.ResourceBase // Abatement as age or age range // https://hl7.org/fhir/r4/search.html#quantity AbatementAge datatypes.JSON `gorm:"column:abatementAge;type:text;serializer:json" json:"abatementAge,omitempty"` // Date-related abatements (dateTime and period) // https://hl7.org/fhir/r4/search.html#date AbatementDate *time.Time `gorm:"column:abatementDate;type:datetime" json:"abatementDate,omitempty"` // Abatement as a string // https://hl7.org/fhir/r4/search.html#string AbatementString datatypes.JSON `gorm:"column:abatementString;type:text;serializer:json" json:"abatementString,omitempty"` // Person who asserts this condition // https://hl7.org/fhir/r4/search.html#reference Asserter datatypes.JSON `gorm:"column:asserter;type:text;serializer:json" json:"asserter,omitempty"` // Anatomical location, if relevant // https://hl7.org/fhir/r4/search.html#token BodySite datatypes.JSON `gorm:"column:bodySite;type:text;serializer:json" json:"bodySite,omitempty"` // The category of the condition // https://hl7.org/fhir/r4/search.html#token Category datatypes.JSON `gorm:"column:category;type:text;serializer:json" json:"category,omitempty"` // The clinical status of the condition // https://hl7.org/fhir/r4/search.html#token ClinicalStatus datatypes.JSON `gorm:"column:clinicalStatus;type:text;serializer:json" json:"clinicalStatus,omitempty"` /* Multiple Resources: * [AllergyIntolerance](allergyintolerance.html): Code that identifies the allergy or intolerance * [Condition](condition.html): Code for the condition * [DeviceRequest](devicerequest.html): Code for what is being requested/ordered * [DiagnosticReport](diagnosticreport.html): The code for the report, as opposed to codes for the atomic results, which are the names on the observation resource referred to from the result * [FamilyMemberHistory](familymemberhistory.html): A search by a condition code * [List](list.html): What the purpose of this list is * [Medication](medication.html): Returns medications for a specific code * [MedicationAdministration](medicationadministration.html): Return administrations of this medication code * [MedicationDispense](medicationdispense.html): Returns dispenses of this medicine code * [MedicationRequest](medicationrequest.html): Return prescriptions of this medication code * [MedicationStatement](medicationstatement.html): Return statements of this medication code * [Observation](observation.html): The code of the observation type * [Procedure](procedure.html): A code to identify a procedure * [ServiceRequest](servicerequest.html): What is being requested/ordered */ // https://hl7.org/fhir/r4/search.html#token Code datatypes.JSON `gorm:"column:code;type:text;serializer:json" json:"code,omitempty"` // Encounter created as part of // https://hl7.org/fhir/r4/search.html#reference Encounter datatypes.JSON `gorm:"column:encounter;type:text;serializer:json" json:"encounter,omitempty"` // Manifestation/symptom // https://hl7.org/fhir/r4/search.html#token Evidence datatypes.JSON `gorm:"column:evidence;type:text;serializer:json" json:"evidence,omitempty"` // Supporting information found elsewhere // https://hl7.org/fhir/r4/search.html#reference EvidenceDetail datatypes.JSON `gorm:"column:evidenceDetail;type:text;serializer:json" json:"evidenceDetail,omitempty"` /* Multiple Resources: * [AllergyIntolerance](allergyintolerance.html): External ids for this item * [CarePlan](careplan.html): External Ids for this plan * [CareTeam](careteam.html): External Ids for this team * [Composition](composition.html): Version-independent identifier for the Composition * [Condition](condition.html): A unique identifier of the condition record * [Consent](consent.html): Identifier for this record (external references) * [DetectedIssue](detectedissue.html): Unique id for the detected issue * [DeviceRequest](devicerequest.html): Business identifier for request/order * [DiagnosticReport](diagnosticreport.html): An identifier for the report * [DocumentManifest](documentmanifest.html): Unique Identifier for the set of documents * [DocumentReference](documentreference.html): Master Version Specific Identifier * [Encounter](encounter.html): Identifier(s) by which this encounter is known * [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare * [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier * [Goal](goal.html): External Ids for this goal * [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID and Accession number * [Immunization](immunization.html): Business identifier * [List](list.html): Business identifier * [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier * [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier * [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier * [MedicationStatement](medicationstatement.html): Return statements with this external identifier * [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier * [Observation](observation.html): The unique id for a particular observation * [Procedure](procedure.html): A unique identifier for a procedure * [RiskAssessment](riskassessment.html): Unique identifier for the assessment * [ServiceRequest](servicerequest.html): Identifiers assigned to this order * [SupplyDelivery](supplydelivery.html): External identifier * [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest * [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier */ // https://hl7.org/fhir/r4/search.html#token Identifier datatypes.JSON `gorm:"column:identifier;type:text;serializer:json" json:"identifier,omitempty"` // Language of the resource content // https://hl7.org/fhir/r4/search.html#token Language datatypes.JSON `gorm:"column:language;type:text;serializer:json" json:"language,omitempty"` // When the resource version last changed // https://hl7.org/fhir/r4/search.html#date LastUpdated *time.Time `gorm:"column:lastUpdated;type:datetime" json:"lastUpdated,omitempty"` // Onsets as age or age range // https://hl7.org/fhir/r4/search.html#quantity OnsetAge datatypes.JSON `gorm:"column:onsetAge;type:text;serializer:json" json:"onsetAge,omitempty"` // Date related onsets (dateTime and Period) // https://hl7.org/fhir/r4/search.html#date OnsetDate *time.Time `gorm:"column:onsetDate;type:datetime" json:"onsetDate,omitempty"` // Onsets as a string // https://hl7.org/fhir/r4/search.html#string OnsetInfo datatypes.JSON `gorm:"column:onsetInfo;type:text;serializer:json" json:"onsetInfo,omitempty"` // Profiles this resource claims to conform to // https://hl7.org/fhir/r4/search.html#reference Profile datatypes.JSON `gorm:"column:profile;type:text;serializer:json" json:"profile,omitempty"` // Date record was first recorded // https://hl7.org/fhir/r4/search.html#date RecordedDate *time.Time `gorm:"column:recordedDate;type:datetime" json:"recordedDate,omitempty"` // The severity of the condition // https://hl7.org/fhir/r4/search.html#token Severity datatypes.JSON `gorm:"column:severity;type:text;serializer:json" json:"severity,omitempty"` // Simple summary (disease specific) // https://hl7.org/fhir/r4/search.html#token Stage datatypes.JSON `gorm:"column:stage;type:text;serializer:json" json:"stage,omitempty"` // Who has the condition? // https://hl7.org/fhir/r4/search.html#reference Subject datatypes.JSON `gorm:"column:subject;type:text;serializer:json" json:"subject,omitempty"` // Tags applied to this resource // https://hl7.org/fhir/r4/search.html#token Tag datatypes.JSON `gorm:"column:tag;type:text;serializer:json" json:"tag,omitempty"` // Text search against the narrative // https://hl7.org/fhir/r4/search.html#string Text datatypes.JSON `gorm:"column:text;type:text;serializer:json" json:"text,omitempty"` // A resource type filter // https://hl7.org/fhir/r4/search.html#special Type datatypes.JSON `gorm:"column:type;type:text;serializer:json" json:"type,omitempty"` // unconfirmed | provisional | differential | confirmed | refuted | entered-in-error // https://hl7.org/fhir/r4/search.html#token VerificationStatus datatypes.JSON `gorm:"column:verificationStatus;type:text;serializer:json" json:"verificationStatus,omitempty"` }
func (*FhirCondition) GetSearchParameters ¶
func (s *FhirCondition) GetSearchParameters() map[string]string
func (*FhirCondition) PopulateAndExtractSearchParameters ¶
func (s *FhirCondition) PopulateAndExtractSearchParameters(resourceRaw json.RawMessage) error
func (*FhirCondition) TableName ¶
func (s *FhirCondition) TableName() string
TableName overrides the table name from fhir_observations (pluralized) to `fhir_observation`. https://gorm.io/docs/conventions.html#TableName
type FhirConsent ¶
type FhirConsent struct { models.ResourceBase // Actions controlled by this rule // https://hl7.org/fhir/r4/search.html#token Action datatypes.JSON `gorm:"column:action;type:text;serializer:json" json:"action,omitempty"` // Resource for the actor (or group, by role) // https://hl7.org/fhir/r4/search.html#reference Actor datatypes.JSON `gorm:"column:actor;type:text;serializer:json" json:"actor,omitempty"` // Classification of the consent statement - for indexing/retrieval // https://hl7.org/fhir/r4/search.html#token Category datatypes.JSON `gorm:"column:category;type:text;serializer:json" json:"category,omitempty"` // Who is agreeing to the policy and rules // https://hl7.org/fhir/r4/search.html#reference Consentor datatypes.JSON `gorm:"column:consentor;type:text;serializer:json" json:"consentor,omitempty"` // The actual data reference // https://hl7.org/fhir/r4/search.html#reference Data datatypes.JSON `gorm:"column:data;type:text;serializer:json" json:"data,omitempty"` /* Multiple Resources: * [AllergyIntolerance](allergyintolerance.html): Date first version of the resource instance was recorded * [CarePlan](careplan.html): Time period plan covers * [CareTeam](careteam.html): Time period team covers * [ClinicalImpression](clinicalimpression.html): When the assessment was documented * [Composition](composition.html): Composition editing time * [Consent](consent.html): When this Consent was created or indexed * [DiagnosticReport](diagnosticreport.html): The clinically relevant time of the report * [Encounter](encounter.html): A date within the period the Encounter lasted * [EpisodeOfCare](episodeofcare.html): The provided date search value falls within the episode of care's period * [FamilyMemberHistory](familymemberhistory.html): When history was recorded or last updated * [Flag](flag.html): Time period when flag is active * [Immunization](immunization.html): Vaccination (non)-Administration Date * [List](list.html): When the list was prepared * [Observation](observation.html): Obtained date/time. If the obtained element is a period, a date that falls in the period * [Procedure](procedure.html): When the procedure was performed * [RiskAssessment](riskassessment.html): When was assessment made? * [SupplyRequest](supplyrequest.html): When the request was made */ // https://hl7.org/fhir/r4/search.html#date Date *time.Time `gorm:"column:date;type:datetime" json:"date,omitempty"` /* Multiple Resources: * [AllergyIntolerance](allergyintolerance.html): External ids for this item * [CarePlan](careplan.html): External Ids for this plan * [CareTeam](careteam.html): External Ids for this team * [Composition](composition.html): Version-independent identifier for the Composition * [Condition](condition.html): A unique identifier of the condition record * [Consent](consent.html): Identifier for this record (external references) * [DetectedIssue](detectedissue.html): Unique id for the detected issue * [DeviceRequest](devicerequest.html): Business identifier for request/order * [DiagnosticReport](diagnosticreport.html): An identifier for the report * [DocumentManifest](documentmanifest.html): Unique Identifier for the set of documents * [DocumentReference](documentreference.html): Master Version Specific Identifier * [Encounter](encounter.html): Identifier(s) by which this encounter is known * [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare * [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier * [Goal](goal.html): External Ids for this goal * [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID and Accession number * [Immunization](immunization.html): Business identifier * [List](list.html): Business identifier * [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier * [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier * [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier * [MedicationStatement](medicationstatement.html): Return statements with this external identifier * [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier * [Observation](observation.html): The unique id for a particular observation * [Procedure](procedure.html): A unique identifier for a procedure * [RiskAssessment](riskassessment.html): Unique identifier for the assessment * [ServiceRequest](servicerequest.html): Identifiers assigned to this order * [SupplyDelivery](supplydelivery.html): External identifier * [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest * [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier */ // https://hl7.org/fhir/r4/search.html#token Identifier datatypes.JSON `gorm:"column:identifier;type:text;serializer:json" json:"identifier,omitempty"` // Language of the resource content // https://hl7.org/fhir/r4/search.html#token Language datatypes.JSON `gorm:"column:language;type:text;serializer:json" json:"language,omitempty"` // When the resource version last changed // https://hl7.org/fhir/r4/search.html#date LastUpdated *time.Time `gorm:"column:lastUpdated;type:datetime" json:"lastUpdated,omitempty"` // Custodian of the consent // https://hl7.org/fhir/r4/search.html#reference Organization datatypes.JSON `gorm:"column:organization;type:text;serializer:json" json:"organization,omitempty"` // Timeframe for this rule // https://hl7.org/fhir/r4/search.html#date Period *time.Time `gorm:"column:period;type:datetime" json:"period,omitempty"` // Profiles this resource claims to conform to // https://hl7.org/fhir/r4/search.html#reference Profile datatypes.JSON `gorm:"column:profile;type:text;serializer:json" json:"profile,omitempty"` // Context of activities covered by this rule // https://hl7.org/fhir/r4/search.html#token Purpose datatypes.JSON `gorm:"column:purpose;type:text;serializer:json" json:"purpose,omitempty"` // Which of the four areas this resource covers (extensible) // https://hl7.org/fhir/r4/search.html#token Scope datatypes.JSON `gorm:"column:scope;type:text;serializer:json" json:"scope,omitempty"` // Security Labels that define affected resources // https://hl7.org/fhir/r4/search.html#token SecurityLabel datatypes.JSON `gorm:"column:securityLabel;type:text;serializer:json" json:"securityLabel,omitempty"` // Search by reference to a Consent, DocumentReference, Contract or QuestionnaireResponse // https://hl7.org/fhir/r4/search.html#reference SourceReference datatypes.JSON `gorm:"column:sourceReference;type:text;serializer:json" json:"sourceReference,omitempty"` // draft | proposed | active | rejected | inactive | entered-in-error // https://hl7.org/fhir/r4/search.html#token Status datatypes.JSON `gorm:"column:status;type:text;serializer:json" json:"status,omitempty"` // Tags applied to this resource // https://hl7.org/fhir/r4/search.html#token Tag datatypes.JSON `gorm:"column:tag;type:text;serializer:json" json:"tag,omitempty"` // Text search against the narrative // https://hl7.org/fhir/r4/search.html#string Text datatypes.JSON `gorm:"column:text;type:text;serializer:json" json:"text,omitempty"` // A resource type filter // https://hl7.org/fhir/r4/search.html#special Type datatypes.JSON `gorm:"column:type;type:text;serializer:json" json:"type,omitempty"` }
func (*FhirConsent) GetSearchParameters ¶
func (s *FhirConsent) GetSearchParameters() map[string]string
func (*FhirConsent) PopulateAndExtractSearchParameters ¶
func (s *FhirConsent) PopulateAndExtractSearchParameters(resourceRaw json.RawMessage) error
func (*FhirConsent) TableName ¶
func (s *FhirConsent) TableName() string
TableName overrides the table name from fhir_observations (pluralized) to `fhir_observation`. https://gorm.io/docs/conventions.html#TableName
type FhirCoverage ¶
type FhirCoverage struct { models.ResourceBase // Covered party // https://hl7.org/fhir/r4/search.html#reference Beneficiary datatypes.JSON `gorm:"column:beneficiary;type:text;serializer:json" json:"beneficiary,omitempty"` // Coverage class (eg. plan, group) // https://hl7.org/fhir/r4/search.html#token ClassType datatypes.JSON `gorm:"column:classType;type:text;serializer:json" json:"classType,omitempty"` // Value of the class (eg. Plan number, group number) // https://hl7.org/fhir/r4/search.html#string ClassValue datatypes.JSON `gorm:"column:classValue;type:text;serializer:json" json:"classValue,omitempty"` // Dependent number // https://hl7.org/fhir/r4/search.html#string Dependent datatypes.JSON `gorm:"column:dependent;type:text;serializer:json" json:"dependent,omitempty"` // The primary identifier of the insured and the coverage // https://hl7.org/fhir/r4/search.html#token Identifier datatypes.JSON `gorm:"column:identifier;type:text;serializer:json" json:"identifier,omitempty"` // Language of the resource content // https://hl7.org/fhir/r4/search.html#token Language datatypes.JSON `gorm:"column:language;type:text;serializer:json" json:"language,omitempty"` // When the resource version last changed // https://hl7.org/fhir/r4/search.html#date LastUpdated *time.Time `gorm:"column:lastUpdated;type:datetime" json:"lastUpdated,omitempty"` // The identity of the insurer or party paying for services // https://hl7.org/fhir/r4/search.html#reference Payor datatypes.JSON `gorm:"column:payor;type:text;serializer:json" json:"payor,omitempty"` // Reference to the policyholder // https://hl7.org/fhir/r4/search.html#reference PolicyHolder datatypes.JSON `gorm:"column:policyHolder;type:text;serializer:json" json:"policyHolder,omitempty"` // Profiles this resource claims to conform to // https://hl7.org/fhir/r4/search.html#reference Profile datatypes.JSON `gorm:"column:profile;type:text;serializer:json" json:"profile,omitempty"` // The status of the Coverage // https://hl7.org/fhir/r4/search.html#token Status datatypes.JSON `gorm:"column:status;type:text;serializer:json" json:"status,omitempty"` // Reference to the subscriber // https://hl7.org/fhir/r4/search.html#reference Subscriber datatypes.JSON `gorm:"column:subscriber;type:text;serializer:json" json:"subscriber,omitempty"` // Tags applied to this resource // https://hl7.org/fhir/r4/search.html#token Tag datatypes.JSON `gorm:"column:tag;type:text;serializer:json" json:"tag,omitempty"` // Text search against the narrative // https://hl7.org/fhir/r4/search.html#string Text datatypes.JSON `gorm:"column:text;type:text;serializer:json" json:"text,omitempty"` // A resource type filter // https://hl7.org/fhir/r4/search.html#special Type datatypes.JSON `gorm:"column:type;type:text;serializer:json" json:"type,omitempty"` }
func (*FhirCoverage) GetSearchParameters ¶
func (s *FhirCoverage) GetSearchParameters() map[string]string
func (*FhirCoverage) PopulateAndExtractSearchParameters ¶
func (s *FhirCoverage) PopulateAndExtractSearchParameters(resourceRaw json.RawMessage) error
func (*FhirCoverage) TableName ¶
func (s *FhirCoverage) TableName() string
TableName overrides the table name from fhir_observations (pluralized) to `fhir_observation`. https://gorm.io/docs/conventions.html#TableName
type FhirCoverageEligibilityRequest ¶
type FhirCoverageEligibilityRequest struct { models.ResourceBase // The creation date for the EOB // https://hl7.org/fhir/r4/search.html#date Created *time.Time `gorm:"column:created;type:datetime" json:"created,omitempty"` // The party who is responsible for the request // https://hl7.org/fhir/r4/search.html#reference Enterer datatypes.JSON `gorm:"column:enterer;type:text;serializer:json" json:"enterer,omitempty"` // Facility responsible for the goods and services // https://hl7.org/fhir/r4/search.html#reference Facility datatypes.JSON `gorm:"column:facility;type:text;serializer:json" json:"facility,omitempty"` // The business identifier of the Eligibility // https://hl7.org/fhir/r4/search.html#token Identifier datatypes.JSON `gorm:"column:identifier;type:text;serializer:json" json:"identifier,omitempty"` // Language of the resource content // https://hl7.org/fhir/r4/search.html#token Language datatypes.JSON `gorm:"column:language;type:text;serializer:json" json:"language,omitempty"` // When the resource version last changed // https://hl7.org/fhir/r4/search.html#date LastUpdated *time.Time `gorm:"column:lastUpdated;type:datetime" json:"lastUpdated,omitempty"` // Profiles this resource claims to conform to // https://hl7.org/fhir/r4/search.html#reference Profile datatypes.JSON `gorm:"column:profile;type:text;serializer:json" json:"profile,omitempty"` // The reference to the provider // https://hl7.org/fhir/r4/search.html#reference Provider datatypes.JSON `gorm:"column:provider;type:text;serializer:json" json:"provider,omitempty"` // The status of the EligibilityRequest // https://hl7.org/fhir/r4/search.html#token Status datatypes.JSON `gorm:"column:status;type:text;serializer:json" json:"status,omitempty"` // Tags applied to this resource // https://hl7.org/fhir/r4/search.html#token Tag datatypes.JSON `gorm:"column:tag;type:text;serializer:json" json:"tag,omitempty"` // Text search against the narrative // https://hl7.org/fhir/r4/search.html#string Text datatypes.JSON `gorm:"column:text;type:text;serializer:json" json:"text,omitempty"` // A resource type filter // https://hl7.org/fhir/r4/search.html#special Type datatypes.JSON `gorm:"column:type;type:text;serializer:json" json:"type,omitempty"` }
func (*FhirCoverageEligibilityRequest) GetSearchParameters ¶
func (s *FhirCoverageEligibilityRequest) GetSearchParameters() map[string]string
func (*FhirCoverageEligibilityRequest) PopulateAndExtractSearchParameters ¶
func (s *FhirCoverageEligibilityRequest) PopulateAndExtractSearchParameters(resourceRaw json.RawMessage) error
func (*FhirCoverageEligibilityRequest) TableName ¶
func (s *FhirCoverageEligibilityRequest) TableName() string
TableName overrides the table name from fhir_observations (pluralized) to `fhir_observation`. https://gorm.io/docs/conventions.html#TableName
type FhirCoverageEligibilityResponse ¶
type FhirCoverageEligibilityResponse struct { models.ResourceBase // The creation date // https://hl7.org/fhir/r4/search.html#date Created *time.Time `gorm:"column:created;type:datetime" json:"created,omitempty"` // The contents of the disposition message // https://hl7.org/fhir/r4/search.html#string Disposition datatypes.JSON `gorm:"column:disposition;type:text;serializer:json" json:"disposition,omitempty"` // The business identifier // https://hl7.org/fhir/r4/search.html#token Identifier datatypes.JSON `gorm:"column:identifier;type:text;serializer:json" json:"identifier,omitempty"` // The organization which generated this resource // https://hl7.org/fhir/r4/search.html#reference Insurer datatypes.JSON `gorm:"column:insurer;type:text;serializer:json" json:"insurer,omitempty"` // Language of the resource content // https://hl7.org/fhir/r4/search.html#token Language datatypes.JSON `gorm:"column:language;type:text;serializer:json" json:"language,omitempty"` // When the resource version last changed // https://hl7.org/fhir/r4/search.html#date LastUpdated *time.Time `gorm:"column:lastUpdated;type:datetime" json:"lastUpdated,omitempty"` // The processing outcome // https://hl7.org/fhir/r4/search.html#token Outcome datatypes.JSON `gorm:"column:outcome;type:text;serializer:json" json:"outcome,omitempty"` // Profiles this resource claims to conform to // https://hl7.org/fhir/r4/search.html#reference Profile datatypes.JSON `gorm:"column:profile;type:text;serializer:json" json:"profile,omitempty"` // The EligibilityRequest reference // https://hl7.org/fhir/r4/search.html#reference Request datatypes.JSON `gorm:"column:request;type:text;serializer:json" json:"request,omitempty"` // The EligibilityRequest provider // https://hl7.org/fhir/r4/search.html#reference Requestor datatypes.JSON `gorm:"column:requestor;type:text;serializer:json" json:"requestor,omitempty"` // The EligibilityRequest status // https://hl7.org/fhir/r4/search.html#token Status datatypes.JSON `gorm:"column:status;type:text;serializer:json" json:"status,omitempty"` // Tags applied to this resource // https://hl7.org/fhir/r4/search.html#token Tag datatypes.JSON `gorm:"column:tag;type:text;serializer:json" json:"tag,omitempty"` // Text search against the narrative // https://hl7.org/fhir/r4/search.html#string Text datatypes.JSON `gorm:"column:text;type:text;serializer:json" json:"text,omitempty"` // A resource type filter // https://hl7.org/fhir/r4/search.html#special Type datatypes.JSON `gorm:"column:type;type:text;serializer:json" json:"type,omitempty"` }
func (*FhirCoverageEligibilityResponse) GetSearchParameters ¶
func (s *FhirCoverageEligibilityResponse) GetSearchParameters() map[string]string
func (*FhirCoverageEligibilityResponse) PopulateAndExtractSearchParameters ¶
func (s *FhirCoverageEligibilityResponse) PopulateAndExtractSearchParameters(resourceRaw json.RawMessage) error
func (*FhirCoverageEligibilityResponse) TableName ¶
func (s *FhirCoverageEligibilityResponse) TableName() string
TableName overrides the table name from fhir_observations (pluralized) to `fhir_observation`. https://gorm.io/docs/conventions.html#TableName
type FhirDevice ¶
type FhirDevice struct { models.ResourceBase // A server defined search that may match any of the string fields in Device.deviceName or Device.type. // https://hl7.org/fhir/r4/search.html#string DeviceName datatypes.JSON `gorm:"column:deviceName;type:text;serializer:json" json:"deviceName,omitempty"` // Instance id from manufacturer, owner, and others // https://hl7.org/fhir/r4/search.html#token Identifier datatypes.JSON `gorm:"column:identifier;type:text;serializer:json" json:"identifier,omitempty"` // Language of the resource content // https://hl7.org/fhir/r4/search.html#token Language datatypes.JSON `gorm:"column:language;type:text;serializer:json" json:"language,omitempty"` // When the resource version last changed // https://hl7.org/fhir/r4/search.html#date LastUpdated *time.Time `gorm:"column:lastUpdated;type:datetime" json:"lastUpdated,omitempty"` // A location, where the resource is found // https://hl7.org/fhir/r4/search.html#reference Location datatypes.JSON `gorm:"column:location;type:text;serializer:json" json:"location,omitempty"` // The manufacturer of the device // https://hl7.org/fhir/r4/search.html#string Manufacturer datatypes.JSON `gorm:"column:manufacturer;type:text;serializer:json" json:"manufacturer,omitempty"` // The model of the device // https://hl7.org/fhir/r4/search.html#string Model datatypes.JSON `gorm:"column:model;type:text;serializer:json" json:"model,omitempty"` // The organization responsible for the device // https://hl7.org/fhir/r4/search.html#reference Organization datatypes.JSON `gorm:"column:organization;type:text;serializer:json" json:"organization,omitempty"` // Profiles this resource claims to conform to // https://hl7.org/fhir/r4/search.html#reference Profile datatypes.JSON `gorm:"column:profile;type:text;serializer:json" json:"profile,omitempty"` // active | inactive | entered-in-error | unknown // https://hl7.org/fhir/r4/search.html#token Status datatypes.JSON `gorm:"column:status;type:text;serializer:json" json:"status,omitempty"` // Tags applied to this resource // https://hl7.org/fhir/r4/search.html#token Tag datatypes.JSON `gorm:"column:tag;type:text;serializer:json" json:"tag,omitempty"` // Text search against the narrative // https://hl7.org/fhir/r4/search.html#string Text datatypes.JSON `gorm:"column:text;type:text;serializer:json" json:"text,omitempty"` // A resource type filter // https://hl7.org/fhir/r4/search.html#special Type datatypes.JSON `gorm:"column:type;type:text;serializer:json" json:"type,omitempty"` // UDI Barcode (RFID or other technology) string in *HRF* format. // https://hl7.org/fhir/r4/search.html#string UdiCarrier datatypes.JSON `gorm:"column:udiCarrier;type:text;serializer:json" json:"udiCarrier,omitempty"` // The udi Device Identifier (DI) // https://hl7.org/fhir/r4/search.html#string UdiDi datatypes.JSON `gorm:"column:udiDi;type:text;serializer:json" json:"udiDi,omitempty"` // Network address to contact device // https://hl7.org/fhir/r4/search.html#uri Url string `gorm:"column:url;type:text" json:"url,omitempty"` }
func (*FhirDevice) GetSearchParameters ¶
func (s *FhirDevice) GetSearchParameters() map[string]string
func (*FhirDevice) PopulateAndExtractSearchParameters ¶
func (s *FhirDevice) PopulateAndExtractSearchParameters(resourceRaw json.RawMessage) error
func (*FhirDevice) TableName ¶
func (s *FhirDevice) TableName() string
TableName overrides the table name from fhir_observations (pluralized) to `fhir_observation`. https://gorm.io/docs/conventions.html#TableName
type FhirDeviceRequest ¶
type FhirDeviceRequest struct { models.ResourceBase // When the request transitioned to being actionable // https://hl7.org/fhir/r4/search.html#date AuthoredOn *time.Time `gorm:"column:authoredOn;type:datetime" json:"authoredOn,omitempty"` // Plan/proposal/order fulfilled by this request // https://hl7.org/fhir/r4/search.html#reference BasedOn datatypes.JSON `gorm:"column:basedOn;type:text;serializer:json" json:"basedOn,omitempty"` /* Multiple Resources: * [AllergyIntolerance](allergyintolerance.html): Code that identifies the allergy or intolerance * [Condition](condition.html): Code for the condition * [DeviceRequest](devicerequest.html): Code for what is being requested/ordered * [DiagnosticReport](diagnosticreport.html): The code for the report, as opposed to codes for the atomic results, which are the names on the observation resource referred to from the result * [FamilyMemberHistory](familymemberhistory.html): A search by a condition code * [List](list.html): What the purpose of this list is * [Medication](medication.html): Returns medications for a specific code * [MedicationAdministration](medicationadministration.html): Return administrations of this medication code * [MedicationDispense](medicationdispense.html): Returns dispenses of this medicine code * [MedicationRequest](medicationrequest.html): Return prescriptions of this medication code * [MedicationStatement](medicationstatement.html): Return statements of this medication code * [Observation](observation.html): The code of the observation type * [Procedure](procedure.html): A code to identify a procedure * [ServiceRequest](servicerequest.html): What is being requested/ordered */ // https://hl7.org/fhir/r4/search.html#token Code datatypes.JSON `gorm:"column:code;type:text;serializer:json" json:"code,omitempty"` // Reference to resource that is being requested/ordered // https://hl7.org/fhir/r4/search.html#reference Device datatypes.JSON `gorm:"column:device;type:text;serializer:json" json:"device,omitempty"` /* Multiple Resources: * [Composition](composition.html): Context of the Composition * [DeviceRequest](devicerequest.html): Encounter during which request was created * [DiagnosticReport](diagnosticreport.html): The Encounter when the order was made * [DocumentReference](documentreference.html): Context of the document content * [Flag](flag.html): Alert relevant during encounter * [List](list.html): Context in which list created * [NutritionOrder](nutritionorder.html): Return nutrition orders with this encounter identifier * [Observation](observation.html): Encounter related to the observation * [Procedure](procedure.html): Encounter created as part of * [RiskAssessment](riskassessment.html): Where was assessment performed? * [ServiceRequest](servicerequest.html): An encounter in which this request is made * [VisionPrescription](visionprescription.html): Return prescriptions with this encounter identifier */ // https://hl7.org/fhir/r4/search.html#reference Encounter datatypes.JSON `gorm:"column:encounter;type:text;serializer:json" json:"encounter,omitempty"` // When service should occur // https://hl7.org/fhir/r4/search.html#date EventDate *time.Time `gorm:"column:eventDate;type:datetime" json:"eventDate,omitempty"` // Composite request this is part of // https://hl7.org/fhir/r4/search.html#token GroupIdentifier datatypes.JSON `gorm:"column:groupIdentifier;type:text;serializer:json" json:"groupIdentifier,omitempty"` /* Multiple Resources: * [AllergyIntolerance](allergyintolerance.html): External ids for this item * [CarePlan](careplan.html): External Ids for this plan * [CareTeam](careteam.html): External Ids for this team * [Composition](composition.html): Version-independent identifier for the Composition * [Condition](condition.html): A unique identifier of the condition record * [Consent](consent.html): Identifier for this record (external references) * [DetectedIssue](detectedissue.html): Unique id for the detected issue * [DeviceRequest](devicerequest.html): Business identifier for request/order * [DiagnosticReport](diagnosticreport.html): An identifier for the report * [DocumentManifest](documentmanifest.html): Unique Identifier for the set of documents * [DocumentReference](documentreference.html): Master Version Specific Identifier * [Encounter](encounter.html): Identifier(s) by which this encounter is known * [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare * [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier * [Goal](goal.html): External Ids for this goal * [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID and Accession number * [Immunization](immunization.html): Business identifier * [List](list.html): Business identifier * [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier * [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier * [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier * [MedicationStatement](medicationstatement.html): Return statements with this external identifier * [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier * [Observation](observation.html): The unique id for a particular observation * [Procedure](procedure.html): A unique identifier for a procedure * [RiskAssessment](riskassessment.html): Unique identifier for the assessment * [ServiceRequest](servicerequest.html): Identifiers assigned to this order * [SupplyDelivery](supplydelivery.html): External identifier * [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest * [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier */ // https://hl7.org/fhir/r4/search.html#token Identifier datatypes.JSON `gorm:"column:identifier;type:text;serializer:json" json:"identifier,omitempty"` // Instantiates FHIR protocol or definition // https://hl7.org/fhir/r4/search.html#reference InstantiatesCanonical datatypes.JSON `gorm:"column:instantiatesCanonical;type:text;serializer:json" json:"instantiatesCanonical,omitempty"` // Instantiates external protocol or definition // https://hl7.org/fhir/r4/search.html#uri InstantiatesUri string `gorm:"column:instantiatesUri;type:text" json:"instantiatesUri,omitempty"` // Associated insurance coverage // https://hl7.org/fhir/r4/search.html#reference Insurance datatypes.JSON `gorm:"column:insurance;type:text;serializer:json" json:"insurance,omitempty"` // proposal | plan | original-order |reflex-order // https://hl7.org/fhir/r4/search.html#token Intent datatypes.JSON `gorm:"column:intent;type:text;serializer:json" json:"intent,omitempty"` // Language of the resource content // https://hl7.org/fhir/r4/search.html#token Language datatypes.JSON `gorm:"column:language;type:text;serializer:json" json:"language,omitempty"` // When the resource version last changed // https://hl7.org/fhir/r4/search.html#date LastUpdated *time.Time `gorm:"column:lastUpdated;type:datetime" json:"lastUpdated,omitempty"` // Desired performer for service // https://hl7.org/fhir/r4/search.html#reference Performer datatypes.JSON `gorm:"column:performer;type:text;serializer:json" json:"performer,omitempty"` // Request takes the place of referenced completed or terminated requests // https://hl7.org/fhir/r4/search.html#reference PriorRequest datatypes.JSON `gorm:"column:priorRequest;type:text;serializer:json" json:"priorRequest,omitempty"` // Profiles this resource claims to conform to // https://hl7.org/fhir/r4/search.html#reference Profile datatypes.JSON `gorm:"column:profile;type:text;serializer:json" json:"profile,omitempty"` // Who/what is requesting service // https://hl7.org/fhir/r4/search.html#reference Requester datatypes.JSON `gorm:"column:requester;type:text;serializer:json" json:"requester,omitempty"` // entered-in-error | draft | active |suspended | completed // https://hl7.org/fhir/r4/search.html#token Status datatypes.JSON `gorm:"column:status;type:text;serializer:json" json:"status,omitempty"` // Individual the service is ordered for // https://hl7.org/fhir/r4/search.html#reference Subject datatypes.JSON `gorm:"column:subject;type:text;serializer:json" json:"subject,omitempty"` // Tags applied to this resource // https://hl7.org/fhir/r4/search.html#token Tag datatypes.JSON `gorm:"column:tag;type:text;serializer:json" json:"tag,omitempty"` // Text search against the narrative // https://hl7.org/fhir/r4/search.html#string Text datatypes.JSON `gorm:"column:text;type:text;serializer:json" json:"text,omitempty"` // A resource type filter // https://hl7.org/fhir/r4/search.html#special Type datatypes.JSON `gorm:"column:type;type:text;serializer:json" json:"type,omitempty"` }
func (*FhirDeviceRequest) GetSearchParameters ¶
func (s *FhirDeviceRequest) GetSearchParameters() map[string]string
func (*FhirDeviceRequest) PopulateAndExtractSearchParameters ¶
func (s *FhirDeviceRequest) PopulateAndExtractSearchParameters(resourceRaw json.RawMessage) error
func (*FhirDeviceRequest) TableName ¶
func (s *FhirDeviceRequest) TableName() string
TableName overrides the table name from fhir_observations (pluralized) to `fhir_observation`. https://gorm.io/docs/conventions.html#TableName
type FhirDiagnosticReport ¶
type FhirDiagnosticReport struct { models.ResourceBase // Reference to the service request. // https://hl7.org/fhir/r4/search.html#reference BasedOn datatypes.JSON `gorm:"column:basedOn;type:text;serializer:json" json:"basedOn,omitempty"` // Which diagnostic discipline/department created the report // https://hl7.org/fhir/r4/search.html#token Category datatypes.JSON `gorm:"column:category;type:text;serializer:json" json:"category,omitempty"` /* Multiple Resources: * [AllergyIntolerance](allergyintolerance.html): Code that identifies the allergy or intolerance * [Condition](condition.html): Code for the condition * [DeviceRequest](devicerequest.html): Code for what is being requested/ordered * [DiagnosticReport](diagnosticreport.html): The code for the report, as opposed to codes for the atomic results, which are the names on the observation resource referred to from the result * [FamilyMemberHistory](familymemberhistory.html): A search by a condition code * [List](list.html): What the purpose of this list is * [Medication](medication.html): Returns medications for a specific code * [MedicationAdministration](medicationadministration.html): Return administrations of this medication code * [MedicationDispense](medicationdispense.html): Returns dispenses of this medicine code * [MedicationRequest](medicationrequest.html): Return prescriptions of this medication code * [MedicationStatement](medicationstatement.html): Return statements of this medication code * [Observation](observation.html): The code of the observation type * [Procedure](procedure.html): A code to identify a procedure * [ServiceRequest](servicerequest.html): What is being requested/ordered */ // https://hl7.org/fhir/r4/search.html#token Code datatypes.JSON `gorm:"column:code;type:text;serializer:json" json:"code,omitempty"` // A coded conclusion (interpretation/impression) on the report // https://hl7.org/fhir/r4/search.html#token Conclusion datatypes.JSON `gorm:"column:conclusion;type:text;serializer:json" json:"conclusion,omitempty"` /* Multiple Resources: * [AllergyIntolerance](allergyintolerance.html): Date first version of the resource instance was recorded * [CarePlan](careplan.html): Time period plan covers * [CareTeam](careteam.html): Time period team covers * [ClinicalImpression](clinicalimpression.html): When the assessment was documented * [Composition](composition.html): Composition editing time * [Consent](consent.html): When this Consent was created or indexed * [DiagnosticReport](diagnosticreport.html): The clinically relevant time of the report * [Encounter](encounter.html): A date within the period the Encounter lasted * [EpisodeOfCare](episodeofcare.html): The provided date search value falls within the episode of care's period * [FamilyMemberHistory](familymemberhistory.html): When history was recorded or last updated * [Flag](flag.html): Time period when flag is active * [Immunization](immunization.html): Vaccination (non)-Administration Date * [List](list.html): When the list was prepared * [Observation](observation.html): Obtained date/time. If the obtained element is a period, a date that falls in the period * [Procedure](procedure.html): When the procedure was performed * [RiskAssessment](riskassessment.html): When was assessment made? * [SupplyRequest](supplyrequest.html): When the request was made */ // https://hl7.org/fhir/r4/search.html#date Date *time.Time `gorm:"column:date;type:datetime" json:"date,omitempty"` /* Multiple Resources: * [Composition](composition.html): Context of the Composition * [DeviceRequest](devicerequest.html): Encounter during which request was created * [DiagnosticReport](diagnosticreport.html): The Encounter when the order was made * [DocumentReference](documentreference.html): Context of the document content * [Flag](flag.html): Alert relevant during encounter * [List](list.html): Context in which list created * [NutritionOrder](nutritionorder.html): Return nutrition orders with this encounter identifier * [Observation](observation.html): Encounter related to the observation * [Procedure](procedure.html): Encounter created as part of * [RiskAssessment](riskassessment.html): Where was assessment performed? * [ServiceRequest](servicerequest.html): An encounter in which this request is made * [VisionPrescription](visionprescription.html): Return prescriptions with this encounter identifier */ // https://hl7.org/fhir/r4/search.html#reference Encounter datatypes.JSON `gorm:"column:encounter;type:text;serializer:json" json:"encounter,omitempty"` /* Multiple Resources: * [AllergyIntolerance](allergyintolerance.html): External ids for this item * [CarePlan](careplan.html): External Ids for this plan * [CareTeam](careteam.html): External Ids for this team * [Composition](composition.html): Version-independent identifier for the Composition * [Condition](condition.html): A unique identifier of the condition record * [Consent](consent.html): Identifier for this record (external references) * [DetectedIssue](detectedissue.html): Unique id for the detected issue * [DeviceRequest](devicerequest.html): Business identifier for request/order * [DiagnosticReport](diagnosticreport.html): An identifier for the report * [DocumentManifest](documentmanifest.html): Unique Identifier for the set of documents * [DocumentReference](documentreference.html): Master Version Specific Identifier * [Encounter](encounter.html): Identifier(s) by which this encounter is known * [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare * [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier * [Goal](goal.html): External Ids for this goal * [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID and Accession number * [Immunization](immunization.html): Business identifier * [List](list.html): Business identifier * [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier * [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier * [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier * [MedicationStatement](medicationstatement.html): Return statements with this external identifier * [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier * [Observation](observation.html): The unique id for a particular observation * [Procedure](procedure.html): A unique identifier for a procedure * [RiskAssessment](riskassessment.html): Unique identifier for the assessment * [ServiceRequest](servicerequest.html): Identifiers assigned to this order * [SupplyDelivery](supplydelivery.html): External identifier * [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest * [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier */ // https://hl7.org/fhir/r4/search.html#token Identifier datatypes.JSON `gorm:"column:identifier;type:text;serializer:json" json:"identifier,omitempty"` // When the report was issued // https://hl7.org/fhir/r4/search.html#date Issued *time.Time `gorm:"column:issued;type:datetime" json:"issued,omitempty"` // Language of the resource content // https://hl7.org/fhir/r4/search.html#token Language datatypes.JSON `gorm:"column:language;type:text;serializer:json" json:"language,omitempty"` // When the resource version last changed // https://hl7.org/fhir/r4/search.html#date LastUpdated *time.Time `gorm:"column:lastUpdated;type:datetime" json:"lastUpdated,omitempty"` // A reference to the image source. // https://hl7.org/fhir/r4/search.html#reference Media datatypes.JSON `gorm:"column:media;type:text;serializer:json" json:"media,omitempty"` // Who is responsible for the report // https://hl7.org/fhir/r4/search.html#reference Performer datatypes.JSON `gorm:"column:performer;type:text;serializer:json" json:"performer,omitempty"` // Profiles this resource claims to conform to // https://hl7.org/fhir/r4/search.html#reference Profile datatypes.JSON `gorm:"column:profile;type:text;serializer:json" json:"profile,omitempty"` // Link to an atomic result (observation resource) // https://hl7.org/fhir/r4/search.html#reference Result datatypes.JSON `gorm:"column:result;type:text;serializer:json" json:"result,omitempty"` // Who was the source of the report // https://hl7.org/fhir/r4/search.html#reference ResultsInterpreter datatypes.JSON `gorm:"column:resultsInterpreter;type:text;serializer:json" json:"resultsInterpreter,omitempty"` // The specimen details // https://hl7.org/fhir/r4/search.html#reference Specimen datatypes.JSON `gorm:"column:specimen;type:text;serializer:json" json:"specimen,omitempty"` // The status of the report // https://hl7.org/fhir/r4/search.html#token Status datatypes.JSON `gorm:"column:status;type:text;serializer:json" json:"status,omitempty"` // The subject of the report // https://hl7.org/fhir/r4/search.html#reference Subject datatypes.JSON `gorm:"column:subject;type:text;serializer:json" json:"subject,omitempty"` // Tags applied to this resource // https://hl7.org/fhir/r4/search.html#token Tag datatypes.JSON `gorm:"column:tag;type:text;serializer:json" json:"tag,omitempty"` // Text search against the narrative // https://hl7.org/fhir/r4/search.html#string Text datatypes.JSON `gorm:"column:text;type:text;serializer:json" json:"text,omitempty"` // A resource type filter // https://hl7.org/fhir/r4/search.html#special Type datatypes.JSON `gorm:"column:type;type:text;serializer:json" json:"type,omitempty"` }
func (*FhirDiagnosticReport) GetSearchParameters ¶
func (s *FhirDiagnosticReport) GetSearchParameters() map[string]string
func (*FhirDiagnosticReport) PopulateAndExtractSearchParameters ¶
func (s *FhirDiagnosticReport) PopulateAndExtractSearchParameters(resourceRaw json.RawMessage) error
func (*FhirDiagnosticReport) TableName ¶
func (s *FhirDiagnosticReport) TableName() string
TableName overrides the table name from fhir_observations (pluralized) to `fhir_observation`. https://gorm.io/docs/conventions.html#TableName
type FhirDocumentManifest ¶
type FhirDocumentManifest struct { models.ResourceBase // Who and/or what authored the DocumentManifest // https://hl7.org/fhir/r4/search.html#reference Author datatypes.JSON `gorm:"column:author;type:text;serializer:json" json:"author,omitempty"` // When this document manifest created // https://hl7.org/fhir/r4/search.html#date Created *time.Time `gorm:"column:created;type:datetime" json:"created,omitempty"` // Human-readable description (title) // https://hl7.org/fhir/r4/search.html#string Description datatypes.JSON `gorm:"column:description;type:text;serializer:json" json:"description,omitempty"` /* Multiple Resources: * [AllergyIntolerance](allergyintolerance.html): External ids for this item * [CarePlan](careplan.html): External Ids for this plan * [CareTeam](careteam.html): External Ids for this team * [Composition](composition.html): Version-independent identifier for the Composition * [Condition](condition.html): A unique identifier of the condition record * [Consent](consent.html): Identifier for this record (external references) * [DetectedIssue](detectedissue.html): Unique id for the detected issue * [DeviceRequest](devicerequest.html): Business identifier for request/order * [DiagnosticReport](diagnosticreport.html): An identifier for the report * [DocumentManifest](documentmanifest.html): Unique Identifier for the set of documents * [DocumentReference](documentreference.html): Master Version Specific Identifier * [Encounter](encounter.html): Identifier(s) by which this encounter is known * [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare * [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier * [Goal](goal.html): External Ids for this goal * [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID and Accession number * [Immunization](immunization.html): Business identifier * [List](list.html): Business identifier * [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier * [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier * [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier * [MedicationStatement](medicationstatement.html): Return statements with this external identifier * [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier * [Observation](observation.html): The unique id for a particular observation * [Procedure](procedure.html): A unique identifier for a procedure * [RiskAssessment](riskassessment.html): Unique identifier for the assessment * [ServiceRequest](servicerequest.html): Identifiers assigned to this order * [SupplyDelivery](supplydelivery.html): External identifier * [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest * [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier */ // https://hl7.org/fhir/r4/search.html#token Identifier datatypes.JSON `gorm:"column:identifier;type:text;serializer:json" json:"identifier,omitempty"` // Items in manifest // https://hl7.org/fhir/r4/search.html#reference Item datatypes.JSON `gorm:"column:item;type:text;serializer:json" json:"item,omitempty"` // Language of the resource content // https://hl7.org/fhir/r4/search.html#token Language datatypes.JSON `gorm:"column:language;type:text;serializer:json" json:"language,omitempty"` // When the resource version last changed // https://hl7.org/fhir/r4/search.html#date LastUpdated *time.Time `gorm:"column:lastUpdated;type:datetime" json:"lastUpdated,omitempty"` // Profiles this resource claims to conform to // https://hl7.org/fhir/r4/search.html#reference Profile datatypes.JSON `gorm:"column:profile;type:text;serializer:json" json:"profile,omitempty"` // Intended to get notified about this set of documents // https://hl7.org/fhir/r4/search.html#reference Recipient datatypes.JSON `gorm:"column:recipient;type:text;serializer:json" json:"recipient,omitempty"` // Identifiers of things that are related // https://hl7.org/fhir/r4/search.html#token RelatedId datatypes.JSON `gorm:"column:relatedId;type:text;serializer:json" json:"relatedId,omitempty"` // Related Resource // https://hl7.org/fhir/r4/search.html#reference RelatedRef datatypes.JSON `gorm:"column:relatedRef;type:text;serializer:json" json:"relatedRef,omitempty"` // The source system/application/software // https://hl7.org/fhir/r4/search.html#uri Source string `gorm:"column:source;type:text" json:"source,omitempty"` // current | superseded | entered-in-error // https://hl7.org/fhir/r4/search.html#token Status datatypes.JSON `gorm:"column:status;type:text;serializer:json" json:"status,omitempty"` // The subject of the set of documents // https://hl7.org/fhir/r4/search.html#reference Subject datatypes.JSON `gorm:"column:subject;type:text;serializer:json" json:"subject,omitempty"` // Tags applied to this resource // https://hl7.org/fhir/r4/search.html#token Tag datatypes.JSON `gorm:"column:tag;type:text;serializer:json" json:"tag,omitempty"` // Text search against the narrative // https://hl7.org/fhir/r4/search.html#string Text datatypes.JSON `gorm:"column:text;type:text;serializer:json" json:"text,omitempty"` // A resource type filter // https://hl7.org/fhir/r4/search.html#special Type datatypes.JSON `gorm:"column:type;type:text;serializer:json" json:"type,omitempty"` }
func (*FhirDocumentManifest) GetSearchParameters ¶
func (s *FhirDocumentManifest) GetSearchParameters() map[string]string
func (*FhirDocumentManifest) PopulateAndExtractSearchParameters ¶
func (s *FhirDocumentManifest) PopulateAndExtractSearchParameters(resourceRaw json.RawMessage) error
func (*FhirDocumentManifest) TableName ¶
func (s *FhirDocumentManifest) TableName() string
TableName overrides the table name from fhir_observations (pluralized) to `fhir_observation`. https://gorm.io/docs/conventions.html#TableName
type FhirDocumentReference ¶
type FhirDocumentReference struct { models.ResourceBase // Who/what authenticated the document // https://hl7.org/fhir/r4/search.html#reference Authenticator datatypes.JSON `gorm:"column:authenticator;type:text;serializer:json" json:"authenticator,omitempty"` // Who and/or what authored the document // https://hl7.org/fhir/r4/search.html#reference Author datatypes.JSON `gorm:"column:author;type:text;serializer:json" json:"author,omitempty"` // Categorization of document // https://hl7.org/fhir/r4/search.html#token Category datatypes.JSON `gorm:"column:category;type:text;serializer:json" json:"category,omitempty"` // Mime type of the content, with charset etc. // https://hl7.org/fhir/r4/search.html#token Contenttype datatypes.JSON `gorm:"column:contenttype;type:text;serializer:json" json:"contenttype,omitempty"` // Organization which maintains the document // https://hl7.org/fhir/r4/search.html#reference Custodian datatypes.JSON `gorm:"column:custodian;type:text;serializer:json" json:"custodian,omitempty"` // When this document reference was created // https://hl7.org/fhir/r4/search.html#date Date *time.Time `gorm:"column:date;type:datetime" json:"date,omitempty"` // Human-readable description // https://hl7.org/fhir/r4/search.html#string Description datatypes.JSON `gorm:"column:description;type:text;serializer:json" json:"description,omitempty"` /* Multiple Resources: * [Composition](composition.html): Context of the Composition * [DeviceRequest](devicerequest.html): Encounter during which request was created * [DiagnosticReport](diagnosticreport.html): The Encounter when the order was made * [DocumentReference](documentreference.html): Context of the document content * [Flag](flag.html): Alert relevant during encounter * [List](list.html): Context in which list created * [NutritionOrder](nutritionorder.html): Return nutrition orders with this encounter identifier * [Observation](observation.html): Encounter related to the observation * [Procedure](procedure.html): Encounter created as part of * [RiskAssessment](riskassessment.html): Where was assessment performed? * [ServiceRequest](servicerequest.html): An encounter in which this request is made * [VisionPrescription](visionprescription.html): Return prescriptions with this encounter identifier */ // https://hl7.org/fhir/r4/search.html#reference Encounter datatypes.JSON `gorm:"column:encounter;type:text;serializer:json" json:"encounter,omitempty"` // Main clinical acts documented // https://hl7.org/fhir/r4/search.html#token Event datatypes.JSON `gorm:"column:event;type:text;serializer:json" json:"event,omitempty"` // Kind of facility where patient was seen // https://hl7.org/fhir/r4/search.html#token Facility datatypes.JSON `gorm:"column:facility;type:text;serializer:json" json:"facility,omitempty"` // Format/content rules for the document // https://hl7.org/fhir/r4/search.html#token Format datatypes.JSON `gorm:"column:format;type:text;serializer:json" json:"format,omitempty"` /* Multiple Resources: * [AllergyIntolerance](allergyintolerance.html): External ids for this item * [CarePlan](careplan.html): External Ids for this plan * [CareTeam](careteam.html): External Ids for this team * [Composition](composition.html): Version-independent identifier for the Composition * [Condition](condition.html): A unique identifier of the condition record * [Consent](consent.html): Identifier for this record (external references) * [DetectedIssue](detectedissue.html): Unique id for the detected issue * [DeviceRequest](devicerequest.html): Business identifier for request/order * [DiagnosticReport](diagnosticreport.html): An identifier for the report * [DocumentManifest](documentmanifest.html): Unique Identifier for the set of documents * [DocumentReference](documentreference.html): Master Version Specific Identifier * [Encounter](encounter.html): Identifier(s) by which this encounter is known * [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare * [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier * [Goal](goal.html): External Ids for this goal * [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID and Accession number * [Immunization](immunization.html): Business identifier * [List](list.html): Business identifier * [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier * [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier * [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier * [MedicationStatement](medicationstatement.html): Return statements with this external identifier * [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier * [Observation](observation.html): The unique id for a particular observation * [Procedure](procedure.html): A unique identifier for a procedure * [RiskAssessment](riskassessment.html): Unique identifier for the assessment * [ServiceRequest](servicerequest.html): Identifiers assigned to this order * [SupplyDelivery](supplydelivery.html): External identifier * [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest * [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier */ // https://hl7.org/fhir/r4/search.html#token Identifier datatypes.JSON `gorm:"column:identifier;type:text;serializer:json" json:"identifier,omitempty"` // Language of the resource content // https://hl7.org/fhir/r4/search.html#token Language datatypes.JSON `gorm:"column:language;type:text;serializer:json" json:"language,omitempty"` // When the resource version last changed // https://hl7.org/fhir/r4/search.html#date LastUpdated *time.Time `gorm:"column:lastUpdated;type:datetime" json:"lastUpdated,omitempty"` // Uri where the data can be found // https://hl7.org/fhir/r4/search.html#uri Location string `gorm:"column:location;type:text" json:"location,omitempty"` // Time of service that is being documented // https://hl7.org/fhir/r4/search.html#date Period *time.Time `gorm:"column:period;type:datetime" json:"period,omitempty"` // Profiles this resource claims to conform to // https://hl7.org/fhir/r4/search.html#reference Profile datatypes.JSON `gorm:"column:profile;type:text;serializer:json" json:"profile,omitempty"` // Related identifiers or resources // https://hl7.org/fhir/r4/search.html#reference Related datatypes.JSON `gorm:"column:related;type:text;serializer:json" json:"related,omitempty"` // Target of the relationship // https://hl7.org/fhir/r4/search.html#reference Relatesto datatypes.JSON `gorm:"column:relatesto;type:text;serializer:json" json:"relatesto,omitempty"` // replaces | transforms | signs | appends // https://hl7.org/fhir/r4/search.html#token Relation datatypes.JSON `gorm:"column:relation;type:text;serializer:json" json:"relation,omitempty"` // Document security-tags // https://hl7.org/fhir/r4/search.html#token SecurityLabel datatypes.JSON `gorm:"column:securityLabel;type:text;serializer:json" json:"securityLabel,omitempty"` // Additional details about where the content was created (e.g. clinical specialty) // https://hl7.org/fhir/r4/search.html#token Setting datatypes.JSON `gorm:"column:setting;type:text;serializer:json" json:"setting,omitempty"` // current | superseded | entered-in-error // https://hl7.org/fhir/r4/search.html#token Status datatypes.JSON `gorm:"column:status;type:text;serializer:json" json:"status,omitempty"` // Who/what is the subject of the document // https://hl7.org/fhir/r4/search.html#reference Subject datatypes.JSON `gorm:"column:subject;type:text;serializer:json" json:"subject,omitempty"` // Tags applied to this resource // https://hl7.org/fhir/r4/search.html#token Tag datatypes.JSON `gorm:"column:tag;type:text;serializer:json" json:"tag,omitempty"` // Text search against the narrative // https://hl7.org/fhir/r4/search.html#string Text datatypes.JSON `gorm:"column:text;type:text;serializer:json" json:"text,omitempty"` // A resource type filter // https://hl7.org/fhir/r4/search.html#special Type datatypes.JSON `gorm:"column:type;type:text;serializer:json" json:"type,omitempty"` }
func (*FhirDocumentReference) GetSearchParameters ¶
func (s *FhirDocumentReference) GetSearchParameters() map[string]string
func (*FhirDocumentReference) PopulateAndExtractSearchParameters ¶
func (s *FhirDocumentReference) PopulateAndExtractSearchParameters(resourceRaw json.RawMessage) error
func (*FhirDocumentReference) TableName ¶
func (s *FhirDocumentReference) TableName() string
TableName overrides the table name from fhir_observations (pluralized) to `fhir_observation`. https://gorm.io/docs/conventions.html#TableName
type FhirEncounter ¶
type FhirEncounter struct { models.ResourceBase // The set of accounts that may be used for billing for this Encounter // https://hl7.org/fhir/r4/search.html#reference Account datatypes.JSON `gorm:"column:account;type:text;serializer:json" json:"account,omitempty"` // The appointment that scheduled this encounter // https://hl7.org/fhir/r4/search.html#reference Appointment datatypes.JSON `gorm:"column:appointment;type:text;serializer:json" json:"appointment,omitempty"` // The ServiceRequest that initiated this encounter // https://hl7.org/fhir/r4/search.html#reference BasedOn datatypes.JSON `gorm:"column:basedOn;type:text;serializer:json" json:"basedOn,omitempty"` // Classification of patient encounter // https://hl7.org/fhir/r4/search.html#token Class datatypes.JSON `gorm:"column:class;type:text;serializer:json" json:"class,omitempty"` /* Multiple Resources: * [AllergyIntolerance](allergyintolerance.html): Date first version of the resource instance was recorded * [CarePlan](careplan.html): Time period plan covers * [CareTeam](careteam.html): Time period team covers * [ClinicalImpression](clinicalimpression.html): When the assessment was documented * [Composition](composition.html): Composition editing time * [Consent](consent.html): When this Consent was created or indexed * [DiagnosticReport](diagnosticreport.html): The clinically relevant time of the report * [Encounter](encounter.html): A date within the period the Encounter lasted * [EpisodeOfCare](episodeofcare.html): The provided date search value falls within the episode of care's period * [FamilyMemberHistory](familymemberhistory.html): When history was recorded or last updated * [Flag](flag.html): Time period when flag is active * [Immunization](immunization.html): Vaccination (non)-Administration Date * [List](list.html): When the list was prepared * [Observation](observation.html): Obtained date/time. If the obtained element is a period, a date that falls in the period * [Procedure](procedure.html): When the procedure was performed * [RiskAssessment](riskassessment.html): When was assessment made? * [SupplyRequest](supplyrequest.html): When the request was made */ // https://hl7.org/fhir/r4/search.html#date Date *time.Time `gorm:"column:date;type:datetime" json:"date,omitempty"` // The diagnosis or procedure relevant to the encounter // https://hl7.org/fhir/r4/search.html#reference Diagnosis datatypes.JSON `gorm:"column:diagnosis;type:text;serializer:json" json:"diagnosis,omitempty"` // Episode(s) of care that this encounter should be recorded against // https://hl7.org/fhir/r4/search.html#reference EpisodeOfCare datatypes.JSON `gorm:"column:episodeOfCare;type:text;serializer:json" json:"episodeOfCare,omitempty"` /* Multiple Resources: * [AllergyIntolerance](allergyintolerance.html): External ids for this item * [CarePlan](careplan.html): External Ids for this plan * [CareTeam](careteam.html): External Ids for this team * [Composition](composition.html): Version-independent identifier for the Composition * [Condition](condition.html): A unique identifier of the condition record * [Consent](consent.html): Identifier for this record (external references) * [DetectedIssue](detectedissue.html): Unique id for the detected issue * [DeviceRequest](devicerequest.html): Business identifier for request/order * [DiagnosticReport](diagnosticreport.html): An identifier for the report * [DocumentManifest](documentmanifest.html): Unique Identifier for the set of documents * [DocumentReference](documentreference.html): Master Version Specific Identifier * [Encounter](encounter.html): Identifier(s) by which this encounter is known * [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare * [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier * [Goal](goal.html): External Ids for this goal * [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID and Accession number * [Immunization](immunization.html): Business identifier * [List](list.html): Business identifier * [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier * [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier * [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier * [MedicationStatement](medicationstatement.html): Return statements with this external identifier * [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier * [Observation](observation.html): The unique id for a particular observation * [Procedure](procedure.html): A unique identifier for a procedure * [RiskAssessment](riskassessment.html): Unique identifier for the assessment * [ServiceRequest](servicerequest.html): Identifiers assigned to this order * [SupplyDelivery](supplydelivery.html): External identifier * [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest * [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier */ // https://hl7.org/fhir/r4/search.html#token Identifier datatypes.JSON `gorm:"column:identifier;type:text;serializer:json" json:"identifier,omitempty"` // Language of the resource content // https://hl7.org/fhir/r4/search.html#token Language datatypes.JSON `gorm:"column:language;type:text;serializer:json" json:"language,omitempty"` // When the resource version last changed // https://hl7.org/fhir/r4/search.html#date LastUpdated *time.Time `gorm:"column:lastUpdated;type:datetime" json:"lastUpdated,omitempty"` // Length of encounter in days // https://hl7.org/fhir/r4/search.html#quantity Length datatypes.JSON `gorm:"column:length;type:text;serializer:json" json:"length,omitempty"` // Location the encounter takes place // https://hl7.org/fhir/r4/search.html#reference Location datatypes.JSON `gorm:"column:location;type:text;serializer:json" json:"location,omitempty"` // Time period during which the patient was present at the location // https://hl7.org/fhir/r4/search.html#date LocationPeriod *time.Time `gorm:"column:locationPeriod;type:datetime" json:"locationPeriod,omitempty"` // Another Encounter this encounter is part of // https://hl7.org/fhir/r4/search.html#reference PartOf datatypes.JSON `gorm:"column:partOf;type:text;serializer:json" json:"partOf,omitempty"` // Persons involved in the encounter other than the patient // https://hl7.org/fhir/r4/search.html#reference Participant datatypes.JSON `gorm:"column:participant;type:text;serializer:json" json:"participant,omitempty"` // Role of participant in encounter // https://hl7.org/fhir/r4/search.html#token ParticipantType datatypes.JSON `gorm:"column:participantType;type:text;serializer:json" json:"participantType,omitempty"` // Persons involved in the encounter other than the patient // https://hl7.org/fhir/r4/search.html#reference Practitioner datatypes.JSON `gorm:"column:practitioner;type:text;serializer:json" json:"practitioner,omitempty"` // Profiles this resource claims to conform to // https://hl7.org/fhir/r4/search.html#reference Profile datatypes.JSON `gorm:"column:profile;type:text;serializer:json" json:"profile,omitempty"` // Coded reason the encounter takes place // https://hl7.org/fhir/r4/search.html#token ReasonCode datatypes.JSON `gorm:"column:reasonCode;type:text;serializer:json" json:"reasonCode,omitempty"` // Reason the encounter takes place (reference) // https://hl7.org/fhir/r4/search.html#reference ReasonReference datatypes.JSON `gorm:"column:reasonReference;type:text;serializer:json" json:"reasonReference,omitempty"` // The organization (facility) responsible for this encounter // https://hl7.org/fhir/r4/search.html#reference ServiceProvider datatypes.JSON `gorm:"column:serviceProvider;type:text;serializer:json" json:"serviceProvider,omitempty"` // Wheelchair, translator, stretcher, etc. // https://hl7.org/fhir/r4/search.html#token SpecialArrangement datatypes.JSON `gorm:"column:specialArrangement;type:text;serializer:json" json:"specialArrangement,omitempty"` // planned | arrived | triaged | in-progress | onleave | finished | cancelled + // https://hl7.org/fhir/r4/search.html#token Status datatypes.JSON `gorm:"column:status;type:text;serializer:json" json:"status,omitempty"` // The patient or group present at the encounter // https://hl7.org/fhir/r4/search.html#reference Subject datatypes.JSON `gorm:"column:subject;type:text;serializer:json" json:"subject,omitempty"` // Tags applied to this resource // https://hl7.org/fhir/r4/search.html#token Tag datatypes.JSON `gorm:"column:tag;type:text;serializer:json" json:"tag,omitempty"` // Text search against the narrative // https://hl7.org/fhir/r4/search.html#string Text datatypes.JSON `gorm:"column:text;type:text;serializer:json" json:"text,omitempty"` // A resource type filter // https://hl7.org/fhir/r4/search.html#special Type datatypes.JSON `gorm:"column:type;type:text;serializer:json" json:"type,omitempty"` }
func (*FhirEncounter) GetSearchParameters ¶
func (s *FhirEncounter) GetSearchParameters() map[string]string
func (*FhirEncounter) PopulateAndExtractSearchParameters ¶
func (s *FhirEncounter) PopulateAndExtractSearchParameters(resourceRaw json.RawMessage) error
func (*FhirEncounter) TableName ¶
func (s *FhirEncounter) TableName() string
TableName overrides the table name from fhir_observations (pluralized) to `fhir_observation`. https://gorm.io/docs/conventions.html#TableName
type FhirEndpoint ¶
type FhirEndpoint struct { models.ResourceBase // Protocol/Profile/Standard to be used with this endpoint connection // https://hl7.org/fhir/r4/search.html#token ConnectionType datatypes.JSON `gorm:"column:connectionType;type:text;serializer:json" json:"connectionType,omitempty"` // Identifies this endpoint across multiple systems // https://hl7.org/fhir/r4/search.html#token Identifier datatypes.JSON `gorm:"column:identifier;type:text;serializer:json" json:"identifier,omitempty"` // Language of the resource content // https://hl7.org/fhir/r4/search.html#token Language datatypes.JSON `gorm:"column:language;type:text;serializer:json" json:"language,omitempty"` // When the resource version last changed // https://hl7.org/fhir/r4/search.html#date LastUpdated *time.Time `gorm:"column:lastUpdated;type:datetime" json:"lastUpdated,omitempty"` // A name that this endpoint can be identified by // https://hl7.org/fhir/r4/search.html#string Name datatypes.JSON `gorm:"column:name;type:text;serializer:json" json:"name,omitempty"` // The organization that is managing the endpoint // https://hl7.org/fhir/r4/search.html#reference Organization datatypes.JSON `gorm:"column:organization;type:text;serializer:json" json:"organization,omitempty"` // The type of content that may be used at this endpoint (e.g. XDS Discharge summaries) // https://hl7.org/fhir/r4/search.html#token PayloadType datatypes.JSON `gorm:"column:payloadType;type:text;serializer:json" json:"payloadType,omitempty"` // Profiles this resource claims to conform to // https://hl7.org/fhir/r4/search.html#reference Profile datatypes.JSON `gorm:"column:profile;type:text;serializer:json" json:"profile,omitempty"` // The current status of the Endpoint (usually expected to be active) // https://hl7.org/fhir/r4/search.html#token Status datatypes.JSON `gorm:"column:status;type:text;serializer:json" json:"status,omitempty"` // Tags applied to this resource // https://hl7.org/fhir/r4/search.html#token Tag datatypes.JSON `gorm:"column:tag;type:text;serializer:json" json:"tag,omitempty"` // Text search against the narrative // https://hl7.org/fhir/r4/search.html#string Text datatypes.JSON `gorm:"column:text;type:text;serializer:json" json:"text,omitempty"` // A resource type filter // https://hl7.org/fhir/r4/search.html#special Type datatypes.JSON `gorm:"column:type;type:text;serializer:json" json:"type,omitempty"` }
func (*FhirEndpoint) GetSearchParameters ¶
func (s *FhirEndpoint) GetSearchParameters() map[string]string
func (*FhirEndpoint) PopulateAndExtractSearchParameters ¶
func (s *FhirEndpoint) PopulateAndExtractSearchParameters(resourceRaw json.RawMessage) error
func (*FhirEndpoint) TableName ¶
func (s *FhirEndpoint) TableName() string
TableName overrides the table name from fhir_observations (pluralized) to `fhir_observation`. https://gorm.io/docs/conventions.html#TableName
type FhirEnrollmentRequest ¶
type FhirEnrollmentRequest struct { models.ResourceBase // The business identifier of the Enrollment // https://hl7.org/fhir/r4/search.html#token Identifier datatypes.JSON `gorm:"column:identifier;type:text;serializer:json" json:"identifier,omitempty"` // Language of the resource content // https://hl7.org/fhir/r4/search.html#token Language datatypes.JSON `gorm:"column:language;type:text;serializer:json" json:"language,omitempty"` // When the resource version last changed // https://hl7.org/fhir/r4/search.html#date LastUpdated *time.Time `gorm:"column:lastUpdated;type:datetime" json:"lastUpdated,omitempty"` // Profiles this resource claims to conform to // https://hl7.org/fhir/r4/search.html#reference Profile datatypes.JSON `gorm:"column:profile;type:text;serializer:json" json:"profile,omitempty"` // The status of the enrollment // https://hl7.org/fhir/r4/search.html#token Status datatypes.JSON `gorm:"column:status;type:text;serializer:json" json:"status,omitempty"` // The party to be enrolled // https://hl7.org/fhir/r4/search.html#reference Subject datatypes.JSON `gorm:"column:subject;type:text;serializer:json" json:"subject,omitempty"` // Tags applied to this resource // https://hl7.org/fhir/r4/search.html#token Tag datatypes.JSON `gorm:"column:tag;type:text;serializer:json" json:"tag,omitempty"` // Text search against the narrative // https://hl7.org/fhir/r4/search.html#string Text datatypes.JSON `gorm:"column:text;type:text;serializer:json" json:"text,omitempty"` // A resource type filter // https://hl7.org/fhir/r4/search.html#special Type datatypes.JSON `gorm:"column:type;type:text;serializer:json" json:"type,omitempty"` }
func (*FhirEnrollmentRequest) GetSearchParameters ¶
func (s *FhirEnrollmentRequest) GetSearchParameters() map[string]string
func (*FhirEnrollmentRequest) PopulateAndExtractSearchParameters ¶
func (s *FhirEnrollmentRequest) PopulateAndExtractSearchParameters(resourceRaw json.RawMessage) error
func (*FhirEnrollmentRequest) TableName ¶
func (s *FhirEnrollmentRequest) TableName() string
TableName overrides the table name from fhir_observations (pluralized) to `fhir_observation`. https://gorm.io/docs/conventions.html#TableName
type FhirEnrollmentResponse ¶
type FhirEnrollmentResponse struct { models.ResourceBase // The business identifier of the EnrollmentResponse // https://hl7.org/fhir/r4/search.html#token Identifier datatypes.JSON `gorm:"column:identifier;type:text;serializer:json" json:"identifier,omitempty"` // Language of the resource content // https://hl7.org/fhir/r4/search.html#token Language datatypes.JSON `gorm:"column:language;type:text;serializer:json" json:"language,omitempty"` // When the resource version last changed // https://hl7.org/fhir/r4/search.html#date LastUpdated *time.Time `gorm:"column:lastUpdated;type:datetime" json:"lastUpdated,omitempty"` // Profiles this resource claims to conform to // https://hl7.org/fhir/r4/search.html#reference Profile datatypes.JSON `gorm:"column:profile;type:text;serializer:json" json:"profile,omitempty"` // The reference to the claim // https://hl7.org/fhir/r4/search.html#reference Request datatypes.JSON `gorm:"column:request;type:text;serializer:json" json:"request,omitempty"` // The status of the enrollment response // https://hl7.org/fhir/r4/search.html#token Status datatypes.JSON `gorm:"column:status;type:text;serializer:json" json:"status,omitempty"` // Tags applied to this resource // https://hl7.org/fhir/r4/search.html#token Tag datatypes.JSON `gorm:"column:tag;type:text;serializer:json" json:"tag,omitempty"` // Text search against the narrative // https://hl7.org/fhir/r4/search.html#string Text datatypes.JSON `gorm:"column:text;type:text;serializer:json" json:"text,omitempty"` // A resource type filter // https://hl7.org/fhir/r4/search.html#special Type datatypes.JSON `gorm:"column:type;type:text;serializer:json" json:"type,omitempty"` }
func (*FhirEnrollmentResponse) GetSearchParameters ¶
func (s *FhirEnrollmentResponse) GetSearchParameters() map[string]string
func (*FhirEnrollmentResponse) PopulateAndExtractSearchParameters ¶
func (s *FhirEnrollmentResponse) PopulateAndExtractSearchParameters(resourceRaw json.RawMessage) error
func (*FhirEnrollmentResponse) TableName ¶
func (s *FhirEnrollmentResponse) TableName() string
TableName overrides the table name from fhir_observations (pluralized) to `fhir_observation`. https://gorm.io/docs/conventions.html#TableName
type FhirExplanationOfBenefit ¶
type FhirExplanationOfBenefit struct { models.ResourceBase // Member of the CareTeam // https://hl7.org/fhir/r4/search.html#reference CareTeam datatypes.JSON `gorm:"column:careTeam;type:text;serializer:json" json:"careTeam,omitempty"` // The reference to the claim // https://hl7.org/fhir/r4/search.html#reference Claim datatypes.JSON `gorm:"column:claim;type:text;serializer:json" json:"claim,omitempty"` // The plan under which the claim was adjudicated // https://hl7.org/fhir/r4/search.html#reference Coverage datatypes.JSON `gorm:"column:coverage;type:text;serializer:json" json:"coverage,omitempty"` // The creation date for the EOB // https://hl7.org/fhir/r4/search.html#date Created *time.Time `gorm:"column:created;type:datetime" json:"created,omitempty"` // UDI associated with a line item detail product or service // https://hl7.org/fhir/r4/search.html#reference DetailUdi datatypes.JSON `gorm:"column:detailUdi;type:text;serializer:json" json:"detailUdi,omitempty"` // The contents of the disposition message // https://hl7.org/fhir/r4/search.html#string Disposition datatypes.JSON `gorm:"column:disposition;type:text;serializer:json" json:"disposition,omitempty"` // Encounters associated with a billed line item // https://hl7.org/fhir/r4/search.html#reference Encounter datatypes.JSON `gorm:"column:encounter;type:text;serializer:json" json:"encounter,omitempty"` // The party responsible for the entry of the Claim // https://hl7.org/fhir/r4/search.html#reference Enterer datatypes.JSON `gorm:"column:enterer;type:text;serializer:json" json:"enterer,omitempty"` // Facility responsible for the goods and services // https://hl7.org/fhir/r4/search.html#reference Facility datatypes.JSON `gorm:"column:facility;type:text;serializer:json" json:"facility,omitempty"` // The business identifier of the Explanation of Benefit // https://hl7.org/fhir/r4/search.html#token Identifier datatypes.JSON `gorm:"column:identifier;type:text;serializer:json" json:"identifier,omitempty"` // UDI associated with a line item product or service // https://hl7.org/fhir/r4/search.html#reference ItemUdi datatypes.JSON `gorm:"column:itemUdi;type:text;serializer:json" json:"itemUdi,omitempty"` // Language of the resource content // https://hl7.org/fhir/r4/search.html#token Language datatypes.JSON `gorm:"column:language;type:text;serializer:json" json:"language,omitempty"` // When the resource version last changed // https://hl7.org/fhir/r4/search.html#date LastUpdated *time.Time `gorm:"column:lastUpdated;type:datetime" json:"lastUpdated,omitempty"` // The party receiving any payment for the Claim // https://hl7.org/fhir/r4/search.html#reference Payee datatypes.JSON `gorm:"column:payee;type:text;serializer:json" json:"payee,omitempty"` // UDI associated with a procedure // https://hl7.org/fhir/r4/search.html#reference ProcedureUdi datatypes.JSON `gorm:"column:procedureUdi;type:text;serializer:json" json:"procedureUdi,omitempty"` // Profiles this resource claims to conform to // https://hl7.org/fhir/r4/search.html#reference Profile datatypes.JSON `gorm:"column:profile;type:text;serializer:json" json:"profile,omitempty"` // The reference to the provider // https://hl7.org/fhir/r4/search.html#reference Provider datatypes.JSON `gorm:"column:provider;type:text;serializer:json" json:"provider,omitempty"` // Status of the instance // https://hl7.org/fhir/r4/search.html#token Status datatypes.JSON `gorm:"column:status;type:text;serializer:json" json:"status,omitempty"` // UDI associated with a line item detail subdetail product or service // https://hl7.org/fhir/r4/search.html#reference SubdetailUdi datatypes.JSON `gorm:"column:subdetailUdi;type:text;serializer:json" json:"subdetailUdi,omitempty"` // Tags applied to this resource // https://hl7.org/fhir/r4/search.html#token Tag datatypes.JSON `gorm:"column:tag;type:text;serializer:json" json:"tag,omitempty"` // Text search against the narrative // https://hl7.org/fhir/r4/search.html#string Text datatypes.JSON `gorm:"column:text;type:text;serializer:json" json:"text,omitempty"` // A resource type filter // https://hl7.org/fhir/r4/search.html#special Type datatypes.JSON `gorm:"column:type;type:text;serializer:json" json:"type,omitempty"` }
func (*FhirExplanationOfBenefit) GetSearchParameters ¶
func (s *FhirExplanationOfBenefit) GetSearchParameters() map[string]string
func (*FhirExplanationOfBenefit) PopulateAndExtractSearchParameters ¶
func (s *FhirExplanationOfBenefit) PopulateAndExtractSearchParameters(resourceRaw json.RawMessage) error
func (*FhirExplanationOfBenefit) TableName ¶
func (s *FhirExplanationOfBenefit) TableName() string
TableName overrides the table name from fhir_observations (pluralized) to `fhir_observation`. https://gorm.io/docs/conventions.html#TableName
type FhirFamilyMemberHistory ¶
type FhirFamilyMemberHistory struct { models.ResourceBase /* Multiple Resources: * [AllergyIntolerance](allergyintolerance.html): Code that identifies the allergy or intolerance * [Condition](condition.html): Code for the condition * [DeviceRequest](devicerequest.html): Code for what is being requested/ordered * [DiagnosticReport](diagnosticreport.html): The code for the report, as opposed to codes for the atomic results, which are the names on the observation resource referred to from the result * [FamilyMemberHistory](familymemberhistory.html): A search by a condition code * [List](list.html): What the purpose of this list is * [Medication](medication.html): Returns medications for a specific code * [MedicationAdministration](medicationadministration.html): Return administrations of this medication code * [MedicationDispense](medicationdispense.html): Returns dispenses of this medicine code * [MedicationRequest](medicationrequest.html): Return prescriptions of this medication code * [MedicationStatement](medicationstatement.html): Return statements of this medication code * [Observation](observation.html): The code of the observation type * [Procedure](procedure.html): A code to identify a procedure * [ServiceRequest](servicerequest.html): What is being requested/ordered */ // https://hl7.org/fhir/r4/search.html#token Code datatypes.JSON `gorm:"column:code;type:text;serializer:json" json:"code,omitempty"` /* Multiple Resources: * [AllergyIntolerance](allergyintolerance.html): Date first version of the resource instance was recorded * [CarePlan](careplan.html): Time period plan covers * [CareTeam](careteam.html): Time period team covers * [ClinicalImpression](clinicalimpression.html): When the assessment was documented * [Composition](composition.html): Composition editing time * [Consent](consent.html): When this Consent was created or indexed * [DiagnosticReport](diagnosticreport.html): The clinically relevant time of the report * [Encounter](encounter.html): A date within the period the Encounter lasted * [EpisodeOfCare](episodeofcare.html): The provided date search value falls within the episode of care's period * [FamilyMemberHistory](familymemberhistory.html): When history was recorded or last updated * [Flag](flag.html): Time period when flag is active * [Immunization](immunization.html): Vaccination (non)-Administration Date * [List](list.html): When the list was prepared * [Observation](observation.html): Obtained date/time. If the obtained element is a period, a date that falls in the period * [Procedure](procedure.html): When the procedure was performed * [RiskAssessment](riskassessment.html): When was assessment made? * [SupplyRequest](supplyrequest.html): When the request was made */ // https://hl7.org/fhir/r4/search.html#date Date *time.Time `gorm:"column:date;type:datetime" json:"date,omitempty"` /* Multiple Resources: * [AllergyIntolerance](allergyintolerance.html): External ids for this item * [CarePlan](careplan.html): External Ids for this plan * [CareTeam](careteam.html): External Ids for this team * [Composition](composition.html): Version-independent identifier for the Composition * [Condition](condition.html): A unique identifier of the condition record * [Consent](consent.html): Identifier for this record (external references) * [DetectedIssue](detectedissue.html): Unique id for the detected issue * [DeviceRequest](devicerequest.html): Business identifier for request/order * [DiagnosticReport](diagnosticreport.html): An identifier for the report * [DocumentManifest](documentmanifest.html): Unique Identifier for the set of documents * [DocumentReference](documentreference.html): Master Version Specific Identifier * [Encounter](encounter.html): Identifier(s) by which this encounter is known * [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare * [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier * [Goal](goal.html): External Ids for this goal * [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID and Accession number * [Immunization](immunization.html): Business identifier * [List](list.html): Business identifier * [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier * [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier * [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier * [MedicationStatement](medicationstatement.html): Return statements with this external identifier * [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier * [Observation](observation.html): The unique id for a particular observation * [Procedure](procedure.html): A unique identifier for a procedure * [RiskAssessment](riskassessment.html): Unique identifier for the assessment * [ServiceRequest](servicerequest.html): Identifiers assigned to this order * [SupplyDelivery](supplydelivery.html): External identifier * [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest * [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier */ // https://hl7.org/fhir/r4/search.html#token Identifier datatypes.JSON `gorm:"column:identifier;type:text;serializer:json" json:"identifier,omitempty"` // Instantiates FHIR protocol or definition // https://hl7.org/fhir/r4/search.html#reference InstantiatesCanonical datatypes.JSON `gorm:"column:instantiatesCanonical;type:text;serializer:json" json:"instantiatesCanonical,omitempty"` // Instantiates external protocol or definition // https://hl7.org/fhir/r4/search.html#uri InstantiatesUri string `gorm:"column:instantiatesUri;type:text" json:"instantiatesUri,omitempty"` // Language of the resource content // https://hl7.org/fhir/r4/search.html#token Language datatypes.JSON `gorm:"column:language;type:text;serializer:json" json:"language,omitempty"` // When the resource version last changed // https://hl7.org/fhir/r4/search.html#date LastUpdated *time.Time `gorm:"column:lastUpdated;type:datetime" json:"lastUpdated,omitempty"` // Profiles this resource claims to conform to // https://hl7.org/fhir/r4/search.html#reference Profile datatypes.JSON `gorm:"column:profile;type:text;serializer:json" json:"profile,omitempty"` // A search by a relationship type // https://hl7.org/fhir/r4/search.html#token Relationship datatypes.JSON `gorm:"column:relationship;type:text;serializer:json" json:"relationship,omitempty"` // A search by a sex code of a family member // https://hl7.org/fhir/r4/search.html#token Sex datatypes.JSON `gorm:"column:sex;type:text;serializer:json" json:"sex,omitempty"` // partial | completed | entered-in-error | health-unknown // https://hl7.org/fhir/r4/search.html#token Status datatypes.JSON `gorm:"column:status;type:text;serializer:json" json:"status,omitempty"` // Tags applied to this resource // https://hl7.org/fhir/r4/search.html#token Tag datatypes.JSON `gorm:"column:tag;type:text;serializer:json" json:"tag,omitempty"` // Text search against the narrative // https://hl7.org/fhir/r4/search.html#string Text datatypes.JSON `gorm:"column:text;type:text;serializer:json" json:"text,omitempty"` // A resource type filter // https://hl7.org/fhir/r4/search.html#special Type datatypes.JSON `gorm:"column:type;type:text;serializer:json" json:"type,omitempty"` }
func (*FhirFamilyMemberHistory) GetSearchParameters ¶
func (s *FhirFamilyMemberHistory) GetSearchParameters() map[string]string
func (*FhirFamilyMemberHistory) PopulateAndExtractSearchParameters ¶
func (s *FhirFamilyMemberHistory) PopulateAndExtractSearchParameters(resourceRaw json.RawMessage) error
func (*FhirFamilyMemberHistory) TableName ¶
func (s *FhirFamilyMemberHistory) TableName() string
TableName overrides the table name from fhir_observations (pluralized) to `fhir_observation`. https://gorm.io/docs/conventions.html#TableName
type FhirGoal ¶
type FhirGoal struct { models.ResourceBase // in-progress | improving | worsening | no-change | achieved | sustaining | not-achieved | no-progress | not-attainable // https://hl7.org/fhir/r4/search.html#token AchievementStatus datatypes.JSON `gorm:"column:achievementStatus;type:text;serializer:json" json:"achievementStatus,omitempty"` // E.g. Treatment, dietary, behavioral, etc. // https://hl7.org/fhir/r4/search.html#token Category datatypes.JSON `gorm:"column:category;type:text;serializer:json" json:"category,omitempty"` /* Multiple Resources: * [AllergyIntolerance](allergyintolerance.html): External ids for this item * [CarePlan](careplan.html): External Ids for this plan * [CareTeam](careteam.html): External Ids for this team * [Composition](composition.html): Version-independent identifier for the Composition * [Condition](condition.html): A unique identifier of the condition record * [Consent](consent.html): Identifier for this record (external references) * [DetectedIssue](detectedissue.html): Unique id for the detected issue * [DeviceRequest](devicerequest.html): Business identifier for request/order * [DiagnosticReport](diagnosticreport.html): An identifier for the report * [DocumentManifest](documentmanifest.html): Unique Identifier for the set of documents * [DocumentReference](documentreference.html): Master Version Specific Identifier * [Encounter](encounter.html): Identifier(s) by which this encounter is known * [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare * [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier * [Goal](goal.html): External Ids for this goal * [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID and Accession number * [Immunization](immunization.html): Business identifier * [List](list.html): Business identifier * [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier * [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier * [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier * [MedicationStatement](medicationstatement.html): Return statements with this external identifier * [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier * [Observation](observation.html): The unique id for a particular observation * [Procedure](procedure.html): A unique identifier for a procedure * [RiskAssessment](riskassessment.html): Unique identifier for the assessment * [ServiceRequest](servicerequest.html): Identifiers assigned to this order * [SupplyDelivery](supplydelivery.html): External identifier * [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest * [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier */ // https://hl7.org/fhir/r4/search.html#token Identifier datatypes.JSON `gorm:"column:identifier;type:text;serializer:json" json:"identifier,omitempty"` // Language of the resource content // https://hl7.org/fhir/r4/search.html#token Language datatypes.JSON `gorm:"column:language;type:text;serializer:json" json:"language,omitempty"` // When the resource version last changed // https://hl7.org/fhir/r4/search.html#date LastUpdated *time.Time `gorm:"column:lastUpdated;type:datetime" json:"lastUpdated,omitempty"` // proposed | planned | accepted | active | on-hold | completed | cancelled | entered-in-error | rejected // https://hl7.org/fhir/r4/search.html#token LifecycleStatus datatypes.JSON `gorm:"column:lifecycleStatus;type:text;serializer:json" json:"lifecycleStatus,omitempty"` // Profiles this resource claims to conform to // https://hl7.org/fhir/r4/search.html#reference Profile datatypes.JSON `gorm:"column:profile;type:text;serializer:json" json:"profile,omitempty"` // When goal pursuit begins // https://hl7.org/fhir/r4/search.html#date StartDate *time.Time `gorm:"column:startDate;type:datetime" json:"startDate,omitempty"` // Who this goal is intended for // https://hl7.org/fhir/r4/search.html#reference Subject datatypes.JSON `gorm:"column:subject;type:text;serializer:json" json:"subject,omitempty"` // Tags applied to this resource // https://hl7.org/fhir/r4/search.html#token Tag datatypes.JSON `gorm:"column:tag;type:text;serializer:json" json:"tag,omitempty"` // Reach goal on or before // https://hl7.org/fhir/r4/search.html#date TargetDate *time.Time `gorm:"column:targetDate;type:datetime" json:"targetDate,omitempty"` // Text search against the narrative // https://hl7.org/fhir/r4/search.html#string Text datatypes.JSON `gorm:"column:text;type:text;serializer:json" json:"text,omitempty"` // A resource type filter // https://hl7.org/fhir/r4/search.html#special Type datatypes.JSON `gorm:"column:type;type:text;serializer:json" json:"type,omitempty"` }
func (*FhirGoal) GetSearchParameters ¶
func (*FhirGoal) PopulateAndExtractSearchParameters ¶
func (s *FhirGoal) PopulateAndExtractSearchParameters(resourceRaw json.RawMessage) error
func (*FhirGoal) TableName ¶
TableName overrides the table name from fhir_observations (pluralized) to `fhir_observation`. https://gorm.io/docs/conventions.html#TableName
type FhirImagingStudy ¶
type FhirImagingStudy struct { models.ResourceBase // The order for the image // https://hl7.org/fhir/r4/search.html#reference Basedon datatypes.JSON `gorm:"column:basedon;type:text;serializer:json" json:"basedon,omitempty"` // The body site studied // https://hl7.org/fhir/r4/search.html#token Bodysite datatypes.JSON `gorm:"column:bodysite;type:text;serializer:json" json:"bodysite,omitempty"` // The type of the instance // https://hl7.org/fhir/r4/search.html#token DicomClass datatypes.JSON `gorm:"column:dicomClass;type:text;serializer:json" json:"dicomClass,omitempty"` // The context of the study // https://hl7.org/fhir/r4/search.html#reference Encounter datatypes.JSON `gorm:"column:encounter;type:text;serializer:json" json:"encounter,omitempty"` // The endpoint for the study or series // https://hl7.org/fhir/r4/search.html#reference Endpoint datatypes.JSON `gorm:"column:endpoint;type:text;serializer:json" json:"endpoint,omitempty"` /* Multiple Resources: * [AllergyIntolerance](allergyintolerance.html): External ids for this item * [CarePlan](careplan.html): External Ids for this plan * [CareTeam](careteam.html): External Ids for this team * [Composition](composition.html): Version-independent identifier for the Composition * [Condition](condition.html): A unique identifier of the condition record * [Consent](consent.html): Identifier for this record (external references) * [DetectedIssue](detectedissue.html): Unique id for the detected issue * [DeviceRequest](devicerequest.html): Business identifier for request/order * [DiagnosticReport](diagnosticreport.html): An identifier for the report * [DocumentManifest](documentmanifest.html): Unique Identifier for the set of documents * [DocumentReference](documentreference.html): Master Version Specific Identifier * [Encounter](encounter.html): Identifier(s) by which this encounter is known * [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare * [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier * [Goal](goal.html): External Ids for this goal * [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID and Accession number * [Immunization](immunization.html): Business identifier * [List](list.html): Business identifier * [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier * [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier * [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier * [MedicationStatement](medicationstatement.html): Return statements with this external identifier * [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier * [Observation](observation.html): The unique id for a particular observation * [Procedure](procedure.html): A unique identifier for a procedure * [RiskAssessment](riskassessment.html): Unique identifier for the assessment * [ServiceRequest](servicerequest.html): Identifiers assigned to this order * [SupplyDelivery](supplydelivery.html): External identifier * [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest * [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier */ // https://hl7.org/fhir/r4/search.html#token Identifier datatypes.JSON `gorm:"column:identifier;type:text;serializer:json" json:"identifier,omitempty"` // SOP Instance UID for an instance // https://hl7.org/fhir/r4/search.html#token Instance datatypes.JSON `gorm:"column:instance;type:text;serializer:json" json:"instance,omitempty"` // Who interpreted the images // https://hl7.org/fhir/r4/search.html#reference Interpreter datatypes.JSON `gorm:"column:interpreter;type:text;serializer:json" json:"interpreter,omitempty"` // Language of the resource content // https://hl7.org/fhir/r4/search.html#token Language datatypes.JSON `gorm:"column:language;type:text;serializer:json" json:"language,omitempty"` // When the resource version last changed // https://hl7.org/fhir/r4/search.html#date LastUpdated *time.Time `gorm:"column:lastUpdated;type:datetime" json:"lastUpdated,omitempty"` // The modality of the series // https://hl7.org/fhir/r4/search.html#token Modality datatypes.JSON `gorm:"column:modality;type:text;serializer:json" json:"modality,omitempty"` // The person who performed the study // https://hl7.org/fhir/r4/search.html#reference Performer datatypes.JSON `gorm:"column:performer;type:text;serializer:json" json:"performer,omitempty"` // Profiles this resource claims to conform to // https://hl7.org/fhir/r4/search.html#reference Profile datatypes.JSON `gorm:"column:profile;type:text;serializer:json" json:"profile,omitempty"` // The reason for the study // https://hl7.org/fhir/r4/search.html#token Reason datatypes.JSON `gorm:"column:reason;type:text;serializer:json" json:"reason,omitempty"` // The referring physician // https://hl7.org/fhir/r4/search.html#reference Referrer datatypes.JSON `gorm:"column:referrer;type:text;serializer:json" json:"referrer,omitempty"` // DICOM Series Instance UID for a series // https://hl7.org/fhir/r4/search.html#token Series datatypes.JSON `gorm:"column:series;type:text;serializer:json" json:"series,omitempty"` // When the study was started // https://hl7.org/fhir/r4/search.html#date Started *time.Time `gorm:"column:started;type:datetime" json:"started,omitempty"` // The status of the study // https://hl7.org/fhir/r4/search.html#token Status datatypes.JSON `gorm:"column:status;type:text;serializer:json" json:"status,omitempty"` // Who the study is about // https://hl7.org/fhir/r4/search.html#reference Subject datatypes.JSON `gorm:"column:subject;type:text;serializer:json" json:"subject,omitempty"` // Tags applied to this resource // https://hl7.org/fhir/r4/search.html#token Tag datatypes.JSON `gorm:"column:tag;type:text;serializer:json" json:"tag,omitempty"` // Text search against the narrative // https://hl7.org/fhir/r4/search.html#string Text datatypes.JSON `gorm:"column:text;type:text;serializer:json" json:"text,omitempty"` // A resource type filter // https://hl7.org/fhir/r4/search.html#special Type datatypes.JSON `gorm:"column:type;type:text;serializer:json" json:"type,omitempty"` }
func (*FhirImagingStudy) GetSearchParameters ¶
func (s *FhirImagingStudy) GetSearchParameters() map[string]string
func (*FhirImagingStudy) PopulateAndExtractSearchParameters ¶
func (s *FhirImagingStudy) PopulateAndExtractSearchParameters(resourceRaw json.RawMessage) error
func (*FhirImagingStudy) TableName ¶
func (s *FhirImagingStudy) TableName() string
TableName overrides the table name from fhir_observations (pluralized) to `fhir_observation`. https://gorm.io/docs/conventions.html#TableName
type FhirImmunization ¶
type FhirImmunization struct { models.ResourceBase /* Multiple Resources: * [AllergyIntolerance](allergyintolerance.html): Date first version of the resource instance was recorded * [CarePlan](careplan.html): Time period plan covers * [CareTeam](careteam.html): Time period team covers * [ClinicalImpression](clinicalimpression.html): When the assessment was documented * [Composition](composition.html): Composition editing time * [Consent](consent.html): When this Consent was created or indexed * [DiagnosticReport](diagnosticreport.html): The clinically relevant time of the report * [Encounter](encounter.html): A date within the period the Encounter lasted * [EpisodeOfCare](episodeofcare.html): The provided date search value falls within the episode of care's period * [FamilyMemberHistory](familymemberhistory.html): When history was recorded or last updated * [Flag](flag.html): Time period when flag is active * [Immunization](immunization.html): Vaccination (non)-Administration Date * [List](list.html): When the list was prepared * [Observation](observation.html): Obtained date/time. If the obtained element is a period, a date that falls in the period * [Procedure](procedure.html): When the procedure was performed * [RiskAssessment](riskassessment.html): When was assessment made? * [SupplyRequest](supplyrequest.html): When the request was made */ // https://hl7.org/fhir/r4/search.html#date Date *time.Time `gorm:"column:date;type:datetime" json:"date,omitempty"` /* Multiple Resources: * [AllergyIntolerance](allergyintolerance.html): External ids for this item * [CarePlan](careplan.html): External Ids for this plan * [CareTeam](careteam.html): External Ids for this team * [Composition](composition.html): Version-independent identifier for the Composition * [Condition](condition.html): A unique identifier of the condition record * [Consent](consent.html): Identifier for this record (external references) * [DetectedIssue](detectedissue.html): Unique id for the detected issue * [DeviceRequest](devicerequest.html): Business identifier for request/order * [DiagnosticReport](diagnosticreport.html): An identifier for the report * [DocumentManifest](documentmanifest.html): Unique Identifier for the set of documents * [DocumentReference](documentreference.html): Master Version Specific Identifier * [Encounter](encounter.html): Identifier(s) by which this encounter is known * [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare * [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier * [Goal](goal.html): External Ids for this goal * [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID and Accession number * [Immunization](immunization.html): Business identifier * [List](list.html): Business identifier * [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier * [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier * [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier * [MedicationStatement](medicationstatement.html): Return statements with this external identifier * [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier * [Observation](observation.html): The unique id for a particular observation * [Procedure](procedure.html): A unique identifier for a procedure * [RiskAssessment](riskassessment.html): Unique identifier for the assessment * [ServiceRequest](servicerequest.html): Identifiers assigned to this order * [SupplyDelivery](supplydelivery.html): External identifier * [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest * [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier */ // https://hl7.org/fhir/r4/search.html#token Identifier datatypes.JSON `gorm:"column:identifier;type:text;serializer:json" json:"identifier,omitempty"` // Language of the resource content // https://hl7.org/fhir/r4/search.html#token Language datatypes.JSON `gorm:"column:language;type:text;serializer:json" json:"language,omitempty"` // When the resource version last changed // https://hl7.org/fhir/r4/search.html#date LastUpdated *time.Time `gorm:"column:lastUpdated;type:datetime" json:"lastUpdated,omitempty"` // The service delivery location or facility in which the vaccine was / was to be administered // https://hl7.org/fhir/r4/search.html#reference Location datatypes.JSON `gorm:"column:location;type:text;serializer:json" json:"location,omitempty"` // Vaccine Lot Number // https://hl7.org/fhir/r4/search.html#string LotNumber datatypes.JSON `gorm:"column:lotNumber;type:text;serializer:json" json:"lotNumber,omitempty"` // Vaccine Manufacturer // https://hl7.org/fhir/r4/search.html#reference Manufacturer datatypes.JSON `gorm:"column:manufacturer;type:text;serializer:json" json:"manufacturer,omitempty"` // The practitioner or organization who played a role in the vaccination // https://hl7.org/fhir/r4/search.html#reference Performer datatypes.JSON `gorm:"column:performer;type:text;serializer:json" json:"performer,omitempty"` // Profiles this resource claims to conform to // https://hl7.org/fhir/r4/search.html#reference Profile datatypes.JSON `gorm:"column:profile;type:text;serializer:json" json:"profile,omitempty"` // Additional information on reaction // https://hl7.org/fhir/r4/search.html#reference Reaction datatypes.JSON `gorm:"column:reaction;type:text;serializer:json" json:"reaction,omitempty"` // When reaction started // https://hl7.org/fhir/r4/search.html#date ReactionDate *time.Time `gorm:"column:reactionDate;type:datetime" json:"reactionDate,omitempty"` // Reason why the vaccine was administered // https://hl7.org/fhir/r4/search.html#token ReasonCode datatypes.JSON `gorm:"column:reasonCode;type:text;serializer:json" json:"reasonCode,omitempty"` // Why immunization occurred // https://hl7.org/fhir/r4/search.html#reference ReasonReference datatypes.JSON `gorm:"column:reasonReference;type:text;serializer:json" json:"reasonReference,omitempty"` // The series being followed by the provider // https://hl7.org/fhir/r4/search.html#string Series datatypes.JSON `gorm:"column:series;type:text;serializer:json" json:"series,omitempty"` // Immunization event status // https://hl7.org/fhir/r4/search.html#token Status datatypes.JSON `gorm:"column:status;type:text;serializer:json" json:"status,omitempty"` // Reason why the vaccine was not administered // https://hl7.org/fhir/r4/search.html#token StatusReason datatypes.JSON `gorm:"column:statusReason;type:text;serializer:json" json:"statusReason,omitempty"` // Tags applied to this resource // https://hl7.org/fhir/r4/search.html#token Tag datatypes.JSON `gorm:"column:tag;type:text;serializer:json" json:"tag,omitempty"` // The target disease the dose is being administered against // https://hl7.org/fhir/r4/search.html#token TargetDisease datatypes.JSON `gorm:"column:targetDisease;type:text;serializer:json" json:"targetDisease,omitempty"` // Text search against the narrative // https://hl7.org/fhir/r4/search.html#string Text datatypes.JSON `gorm:"column:text;type:text;serializer:json" json:"text,omitempty"` // A resource type filter // https://hl7.org/fhir/r4/search.html#special Type datatypes.JSON `gorm:"column:type;type:text;serializer:json" json:"type,omitempty"` // Vaccine Product Administered // https://hl7.org/fhir/r4/search.html#token VaccineCode datatypes.JSON `gorm:"column:vaccineCode;type:text;serializer:json" json:"vaccineCode,omitempty"` }
func (*FhirImmunization) GetSearchParameters ¶
func (s *FhirImmunization) GetSearchParameters() map[string]string
func (*FhirImmunization) PopulateAndExtractSearchParameters ¶
func (s *FhirImmunization) PopulateAndExtractSearchParameters(resourceRaw json.RawMessage) error
func (*FhirImmunization) TableName ¶
func (s *FhirImmunization) TableName() string
TableName overrides the table name from fhir_observations (pluralized) to `fhir_observation`. https://gorm.io/docs/conventions.html#TableName
type FhirInsurancePlan ¶
type FhirInsurancePlan struct { models.ResourceBase // A server defined search that may match any of the string fields in the Address, including line, city, district, state, country, postalCode, and/or text // https://hl7.org/fhir/r4/search.html#string Address datatypes.JSON `gorm:"column:address;type:text;serializer:json" json:"address,omitempty"` // A city specified in an address // https://hl7.org/fhir/r4/search.html#string AddressCity datatypes.JSON `gorm:"column:addressCity;type:text;serializer:json" json:"addressCity,omitempty"` // A country specified in an address // https://hl7.org/fhir/r4/search.html#string AddressCountry datatypes.JSON `gorm:"column:addressCountry;type:text;serializer:json" json:"addressCountry,omitempty"` // A postal code specified in an address // https://hl7.org/fhir/r4/search.html#string AddressPostalcode datatypes.JSON `gorm:"column:addressPostalcode;type:text;serializer:json" json:"addressPostalcode,omitempty"` // A state specified in an address // https://hl7.org/fhir/r4/search.html#string AddressState datatypes.JSON `gorm:"column:addressState;type:text;serializer:json" json:"addressState,omitempty"` // A use code specified in an address // https://hl7.org/fhir/r4/search.html#token AddressUse datatypes.JSON `gorm:"column:addressUse;type:text;serializer:json" json:"addressUse,omitempty"` // Product administrator // https://hl7.org/fhir/r4/search.html#reference AdministeredBy datatypes.JSON `gorm:"column:administeredBy;type:text;serializer:json" json:"administeredBy,omitempty"` // Technical endpoint // https://hl7.org/fhir/r4/search.html#reference Endpoint datatypes.JSON `gorm:"column:endpoint;type:text;serializer:json" json:"endpoint,omitempty"` // Any identifier for the organization (not the accreditation issuer's identifier) // https://hl7.org/fhir/r4/search.html#token Identifier datatypes.JSON `gorm:"column:identifier;type:text;serializer:json" json:"identifier,omitempty"` // Language of the resource content // https://hl7.org/fhir/r4/search.html#token Language datatypes.JSON `gorm:"column:language;type:text;serializer:json" json:"language,omitempty"` // When the resource version last changed // https://hl7.org/fhir/r4/search.html#date LastUpdated *time.Time `gorm:"column:lastUpdated;type:datetime" json:"lastUpdated,omitempty"` // A portion of the organization's name or alias // https://hl7.org/fhir/r4/search.html#string Name datatypes.JSON `gorm:"column:name;type:text;serializer:json" json:"name,omitempty"` // An organization of which this organization forms a part // https://hl7.org/fhir/r4/search.html#reference OwnedBy datatypes.JSON `gorm:"column:ownedBy;type:text;serializer:json" json:"ownedBy,omitempty"` // A portion of the organization's name using some kind of phonetic matching algorithm // https://hl7.org/fhir/r4/search.html#string Phonetic datatypes.JSON `gorm:"column:phonetic;type:text;serializer:json" json:"phonetic,omitempty"` // Profiles this resource claims to conform to // https://hl7.org/fhir/r4/search.html#reference Profile datatypes.JSON `gorm:"column:profile;type:text;serializer:json" json:"profile,omitempty"` // Is the Organization record active // https://hl7.org/fhir/r4/search.html#token Status datatypes.JSON `gorm:"column:status;type:text;serializer:json" json:"status,omitempty"` // Tags applied to this resource // https://hl7.org/fhir/r4/search.html#token Tag datatypes.JSON `gorm:"column:tag;type:text;serializer:json" json:"tag,omitempty"` // Text search against the narrative // https://hl7.org/fhir/r4/search.html#string Text datatypes.JSON `gorm:"column:text;type:text;serializer:json" json:"text,omitempty"` // A resource type filter // https://hl7.org/fhir/r4/search.html#special Type datatypes.JSON `gorm:"column:type;type:text;serializer:json" json:"type,omitempty"` }
func (*FhirInsurancePlan) GetSearchParameters ¶
func (s *FhirInsurancePlan) GetSearchParameters() map[string]string
func (*FhirInsurancePlan) PopulateAndExtractSearchParameters ¶
func (s *FhirInsurancePlan) PopulateAndExtractSearchParameters(resourceRaw json.RawMessage) error
func (*FhirInsurancePlan) TableName ¶
func (s *FhirInsurancePlan) TableName() string
TableName overrides the table name from fhir_observations (pluralized) to `fhir_observation`. https://gorm.io/docs/conventions.html#TableName
type FhirLocation ¶
type FhirLocation struct { models.ResourceBase // A (part of the) address of the location // https://hl7.org/fhir/r4/search.html#string Address datatypes.JSON `gorm:"column:address;type:text;serializer:json" json:"address,omitempty"` // A city specified in an address // https://hl7.org/fhir/r4/search.html#string AddressCity datatypes.JSON `gorm:"column:addressCity;type:text;serializer:json" json:"addressCity,omitempty"` // A country specified in an address // https://hl7.org/fhir/r4/search.html#string AddressCountry datatypes.JSON `gorm:"column:addressCountry;type:text;serializer:json" json:"addressCountry,omitempty"` // A postal code specified in an address // https://hl7.org/fhir/r4/search.html#string AddressPostalcode datatypes.JSON `gorm:"column:addressPostalcode;type:text;serializer:json" json:"addressPostalcode,omitempty"` // A state specified in an address // https://hl7.org/fhir/r4/search.html#string AddressState datatypes.JSON `gorm:"column:addressState;type:text;serializer:json" json:"addressState,omitempty"` // A use code specified in an address // https://hl7.org/fhir/r4/search.html#token AddressUse datatypes.JSON `gorm:"column:addressUse;type:text;serializer:json" json:"addressUse,omitempty"` // Technical endpoints providing access to services operated for the location // https://hl7.org/fhir/r4/search.html#reference Endpoint datatypes.JSON `gorm:"column:endpoint;type:text;serializer:json" json:"endpoint,omitempty"` // An identifier for the location // https://hl7.org/fhir/r4/search.html#token Identifier datatypes.JSON `gorm:"column:identifier;type:text;serializer:json" json:"identifier,omitempty"` // Language of the resource content // https://hl7.org/fhir/r4/search.html#token Language datatypes.JSON `gorm:"column:language;type:text;serializer:json" json:"language,omitempty"` // When the resource version last changed // https://hl7.org/fhir/r4/search.html#date LastUpdated *time.Time `gorm:"column:lastUpdated;type:datetime" json:"lastUpdated,omitempty"` // A portion of the location's name or alias // https://hl7.org/fhir/r4/search.html#string Name datatypes.JSON `gorm:"column:name;type:text;serializer:json" json:"name,omitempty"` // Searches for locations (typically bed/room) that have an operational status (e.g. contaminated, housekeeping) // https://hl7.org/fhir/r4/search.html#token OperationalStatus datatypes.JSON `gorm:"column:operationalStatus;type:text;serializer:json" json:"operationalStatus,omitempty"` // Searches for locations that are managed by the provided organization // https://hl7.org/fhir/r4/search.html#reference Organization datatypes.JSON `gorm:"column:organization;type:text;serializer:json" json:"organization,omitempty"` // A location of which this location is a part // https://hl7.org/fhir/r4/search.html#reference Partof datatypes.JSON `gorm:"column:partof;type:text;serializer:json" json:"partof,omitempty"` // Profiles this resource claims to conform to // https://hl7.org/fhir/r4/search.html#reference Profile datatypes.JSON `gorm:"column:profile;type:text;serializer:json" json:"profile,omitempty"` // Searches for locations with a specific kind of status // https://hl7.org/fhir/r4/search.html#token Status datatypes.JSON `gorm:"column:status;type:text;serializer:json" json:"status,omitempty"` // Tags applied to this resource // https://hl7.org/fhir/r4/search.html#token Tag datatypes.JSON `gorm:"column:tag;type:text;serializer:json" json:"tag,omitempty"` // Text search against the narrative // https://hl7.org/fhir/r4/search.html#string Text datatypes.JSON `gorm:"column:text;type:text;serializer:json" json:"text,omitempty"` // A resource type filter // https://hl7.org/fhir/r4/search.html#special Type datatypes.JSON `gorm:"column:type;type:text;serializer:json" json:"type,omitempty"` }
func (*FhirLocation) GetSearchParameters ¶
func (s *FhirLocation) GetSearchParameters() map[string]string
func (*FhirLocation) PopulateAndExtractSearchParameters ¶
func (s *FhirLocation) PopulateAndExtractSearchParameters(resourceRaw json.RawMessage) error
func (*FhirLocation) TableName ¶
func (s *FhirLocation) TableName() string
TableName overrides the table name from fhir_observations (pluralized) to `fhir_observation`. https://gorm.io/docs/conventions.html#TableName
type FhirMedia ¶
type FhirMedia struct { models.ResourceBase // Procedure that caused this media to be created // https://hl7.org/fhir/r4/search.html#reference BasedOn datatypes.JSON `gorm:"column:basedOn;type:text;serializer:json" json:"basedOn,omitempty"` // When Media was collected // https://hl7.org/fhir/r4/search.html#date Created *time.Time `gorm:"column:created;type:datetime" json:"created,omitempty"` // Observing Device // https://hl7.org/fhir/r4/search.html#reference Device datatypes.JSON `gorm:"column:device;type:text;serializer:json" json:"device,omitempty"` // Encounter associated with media // https://hl7.org/fhir/r4/search.html#reference Encounter datatypes.JSON `gorm:"column:encounter;type:text;serializer:json" json:"encounter,omitempty"` // Identifier(s) for the image // https://hl7.org/fhir/r4/search.html#token Identifier datatypes.JSON `gorm:"column:identifier;type:text;serializer:json" json:"identifier,omitempty"` // Language of the resource content // https://hl7.org/fhir/r4/search.html#token Language datatypes.JSON `gorm:"column:language;type:text;serializer:json" json:"language,omitempty"` // When the resource version last changed // https://hl7.org/fhir/r4/search.html#date LastUpdated *time.Time `gorm:"column:lastUpdated;type:datetime" json:"lastUpdated,omitempty"` // The type of acquisition equipment/process // https://hl7.org/fhir/r4/search.html#token Modality datatypes.JSON `gorm:"column:modality;type:text;serializer:json" json:"modality,omitempty"` // The person who generated the image // https://hl7.org/fhir/r4/search.html#reference Operator datatypes.JSON `gorm:"column:operator;type:text;serializer:json" json:"operator,omitempty"` // Profiles this resource claims to conform to // https://hl7.org/fhir/r4/search.html#reference Profile datatypes.JSON `gorm:"column:profile;type:text;serializer:json" json:"profile,omitempty"` // Observed body part // https://hl7.org/fhir/r4/search.html#token Site datatypes.JSON `gorm:"column:site;type:text;serializer:json" json:"site,omitempty"` // preparation | in-progress | not-done | on-hold | stopped | completed | entered-in-error | unknown // https://hl7.org/fhir/r4/search.html#token Status datatypes.JSON `gorm:"column:status;type:text;serializer:json" json:"status,omitempty"` // Who/What this Media is a record of // https://hl7.org/fhir/r4/search.html#reference Subject datatypes.JSON `gorm:"column:subject;type:text;serializer:json" json:"subject,omitempty"` // Tags applied to this resource // https://hl7.org/fhir/r4/search.html#token Tag datatypes.JSON `gorm:"column:tag;type:text;serializer:json" json:"tag,omitempty"` // Text search against the narrative // https://hl7.org/fhir/r4/search.html#string Text datatypes.JSON `gorm:"column:text;type:text;serializer:json" json:"text,omitempty"` // A resource type filter // https://hl7.org/fhir/r4/search.html#special Type datatypes.JSON `gorm:"column:type;type:text;serializer:json" json:"type,omitempty"` // Imaging view, e.g. Lateral or Antero-posterior // https://hl7.org/fhir/r4/search.html#token View datatypes.JSON `gorm:"column:view;type:text;serializer:json" json:"view,omitempty"` }
func (*FhirMedia) GetSearchParameters ¶
func (*FhirMedia) PopulateAndExtractSearchParameters ¶
func (s *FhirMedia) PopulateAndExtractSearchParameters(resourceRaw json.RawMessage) error
func (*FhirMedia) TableName ¶
TableName overrides the table name from fhir_observations (pluralized) to `fhir_observation`. https://gorm.io/docs/conventions.html#TableName
type FhirMedication ¶
type FhirMedication struct { models.ResourceBase /* Multiple Resources: * [AllergyIntolerance](allergyintolerance.html): Code that identifies the allergy or intolerance * [Condition](condition.html): Code for the condition * [DeviceRequest](devicerequest.html): Code for what is being requested/ordered * [DiagnosticReport](diagnosticreport.html): The code for the report, as opposed to codes for the atomic results, which are the names on the observation resource referred to from the result * [FamilyMemberHistory](familymemberhistory.html): A search by a condition code * [List](list.html): What the purpose of this list is * [Medication](medication.html): Returns medications for a specific code * [MedicationAdministration](medicationadministration.html): Return administrations of this medication code * [MedicationDispense](medicationdispense.html): Returns dispenses of this medicine code * [MedicationRequest](medicationrequest.html): Return prescriptions of this medication code * [MedicationStatement](medicationstatement.html): Return statements of this medication code * [Observation](observation.html): The code of the observation type * [Procedure](procedure.html): A code to identify a procedure * [ServiceRequest](servicerequest.html): What is being requested/ordered */ // https://hl7.org/fhir/r4/search.html#token Code datatypes.JSON `gorm:"column:code;type:text;serializer:json" json:"code,omitempty"` // Returns medications in a batch with this expiration date // https://hl7.org/fhir/r4/search.html#date ExpirationDate *time.Time `gorm:"column:expirationDate;type:datetime" json:"expirationDate,omitempty"` // Returns medications for a specific dose form // https://hl7.org/fhir/r4/search.html#token Form datatypes.JSON `gorm:"column:form;type:text;serializer:json" json:"form,omitempty"` // Returns medications with this external identifier // https://hl7.org/fhir/r4/search.html#token Identifier datatypes.JSON `gorm:"column:identifier;type:text;serializer:json" json:"identifier,omitempty"` // Returns medications for this ingredient reference // https://hl7.org/fhir/r4/search.html#reference Ingredient datatypes.JSON `gorm:"column:ingredient;type:text;serializer:json" json:"ingredient,omitempty"` // Returns medications for this ingredient code // https://hl7.org/fhir/r4/search.html#token IngredientCode datatypes.JSON `gorm:"column:ingredientCode;type:text;serializer:json" json:"ingredientCode,omitempty"` // Language of the resource content // https://hl7.org/fhir/r4/search.html#token Language datatypes.JSON `gorm:"column:language;type:text;serializer:json" json:"language,omitempty"` // When the resource version last changed // https://hl7.org/fhir/r4/search.html#date LastUpdated *time.Time `gorm:"column:lastUpdated;type:datetime" json:"lastUpdated,omitempty"` // Returns medications in a batch with this lot number // https://hl7.org/fhir/r4/search.html#token LotNumber datatypes.JSON `gorm:"column:lotNumber;type:text;serializer:json" json:"lotNumber,omitempty"` // Returns medications made or sold for this manufacturer // https://hl7.org/fhir/r4/search.html#reference Manufacturer datatypes.JSON `gorm:"column:manufacturer;type:text;serializer:json" json:"manufacturer,omitempty"` // Profiles this resource claims to conform to // https://hl7.org/fhir/r4/search.html#reference Profile datatypes.JSON `gorm:"column:profile;type:text;serializer:json" json:"profile,omitempty"` // Returns medications for this status // https://hl7.org/fhir/r4/search.html#token Status datatypes.JSON `gorm:"column:status;type:text;serializer:json" json:"status,omitempty"` // Tags applied to this resource // https://hl7.org/fhir/r4/search.html#token Tag datatypes.JSON `gorm:"column:tag;type:text;serializer:json" json:"tag,omitempty"` // Text search against the narrative // https://hl7.org/fhir/r4/search.html#string Text datatypes.JSON `gorm:"column:text;type:text;serializer:json" json:"text,omitempty"` // A resource type filter // https://hl7.org/fhir/r4/search.html#special Type datatypes.JSON `gorm:"column:type;type:text;serializer:json" json:"type,omitempty"` }
func (*FhirMedication) GetSearchParameters ¶
func (s *FhirMedication) GetSearchParameters() map[string]string
func (*FhirMedication) PopulateAndExtractSearchParameters ¶
func (s *FhirMedication) PopulateAndExtractSearchParameters(resourceRaw json.RawMessage) error
func (*FhirMedication) TableName ¶
func (s *FhirMedication) TableName() string
TableName overrides the table name from fhir_observations (pluralized) to `fhir_observation`. https://gorm.io/docs/conventions.html#TableName
type FhirMedicationAdministration ¶
type FhirMedicationAdministration struct { models.ResourceBase /* Multiple Resources: * [AllergyIntolerance](allergyintolerance.html): Code that identifies the allergy or intolerance * [Condition](condition.html): Code for the condition * [DeviceRequest](devicerequest.html): Code for what is being requested/ordered * [DiagnosticReport](diagnosticreport.html): The code for the report, as opposed to codes for the atomic results, which are the names on the observation resource referred to from the result * [FamilyMemberHistory](familymemberhistory.html): A search by a condition code * [List](list.html): What the purpose of this list is * [Medication](medication.html): Returns medications for a specific code * [MedicationAdministration](medicationadministration.html): Return administrations of this medication code * [MedicationDispense](medicationdispense.html): Returns dispenses of this medicine code * [MedicationRequest](medicationrequest.html): Return prescriptions of this medication code * [MedicationStatement](medicationstatement.html): Return statements of this medication code * [Observation](observation.html): The code of the observation type * [Procedure](procedure.html): A code to identify a procedure * [ServiceRequest](servicerequest.html): What is being requested/ordered */ // https://hl7.org/fhir/r4/search.html#token Code datatypes.JSON `gorm:"column:code;type:text;serializer:json" json:"code,omitempty"` // Return administrations that share this encounter or episode of care // https://hl7.org/fhir/r4/search.html#reference Context datatypes.JSON `gorm:"column:context;type:text;serializer:json" json:"context,omitempty"` // Return administrations with this administration device identity // https://hl7.org/fhir/r4/search.html#reference Device datatypes.JSON `gorm:"column:device;type:text;serializer:json" json:"device,omitempty"` // Date administration happened (or did not happen) // https://hl7.org/fhir/r4/search.html#date EffectiveTime *time.Time `gorm:"column:effectiveTime;type:datetime" json:"effectiveTime,omitempty"` /* Multiple Resources: * [AllergyIntolerance](allergyintolerance.html): External ids for this item * [CarePlan](careplan.html): External Ids for this plan * [CareTeam](careteam.html): External Ids for this team * [Composition](composition.html): Version-independent identifier for the Composition * [Condition](condition.html): A unique identifier of the condition record * [Consent](consent.html): Identifier for this record (external references) * [DetectedIssue](detectedissue.html): Unique id for the detected issue * [DeviceRequest](devicerequest.html): Business identifier for request/order * [DiagnosticReport](diagnosticreport.html): An identifier for the report * [DocumentManifest](documentmanifest.html): Unique Identifier for the set of documents * [DocumentReference](documentreference.html): Master Version Specific Identifier * [Encounter](encounter.html): Identifier(s) by which this encounter is known * [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare * [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier * [Goal](goal.html): External Ids for this goal * [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID and Accession number * [Immunization](immunization.html): Business identifier * [List](list.html): Business identifier * [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier * [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier * [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier * [MedicationStatement](medicationstatement.html): Return statements with this external identifier * [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier * [Observation](observation.html): The unique id for a particular observation * [Procedure](procedure.html): A unique identifier for a procedure * [RiskAssessment](riskassessment.html): Unique identifier for the assessment * [ServiceRequest](servicerequest.html): Identifiers assigned to this order * [SupplyDelivery](supplydelivery.html): External identifier * [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest * [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier */ // https://hl7.org/fhir/r4/search.html#token Identifier datatypes.JSON `gorm:"column:identifier;type:text;serializer:json" json:"identifier,omitempty"` // Language of the resource content // https://hl7.org/fhir/r4/search.html#token Language datatypes.JSON `gorm:"column:language;type:text;serializer:json" json:"language,omitempty"` // When the resource version last changed // https://hl7.org/fhir/r4/search.html#date LastUpdated *time.Time `gorm:"column:lastUpdated;type:datetime" json:"lastUpdated,omitempty"` /* Multiple Resources: * [MedicationAdministration](medicationadministration.html): Return administrations of this medication resource * [MedicationDispense](medicationdispense.html): Returns dispenses of this medicine resource * [MedicationRequest](medicationrequest.html): Return prescriptions for this medication reference * [MedicationStatement](medicationstatement.html): Return statements of this medication reference */ // https://hl7.org/fhir/r4/search.html#reference Medication datatypes.JSON `gorm:"column:medication;type:text;serializer:json" json:"medication,omitempty"` // The identity of the individual who administered the medication // https://hl7.org/fhir/r4/search.html#reference Performer datatypes.JSON `gorm:"column:performer;type:text;serializer:json" json:"performer,omitempty"` // Profiles this resource claims to conform to // https://hl7.org/fhir/r4/search.html#reference Profile datatypes.JSON `gorm:"column:profile;type:text;serializer:json" json:"profile,omitempty"` // Reasons for administering the medication // https://hl7.org/fhir/r4/search.html#token ReasonGiven datatypes.JSON `gorm:"column:reasonGiven;type:text;serializer:json" json:"reasonGiven,omitempty"` // Reasons for not administering the medication // https://hl7.org/fhir/r4/search.html#token ReasonNotGiven datatypes.JSON `gorm:"column:reasonNotGiven;type:text;serializer:json" json:"reasonNotGiven,omitempty"` // The identity of a request to list administrations from // https://hl7.org/fhir/r4/search.html#reference Request datatypes.JSON `gorm:"column:request;type:text;serializer:json" json:"request,omitempty"` /* Multiple Resources: * [MedicationAdministration](medicationadministration.html): MedicationAdministration event status (for example one of active/paused/completed/nullified) * [MedicationDispense](medicationdispense.html): Returns dispenses with a specified dispense status * [MedicationRequest](medicationrequest.html): Status of the prescription * [MedicationStatement](medicationstatement.html): Return statements that match the given status */ // https://hl7.org/fhir/r4/search.html#token Status datatypes.JSON `gorm:"column:status;type:text;serializer:json" json:"status,omitempty"` // The identity of the individual or group to list administrations for // https://hl7.org/fhir/r4/search.html#reference Subject datatypes.JSON `gorm:"column:subject;type:text;serializer:json" json:"subject,omitempty"` // Tags applied to this resource // https://hl7.org/fhir/r4/search.html#token Tag datatypes.JSON `gorm:"column:tag;type:text;serializer:json" json:"tag,omitempty"` // Text search against the narrative // https://hl7.org/fhir/r4/search.html#string Text datatypes.JSON `gorm:"column:text;type:text;serializer:json" json:"text,omitempty"` // A resource type filter // https://hl7.org/fhir/r4/search.html#special Type datatypes.JSON `gorm:"column:type;type:text;serializer:json" json:"type,omitempty"` }
func (*FhirMedicationAdministration) GetSearchParameters ¶
func (s *FhirMedicationAdministration) GetSearchParameters() map[string]string
func (*FhirMedicationAdministration) PopulateAndExtractSearchParameters ¶
func (s *FhirMedicationAdministration) PopulateAndExtractSearchParameters(resourceRaw json.RawMessage) error
func (*FhirMedicationAdministration) TableName ¶
func (s *FhirMedicationAdministration) TableName() string
TableName overrides the table name from fhir_observations (pluralized) to `fhir_observation`. https://gorm.io/docs/conventions.html#TableName
type FhirMedicationDispense ¶
type FhirMedicationDispense struct { models.ResourceBase /* Multiple Resources: * [AllergyIntolerance](allergyintolerance.html): Code that identifies the allergy or intolerance * [Condition](condition.html): Code for the condition * [DeviceRequest](devicerequest.html): Code for what is being requested/ordered * [DiagnosticReport](diagnosticreport.html): The code for the report, as opposed to codes for the atomic results, which are the names on the observation resource referred to from the result * [FamilyMemberHistory](familymemberhistory.html): A search by a condition code * [List](list.html): What the purpose of this list is * [Medication](medication.html): Returns medications for a specific code * [MedicationAdministration](medicationadministration.html): Return administrations of this medication code * [MedicationDispense](medicationdispense.html): Returns dispenses of this medicine code * [MedicationRequest](medicationrequest.html): Return prescriptions of this medication code * [MedicationStatement](medicationstatement.html): Return statements of this medication code * [Observation](observation.html): The code of the observation type * [Procedure](procedure.html): A code to identify a procedure * [ServiceRequest](servicerequest.html): What is being requested/ordered */ // https://hl7.org/fhir/r4/search.html#token Code datatypes.JSON `gorm:"column:code;type:text;serializer:json" json:"code,omitempty"` // Returns dispenses with a specific context (episode or episode of care) // https://hl7.org/fhir/r4/search.html#reference Context datatypes.JSON `gorm:"column:context;type:text;serializer:json" json:"context,omitempty"` // Returns dispenses that should be sent to a specific destination // https://hl7.org/fhir/r4/search.html#reference Destination datatypes.JSON `gorm:"column:destination;type:text;serializer:json" json:"destination,omitempty"` /* Multiple Resources: * [AllergyIntolerance](allergyintolerance.html): External ids for this item * [CarePlan](careplan.html): External Ids for this plan * [CareTeam](careteam.html): External Ids for this team * [Composition](composition.html): Version-independent identifier for the Composition * [Condition](condition.html): A unique identifier of the condition record * [Consent](consent.html): Identifier for this record (external references) * [DetectedIssue](detectedissue.html): Unique id for the detected issue * [DeviceRequest](devicerequest.html): Business identifier for request/order * [DiagnosticReport](diagnosticreport.html): An identifier for the report * [DocumentManifest](documentmanifest.html): Unique Identifier for the set of documents * [DocumentReference](documentreference.html): Master Version Specific Identifier * [Encounter](encounter.html): Identifier(s) by which this encounter is known * [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare * [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier * [Goal](goal.html): External Ids for this goal * [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID and Accession number * [Immunization](immunization.html): Business identifier * [List](list.html): Business identifier * [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier * [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier * [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier * [MedicationStatement](medicationstatement.html): Return statements with this external identifier * [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier * [Observation](observation.html): The unique id for a particular observation * [Procedure](procedure.html): A unique identifier for a procedure * [RiskAssessment](riskassessment.html): Unique identifier for the assessment * [ServiceRequest](servicerequest.html): Identifiers assigned to this order * [SupplyDelivery](supplydelivery.html): External identifier * [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest * [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier */ // https://hl7.org/fhir/r4/search.html#token Identifier datatypes.JSON `gorm:"column:identifier;type:text;serializer:json" json:"identifier,omitempty"` // Language of the resource content // https://hl7.org/fhir/r4/search.html#token Language datatypes.JSON `gorm:"column:language;type:text;serializer:json" json:"language,omitempty"` // When the resource version last changed // https://hl7.org/fhir/r4/search.html#date LastUpdated *time.Time `gorm:"column:lastUpdated;type:datetime" json:"lastUpdated,omitempty"` /* Multiple Resources: * [MedicationAdministration](medicationadministration.html): Return administrations of this medication resource * [MedicationDispense](medicationdispense.html): Returns dispenses of this medicine resource * [MedicationRequest](medicationrequest.html): Return prescriptions for this medication reference * [MedicationStatement](medicationstatement.html): Return statements of this medication reference */ // https://hl7.org/fhir/r4/search.html#reference Medication datatypes.JSON `gorm:"column:medication;type:text;serializer:json" json:"medication,omitempty"` // Returns dispenses performed by a specific individual // https://hl7.org/fhir/r4/search.html#reference Performer datatypes.JSON `gorm:"column:performer;type:text;serializer:json" json:"performer,omitempty"` /* Multiple Resources: * [MedicationDispense](medicationdispense.html): The identity of a prescription to list dispenses from */ // https://hl7.org/fhir/r4/search.html#reference Prescription datatypes.JSON `gorm:"column:prescription;type:text;serializer:json" json:"prescription,omitempty"` // Profiles this resource claims to conform to // https://hl7.org/fhir/r4/search.html#reference Profile datatypes.JSON `gorm:"column:profile;type:text;serializer:json" json:"profile,omitempty"` // The identity of a receiver to list dispenses for // https://hl7.org/fhir/r4/search.html#reference Receiver datatypes.JSON `gorm:"column:receiver;type:text;serializer:json" json:"receiver,omitempty"` // Returns dispenses with the specified responsible party // https://hl7.org/fhir/r4/search.html#reference Responsibleparty datatypes.JSON `gorm:"column:responsibleparty;type:text;serializer:json" json:"responsibleparty,omitempty"` /* Multiple Resources: * [MedicationAdministration](medicationadministration.html): MedicationAdministration event status (for example one of active/paused/completed/nullified) * [MedicationDispense](medicationdispense.html): Returns dispenses with a specified dispense status * [MedicationRequest](medicationrequest.html): Status of the prescription * [MedicationStatement](medicationstatement.html): Return statements that match the given status */ // https://hl7.org/fhir/r4/search.html#token Status datatypes.JSON `gorm:"column:status;type:text;serializer:json" json:"status,omitempty"` // The identity of a patient for whom to list dispenses // https://hl7.org/fhir/r4/search.html#reference Subject datatypes.JSON `gorm:"column:subject;type:text;serializer:json" json:"subject,omitempty"` // Tags applied to this resource // https://hl7.org/fhir/r4/search.html#token Tag datatypes.JSON `gorm:"column:tag;type:text;serializer:json" json:"tag,omitempty"` // Text search against the narrative // https://hl7.org/fhir/r4/search.html#string Text datatypes.JSON `gorm:"column:text;type:text;serializer:json" json:"text,omitempty"` // A resource type filter // https://hl7.org/fhir/r4/search.html#special Type datatypes.JSON `gorm:"column:type;type:text;serializer:json" json:"type,omitempty"` // Returns dispenses handed over on this date // https://hl7.org/fhir/r4/search.html#date Whenhandedover *time.Time `gorm:"column:whenhandedover;type:datetime" json:"whenhandedover,omitempty"` // Returns dispenses prepared on this date // https://hl7.org/fhir/r4/search.html#date Whenprepared *time.Time `gorm:"column:whenprepared;type:datetime" json:"whenprepared,omitempty"` }
func (*FhirMedicationDispense) GetSearchParameters ¶
func (s *FhirMedicationDispense) GetSearchParameters() map[string]string
func (*FhirMedicationDispense) PopulateAndExtractSearchParameters ¶
func (s *FhirMedicationDispense) PopulateAndExtractSearchParameters(resourceRaw json.RawMessage) error
func (*FhirMedicationDispense) TableName ¶
func (s *FhirMedicationDispense) TableName() string
TableName overrides the table name from fhir_observations (pluralized) to `fhir_observation`. https://gorm.io/docs/conventions.html#TableName
type FhirMedicationRequest ¶
type FhirMedicationRequest struct { models.ResourceBase // Return prescriptions written on this date // https://hl7.org/fhir/r4/search.html#date Authoredon *time.Time `gorm:"column:authoredon;type:datetime" json:"authoredon,omitempty"` // Returns prescriptions with different categories // https://hl7.org/fhir/r4/search.html#token Category datatypes.JSON `gorm:"column:category;type:text;serializer:json" json:"category,omitempty"` /* Multiple Resources: * [AllergyIntolerance](allergyintolerance.html): Code that identifies the allergy or intolerance * [Condition](condition.html): Code for the condition * [DeviceRequest](devicerequest.html): Code for what is being requested/ordered * [DiagnosticReport](diagnosticreport.html): The code for the report, as opposed to codes for the atomic results, which are the names on the observation resource referred to from the result * [FamilyMemberHistory](familymemberhistory.html): A search by a condition code * [List](list.html): What the purpose of this list is * [Medication](medication.html): Returns medications for a specific code * [MedicationAdministration](medicationadministration.html): Return administrations of this medication code * [MedicationDispense](medicationdispense.html): Returns dispenses of this medicine code * [MedicationRequest](medicationrequest.html): Return prescriptions of this medication code * [MedicationStatement](medicationstatement.html): Return statements of this medication code * [Observation](observation.html): The code of the observation type * [Procedure](procedure.html): A code to identify a procedure * [ServiceRequest](servicerequest.html): What is being requested/ordered */ // https://hl7.org/fhir/r4/search.html#token Code datatypes.JSON `gorm:"column:code;type:text;serializer:json" json:"code,omitempty"` /* Multiple Resources: * [MedicationRequest](medicationrequest.html): Returns medication request to be administered on a specific date */ // https://hl7.org/fhir/r4/search.html#date Date *time.Time `gorm:"column:date;type:datetime" json:"date,omitempty"` /* Multiple Resources: * [MedicationRequest](medicationrequest.html): Return prescriptions with this encounter identifier */ // https://hl7.org/fhir/r4/search.html#reference Encounter datatypes.JSON `gorm:"column:encounter;type:text;serializer:json" json:"encounter,omitempty"` /* Multiple Resources: * [AllergyIntolerance](allergyintolerance.html): External ids for this item * [CarePlan](careplan.html): External Ids for this plan * [CareTeam](careteam.html): External Ids for this team * [Composition](composition.html): Version-independent identifier for the Composition * [Condition](condition.html): A unique identifier of the condition record * [Consent](consent.html): Identifier for this record (external references) * [DetectedIssue](detectedissue.html): Unique id for the detected issue * [DeviceRequest](devicerequest.html): Business identifier for request/order * [DiagnosticReport](diagnosticreport.html): An identifier for the report * [DocumentManifest](documentmanifest.html): Unique Identifier for the set of documents * [DocumentReference](documentreference.html): Master Version Specific Identifier * [Encounter](encounter.html): Identifier(s) by which this encounter is known * [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare * [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier * [Goal](goal.html): External Ids for this goal * [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID and Accession number * [Immunization](immunization.html): Business identifier * [List](list.html): Business identifier * [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier * [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier * [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier * [MedicationStatement](medicationstatement.html): Return statements with this external identifier * [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier * [Observation](observation.html): The unique id for a particular observation * [Procedure](procedure.html): A unique identifier for a procedure * [RiskAssessment](riskassessment.html): Unique identifier for the assessment * [ServiceRequest](servicerequest.html): Identifiers assigned to this order * [SupplyDelivery](supplydelivery.html): External identifier * [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest * [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier */ // https://hl7.org/fhir/r4/search.html#token Identifier datatypes.JSON `gorm:"column:identifier;type:text;serializer:json" json:"identifier,omitempty"` // Returns prescriptions intended to be dispensed by this Organization // https://hl7.org/fhir/r4/search.html#reference IntendedDispenser datatypes.JSON `gorm:"column:intendedDispenser;type:text;serializer:json" json:"intendedDispenser,omitempty"` // Returns the intended performer of the administration of the medication request // https://hl7.org/fhir/r4/search.html#reference IntendedPerformer datatypes.JSON `gorm:"column:intendedPerformer;type:text;serializer:json" json:"intendedPerformer,omitempty"` // Returns requests for a specific type of performer // https://hl7.org/fhir/r4/search.html#token IntendedPerformertype datatypes.JSON `gorm:"column:intendedPerformertype;type:text;serializer:json" json:"intendedPerformertype,omitempty"` // Returns prescriptions with different intents // https://hl7.org/fhir/r4/search.html#token Intent datatypes.JSON `gorm:"column:intent;type:text;serializer:json" json:"intent,omitempty"` // Language of the resource content // https://hl7.org/fhir/r4/search.html#token Language datatypes.JSON `gorm:"column:language;type:text;serializer:json" json:"language,omitempty"` // When the resource version last changed // https://hl7.org/fhir/r4/search.html#date LastUpdated *time.Time `gorm:"column:lastUpdated;type:datetime" json:"lastUpdated,omitempty"` /* Multiple Resources: * [MedicationAdministration](medicationadministration.html): Return administrations of this medication resource * [MedicationDispense](medicationdispense.html): Returns dispenses of this medicine resource * [MedicationRequest](medicationrequest.html): Return prescriptions for this medication reference * [MedicationStatement](medicationstatement.html): Return statements of this medication reference */ // https://hl7.org/fhir/r4/search.html#reference Medication datatypes.JSON `gorm:"column:medication;type:text;serializer:json" json:"medication,omitempty"` // Returns prescriptions with different priorities // https://hl7.org/fhir/r4/search.html#token Priority datatypes.JSON `gorm:"column:priority;type:text;serializer:json" json:"priority,omitempty"` // Profiles this resource claims to conform to // https://hl7.org/fhir/r4/search.html#reference Profile datatypes.JSON `gorm:"column:profile;type:text;serializer:json" json:"profile,omitempty"` // Returns prescriptions prescribed by this prescriber // https://hl7.org/fhir/r4/search.html#reference Requester datatypes.JSON `gorm:"column:requester;type:text;serializer:json" json:"requester,omitempty"` /* Multiple Resources: * [MedicationAdministration](medicationadministration.html): MedicationAdministration event status (for example one of active/paused/completed/nullified) * [MedicationDispense](medicationdispense.html): Returns dispenses with a specified dispense status * [MedicationRequest](medicationrequest.html): Status of the prescription * [MedicationStatement](medicationstatement.html): Return statements that match the given status */ // https://hl7.org/fhir/r4/search.html#token Status datatypes.JSON `gorm:"column:status;type:text;serializer:json" json:"status,omitempty"` // The identity of a patient to list orders for // https://hl7.org/fhir/r4/search.html#reference Subject datatypes.JSON `gorm:"column:subject;type:text;serializer:json" json:"subject,omitempty"` // Tags applied to this resource // https://hl7.org/fhir/r4/search.html#token Tag datatypes.JSON `gorm:"column:tag;type:text;serializer:json" json:"tag,omitempty"` // Text search against the narrative // https://hl7.org/fhir/r4/search.html#string Text datatypes.JSON `gorm:"column:text;type:text;serializer:json" json:"text,omitempty"` // A resource type filter // https://hl7.org/fhir/r4/search.html#special Type datatypes.JSON `gorm:"column:type;type:text;serializer:json" json:"type,omitempty"` }
func (*FhirMedicationRequest) GetSearchParameters ¶
func (s *FhirMedicationRequest) GetSearchParameters() map[string]string
func (*FhirMedicationRequest) PopulateAndExtractSearchParameters ¶
func (s *FhirMedicationRequest) PopulateAndExtractSearchParameters(resourceRaw json.RawMessage) error
func (*FhirMedicationRequest) TableName ¶
func (s *FhirMedicationRequest) TableName() string
TableName overrides the table name from fhir_observations (pluralized) to `fhir_observation`. https://gorm.io/docs/conventions.html#TableName
type FhirMedicationStatement ¶
type FhirMedicationStatement struct { models.ResourceBase // Returns statements of this category of medicationstatement // https://hl7.org/fhir/r4/search.html#token Category datatypes.JSON `gorm:"column:category;type:text;serializer:json" json:"category,omitempty"` /* Multiple Resources: * [AllergyIntolerance](allergyintolerance.html): Code that identifies the allergy or intolerance * [Condition](condition.html): Code for the condition * [DeviceRequest](devicerequest.html): Code for what is being requested/ordered * [DiagnosticReport](diagnosticreport.html): The code for the report, as opposed to codes for the atomic results, which are the names on the observation resource referred to from the result * [FamilyMemberHistory](familymemberhistory.html): A search by a condition code * [List](list.html): What the purpose of this list is * [Medication](medication.html): Returns medications for a specific code * [MedicationAdministration](medicationadministration.html): Return administrations of this medication code * [MedicationDispense](medicationdispense.html): Returns dispenses of this medicine code * [MedicationRequest](medicationrequest.html): Return prescriptions of this medication code * [MedicationStatement](medicationstatement.html): Return statements of this medication code * [Observation](observation.html): The code of the observation type * [Procedure](procedure.html): A code to identify a procedure * [ServiceRequest](servicerequest.html): What is being requested/ordered */ // https://hl7.org/fhir/r4/search.html#token Code datatypes.JSON `gorm:"column:code;type:text;serializer:json" json:"code,omitempty"` // Returns statements for a specific context (episode or episode of Care). // https://hl7.org/fhir/r4/search.html#reference Context datatypes.JSON `gorm:"column:context;type:text;serializer:json" json:"context,omitempty"` // Date when patient was taking (or not taking) the medication // https://hl7.org/fhir/r4/search.html#date Effective *time.Time `gorm:"column:effective;type:datetime" json:"effective,omitempty"` /* Multiple Resources: * [AllergyIntolerance](allergyintolerance.html): External ids for this item * [CarePlan](careplan.html): External Ids for this plan * [CareTeam](careteam.html): External Ids for this team * [Composition](composition.html): Version-independent identifier for the Composition * [Condition](condition.html): A unique identifier of the condition record * [Consent](consent.html): Identifier for this record (external references) * [DetectedIssue](detectedissue.html): Unique id for the detected issue * [DeviceRequest](devicerequest.html): Business identifier for request/order * [DiagnosticReport](diagnosticreport.html): An identifier for the report * [DocumentManifest](documentmanifest.html): Unique Identifier for the set of documents * [DocumentReference](documentreference.html): Master Version Specific Identifier * [Encounter](encounter.html): Identifier(s) by which this encounter is known * [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare * [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier * [Goal](goal.html): External Ids for this goal * [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID and Accession number * [Immunization](immunization.html): Business identifier * [List](list.html): Business identifier * [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier * [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier * [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier * [MedicationStatement](medicationstatement.html): Return statements with this external identifier * [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier * [Observation](observation.html): The unique id for a particular observation * [Procedure](procedure.html): A unique identifier for a procedure * [RiskAssessment](riskassessment.html): Unique identifier for the assessment * [ServiceRequest](servicerequest.html): Identifiers assigned to this order * [SupplyDelivery](supplydelivery.html): External identifier * [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest * [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier */ // https://hl7.org/fhir/r4/search.html#token Identifier datatypes.JSON `gorm:"column:identifier;type:text;serializer:json" json:"identifier,omitempty"` // Language of the resource content // https://hl7.org/fhir/r4/search.html#token Language datatypes.JSON `gorm:"column:language;type:text;serializer:json" json:"language,omitempty"` // When the resource version last changed // https://hl7.org/fhir/r4/search.html#date LastUpdated *time.Time `gorm:"column:lastUpdated;type:datetime" json:"lastUpdated,omitempty"` /* Multiple Resources: * [MedicationAdministration](medicationadministration.html): Return administrations of this medication resource * [MedicationDispense](medicationdispense.html): Returns dispenses of this medicine resource * [MedicationRequest](medicationrequest.html): Return prescriptions for this medication reference * [MedicationStatement](medicationstatement.html): Return statements of this medication reference */ // https://hl7.org/fhir/r4/search.html#reference Medication datatypes.JSON `gorm:"column:medication;type:text;serializer:json" json:"medication,omitempty"` // Returns statements that are part of another event. // https://hl7.org/fhir/r4/search.html#reference PartOf datatypes.JSON `gorm:"column:partOf;type:text;serializer:json" json:"partOf,omitempty"` // Profiles this resource claims to conform to // https://hl7.org/fhir/r4/search.html#reference Profile datatypes.JSON `gorm:"column:profile;type:text;serializer:json" json:"profile,omitempty"` // Who or where the information in the statement came from // https://hl7.org/fhir/r4/search.html#reference Source datatypes.JSON `gorm:"column:source;type:text;serializer:json" json:"source,omitempty"` /* Multiple Resources: * [MedicationAdministration](medicationadministration.html): MedicationAdministration event status (for example one of active/paused/completed/nullified) * [MedicationDispense](medicationdispense.html): Returns dispenses with a specified dispense status * [MedicationRequest](medicationrequest.html): Status of the prescription * [MedicationStatement](medicationstatement.html): Return statements that match the given status */ // https://hl7.org/fhir/r4/search.html#token Status datatypes.JSON `gorm:"column:status;type:text;serializer:json" json:"status,omitempty"` // The identity of a patient, animal or group to list statements for // https://hl7.org/fhir/r4/search.html#reference Subject datatypes.JSON `gorm:"column:subject;type:text;serializer:json" json:"subject,omitempty"` // Tags applied to this resource // https://hl7.org/fhir/r4/search.html#token Tag datatypes.JSON `gorm:"column:tag;type:text;serializer:json" json:"tag,omitempty"` // Text search against the narrative // https://hl7.org/fhir/r4/search.html#string Text datatypes.JSON `gorm:"column:text;type:text;serializer:json" json:"text,omitempty"` // A resource type filter // https://hl7.org/fhir/r4/search.html#special Type datatypes.JSON `gorm:"column:type;type:text;serializer:json" json:"type,omitempty"` }
func (*FhirMedicationStatement) GetSearchParameters ¶
func (s *FhirMedicationStatement) GetSearchParameters() map[string]string
func (*FhirMedicationStatement) PopulateAndExtractSearchParameters ¶
func (s *FhirMedicationStatement) PopulateAndExtractSearchParameters(resourceRaw json.RawMessage) error
func (*FhirMedicationStatement) TableName ¶
func (s *FhirMedicationStatement) TableName() string
TableName overrides the table name from fhir_observations (pluralized) to `fhir_observation`. https://gorm.io/docs/conventions.html#TableName
type FhirNutritionOrder ¶
type FhirNutritionOrder struct { models.ResourceBase // Type of module component to add to the feeding // https://hl7.org/fhir/r4/search.html#token Additive datatypes.JSON `gorm:"column:additive;type:text;serializer:json" json:"additive,omitempty"` // Return nutrition orders requested on this date // https://hl7.org/fhir/r4/search.html#date Datetime *time.Time `gorm:"column:datetime;type:datetime" json:"datetime,omitempty"` /* Multiple Resources: * [Composition](composition.html): Context of the Composition * [DeviceRequest](devicerequest.html): Encounter during which request was created * [DiagnosticReport](diagnosticreport.html): The Encounter when the order was made * [DocumentReference](documentreference.html): Context of the document content * [Flag](flag.html): Alert relevant during encounter * [List](list.html): Context in which list created * [NutritionOrder](nutritionorder.html): Return nutrition orders with this encounter identifier * [Observation](observation.html): Encounter related to the observation * [Procedure](procedure.html): Encounter created as part of * [RiskAssessment](riskassessment.html): Where was assessment performed? * [ServiceRequest](servicerequest.html): An encounter in which this request is made * [VisionPrescription](visionprescription.html): Return prescriptions with this encounter identifier */ // https://hl7.org/fhir/r4/search.html#reference Encounter datatypes.JSON `gorm:"column:encounter;type:text;serializer:json" json:"encounter,omitempty"` // Type of enteral or infant formula // https://hl7.org/fhir/r4/search.html#token Formula datatypes.JSON `gorm:"column:formula;type:text;serializer:json" json:"formula,omitempty"` /* Multiple Resources: * [AllergyIntolerance](allergyintolerance.html): External ids for this item * [CarePlan](careplan.html): External Ids for this plan * [CareTeam](careteam.html): External Ids for this team * [Composition](composition.html): Version-independent identifier for the Composition * [Condition](condition.html): A unique identifier of the condition record * [Consent](consent.html): Identifier for this record (external references) * [DetectedIssue](detectedissue.html): Unique id for the detected issue * [DeviceRequest](devicerequest.html): Business identifier for request/order * [DiagnosticReport](diagnosticreport.html): An identifier for the report * [DocumentManifest](documentmanifest.html): Unique Identifier for the set of documents * [DocumentReference](documentreference.html): Master Version Specific Identifier * [Encounter](encounter.html): Identifier(s) by which this encounter is known * [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare * [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier * [Goal](goal.html): External Ids for this goal * [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID and Accession number * [Immunization](immunization.html): Business identifier * [List](list.html): Business identifier * [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier * [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier * [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier * [MedicationStatement](medicationstatement.html): Return statements with this external identifier * [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier * [Observation](observation.html): The unique id for a particular observation * [Procedure](procedure.html): A unique identifier for a procedure * [RiskAssessment](riskassessment.html): Unique identifier for the assessment * [ServiceRequest](servicerequest.html): Identifiers assigned to this order * [SupplyDelivery](supplydelivery.html): External identifier * [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest * [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier */ // https://hl7.org/fhir/r4/search.html#token Identifier datatypes.JSON `gorm:"column:identifier;type:text;serializer:json" json:"identifier,omitempty"` // Instantiates FHIR protocol or definition // https://hl7.org/fhir/r4/search.html#reference InstantiatesCanonical datatypes.JSON `gorm:"column:instantiatesCanonical;type:text;serializer:json" json:"instantiatesCanonical,omitempty"` // Instantiates external protocol or definition // https://hl7.org/fhir/r4/search.html#uri InstantiatesUri string `gorm:"column:instantiatesUri;type:text" json:"instantiatesUri,omitempty"` // Language of the resource content // https://hl7.org/fhir/r4/search.html#token Language datatypes.JSON `gorm:"column:language;type:text;serializer:json" json:"language,omitempty"` // When the resource version last changed // https://hl7.org/fhir/r4/search.html#date LastUpdated *time.Time `gorm:"column:lastUpdated;type:datetime" json:"lastUpdated,omitempty"` // Type of diet that can be consumed orally (i.e., take via the mouth). // https://hl7.org/fhir/r4/search.html#token Oraldiet datatypes.JSON `gorm:"column:oraldiet;type:text;serializer:json" json:"oraldiet,omitempty"` // Profiles this resource claims to conform to // https://hl7.org/fhir/r4/search.html#reference Profile datatypes.JSON `gorm:"column:profile;type:text;serializer:json" json:"profile,omitempty"` // The identity of the provider who placed the nutrition order // https://hl7.org/fhir/r4/search.html#reference Provider datatypes.JSON `gorm:"column:provider;type:text;serializer:json" json:"provider,omitempty"` // Status of the nutrition order. // https://hl7.org/fhir/r4/search.html#token Status datatypes.JSON `gorm:"column:status;type:text;serializer:json" json:"status,omitempty"` // Type of supplement product requested // https://hl7.org/fhir/r4/search.html#token Supplement datatypes.JSON `gorm:"column:supplement;type:text;serializer:json" json:"supplement,omitempty"` // Tags applied to this resource // https://hl7.org/fhir/r4/search.html#token Tag datatypes.JSON `gorm:"column:tag;type:text;serializer:json" json:"tag,omitempty"` // Text search against the narrative // https://hl7.org/fhir/r4/search.html#string Text datatypes.JSON `gorm:"column:text;type:text;serializer:json" json:"text,omitempty"` // A resource type filter // https://hl7.org/fhir/r4/search.html#special Type datatypes.JSON `gorm:"column:type;type:text;serializer:json" json:"type,omitempty"` }
func (*FhirNutritionOrder) GetSearchParameters ¶
func (s *FhirNutritionOrder) GetSearchParameters() map[string]string
func (*FhirNutritionOrder) PopulateAndExtractSearchParameters ¶
func (s *FhirNutritionOrder) PopulateAndExtractSearchParameters(resourceRaw json.RawMessage) error
func (*FhirNutritionOrder) TableName ¶
func (s *FhirNutritionOrder) TableName() string
TableName overrides the table name from fhir_observations (pluralized) to `fhir_observation`. https://gorm.io/docs/conventions.html#TableName
type FhirObservation ¶
type FhirObservation struct { models.ResourceBase // Reference to the service request. // https://hl7.org/fhir/r4/search.html#reference BasedOn datatypes.JSON `gorm:"column:basedOn;type:text;serializer:json" json:"basedOn,omitempty"` // The classification of the type of observation // https://hl7.org/fhir/r4/search.html#token Category datatypes.JSON `gorm:"column:category;type:text;serializer:json" json:"category,omitempty"` /* Multiple Resources: * [AllergyIntolerance](allergyintolerance.html): Code that identifies the allergy or intolerance * [Condition](condition.html): Code for the condition * [DeviceRequest](devicerequest.html): Code for what is being requested/ordered * [DiagnosticReport](diagnosticreport.html): The code for the report, as opposed to codes for the atomic results, which are the names on the observation resource referred to from the result * [FamilyMemberHistory](familymemberhistory.html): A search by a condition code * [List](list.html): What the purpose of this list is * [Medication](medication.html): Returns medications for a specific code * [MedicationAdministration](medicationadministration.html): Return administrations of this medication code * [MedicationDispense](medicationdispense.html): Returns dispenses of this medicine code * [MedicationRequest](medicationrequest.html): Return prescriptions of this medication code * [MedicationStatement](medicationstatement.html): Return statements of this medication code * [Observation](observation.html): The code of the observation type * [Procedure](procedure.html): A code to identify a procedure * [ServiceRequest](servicerequest.html): What is being requested/ordered */ // https://hl7.org/fhir/r4/search.html#token Code datatypes.JSON `gorm:"column:code;type:text;serializer:json" json:"code,omitempty"` // The code of the observation type or component type // https://hl7.org/fhir/r4/search.html#token ComboCode datatypes.JSON `gorm:"column:comboCode;type:text;serializer:json" json:"comboCode,omitempty"` // The reason why the expected value in the element Observation.value[x] or Observation.component.value[x] is missing. // https://hl7.org/fhir/r4/search.html#token ComboDataAbsentReason datatypes.JSON `gorm:"column:comboDataAbsentReason;type:text;serializer:json" json:"comboDataAbsentReason,omitempty"` // The value or component value of the observation, if the value is a CodeableConcept // https://hl7.org/fhir/r4/search.html#token ComboValueConcept datatypes.JSON `gorm:"column:comboValueConcept;type:text;serializer:json" json:"comboValueConcept,omitempty"` // The value or component value of the observation, if the value is a Quantity, or a SampledData (just search on the bounds of the values in sampled data) // https://hl7.org/fhir/r4/search.html#quantity ComboValueQuantity datatypes.JSON `gorm:"column:comboValueQuantity;type:text;serializer:json" json:"comboValueQuantity,omitempty"` // The component code of the observation type // https://hl7.org/fhir/r4/search.html#token ComponentCode datatypes.JSON `gorm:"column:componentCode;type:text;serializer:json" json:"componentCode,omitempty"` // The reason why the expected value in the element Observation.component.value[x] is missing. // https://hl7.org/fhir/r4/search.html#token ComponentDataAbsentReason datatypes.JSON `gorm:"column:componentDataAbsentReason;type:text;serializer:json" json:"componentDataAbsentReason,omitempty"` // The value of the component observation, if the value is a CodeableConcept // https://hl7.org/fhir/r4/search.html#token ComponentValueConcept datatypes.JSON `gorm:"column:componentValueConcept;type:text;serializer:json" json:"componentValueConcept,omitempty"` // The value of the component observation, if the value is a Quantity, or a SampledData (just search on the bounds of the values in sampled data) // https://hl7.org/fhir/r4/search.html#quantity ComponentValueQuantity datatypes.JSON `gorm:"column:componentValueQuantity;type:text;serializer:json" json:"componentValueQuantity,omitempty"` // The reason why the expected value in the element Observation.value[x] is missing. // https://hl7.org/fhir/r4/search.html#token DataAbsentReason datatypes.JSON `gorm:"column:dataAbsentReason;type:text;serializer:json" json:"dataAbsentReason,omitempty"` /* Multiple Resources: * [AllergyIntolerance](allergyintolerance.html): Date first version of the resource instance was recorded * [CarePlan](careplan.html): Time period plan covers * [CareTeam](careteam.html): Time period team covers * [ClinicalImpression](clinicalimpression.html): When the assessment was documented * [Composition](composition.html): Composition editing time * [Consent](consent.html): When this Consent was created or indexed * [DiagnosticReport](diagnosticreport.html): The clinically relevant time of the report * [Encounter](encounter.html): A date within the period the Encounter lasted * [EpisodeOfCare](episodeofcare.html): The provided date search value falls within the episode of care's period * [FamilyMemberHistory](familymemberhistory.html): When history was recorded or last updated * [Flag](flag.html): Time period when flag is active * [Immunization](immunization.html): Vaccination (non)-Administration Date * [List](list.html): When the list was prepared * [Observation](observation.html): Obtained date/time. If the obtained element is a period, a date that falls in the period * [Procedure](procedure.html): When the procedure was performed * [RiskAssessment](riskassessment.html): When was assessment made? * [SupplyRequest](supplyrequest.html): When the request was made */ // https://hl7.org/fhir/r4/search.html#date Date *time.Time `gorm:"column:date;type:datetime" json:"date,omitempty"` // Related measurements the observation is made from // https://hl7.org/fhir/r4/search.html#reference DerivedFrom datatypes.JSON `gorm:"column:derivedFrom;type:text;serializer:json" json:"derivedFrom,omitempty"` // The Device that generated the observation data. // https://hl7.org/fhir/r4/search.html#reference Device datatypes.JSON `gorm:"column:device;type:text;serializer:json" json:"device,omitempty"` /* Multiple Resources: * [Composition](composition.html): Context of the Composition * [DeviceRequest](devicerequest.html): Encounter during which request was created * [DiagnosticReport](diagnosticreport.html): The Encounter when the order was made * [DocumentReference](documentreference.html): Context of the document content * [Flag](flag.html): Alert relevant during encounter * [List](list.html): Context in which list created * [NutritionOrder](nutritionorder.html): Return nutrition orders with this encounter identifier * [Observation](observation.html): Encounter related to the observation * [Procedure](procedure.html): Encounter created as part of * [RiskAssessment](riskassessment.html): Where was assessment performed? * [ServiceRequest](servicerequest.html): An encounter in which this request is made * [VisionPrescription](visionprescription.html): Return prescriptions with this encounter identifier */ // https://hl7.org/fhir/r4/search.html#reference Encounter datatypes.JSON `gorm:"column:encounter;type:text;serializer:json" json:"encounter,omitempty"` // The focus of an observation when the focus is not the patient of record. // https://hl7.org/fhir/r4/search.html#reference Focus datatypes.JSON `gorm:"column:focus;type:text;serializer:json" json:"focus,omitempty"` // Related resource that belongs to the Observation group // https://hl7.org/fhir/r4/search.html#reference HasMember datatypes.JSON `gorm:"column:hasMember;type:text;serializer:json" json:"hasMember,omitempty"` /* Multiple Resources: * [AllergyIntolerance](allergyintolerance.html): External ids for this item * [CarePlan](careplan.html): External Ids for this plan * [CareTeam](careteam.html): External Ids for this team * [Composition](composition.html): Version-independent identifier for the Composition * [Condition](condition.html): A unique identifier of the condition record * [Consent](consent.html): Identifier for this record (external references) * [DetectedIssue](detectedissue.html): Unique id for the detected issue * [DeviceRequest](devicerequest.html): Business identifier for request/order * [DiagnosticReport](diagnosticreport.html): An identifier for the report * [DocumentManifest](documentmanifest.html): Unique Identifier for the set of documents * [DocumentReference](documentreference.html): Master Version Specific Identifier * [Encounter](encounter.html): Identifier(s) by which this encounter is known * [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare * [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier * [Goal](goal.html): External Ids for this goal * [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID and Accession number * [Immunization](immunization.html): Business identifier * [List](list.html): Business identifier * [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier * [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier * [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier * [MedicationStatement](medicationstatement.html): Return statements with this external identifier * [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier * [Observation](observation.html): The unique id for a particular observation * [Procedure](procedure.html): A unique identifier for a procedure * [RiskAssessment](riskassessment.html): Unique identifier for the assessment * [ServiceRequest](servicerequest.html): Identifiers assigned to this order * [SupplyDelivery](supplydelivery.html): External identifier * [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest * [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier */ // https://hl7.org/fhir/r4/search.html#token Identifier datatypes.JSON `gorm:"column:identifier;type:text;serializer:json" json:"identifier,omitempty"` // Language of the resource content // https://hl7.org/fhir/r4/search.html#token Language datatypes.JSON `gorm:"column:language;type:text;serializer:json" json:"language,omitempty"` // When the resource version last changed // https://hl7.org/fhir/r4/search.html#date LastUpdated *time.Time `gorm:"column:lastUpdated;type:datetime" json:"lastUpdated,omitempty"` // The method used for the observation // https://hl7.org/fhir/r4/search.html#token Method datatypes.JSON `gorm:"column:method;type:text;serializer:json" json:"method,omitempty"` // Part of referenced event // https://hl7.org/fhir/r4/search.html#reference PartOf datatypes.JSON `gorm:"column:partOf;type:text;serializer:json" json:"partOf,omitempty"` // Who performed the observation // https://hl7.org/fhir/r4/search.html#reference Performer datatypes.JSON `gorm:"column:performer;type:text;serializer:json" json:"performer,omitempty"` // Profiles this resource claims to conform to // https://hl7.org/fhir/r4/search.html#reference Profile datatypes.JSON `gorm:"column:profile;type:text;serializer:json" json:"profile,omitempty"` // Specimen used for this observation // https://hl7.org/fhir/r4/search.html#reference Specimen datatypes.JSON `gorm:"column:specimen;type:text;serializer:json" json:"specimen,omitempty"` // The status of the observation // https://hl7.org/fhir/r4/search.html#token Status datatypes.JSON `gorm:"column:status;type:text;serializer:json" json:"status,omitempty"` // The subject that the observation is about // https://hl7.org/fhir/r4/search.html#reference Subject datatypes.JSON `gorm:"column:subject;type:text;serializer:json" json:"subject,omitempty"` // Tags applied to this resource // https://hl7.org/fhir/r4/search.html#token Tag datatypes.JSON `gorm:"column:tag;type:text;serializer:json" json:"tag,omitempty"` // Text search against the narrative // https://hl7.org/fhir/r4/search.html#string Text datatypes.JSON `gorm:"column:text;type:text;serializer:json" json:"text,omitempty"` // A resource type filter // https://hl7.org/fhir/r4/search.html#special Type datatypes.JSON `gorm:"column:type;type:text;serializer:json" json:"type,omitempty"` // The value of the observation, if the value is a CodeableConcept // https://hl7.org/fhir/r4/search.html#token ValueConcept datatypes.JSON `gorm:"column:valueConcept;type:text;serializer:json" json:"valueConcept,omitempty"` // The value of the observation, if the value is a date or period of time // https://hl7.org/fhir/r4/search.html#date ValueDate *time.Time `gorm:"column:valueDate;type:datetime" json:"valueDate,omitempty"` // The value of the observation, if the value is a Quantity, or a SampledData (just search on the bounds of the values in sampled data) // https://hl7.org/fhir/r4/search.html#quantity ValueQuantity datatypes.JSON `gorm:"column:valueQuantity;type:text;serializer:json" json:"valueQuantity,omitempty"` // The value of the observation, if the value is a string, and also searches in CodeableConcept.text // https://hl7.org/fhir/r4/search.html#string ValueString datatypes.JSON `gorm:"column:valueString;type:text;serializer:json" json:"valueString,omitempty"` }
func (*FhirObservation) GetSearchParameters ¶
func (s *FhirObservation) GetSearchParameters() map[string]string
func (*FhirObservation) PopulateAndExtractSearchParameters ¶
func (s *FhirObservation) PopulateAndExtractSearchParameters(resourceRaw json.RawMessage) error
func (*FhirObservation) TableName ¶
func (s *FhirObservation) TableName() string
TableName overrides the table name from fhir_observations (pluralized) to `fhir_observation`. https://gorm.io/docs/conventions.html#TableName
type FhirOrganization ¶
type FhirOrganization struct { models.ResourceBase // Is the Organization record active // https://hl7.org/fhir/r4/search.html#token Active datatypes.JSON `gorm:"column:active;type:text;serializer:json" json:"active,omitempty"` // A server defined search that may match any of the string fields in the Address, including line, city, district, state, country, postalCode, and/or text // https://hl7.org/fhir/r4/search.html#string Address datatypes.JSON `gorm:"column:address;type:text;serializer:json" json:"address,omitempty"` // A city specified in an address // https://hl7.org/fhir/r4/search.html#string AddressCity datatypes.JSON `gorm:"column:addressCity;type:text;serializer:json" json:"addressCity,omitempty"` // A country specified in an address // https://hl7.org/fhir/r4/search.html#string AddressCountry datatypes.JSON `gorm:"column:addressCountry;type:text;serializer:json" json:"addressCountry,omitempty"` // A postal code specified in an address // https://hl7.org/fhir/r4/search.html#string AddressPostalcode datatypes.JSON `gorm:"column:addressPostalcode;type:text;serializer:json" json:"addressPostalcode,omitempty"` // A state specified in an address // https://hl7.org/fhir/r4/search.html#string AddressState datatypes.JSON `gorm:"column:addressState;type:text;serializer:json" json:"addressState,omitempty"` // A use code specified in an address // https://hl7.org/fhir/r4/search.html#token AddressUse datatypes.JSON `gorm:"column:addressUse;type:text;serializer:json" json:"addressUse,omitempty"` // Technical endpoints providing access to services operated for the organization // https://hl7.org/fhir/r4/search.html#reference Endpoint datatypes.JSON `gorm:"column:endpoint;type:text;serializer:json" json:"endpoint,omitempty"` // Any identifier for the organization (not the accreditation issuer's identifier) // https://hl7.org/fhir/r4/search.html#token Identifier datatypes.JSON `gorm:"column:identifier;type:text;serializer:json" json:"identifier,omitempty"` // Language of the resource content // https://hl7.org/fhir/r4/search.html#token Language datatypes.JSON `gorm:"column:language;type:text;serializer:json" json:"language,omitempty"` // When the resource version last changed // https://hl7.org/fhir/r4/search.html#date LastUpdated *time.Time `gorm:"column:lastUpdated;type:datetime" json:"lastUpdated,omitempty"` // A portion of the organization's name or alias // https://hl7.org/fhir/r4/search.html#string Name datatypes.JSON `gorm:"column:name;type:text;serializer:json" json:"name,omitempty"` // An organization of which this organization forms a part // https://hl7.org/fhir/r4/search.html#reference Partof datatypes.JSON `gorm:"column:partof;type:text;serializer:json" json:"partof,omitempty"` // A portion of the organization's name using some kind of phonetic matching algorithm // https://hl7.org/fhir/r4/search.html#string Phonetic datatypes.JSON `gorm:"column:phonetic;type:text;serializer:json" json:"phonetic,omitempty"` // Profiles this resource claims to conform to // https://hl7.org/fhir/r4/search.html#reference Profile datatypes.JSON `gorm:"column:profile;type:text;serializer:json" json:"profile,omitempty"` // Tags applied to this resource // https://hl7.org/fhir/r4/search.html#token Tag datatypes.JSON `gorm:"column:tag;type:text;serializer:json" json:"tag,omitempty"` // Text search against the narrative // https://hl7.org/fhir/r4/search.html#string Text datatypes.JSON `gorm:"column:text;type:text;serializer:json" json:"text,omitempty"` // A resource type filter // https://hl7.org/fhir/r4/search.html#special Type datatypes.JSON `gorm:"column:type;type:text;serializer:json" json:"type,omitempty"` }
func (*FhirOrganization) GetSearchParameters ¶
func (s *FhirOrganization) GetSearchParameters() map[string]string
func (*FhirOrganization) PopulateAndExtractSearchParameters ¶
func (s *FhirOrganization) PopulateAndExtractSearchParameters(resourceRaw json.RawMessage) error
func (*FhirOrganization) TableName ¶
func (s *FhirOrganization) TableName() string
TableName overrides the table name from fhir_observations (pluralized) to `fhir_observation`. https://gorm.io/docs/conventions.html#TableName
type FhirOrganizationAffiliation ¶
type FhirOrganizationAffiliation struct { models.ResourceBase // Whether this organization affiliation record is in active use // https://hl7.org/fhir/r4/search.html#token Active datatypes.JSON `gorm:"column:active;type:text;serializer:json" json:"active,omitempty"` // The period during which the participatingOrganization is affiliated with the primary organization // https://hl7.org/fhir/r4/search.html#date Date *time.Time `gorm:"column:date;type:datetime" json:"date,omitempty"` // A value in an email contact // https://hl7.org/fhir/r4/search.html#token Email datatypes.JSON `gorm:"column:email;type:text;serializer:json" json:"email,omitempty"` // Technical endpoints providing access to services operated for this role // https://hl7.org/fhir/r4/search.html#reference Endpoint datatypes.JSON `gorm:"column:endpoint;type:text;serializer:json" json:"endpoint,omitempty"` // An organization affiliation's Identifier // https://hl7.org/fhir/r4/search.html#token Identifier datatypes.JSON `gorm:"column:identifier;type:text;serializer:json" json:"identifier,omitempty"` // Language of the resource content // https://hl7.org/fhir/r4/search.html#token Language datatypes.JSON `gorm:"column:language;type:text;serializer:json" json:"language,omitempty"` // When the resource version last changed // https://hl7.org/fhir/r4/search.html#date LastUpdated *time.Time `gorm:"column:lastUpdated;type:datetime" json:"lastUpdated,omitempty"` // The location(s) at which the role occurs // https://hl7.org/fhir/r4/search.html#reference Location datatypes.JSON `gorm:"column:location;type:text;serializer:json" json:"location,omitempty"` // Health insurance provider network in which the participatingOrganization provides the role's services (if defined) at the indicated locations (if defined) // https://hl7.org/fhir/r4/search.html#reference Network datatypes.JSON `gorm:"column:network;type:text;serializer:json" json:"network,omitempty"` // The organization that provides services to the primary organization // https://hl7.org/fhir/r4/search.html#reference ParticipatingOrganization datatypes.JSON `gorm:"column:participatingOrganization;type:text;serializer:json" json:"participatingOrganization,omitempty"` // A value in a phone contact // https://hl7.org/fhir/r4/search.html#token Phone datatypes.JSON `gorm:"column:phone;type:text;serializer:json" json:"phone,omitempty"` // The organization that receives the services from the participating organization // https://hl7.org/fhir/r4/search.html#reference PrimaryOrganization datatypes.JSON `gorm:"column:primaryOrganization;type:text;serializer:json" json:"primaryOrganization,omitempty"` // Profiles this resource claims to conform to // https://hl7.org/fhir/r4/search.html#reference Profile datatypes.JSON `gorm:"column:profile;type:text;serializer:json" json:"profile,omitempty"` // Definition of the role the participatingOrganization plays // https://hl7.org/fhir/r4/search.html#token Role datatypes.JSON `gorm:"column:role;type:text;serializer:json" json:"role,omitempty"` // Healthcare services provided through the role // https://hl7.org/fhir/r4/search.html#reference Service datatypes.JSON `gorm:"column:service;type:text;serializer:json" json:"service,omitempty"` // Specific specialty of the participatingOrganization in the context of the role // https://hl7.org/fhir/r4/search.html#token Specialty datatypes.JSON `gorm:"column:specialty;type:text;serializer:json" json:"specialty,omitempty"` // Tags applied to this resource // https://hl7.org/fhir/r4/search.html#token Tag datatypes.JSON `gorm:"column:tag;type:text;serializer:json" json:"tag,omitempty"` // The value in any kind of contact // https://hl7.org/fhir/r4/search.html#token Telecom datatypes.JSON `gorm:"column:telecom;type:text;serializer:json" json:"telecom,omitempty"` // Text search against the narrative // https://hl7.org/fhir/r4/search.html#string Text datatypes.JSON `gorm:"column:text;type:text;serializer:json" json:"text,omitempty"` // A resource type filter // https://hl7.org/fhir/r4/search.html#special Type datatypes.JSON `gorm:"column:type;type:text;serializer:json" json:"type,omitempty"` }
func (*FhirOrganizationAffiliation) GetSearchParameters ¶
func (s *FhirOrganizationAffiliation) GetSearchParameters() map[string]string
func (*FhirOrganizationAffiliation) PopulateAndExtractSearchParameters ¶
func (s *FhirOrganizationAffiliation) PopulateAndExtractSearchParameters(resourceRaw json.RawMessage) error
func (*FhirOrganizationAffiliation) TableName ¶
func (s *FhirOrganizationAffiliation) TableName() string
TableName overrides the table name from fhir_observations (pluralized) to `fhir_observation`. https://gorm.io/docs/conventions.html#TableName
type FhirPatient ¶
type FhirPatient struct { models.ResourceBase // Whether the patient record is active // https://hl7.org/fhir/r4/search.html#token Active datatypes.JSON `gorm:"column:active;type:text;serializer:json" json:"active,omitempty"` /* Multiple Resources: * [Patient](patient.html): A server defined search that may match any of the string fields in the Address, including line, city, district, state, country, postalCode, and/or text * [Person](person.html): A server defined search that may match any of the string fields in the Address, including line, city, district, state, country, postalCode, and/or text * [Practitioner](practitioner.html): A server defined search that may match any of the string fields in the Address, including line, city, district, state, country, postalCode, and/or text * [RelatedPerson](relatedperson.html): A server defined search that may match any of the string fields in the Address, including line, city, district, state, country, postalCode, and/or text */ // https://hl7.org/fhir/r4/search.html#string Address datatypes.JSON `gorm:"column:address;type:text;serializer:json" json:"address,omitempty"` /* Multiple Resources: * [Patient](patient.html): A city specified in an address * [Person](person.html): A city specified in an address * [Practitioner](practitioner.html): A city specified in an address * [RelatedPerson](relatedperson.html): A city specified in an address */ // https://hl7.org/fhir/r4/search.html#string AddressCity datatypes.JSON `gorm:"column:addressCity;type:text;serializer:json" json:"addressCity,omitempty"` /* Multiple Resources: * [Patient](patient.html): A country specified in an address * [Person](person.html): A country specified in an address * [Practitioner](practitioner.html): A country specified in an address * [RelatedPerson](relatedperson.html): A country specified in an address */ // https://hl7.org/fhir/r4/search.html#string AddressCountry datatypes.JSON `gorm:"column:addressCountry;type:text;serializer:json" json:"addressCountry,omitempty"` /* Multiple Resources: * [Patient](patient.html): A postalCode specified in an address * [Person](person.html): A postal code specified in an address * [Practitioner](practitioner.html): A postalCode specified in an address * [RelatedPerson](relatedperson.html): A postal code specified in an address */ // https://hl7.org/fhir/r4/search.html#string AddressPostalcode datatypes.JSON `gorm:"column:addressPostalcode;type:text;serializer:json" json:"addressPostalcode,omitempty"` /* Multiple Resources: * [Patient](patient.html): A state specified in an address * [Person](person.html): A state specified in an address * [Practitioner](practitioner.html): A state specified in an address * [RelatedPerson](relatedperson.html): A state specified in an address */ // https://hl7.org/fhir/r4/search.html#string AddressState datatypes.JSON `gorm:"column:addressState;type:text;serializer:json" json:"addressState,omitempty"` /* Multiple Resources: * [Patient](patient.html): A use code specified in an address * [Person](person.html): A use code specified in an address * [Practitioner](practitioner.html): A use code specified in an address * [RelatedPerson](relatedperson.html): A use code specified in an address */ // https://hl7.org/fhir/r4/search.html#token AddressUse datatypes.JSON `gorm:"column:addressUse;type:text;serializer:json" json:"addressUse,omitempty"` /* Multiple Resources: * [Patient](patient.html): The patient's date of birth * [Person](person.html): The person's date of birth * [RelatedPerson](relatedperson.html): The Related Person's date of birth */ // https://hl7.org/fhir/r4/search.html#date Birthdate *time.Time `gorm:"column:birthdate;type:datetime" json:"birthdate,omitempty"` // The date of death has been provided and satisfies this search value // https://hl7.org/fhir/r4/search.html#date DeathDate *time.Time `gorm:"column:deathDate;type:datetime" json:"deathDate,omitempty"` // This patient has been marked as deceased, or has a death date entered // https://hl7.org/fhir/r4/search.html#token Deceased datatypes.JSON `gorm:"column:deceased;type:text;serializer:json" json:"deceased,omitempty"` /* Multiple Resources: * [Patient](patient.html): A value in an email contact * [Person](person.html): A value in an email contact * [Practitioner](practitioner.html): A value in an email contact * [PractitionerRole](practitionerrole.html): A value in an email contact * [RelatedPerson](relatedperson.html): A value in an email contact */ // https://hl7.org/fhir/r4/search.html#token Email datatypes.JSON `gorm:"column:email;type:text;serializer:json" json:"email,omitempty"` /* Multiple Resources: * [Patient](patient.html): A portion of the family name of the patient * [Practitioner](practitioner.html): A portion of the family name */ // https://hl7.org/fhir/r4/search.html#string Family datatypes.JSON `gorm:"column:family;type:text;serializer:json" json:"family,omitempty"` /* Multiple Resources: * [Patient](patient.html): Gender of the patient * [Person](person.html): The gender of the person * [Practitioner](practitioner.html): Gender of the practitioner * [RelatedPerson](relatedperson.html): Gender of the related person */ // https://hl7.org/fhir/r4/search.html#token Gender datatypes.JSON `gorm:"column:gender;type:text;serializer:json" json:"gender,omitempty"` // Patient's nominated general practitioner, not the organization that manages the record // https://hl7.org/fhir/r4/search.html#reference GeneralPractitioner datatypes.JSON `gorm:"column:generalPractitioner;type:text;serializer:json" json:"generalPractitioner,omitempty"` /* Multiple Resources: * [Patient](patient.html): A portion of the given name of the patient * [Practitioner](practitioner.html): A portion of the given name */ // https://hl7.org/fhir/r4/search.html#string Given datatypes.JSON `gorm:"column:given;type:text;serializer:json" json:"given,omitempty"` // A patient identifier // https://hl7.org/fhir/r4/search.html#token Identifier datatypes.JSON `gorm:"column:identifier;type:text;serializer:json" json:"identifier,omitempty"` // Language of the resource content // https://hl7.org/fhir/r4/search.html#token Language datatypes.JSON `gorm:"column:language;type:text;serializer:json" json:"language,omitempty"` // When the resource version last changed // https://hl7.org/fhir/r4/search.html#date LastUpdated *time.Time `gorm:"column:lastUpdated;type:datetime" json:"lastUpdated,omitempty"` // All patients linked to the given patient // https://hl7.org/fhir/r4/search.html#reference Link datatypes.JSON `gorm:"column:link;type:text;serializer:json" json:"link,omitempty"` // A server defined search that may match any of the string fields in the HumanName, including family, give, prefix, suffix, suffix, and/or text // https://hl7.org/fhir/r4/search.html#string Name datatypes.JSON `gorm:"column:name;type:text;serializer:json" json:"name,omitempty"` // The organization that is the custodian of the patient record // https://hl7.org/fhir/r4/search.html#reference Organization datatypes.JSON `gorm:"column:organization;type:text;serializer:json" json:"organization,omitempty"` /* Multiple Resources: * [Patient](patient.html): A value in a phone contact * [Person](person.html): A value in a phone contact * [Practitioner](practitioner.html): A value in a phone contact * [PractitionerRole](practitionerrole.html): A value in a phone contact * [RelatedPerson](relatedperson.html): A value in a phone contact */ // https://hl7.org/fhir/r4/search.html#token Phone datatypes.JSON `gorm:"column:phone;type:text;serializer:json" json:"phone,omitempty"` /* Multiple Resources: * [Patient](patient.html): A portion of either family or given name using some kind of phonetic matching algorithm * [Person](person.html): A portion of name using some kind of phonetic matching algorithm * [Practitioner](practitioner.html): A portion of either family or given name using some kind of phonetic matching algorithm * [RelatedPerson](relatedperson.html): A portion of name using some kind of phonetic matching algorithm */ // https://hl7.org/fhir/r4/search.html#string Phonetic datatypes.JSON `gorm:"column:phonetic;type:text;serializer:json" json:"phonetic,omitempty"` // Profiles this resource claims to conform to // https://hl7.org/fhir/r4/search.html#reference Profile datatypes.JSON `gorm:"column:profile;type:text;serializer:json" json:"profile,omitempty"` // Tags applied to this resource // https://hl7.org/fhir/r4/search.html#token Tag datatypes.JSON `gorm:"column:tag;type:text;serializer:json" json:"tag,omitempty"` /* Multiple Resources: * [Patient](patient.html): The value in any kind of telecom details of the patient * [Person](person.html): The value in any kind of contact * [Practitioner](practitioner.html): The value in any kind of contact * [PractitionerRole](practitionerrole.html): The value in any kind of contact * [RelatedPerson](relatedperson.html): The value in any kind of contact */ // https://hl7.org/fhir/r4/search.html#token Telecom datatypes.JSON `gorm:"column:telecom;type:text;serializer:json" json:"telecom,omitempty"` // Text search against the narrative // https://hl7.org/fhir/r4/search.html#string Text datatypes.JSON `gorm:"column:text;type:text;serializer:json" json:"text,omitempty"` // A resource type filter // https://hl7.org/fhir/r4/search.html#special Type datatypes.JSON `gorm:"column:type;type:text;serializer:json" json:"type,omitempty"` }
func (*FhirPatient) GetSearchParameters ¶
func (s *FhirPatient) GetSearchParameters() map[string]string
func (*FhirPatient) PopulateAndExtractSearchParameters ¶
func (s *FhirPatient) PopulateAndExtractSearchParameters(resourceRaw json.RawMessage) error
func (*FhirPatient) TableName ¶
func (s *FhirPatient) TableName() string
TableName overrides the table name from fhir_observations (pluralized) to `fhir_observation`. https://gorm.io/docs/conventions.html#TableName
type FhirPerson ¶
type FhirPerson struct { models.ResourceBase /* Multiple Resources: * [Patient](patient.html): A server defined search that may match any of the string fields in the Address, including line, city, district, state, country, postalCode, and/or text * [Person](person.html): A server defined search that may match any of the string fields in the Address, including line, city, district, state, country, postalCode, and/or text * [Practitioner](practitioner.html): A server defined search that may match any of the string fields in the Address, including line, city, district, state, country, postalCode, and/or text * [RelatedPerson](relatedperson.html): A server defined search that may match any of the string fields in the Address, including line, city, district, state, country, postalCode, and/or text */ // https://hl7.org/fhir/r4/search.html#string Address datatypes.JSON `gorm:"column:address;type:text;serializer:json" json:"address,omitempty"` /* Multiple Resources: * [Patient](patient.html): A city specified in an address * [Person](person.html): A city specified in an address * [Practitioner](practitioner.html): A city specified in an address * [RelatedPerson](relatedperson.html): A city specified in an address */ // https://hl7.org/fhir/r4/search.html#string AddressCity datatypes.JSON `gorm:"column:addressCity;type:text;serializer:json" json:"addressCity,omitempty"` /* Multiple Resources: * [Patient](patient.html): A country specified in an address * [Person](person.html): A country specified in an address * [Practitioner](practitioner.html): A country specified in an address * [RelatedPerson](relatedperson.html): A country specified in an address */ // https://hl7.org/fhir/r4/search.html#string AddressCountry datatypes.JSON `gorm:"column:addressCountry;type:text;serializer:json" json:"addressCountry,omitempty"` /* Multiple Resources: * [Patient](patient.html): A postalCode specified in an address * [Person](person.html): A postal code specified in an address * [Practitioner](practitioner.html): A postalCode specified in an address * [RelatedPerson](relatedperson.html): A postal code specified in an address */ // https://hl7.org/fhir/r4/search.html#string AddressPostalcode datatypes.JSON `gorm:"column:addressPostalcode;type:text;serializer:json" json:"addressPostalcode,omitempty"` /* Multiple Resources: * [Patient](patient.html): A state specified in an address * [Person](person.html): A state specified in an address * [Practitioner](practitioner.html): A state specified in an address * [RelatedPerson](relatedperson.html): A state specified in an address */ // https://hl7.org/fhir/r4/search.html#string AddressState datatypes.JSON `gorm:"column:addressState;type:text;serializer:json" json:"addressState,omitempty"` /* Multiple Resources: * [Patient](patient.html): A use code specified in an address * [Person](person.html): A use code specified in an address * [Practitioner](practitioner.html): A use code specified in an address * [RelatedPerson](relatedperson.html): A use code specified in an address */ // https://hl7.org/fhir/r4/search.html#token AddressUse datatypes.JSON `gorm:"column:addressUse;type:text;serializer:json" json:"addressUse,omitempty"` /* Multiple Resources: * [Patient](patient.html): The patient's date of birth * [Person](person.html): The person's date of birth * [RelatedPerson](relatedperson.html): The Related Person's date of birth */ // https://hl7.org/fhir/r4/search.html#date Birthdate *time.Time `gorm:"column:birthdate;type:datetime" json:"birthdate,omitempty"` /* Multiple Resources: * [Patient](patient.html): A value in an email contact * [Person](person.html): A value in an email contact * [Practitioner](practitioner.html): A value in an email contact * [PractitionerRole](practitionerrole.html): A value in an email contact * [RelatedPerson](relatedperson.html): A value in an email contact */ // https://hl7.org/fhir/r4/search.html#token Email datatypes.JSON `gorm:"column:email;type:text;serializer:json" json:"email,omitempty"` /* Multiple Resources: * [Patient](patient.html): Gender of the patient * [Person](person.html): The gender of the person * [Practitioner](practitioner.html): Gender of the practitioner * [RelatedPerson](relatedperson.html): Gender of the related person */ // https://hl7.org/fhir/r4/search.html#token Gender datatypes.JSON `gorm:"column:gender;type:text;serializer:json" json:"gender,omitempty"` // A person Identifier // https://hl7.org/fhir/r4/search.html#token Identifier datatypes.JSON `gorm:"column:identifier;type:text;serializer:json" json:"identifier,omitempty"` // Language of the resource content // https://hl7.org/fhir/r4/search.html#token Language datatypes.JSON `gorm:"column:language;type:text;serializer:json" json:"language,omitempty"` // When the resource version last changed // https://hl7.org/fhir/r4/search.html#date LastUpdated *time.Time `gorm:"column:lastUpdated;type:datetime" json:"lastUpdated,omitempty"` // Any link has this Patient, Person, RelatedPerson or Practitioner reference // https://hl7.org/fhir/r4/search.html#reference Link datatypes.JSON `gorm:"column:link;type:text;serializer:json" json:"link,omitempty"` // A server defined search that may match any of the string fields in the HumanName, including family, give, prefix, suffix, suffix, and/or text // https://hl7.org/fhir/r4/search.html#string Name datatypes.JSON `gorm:"column:name;type:text;serializer:json" json:"name,omitempty"` // The organization at which this person record is being managed // https://hl7.org/fhir/r4/search.html#reference Organization datatypes.JSON `gorm:"column:organization;type:text;serializer:json" json:"organization,omitempty"` /* Multiple Resources: * [Patient](patient.html): A value in a phone contact * [Person](person.html): A value in a phone contact * [Practitioner](practitioner.html): A value in a phone contact * [PractitionerRole](practitionerrole.html): A value in a phone contact * [RelatedPerson](relatedperson.html): A value in a phone contact */ // https://hl7.org/fhir/r4/search.html#token Phone datatypes.JSON `gorm:"column:phone;type:text;serializer:json" json:"phone,omitempty"` /* Multiple Resources: * [Patient](patient.html): A portion of either family or given name using some kind of phonetic matching algorithm * [Person](person.html): A portion of name using some kind of phonetic matching algorithm * [Practitioner](practitioner.html): A portion of either family or given name using some kind of phonetic matching algorithm * [RelatedPerson](relatedperson.html): A portion of name using some kind of phonetic matching algorithm */ // https://hl7.org/fhir/r4/search.html#string Phonetic datatypes.JSON `gorm:"column:phonetic;type:text;serializer:json" json:"phonetic,omitempty"` // The Person links to this Practitioner // https://hl7.org/fhir/r4/search.html#reference Practitioner datatypes.JSON `gorm:"column:practitioner;type:text;serializer:json" json:"practitioner,omitempty"` // Profiles this resource claims to conform to // https://hl7.org/fhir/r4/search.html#reference Profile datatypes.JSON `gorm:"column:profile;type:text;serializer:json" json:"profile,omitempty"` // The Person links to this RelatedPerson // https://hl7.org/fhir/r4/search.html#reference Relatedperson datatypes.JSON `gorm:"column:relatedperson;type:text;serializer:json" json:"relatedperson,omitempty"` // Tags applied to this resource // https://hl7.org/fhir/r4/search.html#token Tag datatypes.JSON `gorm:"column:tag;type:text;serializer:json" json:"tag,omitempty"` /* Multiple Resources: * [Patient](patient.html): The value in any kind of telecom details of the patient * [Person](person.html): The value in any kind of contact * [Practitioner](practitioner.html): The value in any kind of contact * [PractitionerRole](practitionerrole.html): The value in any kind of contact * [RelatedPerson](relatedperson.html): The value in any kind of contact */ // https://hl7.org/fhir/r4/search.html#token Telecom datatypes.JSON `gorm:"column:telecom;type:text;serializer:json" json:"telecom,omitempty"` // Text search against the narrative // https://hl7.org/fhir/r4/search.html#string Text datatypes.JSON `gorm:"column:text;type:text;serializer:json" json:"text,omitempty"` // A resource type filter // https://hl7.org/fhir/r4/search.html#special Type datatypes.JSON `gorm:"column:type;type:text;serializer:json" json:"type,omitempty"` }
func (*FhirPerson) GetSearchParameters ¶
func (s *FhirPerson) GetSearchParameters() map[string]string
func (*FhirPerson) PopulateAndExtractSearchParameters ¶
func (s *FhirPerson) PopulateAndExtractSearchParameters(resourceRaw json.RawMessage) error
func (*FhirPerson) TableName ¶
func (s *FhirPerson) TableName() string
TableName overrides the table name from fhir_observations (pluralized) to `fhir_observation`. https://gorm.io/docs/conventions.html#TableName
type FhirPractitioner ¶
type FhirPractitioner struct { models.ResourceBase // Whether the practitioner record is active // https://hl7.org/fhir/r4/search.html#token Active datatypes.JSON `gorm:"column:active;type:text;serializer:json" json:"active,omitempty"` /* Multiple Resources: * [Patient](patient.html): A server defined search that may match any of the string fields in the Address, including line, city, district, state, country, postalCode, and/or text * [Person](person.html): A server defined search that may match any of the string fields in the Address, including line, city, district, state, country, postalCode, and/or text * [Practitioner](practitioner.html): A server defined search that may match any of the string fields in the Address, including line, city, district, state, country, postalCode, and/or text * [RelatedPerson](relatedperson.html): A server defined search that may match any of the string fields in the Address, including line, city, district, state, country, postalCode, and/or text */ // https://hl7.org/fhir/r4/search.html#string Address datatypes.JSON `gorm:"column:address;type:text;serializer:json" json:"address,omitempty"` /* Multiple Resources: * [Patient](patient.html): A city specified in an address * [Person](person.html): A city specified in an address * [Practitioner](practitioner.html): A city specified in an address * [RelatedPerson](relatedperson.html): A city specified in an address */ // https://hl7.org/fhir/r4/search.html#string AddressCity datatypes.JSON `gorm:"column:addressCity;type:text;serializer:json" json:"addressCity,omitempty"` /* Multiple Resources: * [Patient](patient.html): A country specified in an address * [Person](person.html): A country specified in an address * [Practitioner](practitioner.html): A country specified in an address * [RelatedPerson](relatedperson.html): A country specified in an address */ // https://hl7.org/fhir/r4/search.html#string AddressCountry datatypes.JSON `gorm:"column:addressCountry;type:text;serializer:json" json:"addressCountry,omitempty"` /* Multiple Resources: * [Patient](patient.html): A postalCode specified in an address * [Person](person.html): A postal code specified in an address * [Practitioner](practitioner.html): A postalCode specified in an address * [RelatedPerson](relatedperson.html): A postal code specified in an address */ // https://hl7.org/fhir/r4/search.html#string AddressPostalcode datatypes.JSON `gorm:"column:addressPostalcode;type:text;serializer:json" json:"addressPostalcode,omitempty"` /* Multiple Resources: * [Patient](patient.html): A state specified in an address * [Person](person.html): A state specified in an address * [Practitioner](practitioner.html): A state specified in an address * [RelatedPerson](relatedperson.html): A state specified in an address */ // https://hl7.org/fhir/r4/search.html#string AddressState datatypes.JSON `gorm:"column:addressState;type:text;serializer:json" json:"addressState,omitempty"` /* Multiple Resources: * [Patient](patient.html): A use code specified in an address * [Person](person.html): A use code specified in an address * [Practitioner](practitioner.html): A use code specified in an address * [RelatedPerson](relatedperson.html): A use code specified in an address */ // https://hl7.org/fhir/r4/search.html#token AddressUse datatypes.JSON `gorm:"column:addressUse;type:text;serializer:json" json:"addressUse,omitempty"` // One of the languages that the practitioner can communicate with // https://hl7.org/fhir/r4/search.html#token Communication datatypes.JSON `gorm:"column:communication;type:text;serializer:json" json:"communication,omitempty"` /* Multiple Resources: * [Patient](patient.html): A value in an email contact * [Person](person.html): A value in an email contact * [Practitioner](practitioner.html): A value in an email contact * [PractitionerRole](practitionerrole.html): A value in an email contact * [RelatedPerson](relatedperson.html): A value in an email contact */ // https://hl7.org/fhir/r4/search.html#token Email datatypes.JSON `gorm:"column:email;type:text;serializer:json" json:"email,omitempty"` /* Multiple Resources: * [Patient](patient.html): A portion of the family name of the patient * [Practitioner](practitioner.html): A portion of the family name */ // https://hl7.org/fhir/r4/search.html#string Family datatypes.JSON `gorm:"column:family;type:text;serializer:json" json:"family,omitempty"` /* Multiple Resources: * [Patient](patient.html): Gender of the patient * [Person](person.html): The gender of the person * [Practitioner](practitioner.html): Gender of the practitioner * [RelatedPerson](relatedperson.html): Gender of the related person */ // https://hl7.org/fhir/r4/search.html#token Gender datatypes.JSON `gorm:"column:gender;type:text;serializer:json" json:"gender,omitempty"` /* Multiple Resources: * [Patient](patient.html): A portion of the given name of the patient * [Practitioner](practitioner.html): A portion of the given name */ // https://hl7.org/fhir/r4/search.html#string Given datatypes.JSON `gorm:"column:given;type:text;serializer:json" json:"given,omitempty"` // A practitioner's Identifier // https://hl7.org/fhir/r4/search.html#token Identifier datatypes.JSON `gorm:"column:identifier;type:text;serializer:json" json:"identifier,omitempty"` // Language of the resource content // https://hl7.org/fhir/r4/search.html#token Language datatypes.JSON `gorm:"column:language;type:text;serializer:json" json:"language,omitempty"` // When the resource version last changed // https://hl7.org/fhir/r4/search.html#date LastUpdated *time.Time `gorm:"column:lastUpdated;type:datetime" json:"lastUpdated,omitempty"` // A server defined search that may match any of the string fields in the HumanName, including family, give, prefix, suffix, suffix, and/or text // https://hl7.org/fhir/r4/search.html#string Name datatypes.JSON `gorm:"column:name;type:text;serializer:json" json:"name,omitempty"` /* Multiple Resources: * [Patient](patient.html): A value in a phone contact * [Person](person.html): A value in a phone contact * [Practitioner](practitioner.html): A value in a phone contact * [PractitionerRole](practitionerrole.html): A value in a phone contact * [RelatedPerson](relatedperson.html): A value in a phone contact */ // https://hl7.org/fhir/r4/search.html#token Phone datatypes.JSON `gorm:"column:phone;type:text;serializer:json" json:"phone,omitempty"` /* Multiple Resources: * [Patient](patient.html): A portion of either family or given name using some kind of phonetic matching algorithm * [Person](person.html): A portion of name using some kind of phonetic matching algorithm * [Practitioner](practitioner.html): A portion of either family or given name using some kind of phonetic matching algorithm * [RelatedPerson](relatedperson.html): A portion of name using some kind of phonetic matching algorithm */ // https://hl7.org/fhir/r4/search.html#string Phonetic datatypes.JSON `gorm:"column:phonetic;type:text;serializer:json" json:"phonetic,omitempty"` // Profiles this resource claims to conform to // https://hl7.org/fhir/r4/search.html#reference Profile datatypes.JSON `gorm:"column:profile;type:text;serializer:json" json:"profile,omitempty"` // Tags applied to this resource // https://hl7.org/fhir/r4/search.html#token Tag datatypes.JSON `gorm:"column:tag;type:text;serializer:json" json:"tag,omitempty"` /* Multiple Resources: * [Patient](patient.html): The value in any kind of telecom details of the patient * [Person](person.html): The value in any kind of contact * [Practitioner](practitioner.html): The value in any kind of contact * [PractitionerRole](practitionerrole.html): The value in any kind of contact * [RelatedPerson](relatedperson.html): The value in any kind of contact */ // https://hl7.org/fhir/r4/search.html#token Telecom datatypes.JSON `gorm:"column:telecom;type:text;serializer:json" json:"telecom,omitempty"` // Text search against the narrative // https://hl7.org/fhir/r4/search.html#string Text datatypes.JSON `gorm:"column:text;type:text;serializer:json" json:"text,omitempty"` // A resource type filter // https://hl7.org/fhir/r4/search.html#special Type datatypes.JSON `gorm:"column:type;type:text;serializer:json" json:"type,omitempty"` }
func (*FhirPractitioner) GetSearchParameters ¶
func (s *FhirPractitioner) GetSearchParameters() map[string]string
func (*FhirPractitioner) PopulateAndExtractSearchParameters ¶
func (s *FhirPractitioner) PopulateAndExtractSearchParameters(resourceRaw json.RawMessage) error
func (*FhirPractitioner) TableName ¶
func (s *FhirPractitioner) TableName() string
TableName overrides the table name from fhir_observations (pluralized) to `fhir_observation`. https://gorm.io/docs/conventions.html#TableName
type FhirPractitionerRole ¶
type FhirPractitionerRole struct { models.ResourceBase // Whether this practitioner role record is in active use // https://hl7.org/fhir/r4/search.html#token Active datatypes.JSON `gorm:"column:active;type:text;serializer:json" json:"active,omitempty"` // The period during which the practitioner is authorized to perform in these role(s) // https://hl7.org/fhir/r4/search.html#date Date *time.Time `gorm:"column:date;type:datetime" json:"date,omitempty"` /* Multiple Resources: * [Patient](patient.html): A value in an email contact * [Person](person.html): A value in an email contact * [Practitioner](practitioner.html): A value in an email contact * [PractitionerRole](practitionerrole.html): A value in an email contact * [RelatedPerson](relatedperson.html): A value in an email contact */ // https://hl7.org/fhir/r4/search.html#token Email datatypes.JSON `gorm:"column:email;type:text;serializer:json" json:"email,omitempty"` // Technical endpoints providing access to services operated for the practitioner with this role // https://hl7.org/fhir/r4/search.html#reference Endpoint datatypes.JSON `gorm:"column:endpoint;type:text;serializer:json" json:"endpoint,omitempty"` // A practitioner's Identifier // https://hl7.org/fhir/r4/search.html#token Identifier datatypes.JSON `gorm:"column:identifier;type:text;serializer:json" json:"identifier,omitempty"` // Language of the resource content // https://hl7.org/fhir/r4/search.html#token Language datatypes.JSON `gorm:"column:language;type:text;serializer:json" json:"language,omitempty"` // When the resource version last changed // https://hl7.org/fhir/r4/search.html#date LastUpdated *time.Time `gorm:"column:lastUpdated;type:datetime" json:"lastUpdated,omitempty"` // One of the locations at which this practitioner provides care // https://hl7.org/fhir/r4/search.html#reference Location datatypes.JSON `gorm:"column:location;type:text;serializer:json" json:"location,omitempty"` // The identity of the organization the practitioner represents / acts on behalf of // https://hl7.org/fhir/r4/search.html#reference Organization datatypes.JSON `gorm:"column:organization;type:text;serializer:json" json:"organization,omitempty"` /* Multiple Resources: * [Patient](patient.html): A value in a phone contact * [Person](person.html): A value in a phone contact * [Practitioner](practitioner.html): A value in a phone contact * [PractitionerRole](practitionerrole.html): A value in a phone contact * [RelatedPerson](relatedperson.html): A value in a phone contact */ // https://hl7.org/fhir/r4/search.html#token Phone datatypes.JSON `gorm:"column:phone;type:text;serializer:json" json:"phone,omitempty"` // Practitioner that is able to provide the defined services for the organization // https://hl7.org/fhir/r4/search.html#reference Practitioner datatypes.JSON `gorm:"column:practitioner;type:text;serializer:json" json:"practitioner,omitempty"` // Profiles this resource claims to conform to // https://hl7.org/fhir/r4/search.html#reference Profile datatypes.JSON `gorm:"column:profile;type:text;serializer:json" json:"profile,omitempty"` // The practitioner can perform this role at for the organization // https://hl7.org/fhir/r4/search.html#token Role datatypes.JSON `gorm:"column:role;type:text;serializer:json" json:"role,omitempty"` // The list of healthcare services that this worker provides for this role's Organization/Location(s) // https://hl7.org/fhir/r4/search.html#reference Service datatypes.JSON `gorm:"column:service;type:text;serializer:json" json:"service,omitempty"` // The practitioner has this specialty at an organization // https://hl7.org/fhir/r4/search.html#token Specialty datatypes.JSON `gorm:"column:specialty;type:text;serializer:json" json:"specialty,omitempty"` // Tags applied to this resource // https://hl7.org/fhir/r4/search.html#token Tag datatypes.JSON `gorm:"column:tag;type:text;serializer:json" json:"tag,omitempty"` /* Multiple Resources: * [Patient](patient.html): The value in any kind of telecom details of the patient * [Person](person.html): The value in any kind of contact * [Practitioner](practitioner.html): The value in any kind of contact * [PractitionerRole](practitionerrole.html): The value in any kind of contact * [RelatedPerson](relatedperson.html): The value in any kind of contact */ // https://hl7.org/fhir/r4/search.html#token Telecom datatypes.JSON `gorm:"column:telecom;type:text;serializer:json" json:"telecom,omitempty"` // Text search against the narrative // https://hl7.org/fhir/r4/search.html#string Text datatypes.JSON `gorm:"column:text;type:text;serializer:json" json:"text,omitempty"` // A resource type filter // https://hl7.org/fhir/r4/search.html#special Type datatypes.JSON `gorm:"column:type;type:text;serializer:json" json:"type,omitempty"` }
func (*FhirPractitionerRole) GetSearchParameters ¶
func (s *FhirPractitionerRole) GetSearchParameters() map[string]string
func (*FhirPractitionerRole) PopulateAndExtractSearchParameters ¶
func (s *FhirPractitionerRole) PopulateAndExtractSearchParameters(resourceRaw json.RawMessage) error
func (*FhirPractitionerRole) TableName ¶
func (s *FhirPractitionerRole) TableName() string
TableName overrides the table name from fhir_observations (pluralized) to `fhir_observation`. https://gorm.io/docs/conventions.html#TableName
type FhirProcedure ¶
type FhirProcedure struct { models.ResourceBase // A request for this procedure // https://hl7.org/fhir/r4/search.html#reference BasedOn datatypes.JSON `gorm:"column:basedOn;type:text;serializer:json" json:"basedOn,omitempty"` // Classification of the procedure // https://hl7.org/fhir/r4/search.html#token Category datatypes.JSON `gorm:"column:category;type:text;serializer:json" json:"category,omitempty"` /* Multiple Resources: * [AllergyIntolerance](allergyintolerance.html): Code that identifies the allergy or intolerance * [Condition](condition.html): Code for the condition * [DeviceRequest](devicerequest.html): Code for what is being requested/ordered * [DiagnosticReport](diagnosticreport.html): The code for the report, as opposed to codes for the atomic results, which are the names on the observation resource referred to from the result * [FamilyMemberHistory](familymemberhistory.html): A search by a condition code * [List](list.html): What the purpose of this list is * [Medication](medication.html): Returns medications for a specific code * [MedicationAdministration](medicationadministration.html): Return administrations of this medication code * [MedicationDispense](medicationdispense.html): Returns dispenses of this medicine code * [MedicationRequest](medicationrequest.html): Return prescriptions of this medication code * [MedicationStatement](medicationstatement.html): Return statements of this medication code * [Observation](observation.html): The code of the observation type * [Procedure](procedure.html): A code to identify a procedure * [ServiceRequest](servicerequest.html): What is being requested/ordered */ // https://hl7.org/fhir/r4/search.html#token Code datatypes.JSON `gorm:"column:code;type:text;serializer:json" json:"code,omitempty"` /* Multiple Resources: * [AllergyIntolerance](allergyintolerance.html): Date first version of the resource instance was recorded * [CarePlan](careplan.html): Time period plan covers * [CareTeam](careteam.html): Time period team covers * [ClinicalImpression](clinicalimpression.html): When the assessment was documented * [Composition](composition.html): Composition editing time * [Consent](consent.html): When this Consent was created or indexed * [DiagnosticReport](diagnosticreport.html): The clinically relevant time of the report * [Encounter](encounter.html): A date within the period the Encounter lasted * [EpisodeOfCare](episodeofcare.html): The provided date search value falls within the episode of care's period * [FamilyMemberHistory](familymemberhistory.html): When history was recorded or last updated * [Flag](flag.html): Time period when flag is active * [Immunization](immunization.html): Vaccination (non)-Administration Date * [List](list.html): When the list was prepared * [Observation](observation.html): Obtained date/time. If the obtained element is a period, a date that falls in the period * [Procedure](procedure.html): When the procedure was performed * [RiskAssessment](riskassessment.html): When was assessment made? * [SupplyRequest](supplyrequest.html): When the request was made */ // https://hl7.org/fhir/r4/search.html#date Date *time.Time `gorm:"column:date;type:datetime" json:"date,omitempty"` /* Multiple Resources: * [Composition](composition.html): Context of the Composition * [DeviceRequest](devicerequest.html): Encounter during which request was created * [DiagnosticReport](diagnosticreport.html): The Encounter when the order was made * [DocumentReference](documentreference.html): Context of the document content * [Flag](flag.html): Alert relevant during encounter * [List](list.html): Context in which list created * [NutritionOrder](nutritionorder.html): Return nutrition orders with this encounter identifier * [Observation](observation.html): Encounter related to the observation * [Procedure](procedure.html): Encounter created as part of * [RiskAssessment](riskassessment.html): Where was assessment performed? * [ServiceRequest](servicerequest.html): An encounter in which this request is made * [VisionPrescription](visionprescription.html): Return prescriptions with this encounter identifier */ // https://hl7.org/fhir/r4/search.html#reference Encounter datatypes.JSON `gorm:"column:encounter;type:text;serializer:json" json:"encounter,omitempty"` /* Multiple Resources: * [AllergyIntolerance](allergyintolerance.html): External ids for this item * [CarePlan](careplan.html): External Ids for this plan * [CareTeam](careteam.html): External Ids for this team * [Composition](composition.html): Version-independent identifier for the Composition * [Condition](condition.html): A unique identifier of the condition record * [Consent](consent.html): Identifier for this record (external references) * [DetectedIssue](detectedissue.html): Unique id for the detected issue * [DeviceRequest](devicerequest.html): Business identifier for request/order * [DiagnosticReport](diagnosticreport.html): An identifier for the report * [DocumentManifest](documentmanifest.html): Unique Identifier for the set of documents * [DocumentReference](documentreference.html): Master Version Specific Identifier * [Encounter](encounter.html): Identifier(s) by which this encounter is known * [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare * [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier * [Goal](goal.html): External Ids for this goal * [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID and Accession number * [Immunization](immunization.html): Business identifier * [List](list.html): Business identifier * [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier * [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier * [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier * [MedicationStatement](medicationstatement.html): Return statements with this external identifier * [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier * [Observation](observation.html): The unique id for a particular observation * [Procedure](procedure.html): A unique identifier for a procedure * [RiskAssessment](riskassessment.html): Unique identifier for the assessment * [ServiceRequest](servicerequest.html): Identifiers assigned to this order * [SupplyDelivery](supplydelivery.html): External identifier * [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest * [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier */ // https://hl7.org/fhir/r4/search.html#token Identifier datatypes.JSON `gorm:"column:identifier;type:text;serializer:json" json:"identifier,omitempty"` // Instantiates FHIR protocol or definition // https://hl7.org/fhir/r4/search.html#reference InstantiatesCanonical datatypes.JSON `gorm:"column:instantiatesCanonical;type:text;serializer:json" json:"instantiatesCanonical,omitempty"` // Instantiates external protocol or definition // https://hl7.org/fhir/r4/search.html#uri InstantiatesUri string `gorm:"column:instantiatesUri;type:text" json:"instantiatesUri,omitempty"` // Language of the resource content // https://hl7.org/fhir/r4/search.html#token Language datatypes.JSON `gorm:"column:language;type:text;serializer:json" json:"language,omitempty"` // When the resource version last changed // https://hl7.org/fhir/r4/search.html#date LastUpdated *time.Time `gorm:"column:lastUpdated;type:datetime" json:"lastUpdated,omitempty"` // Where the procedure happened // https://hl7.org/fhir/r4/search.html#reference Location datatypes.JSON `gorm:"column:location;type:text;serializer:json" json:"location,omitempty"` // Part of referenced event // https://hl7.org/fhir/r4/search.html#reference PartOf datatypes.JSON `gorm:"column:partOf;type:text;serializer:json" json:"partOf,omitempty"` // The reference to the practitioner // https://hl7.org/fhir/r4/search.html#reference Performer datatypes.JSON `gorm:"column:performer;type:text;serializer:json" json:"performer,omitempty"` // Profiles this resource claims to conform to // https://hl7.org/fhir/r4/search.html#reference Profile datatypes.JSON `gorm:"column:profile;type:text;serializer:json" json:"profile,omitempty"` // Coded reason procedure performed // https://hl7.org/fhir/r4/search.html#token ReasonCode datatypes.JSON `gorm:"column:reasonCode;type:text;serializer:json" json:"reasonCode,omitempty"` // The justification that the procedure was performed // https://hl7.org/fhir/r4/search.html#reference ReasonReference datatypes.JSON `gorm:"column:reasonReference;type:text;serializer:json" json:"reasonReference,omitempty"` // preparation | in-progress | not-done | on-hold | stopped | completed | entered-in-error | unknown // https://hl7.org/fhir/r4/search.html#token Status datatypes.JSON `gorm:"column:status;type:text;serializer:json" json:"status,omitempty"` // Search by subject // https://hl7.org/fhir/r4/search.html#reference Subject datatypes.JSON `gorm:"column:subject;type:text;serializer:json" json:"subject,omitempty"` // Tags applied to this resource // https://hl7.org/fhir/r4/search.html#token Tag datatypes.JSON `gorm:"column:tag;type:text;serializer:json" json:"tag,omitempty"` // Text search against the narrative // https://hl7.org/fhir/r4/search.html#string Text datatypes.JSON `gorm:"column:text;type:text;serializer:json" json:"text,omitempty"` // A resource type filter // https://hl7.org/fhir/r4/search.html#special Type datatypes.JSON `gorm:"column:type;type:text;serializer:json" json:"type,omitempty"` }
func (*FhirProcedure) GetSearchParameters ¶
func (s *FhirProcedure) GetSearchParameters() map[string]string
func (*FhirProcedure) PopulateAndExtractSearchParameters ¶
func (s *FhirProcedure) PopulateAndExtractSearchParameters(resourceRaw json.RawMessage) error
func (*FhirProcedure) TableName ¶
func (s *FhirProcedure) TableName() string
TableName overrides the table name from fhir_observations (pluralized) to `fhir_observation`. https://gorm.io/docs/conventions.html#TableName
type FhirProvenance ¶
type FhirProvenance struct { models.ResourceBase // Who participated // https://hl7.org/fhir/r4/search.html#reference Agent datatypes.JSON `gorm:"column:agent;type:text;serializer:json" json:"agent,omitempty"` // What the agents role was // https://hl7.org/fhir/r4/search.html#token AgentRole datatypes.JSON `gorm:"column:agentRole;type:text;serializer:json" json:"agentRole,omitempty"` // How the agent participated // https://hl7.org/fhir/r4/search.html#token AgentType datatypes.JSON `gorm:"column:agentType;type:text;serializer:json" json:"agentType,omitempty"` // Identity of entity // https://hl7.org/fhir/r4/search.html#reference Entity datatypes.JSON `gorm:"column:entity;type:text;serializer:json" json:"entity,omitempty"` // Language of the resource content // https://hl7.org/fhir/r4/search.html#token Language datatypes.JSON `gorm:"column:language;type:text;serializer:json" json:"language,omitempty"` // When the resource version last changed // https://hl7.org/fhir/r4/search.html#date LastUpdated *time.Time `gorm:"column:lastUpdated;type:datetime" json:"lastUpdated,omitempty"` // Where the activity occurred, if relevant // https://hl7.org/fhir/r4/search.html#reference Location datatypes.JSON `gorm:"column:location;type:text;serializer:json" json:"location,omitempty"` // Profiles this resource claims to conform to // https://hl7.org/fhir/r4/search.html#reference Profile datatypes.JSON `gorm:"column:profile;type:text;serializer:json" json:"profile,omitempty"` // When the activity was recorded / updated // https://hl7.org/fhir/r4/search.html#date Recorded *time.Time `gorm:"column:recorded;type:datetime" json:"recorded,omitempty"` // Indication of the reason the entity signed the object(s) // https://hl7.org/fhir/r4/search.html#token SignatureType datatypes.JSON `gorm:"column:signatureType;type:text;serializer:json" json:"signatureType,omitempty"` // Tags applied to this resource // https://hl7.org/fhir/r4/search.html#token Tag datatypes.JSON `gorm:"column:tag;type:text;serializer:json" json:"tag,omitempty"` // Target Reference(s) (usually version specific) // https://hl7.org/fhir/r4/search.html#reference Target datatypes.JSON `gorm:"column:target;type:text;serializer:json" json:"target,omitempty"` // Text search against the narrative // https://hl7.org/fhir/r4/search.html#string Text datatypes.JSON `gorm:"column:text;type:text;serializer:json" json:"text,omitempty"` // A resource type filter // https://hl7.org/fhir/r4/search.html#special Type datatypes.JSON `gorm:"column:type;type:text;serializer:json" json:"type,omitempty"` // When the activity occurred // https://hl7.org/fhir/r4/search.html#date When *time.Time `gorm:"column:when;type:datetime" json:"when,omitempty"` }
func (*FhirProvenance) GetSearchParameters ¶
func (s *FhirProvenance) GetSearchParameters() map[string]string
func (*FhirProvenance) PopulateAndExtractSearchParameters ¶
func (s *FhirProvenance) PopulateAndExtractSearchParameters(resourceRaw json.RawMessage) error
func (*FhirProvenance) TableName ¶
func (s *FhirProvenance) TableName() string
TableName overrides the table name from fhir_observations (pluralized) to `fhir_observation`. https://gorm.io/docs/conventions.html#TableName
type FhirQuestionnaire ¶
type FhirQuestionnaire struct { models.ResourceBase // A code that corresponds to one of its items in the questionnaire // https://hl7.org/fhir/r4/search.html#token Code datatypes.JSON `gorm:"column:code;type:text;serializer:json" json:"code,omitempty"` // A use context assigned to the questionnaire // https://hl7.org/fhir/r4/search.html#token Context datatypes.JSON `gorm:"column:context;type:text;serializer:json" json:"context,omitempty"` // A quantity- or range-valued use context assigned to the questionnaire // https://hl7.org/fhir/r4/search.html#quantity ContextQuantity datatypes.JSON `gorm:"column:contextQuantity;type:text;serializer:json" json:"contextQuantity,omitempty"` // A type of use context assigned to the questionnaire // https://hl7.org/fhir/r4/search.html#token ContextType datatypes.JSON `gorm:"column:contextType;type:text;serializer:json" json:"contextType,omitempty"` // The questionnaire publication date // https://hl7.org/fhir/r4/search.html#date Date *time.Time `gorm:"column:date;type:datetime" json:"date,omitempty"` // ElementDefinition - details for the item // https://hl7.org/fhir/r4/search.html#uri Definition string `gorm:"column:definition;type:text" json:"definition,omitempty"` // The description of the questionnaire // https://hl7.org/fhir/r4/search.html#string Description datatypes.JSON `gorm:"column:description;type:text;serializer:json" json:"description,omitempty"` // The time during which the questionnaire is intended to be in use // https://hl7.org/fhir/r4/search.html#date Effective *time.Time `gorm:"column:effective;type:datetime" json:"effective,omitempty"` // External identifier for the questionnaire // https://hl7.org/fhir/r4/search.html#token Identifier datatypes.JSON `gorm:"column:identifier;type:text;serializer:json" json:"identifier,omitempty"` // Intended jurisdiction for the questionnaire // https://hl7.org/fhir/r4/search.html#token Jurisdiction datatypes.JSON `gorm:"column:jurisdiction;type:text;serializer:json" json:"jurisdiction,omitempty"` // Language of the resource content // https://hl7.org/fhir/r4/search.html#token Language datatypes.JSON `gorm:"column:language;type:text;serializer:json" json:"language,omitempty"` // When the resource version last changed // https://hl7.org/fhir/r4/search.html#date LastUpdated *time.Time `gorm:"column:lastUpdated;type:datetime" json:"lastUpdated,omitempty"` // Computationally friendly name of the questionnaire // https://hl7.org/fhir/r4/search.html#string Name datatypes.JSON `gorm:"column:name;type:text;serializer:json" json:"name,omitempty"` // Profiles this resource claims to conform to // https://hl7.org/fhir/r4/search.html#reference Profile datatypes.JSON `gorm:"column:profile;type:text;serializer:json" json:"profile,omitempty"` // Name of the publisher of the questionnaire // https://hl7.org/fhir/r4/search.html#string Publisher datatypes.JSON `gorm:"column:publisher;type:text;serializer:json" json:"publisher,omitempty"` // The current status of the questionnaire // https://hl7.org/fhir/r4/search.html#token Status datatypes.JSON `gorm:"column:status;type:text;serializer:json" json:"status,omitempty"` // Resource that can be subject of QuestionnaireResponse // https://hl7.org/fhir/r4/search.html#token SubjectType datatypes.JSON `gorm:"column:subjectType;type:text;serializer:json" json:"subjectType,omitempty"` // Tags applied to this resource // https://hl7.org/fhir/r4/search.html#token Tag datatypes.JSON `gorm:"column:tag;type:text;serializer:json" json:"tag,omitempty"` // Text search against the narrative // https://hl7.org/fhir/r4/search.html#string Text datatypes.JSON `gorm:"column:text;type:text;serializer:json" json:"text,omitempty"` // The human-friendly name of the questionnaire // https://hl7.org/fhir/r4/search.html#string Title datatypes.JSON `gorm:"column:title;type:text;serializer:json" json:"title,omitempty"` // A resource type filter // https://hl7.org/fhir/r4/search.html#special Type datatypes.JSON `gorm:"column:type;type:text;serializer:json" json:"type,omitempty"` // The uri that identifies the questionnaire // https://hl7.org/fhir/r4/search.html#uri Url string `gorm:"column:url;type:text" json:"url,omitempty"` // The business version of the questionnaire // https://hl7.org/fhir/r4/search.html#token Version datatypes.JSON `gorm:"column:version;type:text;serializer:json" json:"version,omitempty"` }
func (*FhirQuestionnaire) GetSearchParameters ¶
func (s *FhirQuestionnaire) GetSearchParameters() map[string]string
func (*FhirQuestionnaire) PopulateAndExtractSearchParameters ¶
func (s *FhirQuestionnaire) PopulateAndExtractSearchParameters(resourceRaw json.RawMessage) error
func (*FhirQuestionnaire) TableName ¶
func (s *FhirQuestionnaire) TableName() string
TableName overrides the table name from fhir_observations (pluralized) to `fhir_observation`. https://gorm.io/docs/conventions.html#TableName
type FhirQuestionnaireResponse ¶
type FhirQuestionnaireResponse struct { models.ResourceBase // The author of the questionnaire response // https://hl7.org/fhir/r4/search.html#reference Author datatypes.JSON `gorm:"column:author;type:text;serializer:json" json:"author,omitempty"` // When the questionnaire response was last changed // https://hl7.org/fhir/r4/search.html#date Authored *time.Time `gorm:"column:authored;type:datetime" json:"authored,omitempty"` // Plan/proposal/order fulfilled by this questionnaire response // https://hl7.org/fhir/r4/search.html#reference BasedOn datatypes.JSON `gorm:"column:basedOn;type:text;serializer:json" json:"basedOn,omitempty"` // Encounter associated with the questionnaire response // https://hl7.org/fhir/r4/search.html#reference Encounter datatypes.JSON `gorm:"column:encounter;type:text;serializer:json" json:"encounter,omitempty"` // The unique identifier for the questionnaire response // https://hl7.org/fhir/r4/search.html#token Identifier datatypes.JSON `gorm:"column:identifier;type:text;serializer:json" json:"identifier,omitempty"` // Language of the resource content // https://hl7.org/fhir/r4/search.html#token Language datatypes.JSON `gorm:"column:language;type:text;serializer:json" json:"language,omitempty"` // When the resource version last changed // https://hl7.org/fhir/r4/search.html#date LastUpdated *time.Time `gorm:"column:lastUpdated;type:datetime" json:"lastUpdated,omitempty"` // Procedure or observation this questionnaire response was performed as a part of // https://hl7.org/fhir/r4/search.html#reference PartOf datatypes.JSON `gorm:"column:partOf;type:text;serializer:json" json:"partOf,omitempty"` // Profiles this resource claims to conform to // https://hl7.org/fhir/r4/search.html#reference Profile datatypes.JSON `gorm:"column:profile;type:text;serializer:json" json:"profile,omitempty"` // The questionnaire the answers are provided for // https://hl7.org/fhir/r4/search.html#reference Questionnaire datatypes.JSON `gorm:"column:questionnaire;type:text;serializer:json" json:"questionnaire,omitempty"` // The individual providing the information reflected in the questionnaire respose // https://hl7.org/fhir/r4/search.html#reference Source datatypes.JSON `gorm:"column:source;type:text;serializer:json" json:"source,omitempty"` // The status of the questionnaire response // https://hl7.org/fhir/r4/search.html#token Status datatypes.JSON `gorm:"column:status;type:text;serializer:json" json:"status,omitempty"` // The subject of the questionnaire response // https://hl7.org/fhir/r4/search.html#reference Subject datatypes.JSON `gorm:"column:subject;type:text;serializer:json" json:"subject,omitempty"` // Tags applied to this resource // https://hl7.org/fhir/r4/search.html#token Tag datatypes.JSON `gorm:"column:tag;type:text;serializer:json" json:"tag,omitempty"` // Text search against the narrative // https://hl7.org/fhir/r4/search.html#string Text datatypes.JSON `gorm:"column:text;type:text;serializer:json" json:"text,omitempty"` // A resource type filter // https://hl7.org/fhir/r4/search.html#special Type datatypes.JSON `gorm:"column:type;type:text;serializer:json" json:"type,omitempty"` }
func (*FhirQuestionnaireResponse) GetSearchParameters ¶
func (s *FhirQuestionnaireResponse) GetSearchParameters() map[string]string
func (*FhirQuestionnaireResponse) PopulateAndExtractSearchParameters ¶
func (s *FhirQuestionnaireResponse) PopulateAndExtractSearchParameters(resourceRaw json.RawMessage) error
func (*FhirQuestionnaireResponse) TableName ¶
func (s *FhirQuestionnaireResponse) TableName() string
TableName overrides the table name from fhir_observations (pluralized) to `fhir_observation`. https://gorm.io/docs/conventions.html#TableName
type FhirRelatedPerson ¶
type FhirRelatedPerson struct { models.ResourceBase // Indicates if the related person record is active // https://hl7.org/fhir/r4/search.html#token Active datatypes.JSON `gorm:"column:active;type:text;serializer:json" json:"active,omitempty"` /* Multiple Resources: * [Patient](patient.html): A server defined search that may match any of the string fields in the Address, including line, city, district, state, country, postalCode, and/or text * [Person](person.html): A server defined search that may match any of the string fields in the Address, including line, city, district, state, country, postalCode, and/or text * [Practitioner](practitioner.html): A server defined search that may match any of the string fields in the Address, including line, city, district, state, country, postalCode, and/or text * [RelatedPerson](relatedperson.html): A server defined search that may match any of the string fields in the Address, including line, city, district, state, country, postalCode, and/or text */ // https://hl7.org/fhir/r4/search.html#string Address datatypes.JSON `gorm:"column:address;type:text;serializer:json" json:"address,omitempty"` /* Multiple Resources: * [Patient](patient.html): A city specified in an address * [Person](person.html): A city specified in an address * [Practitioner](practitioner.html): A city specified in an address * [RelatedPerson](relatedperson.html): A city specified in an address */ // https://hl7.org/fhir/r4/search.html#string AddressCity datatypes.JSON `gorm:"column:addressCity;type:text;serializer:json" json:"addressCity,omitempty"` /* Multiple Resources: * [Patient](patient.html): A country specified in an address * [Person](person.html): A country specified in an address * [Practitioner](practitioner.html): A country specified in an address * [RelatedPerson](relatedperson.html): A country specified in an address */ // https://hl7.org/fhir/r4/search.html#string AddressCountry datatypes.JSON `gorm:"column:addressCountry;type:text;serializer:json" json:"addressCountry,omitempty"` /* Multiple Resources: * [Patient](patient.html): A postalCode specified in an address * [Person](person.html): A postal code specified in an address * [Practitioner](practitioner.html): A postalCode specified in an address * [RelatedPerson](relatedperson.html): A postal code specified in an address */ // https://hl7.org/fhir/r4/search.html#string AddressPostalcode datatypes.JSON `gorm:"column:addressPostalcode;type:text;serializer:json" json:"addressPostalcode,omitempty"` /* Multiple Resources: * [Patient](patient.html): A state specified in an address * [Person](person.html): A state specified in an address * [Practitioner](practitioner.html): A state specified in an address * [RelatedPerson](relatedperson.html): A state specified in an address */ // https://hl7.org/fhir/r4/search.html#string AddressState datatypes.JSON `gorm:"column:addressState;type:text;serializer:json" json:"addressState,omitempty"` /* Multiple Resources: * [Patient](patient.html): A use code specified in an address * [Person](person.html): A use code specified in an address * [Practitioner](practitioner.html): A use code specified in an address * [RelatedPerson](relatedperson.html): A use code specified in an address */ // https://hl7.org/fhir/r4/search.html#token AddressUse datatypes.JSON `gorm:"column:addressUse;type:text;serializer:json" json:"addressUse,omitempty"` /* Multiple Resources: * [Patient](patient.html): The patient's date of birth * [Person](person.html): The person's date of birth * [RelatedPerson](relatedperson.html): The Related Person's date of birth */ // https://hl7.org/fhir/r4/search.html#date Birthdate *time.Time `gorm:"column:birthdate;type:datetime" json:"birthdate,omitempty"` /* Multiple Resources: * [Patient](patient.html): A value in an email contact * [Person](person.html): A value in an email contact * [Practitioner](practitioner.html): A value in an email contact * [PractitionerRole](practitionerrole.html): A value in an email contact * [RelatedPerson](relatedperson.html): A value in an email contact */ // https://hl7.org/fhir/r4/search.html#token Email datatypes.JSON `gorm:"column:email;type:text;serializer:json" json:"email,omitempty"` /* Multiple Resources: * [Patient](patient.html): Gender of the patient * [Person](person.html): The gender of the person * [Practitioner](practitioner.html): Gender of the practitioner * [RelatedPerson](relatedperson.html): Gender of the related person */ // https://hl7.org/fhir/r4/search.html#token Gender datatypes.JSON `gorm:"column:gender;type:text;serializer:json" json:"gender,omitempty"` // An Identifier of the RelatedPerson // https://hl7.org/fhir/r4/search.html#token Identifier datatypes.JSON `gorm:"column:identifier;type:text;serializer:json" json:"identifier,omitempty"` // Language of the resource content // https://hl7.org/fhir/r4/search.html#token Language datatypes.JSON `gorm:"column:language;type:text;serializer:json" json:"language,omitempty"` // When the resource version last changed // https://hl7.org/fhir/r4/search.html#date LastUpdated *time.Time `gorm:"column:lastUpdated;type:datetime" json:"lastUpdated,omitempty"` // A server defined search that may match any of the string fields in the HumanName, including family, give, prefix, suffix, suffix, and/or text // https://hl7.org/fhir/r4/search.html#string Name datatypes.JSON `gorm:"column:name;type:text;serializer:json" json:"name,omitempty"` /* Multiple Resources: * [Patient](patient.html): A value in a phone contact * [Person](person.html): A value in a phone contact * [Practitioner](practitioner.html): A value in a phone contact * [PractitionerRole](practitionerrole.html): A value in a phone contact * [RelatedPerson](relatedperson.html): A value in a phone contact */ // https://hl7.org/fhir/r4/search.html#token Phone datatypes.JSON `gorm:"column:phone;type:text;serializer:json" json:"phone,omitempty"` /* Multiple Resources: * [Patient](patient.html): A portion of either family or given name using some kind of phonetic matching algorithm * [Person](person.html): A portion of name using some kind of phonetic matching algorithm * [Practitioner](practitioner.html): A portion of either family or given name using some kind of phonetic matching algorithm * [RelatedPerson](relatedperson.html): A portion of name using some kind of phonetic matching algorithm */ // https://hl7.org/fhir/r4/search.html#string Phonetic datatypes.JSON `gorm:"column:phonetic;type:text;serializer:json" json:"phonetic,omitempty"` // Profiles this resource claims to conform to // https://hl7.org/fhir/r4/search.html#reference Profile datatypes.JSON `gorm:"column:profile;type:text;serializer:json" json:"profile,omitempty"` // The relationship between the patient and the relatedperson // https://hl7.org/fhir/r4/search.html#token Relationship datatypes.JSON `gorm:"column:relationship;type:text;serializer:json" json:"relationship,omitempty"` // Tags applied to this resource // https://hl7.org/fhir/r4/search.html#token Tag datatypes.JSON `gorm:"column:tag;type:text;serializer:json" json:"tag,omitempty"` /* Multiple Resources: * [Patient](patient.html): The value in any kind of telecom details of the patient * [Person](person.html): The value in any kind of contact * [Practitioner](practitioner.html): The value in any kind of contact * [PractitionerRole](practitionerrole.html): The value in any kind of contact * [RelatedPerson](relatedperson.html): The value in any kind of contact */ // https://hl7.org/fhir/r4/search.html#token Telecom datatypes.JSON `gorm:"column:telecom;type:text;serializer:json" json:"telecom,omitempty"` // Text search against the narrative // https://hl7.org/fhir/r4/search.html#string Text datatypes.JSON `gorm:"column:text;type:text;serializer:json" json:"text,omitempty"` // A resource type filter // https://hl7.org/fhir/r4/search.html#special Type datatypes.JSON `gorm:"column:type;type:text;serializer:json" json:"type,omitempty"` }
func (*FhirRelatedPerson) GetSearchParameters ¶
func (s *FhirRelatedPerson) GetSearchParameters() map[string]string
func (*FhirRelatedPerson) PopulateAndExtractSearchParameters ¶
func (s *FhirRelatedPerson) PopulateAndExtractSearchParameters(resourceRaw json.RawMessage) error
func (*FhirRelatedPerson) TableName ¶
func (s *FhirRelatedPerson) TableName() string
TableName overrides the table name from fhir_observations (pluralized) to `fhir_observation`. https://gorm.io/docs/conventions.html#TableName
type FhirSchedule ¶
type FhirSchedule struct { models.ResourceBase // Is the schedule in active use // https://hl7.org/fhir/r4/search.html#token Active datatypes.JSON `gorm:"column:active;type:text;serializer:json" json:"active,omitempty"` // The individual(HealthcareService, Practitioner, Location, ...) to find a Schedule for // https://hl7.org/fhir/r4/search.html#reference Actor datatypes.JSON `gorm:"column:actor;type:text;serializer:json" json:"actor,omitempty"` // Search for Schedule resources that have a period that contains this date specified // https://hl7.org/fhir/r4/search.html#date Date *time.Time `gorm:"column:date;type:datetime" json:"date,omitempty"` // A Schedule Identifier // https://hl7.org/fhir/r4/search.html#token Identifier datatypes.JSON `gorm:"column:identifier;type:text;serializer:json" json:"identifier,omitempty"` // Language of the resource content // https://hl7.org/fhir/r4/search.html#token Language datatypes.JSON `gorm:"column:language;type:text;serializer:json" json:"language,omitempty"` // When the resource version last changed // https://hl7.org/fhir/r4/search.html#date LastUpdated *time.Time `gorm:"column:lastUpdated;type:datetime" json:"lastUpdated,omitempty"` // Profiles this resource claims to conform to // https://hl7.org/fhir/r4/search.html#reference Profile datatypes.JSON `gorm:"column:profile;type:text;serializer:json" json:"profile,omitempty"` // High-level category // https://hl7.org/fhir/r4/search.html#token ServiceCategory datatypes.JSON `gorm:"column:serviceCategory;type:text;serializer:json" json:"serviceCategory,omitempty"` // The type of appointments that can be booked into associated slot(s) // https://hl7.org/fhir/r4/search.html#token ServiceType datatypes.JSON `gorm:"column:serviceType;type:text;serializer:json" json:"serviceType,omitempty"` // Type of specialty needed // https://hl7.org/fhir/r4/search.html#token Specialty datatypes.JSON `gorm:"column:specialty;type:text;serializer:json" json:"specialty,omitempty"` // Tags applied to this resource // https://hl7.org/fhir/r4/search.html#token Tag datatypes.JSON `gorm:"column:tag;type:text;serializer:json" json:"tag,omitempty"` // Text search against the narrative // https://hl7.org/fhir/r4/search.html#string Text datatypes.JSON `gorm:"column:text;type:text;serializer:json" json:"text,omitempty"` // A resource type filter // https://hl7.org/fhir/r4/search.html#special Type datatypes.JSON `gorm:"column:type;type:text;serializer:json" json:"type,omitempty"` }
func (*FhirSchedule) GetSearchParameters ¶
func (s *FhirSchedule) GetSearchParameters() map[string]string
func (*FhirSchedule) PopulateAndExtractSearchParameters ¶
func (s *FhirSchedule) PopulateAndExtractSearchParameters(resourceRaw json.RawMessage) error
func (*FhirSchedule) TableName ¶
func (s *FhirSchedule) TableName() string
TableName overrides the table name from fhir_observations (pluralized) to `fhir_observation`. https://gorm.io/docs/conventions.html#TableName
type FhirServiceRequest ¶
type FhirServiceRequest struct { models.ResourceBase // Date request signed // https://hl7.org/fhir/r4/search.html#date Authored *time.Time `gorm:"column:authored;type:datetime" json:"authored,omitempty"` // What request fulfills // https://hl7.org/fhir/r4/search.html#reference BasedOn datatypes.JSON `gorm:"column:basedOn;type:text;serializer:json" json:"basedOn,omitempty"` // Where procedure is going to be done // https://hl7.org/fhir/r4/search.html#token BodySite datatypes.JSON `gorm:"column:bodySite;type:text;serializer:json" json:"bodySite,omitempty"` // Classification of service // https://hl7.org/fhir/r4/search.html#token Category datatypes.JSON `gorm:"column:category;type:text;serializer:json" json:"category,omitempty"` /* Multiple Resources: * [AllergyIntolerance](allergyintolerance.html): Code that identifies the allergy or intolerance * [Condition](condition.html): Code for the condition * [DeviceRequest](devicerequest.html): Code for what is being requested/ordered * [DiagnosticReport](diagnosticreport.html): The code for the report, as opposed to codes for the atomic results, which are the names on the observation resource referred to from the result * [FamilyMemberHistory](familymemberhistory.html): A search by a condition code * [List](list.html): What the purpose of this list is * [Medication](medication.html): Returns medications for a specific code * [MedicationAdministration](medicationadministration.html): Return administrations of this medication code * [MedicationDispense](medicationdispense.html): Returns dispenses of this medicine code * [MedicationRequest](medicationrequest.html): Return prescriptions of this medication code * [MedicationStatement](medicationstatement.html): Return statements of this medication code * [Observation](observation.html): The code of the observation type * [Procedure](procedure.html): A code to identify a procedure * [ServiceRequest](servicerequest.html): What is being requested/ordered */ // https://hl7.org/fhir/r4/search.html#token Code datatypes.JSON `gorm:"column:code;type:text;serializer:json" json:"code,omitempty"` /* Multiple Resources: * [Composition](composition.html): Context of the Composition * [DeviceRequest](devicerequest.html): Encounter during which request was created * [DiagnosticReport](diagnosticreport.html): The Encounter when the order was made * [DocumentReference](documentreference.html): Context of the document content * [Flag](flag.html): Alert relevant during encounter * [List](list.html): Context in which list created * [NutritionOrder](nutritionorder.html): Return nutrition orders with this encounter identifier * [Observation](observation.html): Encounter related to the observation * [Procedure](procedure.html): Encounter created as part of * [RiskAssessment](riskassessment.html): Where was assessment performed? * [ServiceRequest](servicerequest.html): An encounter in which this request is made * [VisionPrescription](visionprescription.html): Return prescriptions with this encounter identifier */ // https://hl7.org/fhir/r4/search.html#reference Encounter datatypes.JSON `gorm:"column:encounter;type:text;serializer:json" json:"encounter,omitempty"` /* Multiple Resources: * [AllergyIntolerance](allergyintolerance.html): External ids for this item * [CarePlan](careplan.html): External Ids for this plan * [CareTeam](careteam.html): External Ids for this team * [Composition](composition.html): Version-independent identifier for the Composition * [Condition](condition.html): A unique identifier of the condition record * [Consent](consent.html): Identifier for this record (external references) * [DetectedIssue](detectedissue.html): Unique id for the detected issue * [DeviceRequest](devicerequest.html): Business identifier for request/order * [DiagnosticReport](diagnosticreport.html): An identifier for the report * [DocumentManifest](documentmanifest.html): Unique Identifier for the set of documents * [DocumentReference](documentreference.html): Master Version Specific Identifier * [Encounter](encounter.html): Identifier(s) by which this encounter is known * [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare * [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier * [Goal](goal.html): External Ids for this goal * [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID and Accession number * [Immunization](immunization.html): Business identifier * [List](list.html): Business identifier * [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier * [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier * [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier * [MedicationStatement](medicationstatement.html): Return statements with this external identifier * [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier * [Observation](observation.html): The unique id for a particular observation * [Procedure](procedure.html): A unique identifier for a procedure * [RiskAssessment](riskassessment.html): Unique identifier for the assessment * [ServiceRequest](servicerequest.html): Identifiers assigned to this order * [SupplyDelivery](supplydelivery.html): External identifier * [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest * [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier */ // https://hl7.org/fhir/r4/search.html#token Identifier datatypes.JSON `gorm:"column:identifier;type:text;serializer:json" json:"identifier,omitempty"` // Instantiates FHIR protocol or definition // https://hl7.org/fhir/r4/search.html#reference InstantiatesCanonical datatypes.JSON `gorm:"column:instantiatesCanonical;type:text;serializer:json" json:"instantiatesCanonical,omitempty"` // Instantiates external protocol or definition // https://hl7.org/fhir/r4/search.html#uri InstantiatesUri string `gorm:"column:instantiatesUri;type:text" json:"instantiatesUri,omitempty"` // proposal | plan | directive | order | original-order | reflex-order | filler-order | instance-order | option // https://hl7.org/fhir/r4/search.html#token Intent datatypes.JSON `gorm:"column:intent;type:text;serializer:json" json:"intent,omitempty"` // Language of the resource content // https://hl7.org/fhir/r4/search.html#token Language datatypes.JSON `gorm:"column:language;type:text;serializer:json" json:"language,omitempty"` // When the resource version last changed // https://hl7.org/fhir/r4/search.html#date LastUpdated *time.Time `gorm:"column:lastUpdated;type:datetime" json:"lastUpdated,omitempty"` // When service should occur // https://hl7.org/fhir/r4/search.html#date Occurrence *time.Time `gorm:"column:occurrence;type:datetime" json:"occurrence,omitempty"` // Requested performer // https://hl7.org/fhir/r4/search.html#reference Performer datatypes.JSON `gorm:"column:performer;type:text;serializer:json" json:"performer,omitempty"` // Performer role // https://hl7.org/fhir/r4/search.html#token PerformerType datatypes.JSON `gorm:"column:performerType;type:text;serializer:json" json:"performerType,omitempty"` // routine | urgent | asap | stat // https://hl7.org/fhir/r4/search.html#token Priority datatypes.JSON `gorm:"column:priority;type:text;serializer:json" json:"priority,omitempty"` // Profiles this resource claims to conform to // https://hl7.org/fhir/r4/search.html#reference Profile datatypes.JSON `gorm:"column:profile;type:text;serializer:json" json:"profile,omitempty"` // What request replaces // https://hl7.org/fhir/r4/search.html#reference Replaces datatypes.JSON `gorm:"column:replaces;type:text;serializer:json" json:"replaces,omitempty"` // Who/what is requesting service // https://hl7.org/fhir/r4/search.html#reference Requester datatypes.JSON `gorm:"column:requester;type:text;serializer:json" json:"requester,omitempty"` // Composite Request ID // https://hl7.org/fhir/r4/search.html#token Requisition datatypes.JSON `gorm:"column:requisition;type:text;serializer:json" json:"requisition,omitempty"` // Specimen to be tested // https://hl7.org/fhir/r4/search.html#reference Specimen datatypes.JSON `gorm:"column:specimen;type:text;serializer:json" json:"specimen,omitempty"` // draft | active | on-hold | revoked | completed | entered-in-error | unknown // https://hl7.org/fhir/r4/search.html#token Status datatypes.JSON `gorm:"column:status;type:text;serializer:json" json:"status,omitempty"` // Search by subject // https://hl7.org/fhir/r4/search.html#reference Subject datatypes.JSON `gorm:"column:subject;type:text;serializer:json" json:"subject,omitempty"` // Tags applied to this resource // https://hl7.org/fhir/r4/search.html#token Tag datatypes.JSON `gorm:"column:tag;type:text;serializer:json" json:"tag,omitempty"` // Text search against the narrative // https://hl7.org/fhir/r4/search.html#string Text datatypes.JSON `gorm:"column:text;type:text;serializer:json" json:"text,omitempty"` // A resource type filter // https://hl7.org/fhir/r4/search.html#special Type datatypes.JSON `gorm:"column:type;type:text;serializer:json" json:"type,omitempty"` }
func (*FhirServiceRequest) GetSearchParameters ¶
func (s *FhirServiceRequest) GetSearchParameters() map[string]string
func (*FhirServiceRequest) PopulateAndExtractSearchParameters ¶
func (s *FhirServiceRequest) PopulateAndExtractSearchParameters(resourceRaw json.RawMessage) error
func (*FhirServiceRequest) TableName ¶
func (s *FhirServiceRequest) TableName() string
TableName overrides the table name from fhir_observations (pluralized) to `fhir_observation`. https://gorm.io/docs/conventions.html#TableName
type FhirSlot ¶
type FhirSlot struct { models.ResourceBase // The style of appointment or patient that may be booked in the slot (not service type) // https://hl7.org/fhir/r4/search.html#token AppointmentType datatypes.JSON `gorm:"column:appointmentType;type:text;serializer:json" json:"appointmentType,omitempty"` // A Slot Identifier // https://hl7.org/fhir/r4/search.html#token Identifier datatypes.JSON `gorm:"column:identifier;type:text;serializer:json" json:"identifier,omitempty"` // Language of the resource content // https://hl7.org/fhir/r4/search.html#token Language datatypes.JSON `gorm:"column:language;type:text;serializer:json" json:"language,omitempty"` // When the resource version last changed // https://hl7.org/fhir/r4/search.html#date LastUpdated *time.Time `gorm:"column:lastUpdated;type:datetime" json:"lastUpdated,omitempty"` // Profiles this resource claims to conform to // https://hl7.org/fhir/r4/search.html#reference Profile datatypes.JSON `gorm:"column:profile;type:text;serializer:json" json:"profile,omitempty"` // The Schedule Resource that we are seeking a slot within // https://hl7.org/fhir/r4/search.html#reference Schedule datatypes.JSON `gorm:"column:schedule;type:text;serializer:json" json:"schedule,omitempty"` // A broad categorization of the service that is to be performed during this appointment // https://hl7.org/fhir/r4/search.html#token ServiceCategory datatypes.JSON `gorm:"column:serviceCategory;type:text;serializer:json" json:"serviceCategory,omitempty"` // The type of appointments that can be booked into the slot // https://hl7.org/fhir/r4/search.html#token ServiceType datatypes.JSON `gorm:"column:serviceType;type:text;serializer:json" json:"serviceType,omitempty"` // The specialty of a practitioner that would be required to perform the service requested in this appointment // https://hl7.org/fhir/r4/search.html#token Specialty datatypes.JSON `gorm:"column:specialty;type:text;serializer:json" json:"specialty,omitempty"` // Appointment date/time. // https://hl7.org/fhir/r4/search.html#date Start *time.Time `gorm:"column:start;type:datetime" json:"start,omitempty"` // The free/busy status of the appointment // https://hl7.org/fhir/r4/search.html#token Status datatypes.JSON `gorm:"column:status;type:text;serializer:json" json:"status,omitempty"` // Tags applied to this resource // https://hl7.org/fhir/r4/search.html#token Tag datatypes.JSON `gorm:"column:tag;type:text;serializer:json" json:"tag,omitempty"` // Text search against the narrative // https://hl7.org/fhir/r4/search.html#string Text datatypes.JSON `gorm:"column:text;type:text;serializer:json" json:"text,omitempty"` // A resource type filter // https://hl7.org/fhir/r4/search.html#special Type datatypes.JSON `gorm:"column:type;type:text;serializer:json" json:"type,omitempty"` }
func (*FhirSlot) GetSearchParameters ¶
func (*FhirSlot) PopulateAndExtractSearchParameters ¶
func (s *FhirSlot) PopulateAndExtractSearchParameters(resourceRaw json.RawMessage) error
func (*FhirSlot) TableName ¶
TableName overrides the table name from fhir_observations (pluralized) to `fhir_observation`. https://gorm.io/docs/conventions.html#TableName
type FhirSpecimen ¶
type FhirSpecimen struct { models.ResourceBase // The accession number associated with the specimen // https://hl7.org/fhir/r4/search.html#token Accession datatypes.JSON `gorm:"column:accession;type:text;serializer:json" json:"accession,omitempty"` // The code for the body site from where the specimen originated // https://hl7.org/fhir/r4/search.html#token Bodysite datatypes.JSON `gorm:"column:bodysite;type:text;serializer:json" json:"bodysite,omitempty"` // The date the specimen was collected // https://hl7.org/fhir/r4/search.html#date Collected *time.Time `gorm:"column:collected;type:datetime" json:"collected,omitempty"` // Who collected the specimen // https://hl7.org/fhir/r4/search.html#reference Collector datatypes.JSON `gorm:"column:collector;type:text;serializer:json" json:"collector,omitempty"` // The kind of specimen container // https://hl7.org/fhir/r4/search.html#token Container datatypes.JSON `gorm:"column:container;type:text;serializer:json" json:"container,omitempty"` // The unique identifier associated with the specimen container // https://hl7.org/fhir/r4/search.html#token ContainerId datatypes.JSON `gorm:"column:containerId;type:text;serializer:json" json:"containerId,omitempty"` // The unique identifier associated with the specimen // https://hl7.org/fhir/r4/search.html#token Identifier datatypes.JSON `gorm:"column:identifier;type:text;serializer:json" json:"identifier,omitempty"` // Language of the resource content // https://hl7.org/fhir/r4/search.html#token Language datatypes.JSON `gorm:"column:language;type:text;serializer:json" json:"language,omitempty"` // When the resource version last changed // https://hl7.org/fhir/r4/search.html#date LastUpdated *time.Time `gorm:"column:lastUpdated;type:datetime" json:"lastUpdated,omitempty"` // The parent of the specimen // https://hl7.org/fhir/r4/search.html#reference Parent datatypes.JSON `gorm:"column:parent;type:text;serializer:json" json:"parent,omitempty"` // Profiles this resource claims to conform to // https://hl7.org/fhir/r4/search.html#reference Profile datatypes.JSON `gorm:"column:profile;type:text;serializer:json" json:"profile,omitempty"` // available | unavailable | unsatisfactory | entered-in-error // https://hl7.org/fhir/r4/search.html#token Status datatypes.JSON `gorm:"column:status;type:text;serializer:json" json:"status,omitempty"` // The subject of the specimen // https://hl7.org/fhir/r4/search.html#reference Subject datatypes.JSON `gorm:"column:subject;type:text;serializer:json" json:"subject,omitempty"` // Tags applied to this resource // https://hl7.org/fhir/r4/search.html#token Tag datatypes.JSON `gorm:"column:tag;type:text;serializer:json" json:"tag,omitempty"` // Text search against the narrative // https://hl7.org/fhir/r4/search.html#string Text datatypes.JSON `gorm:"column:text;type:text;serializer:json" json:"text,omitempty"` // A resource type filter // https://hl7.org/fhir/r4/search.html#special Type datatypes.JSON `gorm:"column:type;type:text;serializer:json" json:"type,omitempty"` }
func (*FhirSpecimen) GetSearchParameters ¶
func (s *FhirSpecimen) GetSearchParameters() map[string]string
func (*FhirSpecimen) PopulateAndExtractSearchParameters ¶
func (s *FhirSpecimen) PopulateAndExtractSearchParameters(resourceRaw json.RawMessage) error
func (*FhirSpecimen) TableName ¶
func (s *FhirSpecimen) TableName() string
TableName overrides the table name from fhir_observations (pluralized) to `fhir_observation`. https://gorm.io/docs/conventions.html#TableName
type FhirVisionPrescription ¶
type FhirVisionPrescription struct { models.ResourceBase // Return prescriptions written on this date // https://hl7.org/fhir/r4/search.html#date Datewritten *time.Time `gorm:"column:datewritten;type:datetime" json:"datewritten,omitempty"` /* Multiple Resources: * [Composition](composition.html): Context of the Composition * [DeviceRequest](devicerequest.html): Encounter during which request was created * [DiagnosticReport](diagnosticreport.html): The Encounter when the order was made * [DocumentReference](documentreference.html): Context of the document content * [Flag](flag.html): Alert relevant during encounter * [List](list.html): Context in which list created * [NutritionOrder](nutritionorder.html): Return nutrition orders with this encounter identifier * [Observation](observation.html): Encounter related to the observation * [Procedure](procedure.html): Encounter created as part of * [RiskAssessment](riskassessment.html): Where was assessment performed? * [ServiceRequest](servicerequest.html): An encounter in which this request is made * [VisionPrescription](visionprescription.html): Return prescriptions with this encounter identifier */ // https://hl7.org/fhir/r4/search.html#reference Encounter datatypes.JSON `gorm:"column:encounter;type:text;serializer:json" json:"encounter,omitempty"` /* Multiple Resources: * [AllergyIntolerance](allergyintolerance.html): External ids for this item * [CarePlan](careplan.html): External Ids for this plan * [CareTeam](careteam.html): External Ids for this team * [Composition](composition.html): Version-independent identifier for the Composition * [Condition](condition.html): A unique identifier of the condition record * [Consent](consent.html): Identifier for this record (external references) * [DetectedIssue](detectedissue.html): Unique id for the detected issue * [DeviceRequest](devicerequest.html): Business identifier for request/order * [DiagnosticReport](diagnosticreport.html): An identifier for the report * [DocumentManifest](documentmanifest.html): Unique Identifier for the set of documents * [DocumentReference](documentreference.html): Master Version Specific Identifier * [Encounter](encounter.html): Identifier(s) by which this encounter is known * [EpisodeOfCare](episodeofcare.html): Business Identifier(s) relevant for this EpisodeOfCare * [FamilyMemberHistory](familymemberhistory.html): A search by a record identifier * [Goal](goal.html): External Ids for this goal * [ImagingStudy](imagingstudy.html): Identifiers for the Study, such as DICOM Study Instance UID and Accession number * [Immunization](immunization.html): Business identifier * [List](list.html): Business identifier * [MedicationAdministration](medicationadministration.html): Return administrations with this external identifier * [MedicationDispense](medicationdispense.html): Returns dispenses with this external identifier * [MedicationRequest](medicationrequest.html): Return prescriptions with this external identifier * [MedicationStatement](medicationstatement.html): Return statements with this external identifier * [NutritionOrder](nutritionorder.html): Return nutrition orders with this external identifier * [Observation](observation.html): The unique id for a particular observation * [Procedure](procedure.html): A unique identifier for a procedure * [RiskAssessment](riskassessment.html): Unique identifier for the assessment * [ServiceRequest](servicerequest.html): Identifiers assigned to this order * [SupplyDelivery](supplydelivery.html): External identifier * [SupplyRequest](supplyrequest.html): Business Identifier for SupplyRequest * [VisionPrescription](visionprescription.html): Return prescriptions with this external identifier */ // https://hl7.org/fhir/r4/search.html#token Identifier datatypes.JSON `gorm:"column:identifier;type:text;serializer:json" json:"identifier,omitempty"` // Language of the resource content // https://hl7.org/fhir/r4/search.html#token Language datatypes.JSON `gorm:"column:language;type:text;serializer:json" json:"language,omitempty"` // When the resource version last changed // https://hl7.org/fhir/r4/search.html#date LastUpdated *time.Time `gorm:"column:lastUpdated;type:datetime" json:"lastUpdated,omitempty"` // Who authorized the vision prescription // https://hl7.org/fhir/r4/search.html#reference Prescriber datatypes.JSON `gorm:"column:prescriber;type:text;serializer:json" json:"prescriber,omitempty"` // Profiles this resource claims to conform to // https://hl7.org/fhir/r4/search.html#reference Profile datatypes.JSON `gorm:"column:profile;type:text;serializer:json" json:"profile,omitempty"` // The status of the vision prescription // https://hl7.org/fhir/r4/search.html#token Status datatypes.JSON `gorm:"column:status;type:text;serializer:json" json:"status,omitempty"` // Tags applied to this resource // https://hl7.org/fhir/r4/search.html#token Tag datatypes.JSON `gorm:"column:tag;type:text;serializer:json" json:"tag,omitempty"` // Text search against the narrative // https://hl7.org/fhir/r4/search.html#string Text datatypes.JSON `gorm:"column:text;type:text;serializer:json" json:"text,omitempty"` // A resource type filter // https://hl7.org/fhir/r4/search.html#special Type datatypes.JSON `gorm:"column:type;type:text;serializer:json" json:"type,omitempty"` }
func (*FhirVisionPrescription) GetSearchParameters ¶
func (s *FhirVisionPrescription) GetSearchParameters() map[string]string
func (*FhirVisionPrescription) PopulateAndExtractSearchParameters ¶
func (s *FhirVisionPrescription) PopulateAndExtractSearchParameters(resourceRaw json.RawMessage) error
func (*FhirVisionPrescription) TableName ¶
func (s *FhirVisionPrescription) TableName() string
TableName overrides the table name from fhir_observations (pluralized) to `fhir_observation`. https://gorm.io/docs/conventions.html#TableName
type IFhirResourceModel ¶
type IFhirResourceModel interface { models.OriginBaser SetOriginBase(originBase models.OriginBase) SetResourceRaw(resourceRaw datatypes.JSON) SetSortTitle(sortTitle *string) SetSortDate(sortDate *time.Time) SetSourceUri(sourceUri *string) GetSearchParameters() map[string]string PopulateAndExtractSearchParameters(rawResource json.RawMessage) error }
func NewFhirResourceModelByType ¶
func NewFhirResourceModelByType(resourceType string) (IFhirResourceModel, error)
Returns a map of all the resource names to their corresponding go struct
Source Files ¶
- fhir_account.go
- fhir_adverse_event.go
- fhir_allergy_intolerance.go
- fhir_appointment.go
- fhir_binary.go
- fhir_care_plan.go
- fhir_care_team.go
- fhir_claim.go
- fhir_claim_response.go
- fhir_composition.go
- fhir_condition.go
- fhir_consent.go
- fhir_coverage.go
- fhir_coverage_eligibility_request.go
- fhir_coverage_eligibility_response.go
- fhir_device.go
- fhir_device_request.go
- fhir_diagnostic_report.go
- fhir_document_manifest.go
- fhir_document_reference.go
- fhir_encounter.go
- fhir_endpoint.go
- fhir_enrollment_request.go
- fhir_enrollment_response.go
- fhir_explanation_of_benefit.go
- fhir_family_member_history.go
- fhir_goal.go
- fhir_imaging_study.go
- fhir_immunization.go
- fhir_insurance_plan.go
- fhir_location.go
- fhir_media.go
- fhir_medication.go
- fhir_medication_administration.go
- fhir_medication_dispense.go
- fhir_medication_request.go
- fhir_medication_statement.go
- fhir_nutrition_order.go
- fhir_observation.go
- fhir_organization.go
- fhir_organization_affiliation.go
- fhir_patient.go
- fhir_person.go
- fhir_practitioner.go
- fhir_practitioner_role.go
- fhir_procedure.go
- fhir_provenance.go
- fhir_questionnaire.go
- fhir_questionnaire_response.go
- fhir_related_person.go
- fhir_schedule.go
- fhir_service_request.go
- fhir_slot.go
- fhir_specimen.go
- fhir_vision_prescription.go
- interface.go
- utils.go