Documentation
¶
Overview ¶
Package datatypes provides all data types implementation of FHIR v4.0.0
Reference: https://www.hl7.org/fhir/datatypes.html
Primitive Types:
boolean integer string decimal uri url canonical base64Binary instant date dateTime time code oid id markdown unsignedInt positiveInt uuid
Index ¶
- type Address
- type Age
- type Annotation
- type Attachment
- type BackboneElement
- type Base64Binary
- type Boolean
- type BundleEntry
- type BundleEntryRequest
- type BundleEntryResponse
- type BundleEntrySearch
- type BundleLink
- type Canonical
- type Code
- type CodeableConcept
- type Coding
- type ContactDetail
- type ContactPoint
- type Contributor
- type Count
- type DataRequirement
- type DataRequirementCodeFilter
- type DataRequirementDateFilter
- type DataRequirementSort
- type Date
- type DateTime
- type Decimal
- type Distance
- type Dosage
- type DoseAndRate
- type Duration
- type Element
- type ElementDefinition
- type ElementDefinitionBase
- type ElementDefinitionBinding
- type ElementDefinitionConstraint
- type ElementDefinitionExample
- type ElementDefinitionMapping
- type ElementDefinitionSlicing
- type ElementDefinitionSlicingDiscriminator
- type ElementDefinitionType
- type EncounterClassHistory
- type EncounterDiagnosis
- type EncounterHospitalization
- type EncounterLocation
- type EncounterParticipant
- type EncounterStatusHistory
- type Expression
- type Extension
- type HumanName
- type ID
- type Identifier
- type Instant
- type Integer
- type Markdown
- type Meta
- type Money
- type MoneyQuantity
- type Narrative
- type OID
- type ObservationComponent
- type ObservationReferenceRange
- type ParameterDefinition
- type PatientCommunication
- type PatientContact
- type PatientLink
- type Period
- type PositiveInt
- type Quantity
- type Range
- type Ratio
- type Reference
- type RelatedArtifact
- type Repeat
- type SampledData
- type Signature
- type SimpleQuantity
- type String
- type Time
- type Timing
- type TriggerDefinition
- type URI
- type URL
- type UUID
- type UnsignedInt
- type UsageContext
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Address ¶
type Address struct {
Element
Use *Code `json:"use,omitempty"`
Type *Code `json:"type,omitempty"`
Text *String `json:"text,omitempty"`
Line []String `json:"line,omitempty"`
City *String `json:"city,omitempty"`
District *String `json:"district,omitempty"`
State *String `json:"state,omitempty"`
PostalCode *String `json:"postalCode,omitempty"`
Country *String `json:"country,omitempty"`
Period *Period `json:"period,omitempty"`
}
Address FHIR Type
type Annotation ¶
type Annotation struct {
Element
AuthorReference *Reference `json:"authorReference,omitempty"`
AuthorString *String `json:"authorString,omitempty"`
Time *DateTime `json:"time,omitempty"`
Text *Markdown `json:"text,omitempty"`
}
Annotation FHIR Type
type Attachment ¶
type Attachment struct {
Element
ContentType *Code `json:"contentType,omitempty"`
Language *Code `json:"language,omitempty"`
Data *Base64Binary `json:"data,omitempty"`
URL *URL `json:"url,omitempty"`
Size *UnsignedInt `json:"size,omitempty"`
Hash *Base64Binary `json:"hash,omitempty"`
Title *String `json:"title,omitempty"`
Creation *DateTime `json:"creation,omitempty"`
}
Attachment FHIR type
type BackboneElement ¶
type BackboneElement struct {
Element
ModifierExtension []Extension `json:"modifierExtension,omitempty"`
}
BackboneElement FHIR Type
type BundleEntry ¶
type BundleEntry struct {
Link []BundleLink `json:"link,omitempty"`
FullURL *URI `json:"fullUrl,omitempty"`
Resource interface{} `json:"resource,omitempty"` // A resource in the bundle
Search *BundleEntrySearch `json:"search,omitempty"`
Request *BundleEntryRequest `json:"request,omitempty"`
Response *BundleEntryResponse `json:"response,omitempty"`
}
BundleEntry subResource
func (*BundleEntry) GetResourceType ¶
func (b *BundleEntry) GetResourceType() (string, error)
GetResourceType returns the resource type
type BundleEntryRequest ¶
type BundleEntryRequest struct {
Method *Code `json:"method,omitempty"`
URL *URI `json:"url,omitempty"`
IfNoneMatch *String `json:"ifNoneMatch,omitempty"`
IfModifiedSince *Instant `json:"ifModifiedSince,omitempty"`
IfMatch *String `json:"ifMatch,omitempty"`
IfNoneExist *String `json:"ifNoneExist,omitempty"`
}
BundleEntryRequest subResource
type BundleEntryResponse ¶
type BundleEntryResponse struct {
Status *String `json:"status,omitempty"`
Location *URI `json:"location,omitempty"`
Etag *String `json:"etag,omitempty"`
LastModified *Instant `json:"lastModified,omitempty"`
Outcome interface{} `json:"outcome,omitempty"` // Resource
}
BundleEntryResponse subResource
type BundleEntrySearch ¶
type BundleEntrySearch struct {
Mode *Code `json:"mode,omitempty"`
Score *Decimal `json:"score,omitempty"`
}
BundleEntrySearch subResource
type BundleLink ¶
type BundleLink struct {
Relation *String `json:"relation,omitempty"`
URL *URI `json:"url,omitempty"`
}
BundleLink subResource
type CodeableConcept ¶
type CodeableConcept struct {
Element
Coding []Coding `json:"coding,omitempty"`
Text *String `json:"text,omitempty"`
}
CodeableConcept FHIR Type
type Coding ¶
type Coding struct {
Element
System *URI `json:"system,omitempty"`
Version *String `json:"version,omitempty"`
Code *Code `json:"code,omitempty"`
Display *String `json:"display,omitempty"`
UserSelected *Boolean `json:"userSelected,omitempty"`
}
Coding FHIR type
type ContactDetail ¶
type ContactDetail struct {
Element
Name *String `json:"name,omitempty"`
Telecom []ContactPoint `json:"telecom,omitempty"`
}
ContactDetail FHIR Type
type ContactPoint ¶
type ContactPoint struct {
Element
System *Code `json:"system,omitempty"`
Value *String `json:"value,omitempty"`
Use *Code `json:"use,omitempty"`
Rank *PositiveInt `json:"rank,omitempty"`
Period *Period `json:"period,omitempty"`
}
ContactPoint FHIR Type
type Contributor ¶
type Contributor struct {
Element
Type *Code `json:"type,omitempty"`
Name *String `json:"name,omitempty"`
Contact []ContactDetail `json:"contact,omitempty"`
}
Contributor FHIR Type
type DataRequirement ¶
type DataRequirement struct {
Element
Type *Code `json:"type,omitempty"`
Profile []Canonical `json:"profile,omitempty"`
SubjectCodeableConcept *CodeableConcept `json:"subjectCodeableConcept,omitempty"`
SubjectReference *Reference `json:"subjectReference,omitempty"`
MustSupport []String `json:"mustSupport,omitempty"`
CodeFilter []DataRequirementCodeFilter `json:"codeFilter,omitempty"`
DateFilter []DataRequirementDateFilter `json:"dateFilter,omitempty"`
Limit *PositiveInt `json:"limit,omitempty"`
Sort []DataRequirementSort `json:"sort,omitempty"`
}
DataRequirement FHIR Type
type DataRequirementCodeFilter ¶
type DataRequirementCodeFilter struct {
Path *String `json:"path,omitempty"`
SearchParam *String `json:"searchParam,omitempty"`
ValueSet *Canonical `json:"valueSet,omitempty"`
Code []Coding `json:"code,omitempty"`
}
DataRequirementCodeFilter FHIR Sub-Type
type DataRequirementDateFilter ¶
type DataRequirementDateFilter struct {
Path *String `json:"path,omitempty"`
SearchParam *String `json:"searchParam,omitempty"`
ValueDateTime *DateTime `json:"valueDateTime,omitempty"`
ValuePeriod *Period `json:"valuePeriod,omitempty"`
ValueDuration *Duration `json:"valueDuration,omitempty"`
}
DataRequirementDateFilter FHIR Sub-Type
type DataRequirementSort ¶
type DataRequirementSort struct {
Path *String `json:"path,omitempty"`
Direction *Code `json:"direction,omitempty"`
}
DataRequirementSort FHIR Sub-Type
type Dosage ¶
type Dosage struct {
Sequence *Integer `json:"sequence,omitempty"`
Text *String `json:"text,omitempty"`
AdditionalInstruction []CodeableConcept `json:"additionalInstruction,omitempty"`
PatientInstruction *String `json:"patientInstruction,omitempty"`
Timing *Timing `json:"timing,omitempty"`
AsNeededBoolean *Boolean `json:"asNeededBoolean,omitempty"`
AsNeededCodeableConcept *CodeableConcept `json:"asNeededCodeableConcept,omitempty"`
Site *CodeableConcept `json:"site,omitempty"`
Route *CodeableConcept `json:"route,omitempty"`
Method *CodeableConcept `json:"method,omitempty"`
DoseAndRate []DoseAndRate `json:"doseAndRate,omitempty"`
MaxDosePerPeriod *Ratio `json:"maxDosePerPeriod,omitempty"`
MaxDosePerAdministration *SimpleQuantity `json:"maxDosePerAdministration,omitempty"`
MaxDosePerLifetime *SimpleQuantity `json:"maxDosePerLifetime,omitempty"`
BackboneElement
}
Dosage FHIR Type
type DoseAndRate ¶
type DoseAndRate struct {
Type *CodeableConcept `json:"type,omitempty"`
DoseRange *Range `json:"doseRange,omitempty"`
DoseQuantity *SimpleQuantity `json:"doseQuantity,omitempty"`
RateRatio *Ratio `json:"rateRatio,omitempty"`
RateRange *Range `json:"rateRange,omitempty"`
RateQuantity *SimpleQuantity `json:"rateQuantity,omitempty"`
}
DoseAndRate FHIR Sub-type
type Element ¶
type Element struct {
ID String `json:"id,omitempty"`
Extension []Extension `json:"extension,omitempty"`
}
Element FHIR Type
type ElementDefinition ¶
type ElementDefinition struct {
Path *String `json:"path,omitempty"`
Representation []Code `json:"representation,omitempty"`
SliceName *String `json:"sliceName,omitempty"`
SliceInConstraining *Boolean `json:"sliceInConstraining,omitempty"`
Label *String `json:"label,omitempty"`
Code []Coding `json:"code,omitempty"`
Slicing *ElementDefinitionSlicing `json:"slicing,omitempty"`
Short *String `json:"short,omitempty"`
Definition *Markdown `json:"definition,omitempty"`
Comment *Markdown `json:"comment,omitempty"`
Requirements *Markdown `json:"requirements,omitempty"`
Alias []String `json:"alias,omitempty"`
Min *UnsignedInt `json:"min,omitempty"`
Max *String `json:"max,omitempty"`
Base *ElementDefinitionBase `json:"base,omitempty"`
ContentReference *URI `json:"contentReference,omitempty"`
Type []ElementDefinitionBase `json:"type,omitempty"`
DefaultValueBase64Binary *Base64Binary `json:"defaultValueBase64Binary,omitempty"`
DefaultValueBoolean *Boolean `json:"defaultValueBoolean,omitempty"`
DefaultValueCanonical *Canonical `json:"defaultValueCanonical,omitempty"`
DefaultValueCode *Code `json:"defaultValueCode,omitempty"`
DefaultValueDate *Date `json:"defaultValueDate,omitempty"`
DefaultValueDateTime *DateTime `json:"defaultValueDateTime,omitempty"`
DefaultValueDecimal *Decimal `json:"defaultValueDecimal,omitempty"`
DefaultValueID *ID `json:"defaultValueId,omitempty"`
DefaultValueInstant *Instant `json:"defaultValueInstant,omitempty"`
DefaultValueInteger *Integer `json:"defaultValueInteger,omitempty"`
DefaultValueMarkdown *Markdown `json:"defaultValueMarkdown,omitempty"`
DefaultValueOID *OID `json:"defaultValueOid,omitempty"`
DefaultValuePositiveInt *PositiveInt `json:"defaultValuePositiveInt,omitempty"`
DefaultValueString *String `json:"defaultValueString,omitempty"`
DefaultValueTime *Time `json:"defaultValueTime,omitempty"`
DefaultValueUnsignedInt *UnsignedInt `json:"defaultValueUnsignedInt,omitempty"`
DefaultValueURI *URI `json:"defaultValueUri,omitempty"`
DefaultValueURL *URL `json:"defaultValueUrl,omitempty"`
DefaultValueUUID *UUID `json:"defaultValueUuid,omitempty"`
DefaultValueAddress *Address `json:"defaultValueAddress,omitempty"`
DefaultValueAge *Age `json:"defaultValueAge,omitempty"`
DefaultValueAnnotation *Annotation `json:"defaultValueAnnotation,omitempty"`
DefaultValueAttachment *Attachment `json:"defaultValueAttachment,omitempty"`
DefaultValueCodeableConcept *CodeableConcept `json:"defaultValueCodeableConcept,omitempty"`
DefaultValueCoding *Coding `json:"defaultValueCoding,omitempty"`
DefaultValueContactPoint *ContactPoint `json:"defaultValueContactPoint,omitempty"`
DefaultValueCount *Count `json:"defaultValueCount,omitempty"`
DefaultValueDistance *Distance `json:"defaultValueDistance,omitempty"`
DefaultValueDuration *Duration `json:"defaultValueDuration,omitempty"`
DefaultValueHumanName *HumanName `json:"defaultValueHumanName,omitempty"`
DefaultValueIdentifier *Identifier `json:"defaultValueIdentifier,omitempty"`
DefaultValueMoney *Money `json:"defaultValueMoney,omitempty"`
DefaultValuePeriod *Period `json:"defaultValuePeriod,omitempty"`
DefaultValueQuantity *Quantity `json:"defaultValueQuantity,omitempty"`
DefaultValueRange *Range `json:"defaultValueRange,omitempty"`
DefaultValueRatio *Ratio `json:"defaultValueRatio,omitempty"`
DefaultValueReference *Reference `json:"defaultValueReference,omitempty"`
DefaultValueSampledData *SampledData `json:"defaultValueSampledData,omitempty"`
DefaultValueSignature *Signature `json:"defaultValueSignature,omitempty"`
DefaultValueTiming *Timing `json:"defaultValueTiming,omitempty"`
DefaultValueContactDetail *ContactDetail `json:"defaultValueContactDetail,omitempty"`
DefaultValueContributor *Contributor `json:"defaultValueContributor,omitempty"`
DefaultValueDataRequirement *DataRequirement `json:"defaultValueDataRequirement,omitempty"`
DefaultValueExpression *Expression `json:"defaultValueExpression,omitempty"`
DefaultValueParameterDefinition *ParameterDefinition `json:"defaultValueParameterDefinition,omitempty"`
DefaultValueRelatedArtifact *RelatedArtifact `json:"defaultValueRelatedArtifact,omitempty"`
DefaultValueTriggerDefinition *TriggerDefinition `json:"defaultValueTriggerDefinition,omitempty"`
DefaultValueUsageContext *UsageContext `json:"defaultValueUsageContext,omitempty"`
DefaultValueDosage *Dosage `json:"defaultValueDosage,omitempty"`
MeaningWhenMissing *Markdown `json:"meaningWhenMissing,omitempty"`
OrderMeaning *String `json:"orderMeaning,omitempty"`
FixedBase64Binary *Base64Binary `json:"fixedBase64Binary,omitempty"`
FixedBoolean *Boolean `json:"fixedBoolean,omitempty"`
FixedCanonical *Canonical `json:"fixedCanonical,omitempty"`
FixedCode *Code `json:"fixedCode,omitempty"`
FixedDate *Date `json:"fixedDate,omitempty"`
FixedDateTime *DateTime `json:"fixedDateTime,omitempty"`
FixedDecimal *Decimal `json:"fixedDecimal,omitempty"`
FixedID *ID `json:"fixedId,omitempty"`
FixedInstant *Instant `json:"fixedInstant,omitempty"`
FixedInteger *Integer `json:"fixedInteger,omitempty"`
FixedMarkdown *Markdown `json:"fixedMarkdown,omitempty"`
FixedOID *OID `json:"fixedOid,omitempty"`
FixedPositiveInt *PositiveInt `json:"fixedPositiveInt,omitempty"`
FixedString *String `json:"fixedString,omitempty"`
FixedTime *Time `json:"fixedTime,omitempty"`
FixedUnsignedInt *UnsignedInt `json:"fixedUnsignedInt,omitempty"`
FixedURI *URI `json:"fixedUri,omitempty"`
FixedURL *URL `json:"fixedUrl,omitempty"`
FixedUUID *UUID `json:"fixedUuid,omitempty"`
FixedAddress *Address `json:"fixedAddress,omitempty"`
FixedAge *Age `json:"fixedAge,omitempty"`
FixedAnnotation *Annotation `json:"fixedAnnotation,omitempty"`
FixedAttachment *Attachment `json:"fixedAttachment,omitempty"`
FixedCodeableConcept *CodeableConcept `json:"fixedCodeableConcept,omitempty"`
FixedCoding *Coding `json:"fixedCoding,omitempty"`
FixedContactPoint *ContactPoint `json:"fixedContactPoint,omitempty"`
FixedCount *Count `json:"fixedCount,omitempty"`
FixedDistance *Distance `json:"fixedDistance,omitempty"`
FixedDuration *Duration `json:"fixedDuration,omitempty"`
FixedHumanName *HumanName `json:"fixedHumanName,omitempty"`
FixedIdentifier *Identifier `json:"fixedIdentifier,omitempty"`
FixedMoney *Money `json:"fixedMoney,omitempty"`
FixedPeriod *Period `json:"fixedPeriod,omitempty"`
FixedQuantity *Quantity `json:"fixedQuantity,omitempty"`
FixedRange *Range `json:"fixedRange,omitempty"`
FixedRatio *Ratio `json:"fixedRatio,omitempty"`
FixedReference *Reference `json:"fixedReference,omitempty"`
FixedSampledData *SampledData `json:"fixedSampledData,omitempty"`
FixedSignature *Signature `json:"fixedSignature,omitempty"`
FixedTiming *Timing `json:"fixedTiming,omitempty"`
FixedContactDetail *ContactDetail `json:"fixedContactDetail,omitempty"`
FixedContributor *Contributor `json:"fixedContributor,omitempty"`
FixedDataRequirement *DataRequirement `json:"fixedDataRequirement,omitempty"`
FixedExpression *Expression `json:"fixedExpression,omitempty"`
FixedParameterDefinition *ParameterDefinition `json:"fixedParameterDefinition,omitempty"`
FixedRelatedArtifact *RelatedArtifact `json:"fixedRelatedArtifact,omitempty"`
FixedTriggerDefinition *TriggerDefinition `json:"fixedTriggerDefinition,omitempty"`
FixedUsageContext *UsageContext `json:"fixedUsageContext,omitempty"`
FixedDosage *Dosage `json:"fixedDosage,omitempty"`
PatternBase64Binary *Base64Binary `json:"patternBase64Binary,omitempty"`
PatternBoolean *Boolean `json:"patternBoolean,omitempty"`
PatternCanonical *Canonical `json:"patternCanonical,omitempty"`
PatternCode *Code `json:"patternCode,omitempty"`
PatternDate *Date `json:"patternDate,omitempty"`
PatternDateTime *DateTime `json:"patternDateTime,omitempty"`
PatternDecimal *Decimal `json:"patternDecimal,omitempty"`
PatternID *ID `json:"patternId,omitempty"`
PatternInstant *Instant `json:"patternInstant,omitempty"`
PatternInteger *Integer `json:"patternInteger,omitempty"`
PatternMarkdown *Markdown `json:"patternMarkdown,omitempty"`
PatternOID *OID `json:"patternOid,omitempty"`
PatternPositiveInt *PositiveInt `json:"patternPositiveInt,omitempty"`
PatternString *String `json:"patternString,omitempty"`
PatternTime *Time `json:"patternTime,omitempty"`
PatternUnsignedInt *UnsignedInt `json:"patternUnsignedInt,omitempty"`
PatternURI *URI `json:"patternUri,omitempty"`
PatternURL *URL `json:"patternUrl,omitempty"`
PatternUUID *UUID `json:"patternUuid,omitempty"`
PatternAddress *Address `json:"patternAddress,omitempty"`
PatternAge *Age `json:"patternAge,omitempty"`
PatternAnnotation *Annotation `json:"patternAnnotation,omitempty"`
PatternAttachment *Attachment `json:"patternAttachment,omitempty"`
PatternCodeableConcept *CodeableConcept `json:"patternCodeableConcept,omitempty"`
PatternCoding *Coding `json:"patternCoding,omitempty"`
PatternContactPoint *ContactPoint `json:"patternContactPoint,omitempty"`
PatternCount *Count `json:"patternCount,omitempty"`
PatternDistance *Distance `json:"patternDistance,omitempty"`
PatternDuration *Duration `json:"patternDuration,omitempty"`
PatternHumanName *HumanName `json:"patternHumanName,omitempty"`
PatternIdentifier *Identifier `json:"patternIdentifier,omitempty"`
PatternMoney *Money `json:"patternMoney,omitempty"`
PatternPeriod *Period `json:"patternPeriod,omitempty"`
PatternQuantity *Quantity `json:"patternQuantity,omitempty"`
PatternRange *Range `json:"patternRange,omitempty"`
PatternRatio *Ratio `json:"patternRatio,omitempty"`
PatternReference *Reference `json:"patternReference,omitempty"`
PatternSampledData *SampledData `json:"patternSampledData,omitempty"`
PatternSignature *Signature `json:"patternSignature,omitempty"`
PatternTiming *Timing `json:"patternTiming,omitempty"`
PatternContactDetail *ContactDetail `json:"patternContactDetail,omitempty"`
PatternContributor *Contributor `json:"patternContributor,omitempty"`
PatternDataRequirement *DataRequirement `json:"patternDataRequirement,omitempty"`
PatternExpression *Expression `json:"patternExpression,omitempty"`
PatternParameterDefinition *ParameterDefinition `json:"patternParameterDefinition,omitempty"`
PatternRelatedArtifact *RelatedArtifact `json:"patternRelatedArtifact,omitempty"`
PatternTriggerDefinition *TriggerDefinition `json:"patternTriggerDefinition,omitempty"`
PatternUsageContext *UsageContext `json:"patternUsageContext,omitempty"`
PatternDosage *Dosage `json:"patternDosage,omitempty"`
Example []ElementDefinitionExample `json:"example,omitempty"`
MinValueDate *Date `json:"minValueDate,omitempty"`
MinValueDateTime *DateTime `json:"minValueDateTime,omitempty"`
MinValueInstant *Instant `json:"minValueInstant,omitempty"`
MinValueTime *Time `json:"minValueTime,omitempty"`
MinValueDecimal *Decimal `json:"minValueDecimal,omitempty"`
MinValueInteger *Integer `json:"minValueInteger,omitempty"`
MinValuePositiveInt *PositiveInt `json:"minValuePositiveInt,omitempty"`
MinValueUnsignedInt *UnsignedInt `json:"minValueUnsignedInt,omitempty"`
MinValueQuantity *Quantity `json:"minValueQuantity,omitempty"`
MaxValueDate *Date `json:"maxValueDate,omitempty"`
MaxValueDateTime *DateTime `json:"maxValueDateTime,omitempty"`
MaxValueInstant *Instant `json:"maxValueInstant,omitempty"`
MaxValueTime *Time `json:"maxValueTime,omitempty"`
MaxValueDecimal *Decimal `json:"maxValueDecimal,omitempty"`
MaxValueInteger *Integer `json:"maxValueInteger,omitempty"`
MaxValuePositiveInt *PositiveInt `json:"maxValuePositiveInt,omitempty"`
MaxValueUnsignedInt *UnsignedInt `json:"maxValueUnsignedInt,omitempty"`
MaxValueQuantity *Quantity `json:"maxValueQuantity,omitempty"`
MaxLength *Integer `json:"maxLength,omitempty"`
Condition []ID `json:"condition,omitempty"`
Constraint []ElementDefinitionConstraint `json:"constraint,omitempty"`
MustSupport *Boolean `json:"mustSupport,omitempty"`
IsModifier *Boolean `json:"isModifier,omitempty"`
IsModifierReason *String `json:"isModifierReason,omitempty"`
IsSummary *Boolean `json:"isSummary,omitempty"`
Binding *ElementDefinitionBinding `json:"binding,omitempty"`
Mapping []ElementDefinitionMapping `json:"mapping,omitempty"`
BackboneElement
}
ElementDefinition FHIR Type
type ElementDefinitionBase ¶
type ElementDefinitionBase struct {
Path *String `json:"path,omitempty"`
Min *UnsignedInt `json:"min,omitempty"`
Max *String `json:"max,omitempty"`
}
ElementDefinitionBase FHIR Sub-Type
type ElementDefinitionBinding ¶
type ElementDefinitionBinding struct {
Strength *Code `json:"strength,omitempty"`
Description *String `json:"description,omitempty"`
ValueSet *Canonical `json:"valueSet,omitempty"`
}
ElementDefinitionBinding FHIR Sub-Type
type ElementDefinitionConstraint ¶
type ElementDefinitionConstraint struct {
Key *ID `json:"key,omitempty"`
Requirements *String `json:"requirements,omitempty"`
Severity *Code `json:"severity,omitempty"`
Human *String `json:"human,omitempty"`
Expression *String `json:"expression,omitempty"`
XPath *String `json:"xpath,omitempty"`
Source *Canonical `json:"source,omitempty"`
}
ElementDefinitionConstraint FHIR Sub-Type
type ElementDefinitionExample ¶
type ElementDefinitionExample struct {
Label *String `json:"label,omitempty"`
ValueBase64Binary *Base64Binary `json:"valueBase64Binary,omitempty"`
ValueBoolean *Boolean `json:"valueBoolean,omitempty"`
ValueCanonical *Canonical `json:"valueCanonical,omitempty"`
ValueCode *Code `json:"valueCode,omitempty"`
ValueDate *Date `json:"valueDate,omitempty"`
ValueDateTime *DateTime `json:"valueDateTime,omitempty"`
ValueDecimal *Decimal `json:"valueDecimal,omitempty"`
ValueID *ID `json:"valueId,omitempty"`
ValueInstant *Instant `json:"valueInstant,omitempty"`
ValueInteger *Integer `json:"valueInteger,omitempty"`
ValueMarkdown *Markdown `json:"valueMarkdown,omitempty"`
ValueOID *OID `json:"valueOid,omitempty"`
ValuePositiveInt *PositiveInt `json:"valuePositiveInt,omitempty"`
ValueString *String `json:"valueString,omitempty"`
ValueTime *Time `json:"valueTime,omitempty"`
ValueUnsignedInt *UnsignedInt `json:"valueUnsignedInt,omitempty"`
ValueURI *URI `json:"valueUri,omitempty"`
ValueURL *URL `json:"valueUrl,omitempty"`
ValueUUID *UUID `json:"valueUuid,omitempty"`
ValueAddress *Address `json:"valueAddress,omitempty"`
ValueAge *Age `json:"valueAge,omitempty"`
ValueAnnotation *Annotation `json:"valueAnnotation,omitempty"`
ValueAttachment *Attachment `json:"valueAttachment,omitempty"`
ValueCodeableConcept *CodeableConcept `json:"valueCodeableConcept,omitempty"`
ValueCoding *Coding `json:"valueCoding,omitempty"`
ValueContactPoint *ContactPoint `json:"valueContactPoint,omitempty"`
ValueCount *Count `json:"valueCount,omitempty"`
ValueDistance *Distance `json:"valueDistance,omitempty"`
ValueDuration *Duration `json:"valueDuration,omitempty"`
ValueHumanName *HumanName `json:"valueHumanName,omitempty"`
ValueIdentifier *Identifier `json:"valueIdentifier,omitempty"`
ValueMoney *Money `json:"valueMoney,omitempty"`
ValuePeriod *Period `json:"valuePeriod,omitempty"`
ValueQuantity *Quantity `json:"valueQuantity,omitempty"`
ValueRange *Range `json:"valueRange,omitempty"`
ValueRatio *Ratio `json:"valueRatio,omitempty"`
ValueReference *Reference `json:"valueReference,omitempty"`
ValueSampledData *SampledData `json:"valueSampledData,omitempty"`
ValueSignature *Signature `json:"valueSignature,omitempty"`
ValueTiming *Timing `json:"valueTiming,omitempty"`
ValueContactDetail *ContactDetail `json:"valueContactDetail,omitempty"`
ValueContributor *Contributor `json:"valueContributor,omitempty"`
ValueDataRequirement *DataRequirement `json:"valueDataRequirement,omitempty"`
ValueExpression *Expression `json:"valueExpression,omitempty"`
ValueParameterDefinition *ParameterDefinition `json:"valueParameterDefinition,omitempty"`
ValueRelatedArtifact *RelatedArtifact `json:"valueRelatedArtifact,omitempty"`
ValueTriggerDefinition *TriggerDefinition `json:"valueTriggerDefinition,omitempty"`
ValueUsageContext *UsageContext `json:"valueUsageContext,omitempty"`
ValueDosage *Dosage `json:"valueDosage,omitempty"`
}
ElementDefinitionExample FHIR Sub-Type
type ElementDefinitionMapping ¶
type ElementDefinitionMapping struct {
Identity *ID `json:"identity,omitempty"`
Language *Code `json:"language,omitempty"`
Map *String `json:"map,omitempty"`
Comment *String `json:"comment,omitempty"`
}
ElementDefinitionMapping FHIR Sub-Type
type ElementDefinitionSlicing ¶
type ElementDefinitionSlicing struct {
Discriminator []ElementDefinitionSlicingDiscriminator `json:"discriminator,omitempty"`
Description *String `json:"description,omitempty"`
Ordered *Boolean `json:"ordered,omitempty"`
Rules *Code `json:"rules,omitempty"`
}
ElementDefinitionSlicing FHIR Sub-Type
type ElementDefinitionSlicingDiscriminator ¶
type ElementDefinitionSlicingDiscriminator struct {
Type *Code `json:"type,omitempty"`
Path *String `json:"path,omitempty"`
}
ElementDefinitionSlicingDiscriminator FHIR Sub-Type
type ElementDefinitionType ¶
type ElementDefinitionType struct {
Code *URI `json:"code,omitempty"`
Profile []Canonical `json:"profile,omitempty"`
TargetProfile []Canonical `json:"targetProfile,omitempty"`
Aggregation []Code `json:"aggregation,omitempty"`
Versioning *Code `json:"versioning,omitempty"`
}
ElementDefinitionType FHIR Sub-Type
type EncounterClassHistory ¶
type EncounterClassHistory struct {
Class *Coding `json:"class,omitempty"`
Period *Period `json:"period,omitempty"`
}
EncounterClassHistory subResource
type EncounterDiagnosis ¶
type EncounterDiagnosis struct {
Condition *Reference `json:"condition,omitempty"`
Use *CodeableConcept `json:"use,omitempty"`
Rank *PositiveInt `json:"rank,omitempty"`
}
EncounterDiagnosis subResource
type EncounterHospitalization ¶
type EncounterHospitalization struct {
PreAdmissionIdentifier *Identifier `json:"preAdmissionIdentifier,omitempty"`
Origin *Reference `json:"origin,omitempty"`
AdmitSource *CodeableConcept `json:"admitSource,omitempty"`
ReAdmission *CodeableConcept `json:"reAdmission,omitempty"`
DietPreference *CodeableConcept `json:"dietPreference,omitempty"`
SpecialCourtesy *CodeableConcept `json:"specialCourtesy,omitempty"`
SpecialArrangement *CodeableConcept `json:"specialArrangement,omitempty"`
Destination *Reference `json:"destination,omitempty"`
DischargeDisposition *CodeableConcept `json:"dischargeDisposition,omitempty"`
}
EncounterHospitalization subResource
type EncounterLocation ¶
type EncounterLocation struct {
Location *Reference `json:"location,omitempty"`
Status *Code `json:"status,omitempty"`
PhysicalType *CodeableConcept `json:"physicalType,omitempty"`
Period *Period `json:"period,omitempty"`
}
EncounterLocation subResource
type EncounterParticipant ¶
type EncounterParticipant struct {
Type []CodeableConcept `json:"type,omitempty"`
Period *Period `json:"period,omitempty"`
Individual *Reference `json:"individual,omitempty"`
}
EncounterParticipant subResource
type EncounterStatusHistory ¶
type EncounterStatusHistory struct {
Status *Code `json:"status,omitempty"`
Period *Period `json:"period,omitempty"`
}
EncounterStatusHistory subResource
type Expression ¶
type Expression struct {
Element
Description *String `json:"description,omitempty"`
Name *ID `json:"name,omitempty"`
Language *Code `json:"language,omitempty"`
Expression *String `json:"expression,omitempty"`
Reference *URI `json:"reference,omitempty"`
}
Expression FHIR Type
type Extension ¶
type Extension struct {
URL *URI `json:"url,omitempty"`
ValueBase64Binary *Base64Binary `json:"valueBase64Binary,omitempty"`
ValueBoolean *Boolean `json:"valueBoolean,omitempty"`
ValueCanonical *Canonical `json:"valueCanonical,omitempty"`
ValueCode *Code `json:"valueCode,omitempty"`
ValueDate *Date `json:"valueDate,omitempty"`
ValueDateTime *DateTime `json:"valueDateTime,omitempty"`
ValueDecimal *Decimal `json:"valueDecimal,omitempty"`
ValueID *ID `json:"valueId,omitempty"`
ValueInstant *Instant `json:"valueInstant,omitempty"`
ValueInteger *Integer `json:"valueInteger,omitempty"`
ValueMarkdown *Markdown `json:"valueMarkdown,omitempty"`
ValueOid *OID `json:"valueOid,omitempty"`
ValuePositiveInt *PositiveInt `json:"valuePositiveInt,omitempty"`
ValueString *String `json:"valueString,omitempty"`
ValueTime *Time `json:"valueTime,omitempty"`
ValueUnsignedInt *UnsignedInt `json:"valueUnsignedInt,omitempty"`
ValueURI *URI `json:"valueUri,omitempty"`
ValueURL *URL `json:"valueUrl,omitempty"`
ValueUUID *UUID `json:"valueUuid,omitempty"`
ValueAddress *Address `json:"valueAddress,omitempty"`
ValueAge *Age `json:"valueAge,omitempty"`
ValueAnnotation *Annotation `json:"valueAnnotation,omitempty"`
ValueAttachment *Attachment `json:"valueAttachment,omitempty"`
ValueCodeableConcept *CodeableConcept `json:"valueCodeableConcept,omitempty"`
ValueCoding *Coding `json:"valueCoding,omitempty"`
ValueContactPoint *ContactPoint `json:"valueContactPoint,omitempty"`
ValueCount *Count `json:"valueCount,omitempty"`
ValueDistance *Distance `json:"valueDistance,omitempty"`
ValueDuration *Duration `json:"valueDuration,omitempty"`
ValueHumanName *HumanName `json:"valueHumanName,omitempty"`
ValueIdentifier *Identifier `json:"valueIdentifier,omitempty"`
ValueMoney *Money `json:"valueMoney,omitempty"`
ValuePeriod *Period `json:"valuePeriod,omitempty"`
ValueQuantity *Quantity `json:"valueQuantity,omitempty"`
ValueRange *Range `json:"valueRange,omitempty"`
ValueRatio *Ratio `json:"valueRatio,omitempty"`
ValueReference *Reference `json:"valueReference,omitempty"`
ValueSampledData *SampledData `json:"valueSampledData,omitempty"`
ValueSignature *Signature `json:"valueSignature,omitempty"`
ValueTiming *Timing `json:"valueTiming,omitempty"`
ValueContactDetail *ContactDetail `json:"valueContactDetail,omitempty"`
ValueContributor *Contributor `json:"valueContributor,omitempty"`
ValueDataRequirement *DataRequirement `json:"valueDataRequirement,omitempty"`
ValueExpression *Expression `json:"valueExpression,omitempty"`
ValueParameterDefinition *ParameterDefinition `json:"valueParameterDefinition,omitempty"`
ValueRelatedArtifact *RelatedArtifact `json:"valueRelatedArtifact,omitempty"`
ValueTriggerDefinition *TriggerDefinition `json:"valueTriggerDefinition,omitempty"`
ValueUsageContext *UsageContext `json:"valueUsageContext,omitempty"`
ValueDosage *Dosage `json:"valueDosage,omitempty"`
}
Extension FHIR Type
type HumanName ¶
type HumanName struct {
Element
Use *Code `json:"use,omitempty"`
Text *String `json:"text,omitempty"`
Family *String `json:"family,omitempty"`
Given []String `json:"given,omitempty"`
Prefix []String `json:"prefix,omitempty"`
Suffix []String `json:"suffix,omitempty"`
Period *Period `json:"period,omitempty"`
}
HumanName FHIR Type
type Identifier ¶
type Identifier struct {
Element
Use *Code `json:"use,omitempty"`
Type *CodeableConcept `json:"type,omitempty"`
System *URI `json:"system,omitempty"`
Value *String `json:"value,omitempty"`
Period *Period `json:"period,omitempty"`
}
Identifier FHIR Type
type Meta ¶
type Meta struct {
VersionID *ID `json:"versionId,omitempty"`
LastUpdated *Instant `json:"lastUpdated,omitempty"`
Source *URI `json:"source,omitempty"`
Profile []Canonical `json:"profile,omitempty"`
Security []Coding `json:"security,omitempty"`
Tag []Coding `json:"tag,omitempty"`
Element
}
Meta FHIR Type
type Money ¶
type Money struct {
Element
Value *Decimal `json:"value,omitempty"`
Currency *Code `json:"currency,omitempty"`
}
Money FHIR Type
type Narrative ¶
type Narrative struct {
Status *Code `json:"status,omitempty"`
Div *String `json:"div,omitempty"`
Element
}
Narrative for domain resource
type ObservationComponent ¶
type ObservationComponent struct {
Code *CodeableConcept `json:"code,omitempty"`
ValueQuantity *Quantity `json:"valueQuantity,omitempty"`
ValueCodeableConcept *CodeableConcept `json:"valueCodeableConcept,omitempty"`
ValueString *String `json:"valueString,omitempty"`
ValueBoolean *Boolean `json:"valueBoolean,omitempty"`
ValueInteger *Integer `json:"valueInteger,omitempty"`
ValueRange *Range `json:"valueRange,omitempty"`
ValueRatio *Ratio `json:"valueRatio,omitempty"`
ValueSampledData *SampledData `json:"valueSampledData,omitempty"`
ValueTime *Time `json:"valueTime,omitempty"`
ValueDateTime *DateTime `json:"valueDateTime,omitempty"`
ValuePeriod *Period `json:"valuePeriod,omitempty"`
DataAbsentReason *CodeableConcept `json:"dataAbsentReason,omitempty"`
Interpretation []CodeableConcept `json:"interpretation,omitempty"`
ReferenceRange []ObservationReferenceRange `json:"referenceRange,omitempty"`
}
ObservationComponent subResource
type ObservationReferenceRange ¶
type ObservationReferenceRange struct {
Low *SimpleQuantity `json:"low,omitempty"`
High *SimpleQuantity `json:"high,omitempty"`
Type *CodeableConcept `json:"type,omitempty"`
AppliesTo []CodeableConcept `json:"appliesTo,omitempty"`
Age *Range `json:"age,omitempty"`
Text *String `json:"text,omitempty"`
}
ObservationReferenceRange subResource
type ParameterDefinition ¶
type ParameterDefinition struct {
Element
Name *Code `json:"name,omitempty"`
Use *Code `json:"use,omitempty"`
Min *Integer `json:"min,omitempty"`
Max *String `json:"max,omitempty"`
Documentation *String `json:"documentation,omitempty"`
Type *Code `json:"type,omitempty"`
Profile *Canonical `json:"profile,omitempty"`
}
ParameterDefinition FHIR Type
type PatientCommunication ¶
type PatientCommunication struct {
Language *CodeableConcept `json:"language,omitempty"`
Preferred *Boolean `json:"preferred,omitempty"`
}
PatientCommunication subResource
type PatientContact ¶
type PatientContact struct {
Relationship []CodeableConcept `json:"relationship,omitempty"`
Name *HumanName `json:"name,omitempty"`
Telecom []ContactPoint `json:"telecom,omitempty"`
Address *Address `json:"address,omitempty"`
Gender *Code `json:"gender,omitempty"`
Organization *Reference `json:"organization,omitempty"`
Period *Period `json:"period,omitempty"`
}
PatientContact subResource
type PatientLink ¶
type PatientLink struct {
Other *Reference `json:"other,omitempty"`
Type *Code `json:"type,omitempty"`
}
PatientLink subResource
type Period ¶
type Period struct {
Element
Start *DateTime `json:"start,omitempty"`
End *DateTime `json:"end,omitempty"`
}
Period FHIR Type
type Quantity ¶
type Quantity struct {
Element
Value *Decimal `json:"value,omitempty"`
Comparator *Code `json:"comparator,omitempty"`
Unit *String `json:"unit,omitempty"`
System *URI `json:"system,omitempty"`
Code *Code `json:"code,omitempty"`
}
Quantity FHIR Type
type Range ¶
type Range struct {
Element
Low *Quantity `json:"low,omitempty"`
High *Quantity `json:"high,omitempty"`
}
Range FHIR Type
type Ratio ¶
type Ratio struct {
Element
Numerator *Quantity `json:"numerator,omitempty"`
Denominator *Quantity `json:"denominator,omitempty"`
}
Ratio FHIR Type
type Reference ¶
type Reference struct {
Reference *String `json:"reference,omitempty"`
Type *URI `json:"type,omitempty"`
Identifier *Identifier `json:"identifier,omitempty"`
Display *String `json:"display,omitempty"`
Element
}
Reference FHIR Type
type RelatedArtifact ¶
type RelatedArtifact struct {
Element
Type *Code `json:"type,omitempty"`
Label *String `json:"label,omitempty"`
Display *String `json:"display,omitempty"`
Citation *Markdown `json:"citation,omitempty"`
URL *URL `json:"url,omitempty"`
Document *Attachment `json:"document,omitempty"`
Resource *Canonical `json:"resource,omitempty"`
}
RelatedArtifact FHIR Type
type Repeat ¶
type Repeat struct {
BackboneElement
BoundsDuration *Duration `json:"boundsDuration,omitempty"`
BoundsRange *Range `json:"boundsRange,omitempty"`
BoundsPeriod *Period `json:"boundsPeriod,omitempty"`
Count *PositiveInt `json:"count,omitempty"`
CountMax *PositiveInt `json:"countMax,omitempty"`
Duration *Decimal `json:"duration,omitempty"`
DurationMax *Decimal `json:"durationMax,omitempty"`
DurationUnit *Code `json:"durationUnit,omitempty"`
Frequency *PositiveInt `json:"frequency,omitempty"`
FrequencyMax *PositiveInt `json:"frequencyMax,omitempty"`
Period *Decimal `json:"period,omitempty"`
PeriodMax *Decimal `json:"periodMax,omitempty"`
PeriodUnit *Code `json:"periodUnit,omitempty"`
DayOfWeek []Code `json:"dayOfWeek,omitempty"`
TimeOfDay []Time `json:"timeOfDay,omitempty"`
When []Code `json:"when,omitempty"`
Offset *UnsignedInt `json:"offset,omitempty"`
}
Repeat Type for Timing
type SampledData ¶
type SampledData struct {
Element
Origin *Quantity `json:"origin,omitempty"`
Period *Decimal `json:"period,omitempty"`
Factor *Decimal `json:"factor,omitempty"`
LowerLimit *Decimal `json:"lowerLimit,omitempty"`
UpperLimit *Decimal `json:"upperLimit,omitempty"`
Dimensions *PositiveInt `json:"dimensions,omitempty"`
Data *String `json:"data,omitempty"`
}
SampledData FHIR Type
type Signature ¶
type Signature struct {
Element
Type []Coding `json:"type,omitempty"`
When *Instant `json:"when,omitempty"`
Who *Reference `json:"who,omitempty"`
OnBehalfOf *Reference `json:"onBehalfOf,omitempty"`
TargetFormat *Code `json:"targetFormat,omitempty"`
SigFormat *Code `json:"sigFormat,omitempty"`
Data *Base64Binary `json:"data,omitempty"`
}
Signature FHIR Type
type SimpleQuantity ¶
type SimpleQuantity Quantity
SimpleQuantity FHIT Type (Variations on Quantity)
type Timing ¶
type Timing struct {
Element
Event []DateTime `json:"event,omitempty"`
Repeat *Repeat `json:"repeat,omitempty"`
Code *CodeableConcept `json:"code,omitempty"`
}
Timing FHIR Type
type TriggerDefinition ¶
type TriggerDefinition struct {
Element
Type *Code `json:"type,omitempty"`
Name *String `json:"name,omitempty"`
TimingTiming *Timing `json:"timingTiming,omitempty"`
TimingReference *Reference `json:"timingReference,omitempty"`
TimingDate *Date `json:"timingDate,omitempty"`
TimingDateTime *DateTime `json:"timingDateTime,omitempty"`
Data []DataRequirement `json:"data,omitempty"`
Condition *Expression `json:"condition,omitempty"`
}
TriggerDefinition FHIR Type
type UsageContext ¶
type UsageContext struct {
Element
Code *Coding `json:"coding,omitempty"`
ValueCodeableConcept *CodeableConcept `json:"valueCodeableConcept,omitempty"`
ValueQuantity *Quantity `json:"valueQuantity,omitempty"`
ValueRange *Range `json:"valueRange,omitempty"`
ValueReference *Reference `json:"valueReference,omitempty"`
}
UsageContext FHIR Type