mastering bridging
This commit is contained in:
56
internal/model/clinicalImpression.go
Normal file
56
internal/model/clinicalImpression.go
Normal file
@@ -0,0 +1,56 @@
|
||||
package model
|
||||
|
||||
// Reference to another FHIR resource
|
||||
type Reference struct {
|
||||
Reference string `json:"reference"`
|
||||
Display string `json:"display,omitempty"`
|
||||
}
|
||||
|
||||
// Coding for codeable concepts
|
||||
type Coding struct {
|
||||
System string `json:"system"`
|
||||
Code string `json:"code"`
|
||||
Display string `json:"display"`
|
||||
}
|
||||
|
||||
// CodeableConcept for coded fields
|
||||
type CodeableConcept struct {
|
||||
Coding []Coding `json:"coding"`
|
||||
Text string `json:"text,omitempty"`
|
||||
}
|
||||
|
||||
// Investigation item reference
|
||||
type InvestigationItem struct {
|
||||
Reference string `json:"reference"`
|
||||
}
|
||||
|
||||
// Investigation structure
|
||||
type Investigation struct {
|
||||
Code CodeableConcept `json:"code"`
|
||||
Item []InvestigationItem `json:"item"`
|
||||
}
|
||||
|
||||
// Finding structure
|
||||
type Finding struct {
|
||||
ItemCodeableConcept *CodeableConcept `json:"itemCodeableConcept,omitempty"`
|
||||
ItemReference *Reference `json:"itemReference,omitempty"`
|
||||
}
|
||||
|
||||
// ClinicalImpressionRequest for the request body
|
||||
type ClinicalImpressionRequest struct {
|
||||
Id string `json:"id,omitempty"`
|
||||
ResourceType string `json:"resourceType"`
|
||||
Identifier []Identifier `json:"identifier"`
|
||||
Status string `json:"status"`
|
||||
Description string `json:"description"`
|
||||
Subject Reference `json:"subject"`
|
||||
Encounter Reference `json:"encounter"`
|
||||
EffectiveDateTime string `json:"effectiveDateTime"`
|
||||
Date string `json:"date"`
|
||||
Assessor Reference `json:"assessor"`
|
||||
Problem []Reference `json:"problem"`
|
||||
Investigation []Investigation `json:"investigation"`
|
||||
Summary string `json:"summary"`
|
||||
Finding []Finding `json:"finding"`
|
||||
PrognosisCodeableConcept []CodeableConcept `json:"prognosisCodeableConcept"`
|
||||
}
|
||||
Reference in New Issue
Block a user