update terbaru
This commit is contained in:
+200
-63
@@ -5,80 +5,80 @@ type StatusHistrory struct {
|
||||
Period Period `json:"period" ,bson:"period"`
|
||||
}
|
||||
type Identifier struct {
|
||||
Use string `json:"use" bson:"use"`
|
||||
Type CodeableConcept `json:"type" bson:"type"`
|
||||
System string `json:"system" bson:"system"`
|
||||
Value string `json:"value" bson:"value"`
|
||||
Period Period `json:"period" bson:"period"`
|
||||
Assigner Reference `json:"assigner" bson:"assigner"`
|
||||
Coding Coding `json:"coding" bson:"coding"`
|
||||
Use string `json:"use" bson:"use,omitempty"`
|
||||
Type CodeableConcept `json:"type" bson:"type,omitempty"`
|
||||
System string `json:"system" bson:"system,omitempty"`
|
||||
Value string `json:"value" bson:"value,omitempty"`
|
||||
Period Period `json:"period" bson:"period,omitempty"`
|
||||
Assigner Reference `json:"assigner" bson:"assigner,omitempty"`
|
||||
Coding Coding `json:"coding" bson:"coding,omitempty"`
|
||||
}
|
||||
|
||||
type CodeableConcept struct {
|
||||
Coding []Coding `json:"coding" bson:"coding"`
|
||||
Text string `json:"text" bson:"text"`
|
||||
Coding []Coding `json:"coding" bson:"coding,omitempty"`
|
||||
Text string `json:"text" bson:"text,omitempty"`
|
||||
}
|
||||
|
||||
type Coding struct {
|
||||
System string `json:"system" bson:"system"`
|
||||
Version string `json:"version" bson:"version"`
|
||||
Code string `json:"code" bson:"code"`
|
||||
Display string `json:"display" bson:"display"`
|
||||
UserSelected bool `json:"userSelected" bson:"userSelected"`
|
||||
System string `json:"system" bson:"system,omitempty"`
|
||||
Version string `json:"version" bson:"version,omitempty"`
|
||||
Code string `json:"code" bson:"code,omitempty"`
|
||||
Display string `json:"display" bson:"display,omitempty"`
|
||||
UserSelected bool `json:"userSelected" bson:"userSelected,omitempty"`
|
||||
}
|
||||
|
||||
type Period struct {
|
||||
Start string `json:"start,omitempty" bson:"start"`
|
||||
End string `json:"end,omitempty" bson:"end"`
|
||||
Start string `json:"start,omitempty" bson:"start,omitempty"`
|
||||
End string `json:"end,omitempty" bson:"end,omitempty"`
|
||||
}
|
||||
|
||||
type Reference struct {
|
||||
Reference string `json:"reference" bson:"reference"`
|
||||
Display string `json:"display" bson:"display"`
|
||||
Reference string `json:"reference" bson:"reference,omitempty"`
|
||||
Display string `json:"display" bson:"display,omitempty"`
|
||||
}
|
||||
|
||||
type HumanName struct {
|
||||
Use string `json:"use" bson:"use"`
|
||||
Text string `json:"text" bson:"text"`
|
||||
Family string `json:"family" bson:"family"`
|
||||
Given []string `json:"given" bson:"given"`
|
||||
Prefix []string `json:"prefix" bson:"prefix"`
|
||||
Suffix []string `json:"suffix" bson:"suffix"`
|
||||
Period Period `json:"period" bson:"period"`
|
||||
Use string `json:"use" bson:"use,omitempty"`
|
||||
Text string `json:"text" bson:"text,omitempty"`
|
||||
Family string `json:"family" bson:"family,omitempty"`
|
||||
Given []string `json:"given" bson:"given,omitempty"`
|
||||
Prefix []string `json:"prefix" bson:"prefix,omitempty"`
|
||||
Suffix []string `json:"suffix" bson:"suffix,omitempty"`
|
||||
Period Period `json:"period" bson:"period,omitempty"`
|
||||
}
|
||||
|
||||
type ContactPoint struct {
|
||||
System string `bson:"system" json:"system"`
|
||||
Value string `bson:"value" json:"value"`
|
||||
Use string `bson:"use" json:"use"`
|
||||
Rank string `bson:"rank" json:"rank"`
|
||||
Period Period `bson:"period" json:"period"`
|
||||
System string `bson:"system" json:"system,omitempty"`
|
||||
Value string `bson:"value" json:"value,omitempty"`
|
||||
Use string `bson:"use" json:"use,omitempty"`
|
||||
Rank string `bson:"rank" json:"rank,omitempty"`
|
||||
Period Period `bson:"period" json:"period,omitempty"`
|
||||
}
|
||||
|
||||
type Address struct {
|
||||
Use string `json:"use" bson:"use"`
|
||||
Type string `json:"type" bson:"type"`
|
||||
Text string `json:"text" bson:"text"`
|
||||
Line []string `json:"line" bson:"line"`
|
||||
Village string `json:"village" bson:"village"`
|
||||
District string `json:"district" bson:"district"`
|
||||
City string `json:"city" bson:"city"`
|
||||
State string `json:"state" bson:"state"`
|
||||
PostalCode string `json:"postalCode" bson:"postalCode"`
|
||||
Country string `json:"country" bson:"country"`
|
||||
Period Period `json:"period" bson:"period"`
|
||||
Extension []Extension `json:"extension" bson:"extension"`
|
||||
Use string `json:"use" bson:"use,omitempty"`
|
||||
Type string `json:"type" bson:"type,omitempty"`
|
||||
Text string `json:"text" bson:"text,omitempty"`
|
||||
Line []string `json:"line" bson:"line,omitempty"`
|
||||
Village string `json:"village" bson:"village,omitempty"`
|
||||
District string `json:"district" bson:"district,omitempty"`
|
||||
City string `json:"city" bson:"city,omitempty"`
|
||||
State string `json:"state" bson:"state,omitempty"`
|
||||
PostalCode string `json:"postalCode" bson:"postalCode,omitempty"`
|
||||
Country string `json:"country" bson:"country,omitempty"`
|
||||
Period Period `json:"period" bson:"period,omitempty"`
|
||||
Extension []Extension `json:"extension" bson:"extension,omitempty"`
|
||||
}
|
||||
|
||||
type Extension struct {
|
||||
URL string `json:"url" bson:"url"`
|
||||
Extension []ExtensionDetail `json:"extension" bson:"extension"`
|
||||
URL string `json:"url" bson:"url,omitempty"`
|
||||
Extension []ExtensionDetail `json:"extension" bson:"extension,omitempty"`
|
||||
}
|
||||
|
||||
type ExtensionDetail struct {
|
||||
URL string `json:"url" bson:"url"`
|
||||
ValueDisplay string `json:"valueDisplay" bson:"valueDisplay"`
|
||||
ValueCode string `json:"valueCode" bson:"valueCode"`
|
||||
URL string `json:"url" bson:"url,omitempty"`
|
||||
ValueDisplay string `json:"valueDisplay" bson:"valueDisplay,omitempty"`
|
||||
ValueCode string `json:"valueCode" bson:"valueCode,omitempty"`
|
||||
}
|
||||
|
||||
type Photo struct {
|
||||
@@ -98,22 +98,22 @@ type Photo struct {
|
||||
}
|
||||
|
||||
type Contact struct {
|
||||
Relationship []CodeableConcept `json:"relationship" bson:"relationship"`
|
||||
Name HumanName `json:"name" bson:"name"`
|
||||
Telecom []ContactPoint `json:"telecom" bson:"telecom"`
|
||||
Address Address `json:"address" bson:"address"`
|
||||
Gender string `json:"gender" bson:"gender"`
|
||||
Organization Reference `json:"organization" bson:"organization"`
|
||||
Period Period `json:"period" bson:"period"`
|
||||
Relationship []CodeableConcept `json:"relationship" bson:"relationship,omitempty"`
|
||||
Name HumanName `json:"name" bson:"name,omitempty"`
|
||||
Telecom []ContactPoint `json:"telecom" bson:"telecom,omitempty"`
|
||||
Address Address `json:"address" bson:"address,omitempty"`
|
||||
Gender string `json:"gender" bson:"gender,omitempty"`
|
||||
Organization Reference `json:"organization" bson:"organization,omitempty"`
|
||||
Period Period `json:"period" bson:"period,omitempty"`
|
||||
}
|
||||
|
||||
type Communication struct {
|
||||
Language CodeableConcept `json:"language" bson:"language"`
|
||||
Language CodeableConcept `json:"language" bson:"language,omitempty"`
|
||||
}
|
||||
|
||||
type Link struct {
|
||||
Other Reference `json:"other" bson:"other"`
|
||||
Type string `json:"type" bson:"type"`
|
||||
Other Reference `json:"other" bson:"other,omitempty"`
|
||||
Type string `json:"type" bson:"type,omitempty"`
|
||||
}
|
||||
|
||||
type LinkTarget struct {
|
||||
@@ -122,12 +122,12 @@ type LinkTarget struct {
|
||||
}
|
||||
|
||||
type ExtendedContactDetail struct {
|
||||
Purpose CodeableConcept `json:"purpose" bson:"purpose"`
|
||||
Name []HumanName `json:"name" bson:"name"`
|
||||
Telecom []ContactPoint `json:"telecom" bson:"telecom"`
|
||||
Address []Address `json:"address" bson:"address"`
|
||||
Organization Reference `json:"organization" bson:"organization"`
|
||||
Period Period `json:"period" bson:"period"`
|
||||
Purpose CodeableConcept `json:"purpose" bson:"purpose,omitempty"`
|
||||
Name []HumanName `json:"name" bson:"name,omitempty"`
|
||||
Telecom []ContactPoint `json:"telecom" bson:"telecom,omitempty"`
|
||||
Address []Address `json:"address" bson:"address,omitempty"`
|
||||
Organization Reference `json:"organization" bson:"organization,omitempty"`
|
||||
Period Period `json:"period" bson:"period,omitempty"`
|
||||
}
|
||||
|
||||
type Reason struct {
|
||||
@@ -314,3 +314,140 @@ type MonthlyTemple struct {
|
||||
type YearlyTemple struct {
|
||||
YearInterval int `json:"yearInterval" bson:"yearInterval"`
|
||||
}
|
||||
|
||||
type Coverage struct {
|
||||
Coverage Reference `json:"coverage" bson:"coverage"`
|
||||
Priority int `json:"priority" bson:"priority"`
|
||||
}
|
||||
|
||||
type Guarantor struct {
|
||||
Party Reference `json:"party" bson:"party"`
|
||||
OnHold bool `json:"onHold" bson:"onHold"`
|
||||
Period Period `json:"period" bson:"period"`
|
||||
}
|
||||
|
||||
type DiagnosisAccount struct {
|
||||
Sequence int `json:"sequence" bson:"sequence"`
|
||||
Condition DiagnosisCondition `json:"condition" bson:"condition"`
|
||||
DateOfDiagnosis string `json:"dateOfDiagnosis" bson:"dateOfDiagnosis"`
|
||||
Type []CodeableConcept `json:"type" bson:"type"`
|
||||
OnAdmission string `json:"onAdmission" bson:"onAdmission"`
|
||||
PackageCode []CodeableConcept `json:"packageCode" bson:"packageCode"`
|
||||
Device Reference `json:"device" bson:"device"`
|
||||
}
|
||||
|
||||
type DiagnosisCondition struct {
|
||||
Concept CodeableConcept `json:"concept" bson:"concept"`
|
||||
Reference Reference `json:"reference" bson:"reference"`
|
||||
}
|
||||
|
||||
type RelatedAccount struct {
|
||||
Relationship CodeableConcept `json:"relationship" bson:"relationship"`
|
||||
Account Reference `json:"account" bson:"account"`
|
||||
}
|
||||
|
||||
type Balance struct {
|
||||
Aggregate CodeableConcept `json:"aggregate" bson:"aggregate"`
|
||||
Term CodeableConcept `json:"term" bson:"term"`
|
||||
Estimate bool `json:"estimate" bson:"estimate"`
|
||||
Amount Amount `json:"amount" bson:"amount"`
|
||||
}
|
||||
|
||||
type Amount struct {
|
||||
Value float64 `json:"value" bson:"value"`
|
||||
Currency string `json:"currency" bson:"currency"`
|
||||
}
|
||||
|
||||
type Onset struct {
|
||||
OnsetDateTime string `json:"onsetDateTime" bson:"onsetDateTime"`
|
||||
OnsetAge string `json:"onsetAge" bson:"onsetAge"`
|
||||
OnsetPeriod Period `json:"onsetPeriod" bson:"onsetPeriod"`
|
||||
OnsetRange Range `json:"onsetRange" bson:"onsetRange"`
|
||||
OnsetString string `json:"onsetString" bson:"onsetString"`
|
||||
}
|
||||
|
||||
type Abatement struct {
|
||||
AbatementDateTime string `json:"abatementDateTime" bson:"abatementDateTime"`
|
||||
AbatementAge string `json:"abatementAge" bson:"abatementAge"`
|
||||
AbatementPeriod Period `json:"abatementPeriod" bson:"abatementPeriod"`
|
||||
AbatementRange Range `json:"abatementRange" bson:"abatementRange"`
|
||||
AbatementString string `json:"abatementString" bson:"abatementString"`
|
||||
}
|
||||
|
||||
type Range struct {
|
||||
Low string `json:"low" bson:"low"`
|
||||
High string `json:"high" bson:"high"`
|
||||
}
|
||||
|
||||
type ConditionParticipant struct {
|
||||
Function CodeableConcept `json:"function" bson:"function"`
|
||||
Actor Reference `json:"actor" bson:"actor"`
|
||||
}
|
||||
|
||||
type ConditionStage struct {
|
||||
Summary CodeableConcept `json:"summary" bson:"summary"`
|
||||
Assessment []Reference `json:"assessment" bson:"assessment"`
|
||||
Type CodeableConcept `json:"type" bson:"type"`
|
||||
}
|
||||
|
||||
type ConditionEvidence struct {
|
||||
Concept CodeableConcept `json:"concept" bson:"concept"`
|
||||
Reference Reference `json:"reference" bson:"reference"`
|
||||
}
|
||||
|
||||
type Stage struct {
|
||||
Summary CodeableConcept `json:"summary" bson:"summary"`
|
||||
Assessment []Reference `json:"assessment" bson:"assessment"`
|
||||
Type CodeableConcept `json:"type" bson:"type"`
|
||||
}
|
||||
|
||||
type Evidence struct {
|
||||
Concept CodeableConcept `json:"concept" bson:"concept"`
|
||||
Reference Reference `json:"reference" bson:"reference"`
|
||||
}
|
||||
|
||||
type CoveragePayment struct {
|
||||
Party Reference `json:"party" bson:"party"`
|
||||
Responsibility string `json:"responsibility" bson:"responsibility"`
|
||||
}
|
||||
|
||||
type CoverageClass struct {
|
||||
Type CodeableConcept `json:"type" bson:"type"`
|
||||
Value CoverageClassValue `json:"value" bson:"value"`
|
||||
Name string `json:"name" bson:"name"`
|
||||
}
|
||||
|
||||
type CoverageClassValue struct {
|
||||
Use string `json:"use" bson:"use"`
|
||||
Type CodeableConcept `json:"type" bson:"type"`
|
||||
System string `json:"system" bson:"system"`
|
||||
Value string `json:"value" bson:"value"`
|
||||
Period Period `json:"period" bson:"period"`
|
||||
Assigner Reference `json:"assigner" bson:"assigner"`
|
||||
Name string `json:"name" bson:"name"`
|
||||
}
|
||||
|
||||
type CostToBeneficiary struct {
|
||||
Type CodeableConcept `json:"type" bson:"type"`
|
||||
Category CodeableConcept `json:"category" bson:"category"`
|
||||
Network CodeableConcept `json:"network" bson:"network"`
|
||||
Unit CodeableConcept `json:"unit" bson:"unit"`
|
||||
Term CodeableConcept `json:"term" bson:"term"`
|
||||
Value CostToBeneficiaryValue `json:"value" bson:"value"`
|
||||
Exception []CostToBeneficiaryException `json:"exception" bson:"exception"`
|
||||
}
|
||||
|
||||
type CostToBeneficiaryValue struct {
|
||||
ValueQuantity string `json:"valueQuantity" bson:"valueQuantity"`
|
||||
ValueMoney Money `json:"valueMoney" bson:"valueMoney"`
|
||||
}
|
||||
|
||||
type CostToBeneficiaryException struct {
|
||||
Type CodeableConcept `json:"type" bson:"type"`
|
||||
Period Period `json:"period" bson:"period"`
|
||||
}
|
||||
|
||||
type Money struct {
|
||||
Value float64 `json:"value" bson:"value"`
|
||||
Currency string `json:"currency" bson:"currency"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user