resources

package
v0.0.0-...-ca0a03f Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2020 License: MIT Imports: 4 Imported by: 8

Documentation

Overview

Package resources provides all resources implementation of FHIR v3.0.2

Reference: http://hl7.org/fhir/STU3/resourcelist.html

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActivityDefinition

type ActivityDefinition struct {
	Domain
	URL                    *d.URI                           `json:"url,omitempty"`
	Identifier             []d.Identifier                   `json:"identifier,omitempty"`
	Version                *d.String                        `json:"version,omitempty"`
	Name                   *d.String                        `json:"name,omitempty"`
	Title                  *d.String                        `json:"title,omitempty"`
	Status                 *d.Code                          `json:"status,omitempty"`
	Experimental           *d.Boolean                       `json:"experimental,omitempty"`
	Date                   *d.DateTime                      `json:"date,omitempty"`
	Publisher              *d.String                        `json:"publisher,omitempty"`
	Description            *d.Markdown                      `json:"description,omitempty"`
	Purpose                *d.Markdown                      `json:"purpose,omitempty"`
	Usage                  *d.String                        `json:"usage,omitempty"`
	ApprovalDate           *d.Date                          `json:"approvalDate,omitempty"`
	LastReviewDate         *d.Date                          `json:"lastReviewDate,omitempty"`
	EffectivePeriod        *d.Period                        `json:"effectivePeriod,omitempty"`
	UseContext             []d.UsageContext                 `json:"useContext,omitempty"`
	Jurisdiction           []d.CodeableConcept              `json:"jurisdiction,omitempty"`
	Topic                  []d.CodeableConcept              `json:"topic,omitempty"`
	Contributor            []d.Contributor                  `json:"contributor,omitempty"`
	Contact                []d.ContactDetail                `json:"contact,omitempty"`
	Copyright              *d.Markdown                      `json:"copyright,omitempty"`
	RelatedArtifact        []d.RelatedArtifact              `json:"relatedArtifact,omitempty"`
	Library                []d.Reference                    `json:"library,omitempty"`
	Kind                   *d.Code                          `json:"kind,omitempty"`
	Code                   *d.CodeableConcept               `json:"code,omitempty"`
	TimingTiming           *d.Timing                        `json:"timingTiming,omitempty"`
	TimingDateTime         *d.DateTime                      `json:"timingDateTime,omitempty"`
	TimingPeriod           *d.Period                        `json:"timingPeriod,omitempty"`
	TimingRange            *d.Range                         `json:"timingRange,omitempty"`
	Location               *d.Reference                     `json:"location,omitempty"`
	Participant            []ActivityDefinitionParticipant  `json:"participant,omitempty"`
	ProductReference       *d.Reference                     `json:"productReference,omitempty"`
	ProductCodeableConcept *d.CodeableConcept               `json:"productCodeableConcept,omitempty"`
	Quantity               *d.Quantity                      `json:"quantity,omitempty"`
	Dosage                 []d.Dosage                       `json:"dosage,omitempty"`
	BodySite               []d.CodeableConcept              `json:"bodySite,omitempty"`
	Transform              *d.Reference                     `json:"transform,omitempty"`
	DynamicValue           []ActivityDefinitionDynamicValue `json:"dynamicValue,omitempty"`
}

ActivityDefinition resource

func (*ActivityDefinition) Validate

func (a *ActivityDefinition) Validate() (bool, []error)

Validate returns a check against schema

type ActivityDefinitionDynamicValue

type ActivityDefinitionDynamicValue struct {
	Description *d.String `json:"description,omitempty"`
	Path        *d.String `json:"path,omitempty"`
	Language    *d.String `json:"language,omitempty"`
	Expression  *d.String `json:"expression,omitempty"`
}

ActivityDefinitionDynamicValue sub-resource

type ActivityDefinitionParticipant

type ActivityDefinitionParticipant struct {
	Type *d.Code            `json:"type,omitempty"`
	Role *d.CodeableConcept `json:"role,omitempty"`
}

ActivityDefinitionParticipant sub-resource

type AllergyIntolerance

type AllergyIntolerance struct {
	Domain
	Identifier         []d.Identifier               `json:"identifier,omitempty"`
	ClinicalStatus     *d.Code                      `json:"clinicalStatus,omitempty"`
	VerificationStatus *d.Code                      `json:"verificationStatus,omitempty"`
	Type               *d.Code                      `json:"type,omitempty"`
	Category           []d.Code                     `json:"category,omitempty"`
	Criticality        *d.Code                      `json:"criticality,omitempty"`
	Code               *d.CodeableConcept           `json:"code,omitempty"`
	Patient            *d.Reference                 `json:"patient,omitempty"`
	OnsetDateTime      *d.DateTime                  `json:"onsetDateTime,omitempty"`
	OnsetAge           *d.Age                       `json:"onsetAge,omitempty"`
	OnsetPeriod        *d.Period                    `json:"onsetPeriod,omitempty"`
	OnsetRange         *d.Range                     `json:"onsetRange,omitempty"`
	OnsetString        *d.String                    `json:"onsetString,omitempty"`
	AssertedDate       *d.DateTime                  `json:"assertedDate,omitempty"`
	Recorder           *d.Reference                 `json:"recorder,omitempty"`
	Asserter           *d.Reference                 `json:"asserter,omitempty"`
	LastOccurrence     *d.DateTime                  `json:"lastOccurrence,omitempty"`
	Note               []d.Annotation               `json:"note,omitempty"`
	Reaction           []AllergyIntoleranceReaction `json:"reaction,omitempty"`
}

AllergyIntolerance resource

func (*AllergyIntolerance) Validate

func (a *AllergyIntolerance) Validate() (bool, []error)

Validate returns a check against schema

type AllergyIntoleranceReaction

type AllergyIntoleranceReaction struct {
	Substance     *d.CodeableConcept  `json:"substance,omitempty"`
	Manifestation []d.CodeableConcept `json:"manifestation,omitempty"`
	Description   *d.String           `json:"description,omitempty"`
	Onset         *d.DateTime         `json:"onset,omitempty"`
	Severity      *d.Code             `json:"severity,omitempty"`
	ExposureRoute *d.CodeableConcept  `json:"exposureRoute,omitempty"`
	Note          []d.Annotation      `json:"note,omitempty"`
}

AllergyIntoleranceReaction subResource

type Base

type Base struct {
	ResourceType  string  `json:"resourceType"`
	ID            *d.ID   `json:"id,omitempty"`
	Meta          *d.Meta `json:"meta,omitempty"`
	ImplicitRules *d.URI  `json:"implicitRules,omitempty"`
	Language      *d.Code `json:"language,omitempty"`
}

Base Resource

type Binary

type Binary struct {
	Base
	ContentType     *d.Code         `json:"contentType,omitempty"`
	SecurityContext *d.Reference    `json:"securityContext,omitempty"`
	Content         *d.Base64Binary `json:"content,omitempty"`
}

Binary resource

func (*Binary) Validate

func (a *Binary) Validate() (bool, []error)

Validate returns a check against schema

type Bundle

type Bundle struct {
	Base
	Identifier *d.Identifier  `json:"identifier,omitempty"`
	Type       *d.Code        `json:"type,omitempty"`
	Total      *d.UnsignedInt `json:"total,omitempty"`
	Link       []BundleLink   `json:"link,omitempty"`
	Entry      []BundleEntry  `json:"entry,omitempty"`
	Signature  *d.Signature   `json:"signature,omitempty"`
}

Bundle resource

func (*Bundle) Transform

func (b *Bundle) Transform(resultSet ...string) (Bundle, error)

Transform Bundle

func (*Bundle) Validate

func (b *Bundle) Validate() (bool, []error)

Validate returns a check against schema

type BundleEntry

type BundleEntry struct {
	Link     []BundleLink         `json:"link,omitempty"`
	FullURL  *d.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          *d.Code    `json:"method,omitempty"`
	URL             *d.URI     `json:"url,omitempty"`
	IfNoneMatch     *d.String  `json:"ifNoneMatch,omitempty"`
	IfModifiedSince *d.Instant `json:"ifModifiedSince,omitempty"`
	IfMatch         *d.String  `json:"ifMatch,omitempty"`
	IfNoneExist     *d.String  `json:"ifNoneExist,omitempty"`
}

BundleEntryRequest subResource

type BundleEntryResponse

type BundleEntryResponse struct {
	Status       *d.String   `json:"status,omitempty"`
	Location     *d.URI      `json:"location,omitempty"`
	Etag         *d.String   `json:"etag,omitempty"`
	LastModified *d.Instant  `json:"lastModified,omitempty"`
	Outcome      interface{} `json:"outcome,omitempty"` // Resource
}

BundleEntryResponse subResource

type BundleEntrySearch

type BundleEntrySearch struct {
	Mode  *d.Code    `json:"mode,omitempty"`
	Score *d.Decimal `json:"score,omitempty"`
}

BundleEntrySearch subResource

type BundleLink struct {
	Relation *d.String `json:"relation,omitempty"`
	URL      *d.URI    `json:"url,omitempty"`
}

BundleLink subResource

type CarePlan

type CarePlan struct {
	Domain
	Identifier     []d.Identifier      `json:"identifier,omitempty"`
	Definition     []d.Reference       `json:"definition,omitempty"`
	BasedOn        []d.Reference       `json:"basedOn,omitempty"`
	Replaces       []d.Reference       `json:"replaces,omitempty"`
	PartOf         []d.Reference       `json:"partOf,omitempty"`
	Status         *d.Code             `json:"status,omitempty"`
	Intent         *d.Code             `json:"intent,omitempty"`
	Category       []d.CodeableConcept `json:"category,omitempty"`
	Title          *d.String           `json:"title,omitempty"`
	Description    *d.String           `json:"description,omitempty"`
	Subject        *d.Reference        `json:"subject,omitempty"`
	Context        *d.Reference        `json:"context,omitempty"`
	Period         *d.Period           `json:"period,omitempty"`
	Author         []d.Reference       `json:"author,omitempty"`
	CareTeam       []d.Reference       `json:"careTeam,omitempty"`
	Addresses      []d.Reference       `json:"addresses,omitempty"`
	SupportingInfo []d.Reference       `json:"supportingInfo,omitempty"`
	Goal           []d.Reference       `json:"goal,omitempty"`
	Activity       []CarePlanActivity  `json:"activity,omitempty"`
	Note           []d.Annotation      `json:"note,omitempty"`
}

CarePlan resource

func (*CarePlan) Validate

func (c *CarePlan) Validate() (bool, []error)

Validate returns a check against schema

type CarePlanActivity

type CarePlanActivity struct {
	OutcomeCodeableConcept []d.CodeableConcept     `json:"outcomeCodeableConcept,omitempty"`
	OutcomeReference       []d.Reference           `json:"outcomeReference,omitempty"`
	Progress               []d.Annotation          `json:"progress,omitempty"`
	Reference              *d.Reference            `json:"reference,omitempty"`
	Detail                 *CarePlanActivityDetail `json:"detail,omitempty"`
}

CarePlanActivity subResource

type CarePlanActivityDetail

type CarePlanActivityDetail struct {
	Category               *d.CodeableConcept  `json:"category,omitempty"`
	Definition             *d.Reference        `json:"definition,omitempty"`
	Code                   *d.CodeableConcept  `json:"code,omitempty"`
	ReasonCode             []d.CodeableConcept `json:"reasonCode,omitempty"`
	ReasonReference        []d.Reference       `json:"reasonReference,omitempty"`
	Goal                   []d.Reference       `json:"goal,omitempty"`
	Status                 *d.Code             `json:"status,omitempty"`
	StatusReason           *d.String           `json:"statusReason,omitempty"`
	Prohibited             *d.Boolean          `json:"prohibited,omitempty"`
	ScheduledTiming        *d.Timing           `json:"scheduledTiming,omitempty"`
	ScheduledPeriod        *d.Period           `json:"scheduledPeriod,omitempty"`
	ScheduledString        *d.String           `json:"scheduledString,omitempty"`
	Location               *d.Reference        `json:"location,omitempty"`
	Performer              []d.Reference       `json:"performer,omitempty"`
	ProductCodeableConcept *d.CodeableConcept  `json:"productCodeableConcept,omitempty"`
	ProductReference       *d.Reference        `json:"productReference,omitempty"`
	DailyAmount            *d.SimpleQuantity   `json:"dailyAmount,omitempty"`
	Quantity               *d.SimpleQuantity   `json:"quantity,omitempty"`
	Description            *d.String           `json:"description,omitempty"`
}

CarePlanActivityDetail subResource

type CareTeam

type CareTeam struct {
	Domain
	Identifier           []d.Identifier        `json:"identifier,omitempty"`
	Status               *d.Code               `json:"status,omitempty"`
	Category             []d.CodeableConcept   `json:"category,omitempty"`
	Name                 *d.String             `json:"name,omitempty"`
	Subject              *d.Reference          `json:"subject,omitempty"`
	Context              *d.Reference          `json:"context,omitempty"`
	Period               *d.Period             `json:"period,omitempty"`
	Participant          []CareTeamParticipant `json:"participant,omitempty"`
	ReasonCode           []d.CodeableConcept   `json:"reasonCode,omitempty"`
	ReasonReference      []d.Reference         `json:"reasonReference,omitempty"`
	ManagingOrganization []d.Reference         `json:"managingOrganization,omitempty"`
	Note                 []d.Annotation        `json:"note,omitempty"`
}

CareTeam resource

func (*CareTeam) Validate

func (p *CareTeam) Validate() (bool, []error)

Validate returns a check against schema

type CareTeamParticipant

type CareTeamParticipant struct {
	Role       *d.CodeableConcept `json:"role,omitempty"`
	Member     *d.Reference       `json:"member,omitempty"`
	OnBehalfOf *d.Reference       `json:"onBehalfOf,omitempty"`
	Period     *d.Period          `json:"period,omitempty"`
}

CareTeamParticipant sub-resource

type Condition

type Condition struct {
	Domain
	Identifier         []d.Identifier      `json:"identifier,omitempty"`
	ClinicalStatus     *d.Code             `json:"clinicalStatus,omitempty"`
	VerificationStatus *d.Code             `json:"verificationStatus,omitempty"`
	Category           []d.CodeableConcept `json:"category,omitempty"`
	Severity           *d.CodeableConcept  `json:"severity,omitempty"`
	Code               *d.CodeableConcept  `json:"code,omitempty"`
	BodySite           *d.CodeableConcept  `json:"bodySite,omitempty"`
	Subject            *d.Reference        `json:"subject,omitempty"`
	Context            *d.Reference        `json:"context,omitempty"`
	OnsetDateTime      *d.DateTime         `json:"onsetDateTime,omitempty"`
	OnsetAge           *d.Age              `json:"onsetAge,omitempty"`
	OnsetPeriod        *d.Period           `json:"onsetPeriod,omitempty"`
	OnsetRange         *d.Range            `json:"onsetRange,omitempty"`
	OnsetString        *d.String           `json:"onsetString,omitempty"`
	AbatementDateTime  *d.DateTime         `json:"abatementDateTime,omitempty"`
	AbatementAge       *d.Age              `json:"abatementAge,omitempty"`
	AbatementBoolean   *d.Boolean          `json:"abatementBoolean,omitempty"`
	AbatementPeriod    *d.Period           `json:"abatementPeriod,omitempty"`
	AbatementRange     *d.Range            `json:"abatementRange,omitempty"`
	AbatementString    *d.String           `json:"abatementString,omitempty"`
	AssertedDate       *d.DateTime         `json:"assertedDate,omitempty"`
	Asserter           *d.Reference        `json:"asserter,omitempty"`
	Stage              *ConditionStage     `json:"stage,omitempty"`
	Evidence           []ConditionEvidence `json:"evidence,omitempty"`
	Note               []d.Annotation      `json:"note,omitempty"`
}

Condition resource

func (*Condition) Validate

func (c *Condition) Validate() (bool, []error)

Validate returns a check against schema

type ConditionEvidence

type ConditionEvidence struct {
	Code   []d.CodeableConcept `json:"code,omitempty"`
	Detail []d.Reference       `json:"detail,omitempty"`
}

ConditionEvidence subResource

type ConditionStage

type ConditionStage struct {
	Summary    *d.CodeableConcept `json:"summary,omitempty"`
	Assessment []d.Reference      `json:"assessment,omitempty"`
}

ConditionStage subResource

type DiagnosticReport

type DiagnosticReport struct {
	Domain
	Identifier        []d.Identifier              `json:"identifier,omitempty"`
	BasedOn           []d.Reference               `json:"basedOn,omitempty"`
	Status            *d.Code                     `json:"status,omitempty"`
	Category          *d.CodeableConcept          `json:"category,omitempty"`
	Code              *d.CodeableConcept          `json:"code,omitempty"`
	Subject           *d.Reference                `json:"subject,omitempty"`
	Context           *d.Reference                `json:"context,omitempty"`
	EffectiveDateTime *d.DateTime                 `json:"effectiveDateTime,omitempty"`
	EffectivePeriod   *d.Period                   `json:"effectivePeriod,omitempty"`
	Issued            *d.Instant                  `json:"issued,omitempty"`
	Performer         []DiagnosticReportPerformer `json:"performer,omitempty"`
	Specimen          []d.Reference               `json:"specimen,omitempty"`
	Result            []d.Reference               `json:"result,omitempty"`
	ImagingStudy      []d.Reference               `json:"imagingStudy,omitempty"`
	Image             []DiagnosticReportImage     `json:"image,omitempty"`
	Conclusion        *d.String                   `json:"conclusion,omitempty"`
	CodedDiagnosis    []d.CodeableConcept         `json:"codedDiagnosis,omitempty"`
	PresentedForm     []d.Attachment              `json:"presentedForm,omitempty"`
}

DiagnosticReport resource

func (*DiagnosticReport) Validate

func (d *DiagnosticReport) Validate() (bool, []error)

Validate returns a check against schema

type DiagnosticReportImage

type DiagnosticReportImage struct {
	Comment *d.String    `json:"comment,omitempty"`
	Link    *d.Reference `json:"link,omitempty"`
}

DiagnosticReportImage subResource

type DiagnosticReportPerformer

type DiagnosticReportPerformer struct {
	Role  *d.CodeableConcept `json:"role,omitempty"`
	Actor *d.Reference       `json:"actor,omitempty"`
}

DiagnosticReportPerformer subResource

type Domain

type Domain struct {
	Base
	Text      *d.Narrative `json:"text,omitempty"`
	Contained []Base       `json:"contained,omitempty"`
}

Domain resource

type Encounter

type Encounter struct {
	Domain
	Identifier       []d.Identifier            `json:"identifier,omitempty"`
	Status           *d.Code                   `json:"status,omitempty"`
	StatusHistory    []EncounterStatusHistory  `json:"statusHistory,omitempty"`
	Class            *d.Coding                 `json:"class,omitempty"`
	ClassHistory     []EncounterClassHistory   `json:"classHistory,omitempty"`
	Type             []d.CodeableConcept       `json:"type,omitempty"`
	Priority         *d.CodeableConcept        `json:"priority,omitempty"`
	Subject          *d.Reference              `json:"subject,omitempty"`
	EpisodeOfCare    []d.Reference             `json:"episodeOfCare,omitempty"`
	IncomingReferral []d.Reference             `json:"incomingReferral,omitempty"`
	Participant      []EncounterParticipant    `json:"participant,omitempty"`
	Appointment      *d.Reference              `json:"appointment,omitempty"`
	Period           *d.Period                 `json:"period,omitempty"`
	Length           *d.Duration               `json:"length,omitempty"`
	Reason           []d.CodeableConcept       `json:"reason,omitempty"`
	Diagnosis        []EncounterDiagnosis      `json:"diagnosis,omitempty"`
	Account          []d.Reference             `json:"account,omitempty"`
	Hospitalization  *EncounterHospitalization `json:"hospitalization,omitempty"`
	Location         []EncounterLocation       `json:"location,omitempty"`
	ServiceProvider  *d.Reference              `json:"serviceProvider,omitempty"`
	PartOf           *d.Reference              `json:"partOf,omitempty"`
}

Encounter resource

func (*Encounter) Validate

func (e *Encounter) Validate() (bool, []error)

Validate returns a check against schema

type EncounterClassHistory

type EncounterClassHistory struct {
	Class  *d.Coding `json:"class,omitempty"`
	Period *d.Period `json:"period,omitempty"`
}

EncounterClassHistory subResource

type EncounterDiagnosis

type EncounterDiagnosis struct {
	Condition *d.Reference       `json:"condition,omitempty"`
	Role      *d.CodeableConcept `json:"role,omitempty"`
	Rank      *d.PositiveInt     `json:"rank,omitempty"`
}

EncounterDiagnosis subResource

type EncounterHospitalization

type EncounterHospitalization struct {
	PreAdmissionIdentifier *d.Identifier       `json:"preAdmissionIdentifier,omitempty"`
	Origin                 *d.Reference        `json:"origin,omitempty"`
	AdmitSource            *d.CodeableConcept  `json:"admitSource,omitempty"`
	ReAdmission            *d.CodeableConcept  `json:"reAdmission,omitempty"`
	DietPreference         []d.CodeableConcept `json:"dietPreference,omitempty"`
	SpecialCourtesy        []d.CodeableConcept `json:"specialCourtesy,omitempty"`
	SpecialArrangement     []d.CodeableConcept `json:"specialArrangement,omitempty"`
	Destination            *d.Reference        `json:"destination,omitempty"`
	DischargeDisposition   *d.CodeableConcept  `json:"dischargeDisposition,omitempty"`
}

EncounterHospitalization subResource

type EncounterLocation

type EncounterLocation struct {
	Location *d.Reference `json:"location,omitempty"`
	Status   *d.Code      `json:"status,omitempty"`
	Period   *d.Period    `json:"period,omitempty"`
}

EncounterLocation subResource

type EncounterParticipant

type EncounterParticipant struct {
	Type       []d.CodeableConcept `json:"type,omitempty"`
	Period     *d.Period           `json:"period,omitempty"`
	Individual *d.Reference        `json:"individual,omitempty"`
}

EncounterParticipant subResource

type EncounterStatusHistory

type EncounterStatusHistory struct {
	Status *d.Code   `json:"status,omitempty"`
	Period *d.Period `json:"period,omitempty"`
}

EncounterStatusHistory subResource

type FamilyMemberHistory

type FamilyMemberHistory struct {
	Domain
	Identifier      []d.Identifier                 `json:"identifier,omitempty"`
	Definition      []d.Reference                  `json:"definition,omitempty"`
	Status          *d.Code                        `json:"status,omitempty"`
	NotDone         *d.Boolean                     `json:"notDone,omitempty"`
	NotDoneReason   *d.CodeableConcept             `json:"notDoneReason,omitempty"`
	Patient         *d.Reference                   `json:"patient,omitempty"`
	Date            *d.DateTime                    `json:"date,omitempty"`
	Name            *d.String                      `json:"name,omitempty"`
	Relationship    *d.CodeableConcept             `json:"relationship,omitempty"`
	Gender          *d.Code                        `json:"gender,omitempty"`
	BornPeriod      *d.Period                      `json:"bornPeriod,omitempty"`
	BornDate        *d.Date                        `json:"bornDate,omitempty"`
	BornString      *d.String                      `json:"bornString,omitempty"`
	AgeAge          *d.Age                         `json:"ageAge,omitempty"`
	AgeRange        *d.Range                       `json:"ageRange,omitempty"`
	AgeString       *d.String                      `json:"ageString,omitempty"`
	EstimatedAge    *d.Boolean                     `json:"estimatedAge,omitempty"`
	DeceasedBoolean *d.Boolean                     `json:"deceasedBoolean,omitempty"`
	DeceasedAge     *d.Age                         `json:"deceasedAge,omitempty"`
	DeceasedRange   *d.Range                       `json:"deceasedRange,omitempty"`
	DeceasedDate    *d.Date                        `json:"deceasedDate,omitempty"`
	DeceasedString  *d.String                      `json:"deceasedString,omitempty"`
	ReasonCode      []d.CodeableConcept            `json:"reasonCode,omitempty"`
	ReasonReference []d.Reference                  `json:"reasonReference,omitempty"`
	Note            []d.Annotation                 `json:"note,omitempty"`
	Condition       []FamilyMemberHistoryCondition `json:"condition,omitempty"`
}

FamilyMemberHistory resource

func (*FamilyMemberHistory) Validate

func (f *FamilyMemberHistory) Validate() (bool, []error)

Validate returns a check against schema

type FamilyMemberHistoryCondition

type FamilyMemberHistoryCondition struct {
	Code        *d.CodeableConcept `json:"code,omitempty"`
	Outcome     *d.CodeableConcept `json:"outcome,omitempty"`
	OnsetAge    *d.Age             `json:"onsetAge,omitempty"`
	OnsetRange  *d.Range           `json:"onsetRange,omitempty"`
	OnsetPeriod *d.Period          `json:"onsetPeriod,omitempty"`
	OnsetString *d.String          `json:"onsetString,omitempty"`
	Note        []d.Annotation     `json:"note,omitempty"`
}

FamilyMemberHistoryCondition subResource

type Goal

type Goal struct {
	Domain
	Identifier           []d.Identifier      `json:"identifier,omitempty"`
	Status               *d.Code             `json:"status,omitempty"`
	Category             []d.CodeableConcept `json:"category,omitempty"`
	Priority             *d.CodeableConcept  `json:"priority,omitempty"`
	Description          *d.CodeableConcept  `json:"description,omitempty"`
	Subject              *d.Reference        `json:"subject,omitempty"`
	StartDate            *d.Date             `json:"startDate,omitempty"`
	StartCodeableConcept *d.CodeableConcept  `json:"startCodeableConcept,omitempty"`
	Target               *GoalTarget         `json:"target,omitempty"`
	StatusDate           *d.Date             `json:"statusDate,omitempty"`
	StatusReason         *d.String           `json:"statusReason,omitempty"`
	ExpressedBy          *d.Reference        `json:"expressedBy,omitempty"`
	Addresses            []d.Reference       `json:"addresses,omitempty"`
	Note                 []d.Annotation      `json:"note,omitempty"`
	OutcomeCode          []d.CodeableConcept `json:"outcomeCode,omitempty"`
	OutcomeReference     []d.Reference       `json:"outcomeReference,omitempty"`
}

Goal resource

func (*Goal) Validate

func (g *Goal) Validate() (bool, []error)

Validate returns a check against schema

type GoalTarget

type GoalTarget struct {
	Measure               *d.CodeableConcept `json:"measure,omitempty"`
	DetailQuantity        *d.Quantity        `json:"detailQuantity,omitempty"`
	DetailRange           *d.Range           `json:"detailRange,omitempty"`
	DetailCodeableConcept *d.CodeableConcept `json:"detailCodeableConcept,omitempty"`
	DueDate               *d.Date            `json:"dueDate,omitempty"`
	DueDuration           *d.Duration        `json:"dueDuration,omitempty"`
}

GoalTarget subResource

type Group

type Group struct {
	Domain
	Identifier     []d.Identifier        `json:"identifier,omitempty"`
	Active         *d.Boolean            `json:"active,omitempty"`
	Type           *d.Code               `json:"type,omitempty"`
	Actual         *d.Boolean            `json:"actual,omitempty"`
	Code           *d.CodeableConcept    `json:"code,omitempty"`
	Name           *d.String             `json:"name,omitempty"`
	Quantity       *d.UnsignedInt        `json:"quantity,omitempty"`
	Characteristic []GroupCharacteristic `json:"characteristic,omitempty"`
	Member         []GroupMember         `json:"member,omitempty"`
}

Group resource

func (*Group) Validate

func (g *Group) Validate() (bool, []error)

Validate returns a check against schema

type GroupCharacteristic

type GroupCharacteristic struct {
	Code                 *d.CodeableConcept `json:"code,omitempty"`
	ValueCodeableConcept *d.CodeableConcept `json:"valueCodeableConcept,omitempty"`
	ValueBoolean         *d.Boolean         `json:"valueBoolean,omitempty"`
	ValueQuantity        *d.Quantity        `json:"valueQuantity,omitempty"`
	ValueRange           *d.Range           `json:"valueRange,omitempty"`
	Exclude              *d.Boolean         `json:"exclude,omitempty"`
	Period               *d.Period          `json:"period,omitempty"`
}

GroupCharacteristic sub-resource

type GroupMember

type GroupMember struct {
	Entity   *d.Reference `json:"entity,omitempty"`
	Period   *d.Period    `json:"period,omitempty"`
	Inactive *d.Boolean   `json:"inactive,omitempty"`
}

GroupMember sub-resource

type GuidanceResponse

type GuidanceResponse struct {
	Domain
	RequestID             *d.ID               `json:"requestId,omitempty"`
	Identifier            *d.Identifier       `json:"identifier,omitempty"`
	Module                *d.Reference        `json:"module,omitempty"`
	Status                *d.Code             `json:"status,omitempty"`
	Subject               *d.Reference        `json:"subject,omitempty"`
	Context               *d.Reference        `json:"context,omitempty"`
	OccurrenceDateTime    *d.DateTime         `json:"occurrenceDateTime,omitempty"`
	Performer             *d.Reference        `json:"performer,omitempty"`
	ReasonCodeableConcept *d.CodeableConcept  `json:"reasonCodeableConcept,omitempty"`
	ReasonReference       *d.Reference        `json:"reasonReference,omitempty"`
	Note                  []d.Annotation      `json:"note,omitempty"`
	EvaluationMessage     []d.Reference       `json:"evaluationMessage,omitempty"`
	OutputParameters      *d.Reference        `json:"outputParameters,omitempty"`
	Result                *d.Reference        `json:"result,omitempty"`
	DataRequirement       []d.DataRequirement `json:"dataRequirement,omitempty"`
}

GuidanceResponse resource

func (*GuidanceResponse) Validate

func (r *GuidanceResponse) Validate() (bool, []error)

Validate returns a check against schema

type Location

type Location struct {
	Domain
	Identifier           []d.Identifier     `json:"identifier,omitempty"`
	Status               *d.Code            `json:"status,omitempty"`
	OperationalStatus    *d.Coding          `json:"operationalStatus,omitempty"`
	Name                 *d.String          `json:"name,omitempty"`
	Alias                []d.String         `json:"alias,omitempty"`
	Description          *d.String          `json:"description,omitempty"`
	Mode                 *d.Code            `json:"mode,omitempty"`
	Type                 *d.CodeableConcept `json:"type,omitempty"`
	Telecom              []d.ContactPoint   `json:"telecom,omitempty"`
	Address              *d.Address         `json:"address,omitempty"`
	PhysicalType         *d.CodeableConcept `json:"physicalType,omitempty"`
	Position             *LocationPosition  `json:"position,omitempty"`
	ManagingOrganization *d.Reference       `json:"managingOrganization,omitempty"`
	PartOf               *d.Reference       `json:"partOf,omitempty"`
	Endpoint             []d.Reference      `json:"endpoint,omitempty"`
}

Location resource

func (*Location) Validate

func (l *Location) Validate() (bool, []error)

Validate returns a check against schema

type LocationPosition

type LocationPosition struct {
	Longitude *d.Decimal `json:"longitude,omitempty"`
	Latitude  *d.Decimal `json:"latitude,omitempty"`
	Altitude  *d.Decimal `json:"altitude,omitempty"`
}

LocationPosition sub-resource

type Observation

type Observation struct {
	Domain
	Identifier           []d.Identifier              `json:"identifier,omitempty"`
	BasedOn              []d.Reference               `json:"basedOn,omitempty"`
	Status               *d.Code                     `json:"status,omitempty"`
	Category             []d.CodeableConcept         `json:"category,omitempty"`
	Code                 *d.CodeableConcept          `json:"code,omitempty"`
	Subject              *d.Reference                `json:"subject,omitempty"`
	Context              *d.Reference                `json:"context,omitempty"`
	EffectiveDateTime    *d.DateTime                 `json:"effectiveDateTime"`
	EffectivePeriod      *d.Period                   `json:"effectivePeriod,omitempty"`
	Issued               *d.Instant                  `json:"issued,omitempty"`
	Performer            []d.Reference               `json:"performer,omitempty"`
	ValueQuantity        *d.Quantity                 `json:"valueQuantity,omitempty"`
	ValueCodeableConcept *d.CodeableConcept          `json:"valueCodeableConcept,omitempty"`
	ValueString          *d.String                   `json:"valueString,omitempty"`
	ValueBoolean         *d.Boolean                  `json:"valueBoolean,omitempty"`
	ValueRange           *d.Range                    `json:"valueRange,omitempty"`
	ValueRatio           *d.Ratio                    `json:"valueRatio,omitempty"`
	ValueSampledData     *d.SampledData              `json:"valueSampledData,omitempty"`
	ValueAttachment      *d.Attachment               `json:"valueAttachment,omitempty"`
	ValueTime            *d.Time                     `json:"valueTime,omitempty"`
	ValueDateTime        *d.DateTime                 `json:"valueDateTime,omitempty"`
	ValuePeriod          *d.Period                   `json:"valuePeriod,omitempty"`
	DataAbsentReason     *d.CodeableConcept          `json:"dataAbsentReason,omitempty"`
	Interpretation       *d.CodeableConcept          `json:"interpretation,omitempty"`
	Comment              *d.String                   `json:"comment,omitempty"`
	BodySite             *d.CodeableConcept          `json:"bodySite,omitempty"`
	Method               *d.CodeableConcept          `json:"method,omitempty"`
	Specimen             *d.Reference                `json:"specimen,omitempty"`
	Device               *d.Reference                `json:"device,omitempty"`
	ReferenceRange       []ObservationReferenceRange `json:"referenceRange,omitempty"`
	Related              []ObservationRelated        `json:"related,omitempty"`
	Component            []ObservationComponent      `json:"component,omitempty"`
}

Observation resource

func (*Observation) Validate

func (o *Observation) Validate() (bool, []error)

Validate returns a check against schema

type ObservationComponent

type ObservationComponent struct {
	Code                 *d.CodeableConcept          `json:"code,omitempty"`
	ValueQuantity        *d.Quantity                 `json:"valueQuantity,omitempty"`
	ValueCodeableConcept *d.CodeableConcept          `json:"valueCodeableConcept,omitempty"`
	ValueString          *d.String                   `json:"valueString,omitempty"`
	ValueRange           *d.Range                    `json:"valueRange,omitempty"`
	ValueRatio           *d.Ratio                    `json:"valueRatio,omitempty"`
	ValueSampledData     *d.SampledData              `json:"valueSampledData,omitempty"`
	ValueAttachment      *d.Attachment               `json:"valueAttachment,omitempty"`
	ValueTime            *d.Time                     `json:"valueTime,omitempty"`
	ValueDateTime        *d.DateTime                 `json:"valueDateTime,omitempty"`
	ValuePeriod          *d.Period                   `json:"valuePeriod,omitempty"`
	DataAbsentReason     *d.CodeableConcept          `json:"dataAbsentReason,omitempty"`
	Interpretation       *d.CodeableConcept          `json:"interpretation,omitempty"`
	ReferenceRange       []ObservationReferenceRange `json:"referenceRange,omitempty"`
}

ObservationComponent subResource

type ObservationReferenceRange

type ObservationReferenceRange struct {
	Low       *d.SimpleQuantity   `json:"low,omitempty"`
	High      *d.SimpleQuantity   `json:"high,omitempty"`
	Type      *d.CodeableConcept  `json:"type,omitempty"`
	AppliesTo []d.CodeableConcept `json:"appliesTo,omitempty"`
	Age       *d.Range            `json:"age,omitempty"`
	Text      *d.String           `json:"text,omitempty"`
}

ObservationReferenceRange subResource

type ObservationRelated

type ObservationRelated struct {
	Type   *d.Code      `json:"type,omitempty"`
	Target *d.Reference `json:"target,omitempty"`
}

ObservationRelated subResource

type OperationOutcome

type OperationOutcome struct {
	Domain
	Issue []OperationOutcomeIssue `json:"issue,omitempty"`
}

OperationOutcome resource

func (*OperationOutcome) Validate

func (a *OperationOutcome) Validate() (bool, []error)

Validate returns a check against schema

type OperationOutcomeIssue

type OperationOutcomeIssue struct {
	Severity    *d.Code            `json:"severity,omitempty"`
	Code        *d.Code            `json:"code,omitempty"`
	Details     *d.CodeableConcept `json:"details,omitempty"`
	Diagnostics *d.String          `json:"diagnostics,omitempty"`
	Location    []d.String         `json:"location,omitempty"`
	Expression  []d.String         `json:"expression,omitempty"`
}

OperationOutcomeIssue sub-resource

type Parameters

type Parameters struct {
	Base
	Parameter []ParametersParameter `json:"parameter,omitempty"`
}

Parameters resource

func (*Parameters) Validate

func (r *Parameters) Validate() (bool, []error)

Validate returns a check against schema

type ParametersParameter

type ParametersParameter struct {
	Name                 *d.String          `json:"name,omitempty"`
	ValueInteger         *d.Integer         `json:"valueInteger,omitempty"`
	ValueDecimal         *d.Decimal         `json:"valueDecimal,omitempty"`
	ValueDateTime        *d.DateTime        `json:"valueDateTime,omitempty"`
	ValueDate            *d.Date            `json:"valueDate,omitempty"`
	ValueInstant         *d.Instant         `json:"valueInstant,omitempty"`
	ValueString          *d.String          `json:"valueString,omitempty"`
	ValueURI             *d.URI             `json:"valueUri,omitempty"`
	ValueBoolean         *d.Boolean         `json:"valueBoolean,omitempty"`
	ValueCode            *d.Code            `json:"valueCode,omitempty"`
	ValueBase64Binary    *d.Base64Binary    `json:"valueBase64Binary,omitempty"`
	ValueCoding          *d.Coding          `json:"valueCoding,omitempty"`
	ValueCodeableConcept *d.CodeableConcept `json:"valueCodeableConcept,omitempty"`
	ValueAttachment      *d.Attachment      `json:"valueAttachment,omitempty"`
	ValueIdentifier      *d.Identifier      `json:"valueIdentifier,omitempty"`
	ValueQuantity        *d.Quantity        `json:"valueQuantity,omitempty"`
	ValueRange           *d.Range           `json:"valueRange,omitempty"`
	ValuePeriod          *d.Period          `json:"valuePeriod,omitempty"`
	ValueRatio           *d.Ratio           `json:"valueRatio,omitempty"`
	ValueHumanName       *d.HumanName       `json:"valueHumanName,omitempty"`
	ValueAddress         *d.Address         `json:"valueAddress,omitempty"`
	ValueContactPoint    *d.ContactPoint    `json:"valueContactPoint,omitempty"`
	ValueSchedule        interface{}        `json:"valueSchedule,omitempty"`
	ValueReference       *d.Reference       `json:"valueReference,omitempty"`
	Resource             interface{}        `json:"resource,omitempty"`
	Part                 interface{}        `json:"part,omitempty"`
}

ParametersParameter subResource

type Patient

type Patient struct {
	Domain
	Identifier           []d.Identifier         `json:"identifier,omitempty"`
	Active               *d.Boolean             `json:"active,omitempty"`
	Name                 []d.HumanName          `json:"name,omitempty"`
	Telecom              []d.ContactPoint       `json:"telecom,omitempty"`
	Gender               *d.Code                `json:"gender,omitempty"`
	BirthDate            *d.Date                `json:"birthDate,omitempty"`
	DeceasedBoolean      *d.Boolean             `json:"deceasedBoolean,omitempty"`
	DeceasedDateTime     *d.DateTime            `json:"deceasedDateTime,omitempty"`
	Address              []d.Address            `json:"address,omitempty"`
	MaritalStatus        *d.CodeableConcept     `json:"maritalStatus,omitempty"`
	MultipleBirthBoolean *d.Boolean             `json:"multipleBirthBoolean,omitempty"`
	MultipleBirthInteger *d.Integer             `json:"multipleBirthInteger,omitempty"`
	Photo                []d.Attachment         `json:"photo,omitempty"`
	Contact              []PatientContact       `json:"contact,omitempty"`
	Animal               *PatientAnimal         `json:"animal,omitempty"`
	Communication        []PatientCommunication `json:"communication,omitempty"`
	GeneralPractitioner  []d.Reference          `json:"generalPractitioner,omitempty"`
	ManagingOrganization *d.Reference           `json:"managingOrganization,omitempty"`
	Link                 []PatientLink          `json:"link,omitempty"`
}

Patient resource

func (*Patient) Validate

func (p *Patient) Validate() (bool, []error)

Validate returns a check against schema

type PatientAnimal

type PatientAnimal struct {
	Species      *d.CodeableConcept `json:"species,omitempty"`
	Breed        *d.CodeableConcept `json:"breed,omitempty"`
	GenderStatus *d.CodeableConcept `json:"genderStatus,omitempty"`
}

PatientAnimal subResource

type PatientCommunication

type PatientCommunication struct {
	Language  *d.CodeableConcept `json:"language,omitempty"`
	Preferred *d.Boolean         `json:"preferred,omitempty"`
}

PatientCommunication subResource

type PatientContact

type PatientContact struct {
	Relationship []d.CodeableConcept `json:"relationship,omitempty"`
	Name         *d.HumanName        `json:"name,omitempty"`
	Telecom      []d.ContactPoint    `json:"telecom,omitempty"`
	Address      *d.Address          `json:"address,omitempty"`
	Gender       *d.Code             `json:"gender,omitempty"`
	Organization *d.Reference        `json:"organization,omitempty"`
	Period       *d.Period           `json:"period,omitempty"`
}

PatientContact subResource

type PatientLink struct {
	Other *d.Reference `json:"other,omitempty"`
	Type  *d.Code      `json:"type,omitempty"`
}

PatientLink subResource

type PlanDefinition

type PlanDefinition struct {
	Domain
	URL             *d.URI                 `json:"url,omitempty"`
	Identifier      []d.Identifier         `json:"identifier,omitempty"`
	Version         *d.String              `json:"version,omitempty"`
	Name            *d.String              `json:"name,omitempty"`
	Title           *d.String              `json:"title,omitempty"`
	Type            *d.CodeableConcept     `json:"type,omitempty"`
	Status          *d.Code                `json:"status,omitempty"`
	Experimental    *d.Boolean             `json:"experimental,omitempty"`
	Date            *d.DateTime            `json:"date,omitempty"`
	Publisher       *d.String              `json:"publisher,omitempty"`
	Description     *d.Markdown            `json:"description,omitempty"`
	Purpose         *d.Markdown            `json:"purpose,omitempty"`
	Usage           *d.String              `json:"usage,omitempty"`
	ApprovalDate    *d.Date                `json:"approvalDate,omitempty"`
	LastReviewDate  *d.Date                `json:"lastReviewDate,omitempty"`
	EffectivePeriod *d.Period              `json:"effectivePeriod,omitempty"`
	UseContext      []d.UsageContext       `json:"useContext,omitempty"`
	Jurisdiction    []d.CodeableConcept    `json:"jurisdiction,omitempty"`
	Topic           []d.CodeableConcept    `json:"topic,omitempty"`
	Contributor     []d.Contributor        `json:"contributor,omitempty"`
	Contact         []d.ContactDetail      `json:"contact,omitempty"`
	Copyright       *d.Markdown            `json:"copyright,omitempty"`
	RelatedArtifact []d.RelatedArtifact    `json:"relatedArtifact,omitempty"`
	Library         []d.Reference          `json:"library,omitempty"`
	Goal            []PlanDefinitionGoal   `json:"goal,omitempty"`
	Action          []PlanDefinitionAction `json:"action,omitempty"`
}

PlanDefinition resource

func (*PlanDefinition) Validate

func (p *PlanDefinition) Validate() (bool, []error)

Validate returns a check against schema

type PlanDefinitionAction

type PlanDefinitionAction struct {
	Label               *d.String                           `json:"label,omitempty"`
	Title               *d.String                           `json:"title,omitempty"`
	Description         *d.String                           `json:"description,omitempty"`
	TextEquivalent      *d.String                           `json:"textEquivalent,omitempty"`
	Code                []d.CodeableConcept                 `json:"code,omitempty"`
	Reason              []d.CodeableConcept                 `json:"reason,omitempty"`
	Documentation       []d.RelatedArtifact                 `json:"documentation,omitempty"`
	GoalID              []d.ID                              `json:"goalId,omitempty"`
	TriggerDefinition   []d.TriggerDefinition               `json:"triggerDefinition,omitempty"`
	Condition           []PlanDefinitionActionCondition     `json:"condition,omitempty"`
	Input               []d.DataRequirement                 `json:"input,omitempty"`
	Output              []d.DataRequirement                 `json:"output,omitempty"`
	RelatedAction       []PlanDefinitionActionRelatedAction `json:"relatedAction,omitempty"`
	TimingDateTime      *d.DateTime                         `json:"timingDateTime,omitempty"`
	TimingPeriod        *d.Period                           `json:"timingPeriod,omitempty"`
	TimingDuration      *d.Duration                         `json:"timingDuration,omitempty"`
	TimingRange         *d.Range                            `json:"timingRange,omitempty"`
	TimingTiming        *d.Timing                           `json:"timingTiming,omitempty"`
	Participant         []ActivityDefinitionParticipant     `json:"participant,omitempty"`
	Type                *d.Coding                           `json:"type,omitempty"`
	GroupingBehavior    *d.Code                             `json:"groupingBehavior,omitempty"`
	SelectionBehavior   *d.Code                             `json:"selectionBehavior,omitempty"`
	RequiredBehavior    *d.Code                             `json:"requiredBehavior,omitempty"`
	PrecheckBehavior    *d.Code                             `json:"precheckBehavior,omitempty"`
	CardinalityBehavior *d.Code                             `json:"cardinalityBehavior,omitempty"`
	Definition          *d.Reference                        `json:"definition,omitempty"`
	Transform           *d.Reference                        `json:"transform,omitempty"`
	DynamicValue        []ActivityDefinitionDynamicValue    `json:"dynamicValue,omitempty"`
	Action              interface{}                         `json:"action,omitempty"`
}

PlanDefinitionAction sub-resource

type PlanDefinitionActionCondition

type PlanDefinitionActionCondition struct {
	Kind        *d.Code   `json:"kind,omitempty"`
	Description *d.String `json:"description,omitempty"`
	Language    *d.String `json:"language,omitempty"`
	Expression  *d.String `json:"expression,omitempty"`
}

PlanDefinitionActionCondition sub-resource

type PlanDefinitionActionRelatedAction

type PlanDefinitionActionRelatedAction struct {
	ActionID       *d.ID       `json:"actionId,omitempty"`
	Relationship   *d.Code     `json:"relationship,omitempty"`
	OffsetDuration *d.Duration `json:"offsetDuration,omitempty"`
	OffsetRange    *d.Range    `json:"offsetRange,omitempty"`
}

PlanDefinitionActionRelatedAction sub-resource

type PlanDefinitionGoal

type PlanDefinitionGoal struct {
	Category      *d.CodeableConcept         `json:"category,omitempty"`
	Description   *d.CodeableConcept         `json:"description,omitempty"`
	Priority      *d.CodeableConcept         `json:"priority,omitempty"`
	Start         *d.CodeableConcept         `json:"start,omitempty"`
	Addresses     []d.CodeableConcept        `json:"addresses,omitempty"`
	Documentation []d.RelatedArtifact        `json:"documentation,omitempty"`
	Target        []PlanDefinitionGoalTarget `json:"target,omitempty"`
}

PlanDefinitionGoal sub-resource

type PlanDefinitionGoalTarget

type PlanDefinitionGoalTarget struct {
	Measure               *d.CodeableConcept `json:"measure,omitempty"`
	DetailQuantity        *d.Quantity        `json:"detailQuantity,omitempty"`
	DetailRange           *d.Range           `json:"detailRange,omitempty"`
	DetailCodeableConcept *d.CodeableConcept `json:"detailCodeableConcept,omitempty"`
	Due                   *d.Duration        `json:"due,omitempty"`
}

PlanDefinitionGoalTarget sub-resource

type Practitioner

type Practitioner struct {
	Domain
	Identifier    []d.Identifier              `json:"identifier,omitempty"`
	Active        *d.Boolean                  `json:"active,omitempty"`
	Name          []d.HumanName               `json:"name,omitempty"`
	Telecom       []d.ContactPoint            `json:"telecom,omitempty"`
	Address       []d.Address                 `json:"address,omitempty"`
	Gender        *d.Code                     `json:"gender,omitempty"`
	BirthDate     *d.Date                     `json:"birthDate,omitempty"`
	Photo         []d.Attachment              `json:"photo,omitempty"`
	Qualification []PractitionerQualification `json:"qualification,omitempty"`
	Communication []d.CodeableConcept         `json:"communication,omitempty"`
}

Practitioner resource

func (*Practitioner) Validate

func (p *Practitioner) Validate() (bool, []error)

Validate returns a check against schema

type PractitionerQualification

type PractitionerQualification struct {
	Identifier []d.Identifier     `json:"identifier,omitempty"`
	Code       *d.CodeableConcept `json:"code,omitempty"`
	Period     *d.Period          `json:"period,omitempty"`
	Issuer     *d.Reference       `json:"issuer,omitempty"`
}

PractitionerQualification sub-resource

type PractitionerRole

type PractitionerRole struct {
	Domain
	Identifier             []d.Identifier                  `json:"identifier,omitempty"`
	Active                 *d.Boolean                      `json:"active,omitempty"`
	Period                 *d.Period                       `json:"period,omitempty"`
	Practitioner           *d.Reference                    `json:"practitioner,omitempty"`
	Organization           *d.Reference                    `json:"organization,omitempty"`
	Code                   []d.CodeableConcept             `json:"code,omitempty"`
	Specialty              []d.CodeableConcept             `json:"specialty,omitempty"`
	Location               []d.Reference                   `json:"location,omitempty"`
	HealthcareService      []d.Reference                   `json:"healthcareService,omitempty"`
	Telecom                []d.ContactPoint                `json:"telecom,omitempty"`
	AvailableTime          []PractitionerRoleAvailableTime `json:"availableTime,omitempty"`
	NotAvailable           []PractitionerRoleNotAvailable  `json:"notAvailable,omitempty"`
	AvailabilityExceptions *d.String                       `json:"availabilityExceptions,omitempty"`
	Endpoint               []d.Reference                   `json:"endpoint,omitempty"`
}

PractitionerRole resource

func (*PractitionerRole) Validate

func (p *PractitionerRole) Validate() (bool, []error)

Validate returns a check against schema

type PractitionerRoleAvailableTime

type PractitionerRoleAvailableTime struct {
	DaysOfWeek         []d.Code   `json:"daysOfWeek,omitempty"`
	AllDay             *d.Boolean `json:"allDay,omitempty"`
	AvailableStartTime *d.Time    `json:"availableStartTime,omitempty"`
	AvailableEndTime   *d.Time    `json:"availableEndTime,omitempty"`
}

PractitionerRoleAvailableTime sub-resource

type PractitionerRoleNotAvailable

type PractitionerRoleNotAvailable struct {
	Description *d.String `json:"description,omitempty"`
	During      *d.Period `json:"during,omitempty"`
}

PractitionerRoleNotAvailable sub-resource

type ReferralRequest

type ReferralRequest struct {
	Domain
	Identifier         []d.Identifier            `json:"identifier,omitempty"`
	Definition         []d.Reference             `json:"definition,omitempty"`
	BasedOn            []d.Reference             `json:"basedOn,omitempty"`
	Replaces           []d.Reference             `json:"replaces,omitempty"`
	GroupIdentifier    *d.Identifier             `json:"groupIdentifier,omitempty"`
	Status             *d.Code                   `json:"status,omitempty"`
	Intent             *d.Code                   `json:"intent,omitempty"`
	Type               *d.CodeableConcept        `json:"type,omitempty"`
	Priority           *d.Code                   `json:"priority,omitempty"`
	ServiceRequested   []d.CodeableConcept       `json:"serviceRequested,omitempty"`
	Subject            *d.Reference              `json:"subject,omitempty"`
	Context            *d.Reference              `json:"context,omitempty"`
	OccurrenceDateTime *d.DateTime               `json:"occurrenceDateTime,omitempty"`
	OccurrencePeriod   *d.Period                 `json:"occurrencePeriod,omitempty"`
	AuthoredOn         *d.DateTime               `json:"authoredOn,omitempty"`
	Requester          *ReferralRequestRequester `json:"requester,omitempty"`
	Specialty          *d.CodeableConcept        `json:"specialty,omitempty"`
	Recipient          []d.Reference             `json:"recipient,omitempty"`
	ReasonCode         []d.CodeableConcept       `json:"reasonCode,omitempty"`
	ReasonReference    []d.Reference             `json:"reasonReference,omitempty"`
	Description        *d.String                 `json:"description,omitempty"`
	SupportingInfo     []d.Reference             `json:"supportingInfo,omitempty"`
	Note               []d.Annotation            `json:"note,omitempty"`
	RelevantHistory    []d.Reference             `json:"relevantHistory,omitempty"`
}

ReferralRequest resource

func (*ReferralRequest) Validate

func (r *ReferralRequest) Validate() (bool, []error)

Validate returns a check against schema

type ReferralRequestRequester

type ReferralRequestRequester struct {
	Agent      *d.Reference `json:"agent,omitempty"`
	OnBehalfOf *d.Reference `json:"onBehalfOf,omitempty"`
}

ReferralRequestRequester subResource

type RiskAssessment

type RiskAssessment struct {
	Domain
	Identifier            *d.Identifier              `json:"identifier,omitempty"`
	BasedOn               *d.Reference               `json:"basedOn,omitempty"`
	Parent                *d.Reference               `json:"parent,omitempty"`
	Status                *d.Code                    `json:"status,omitempty"`
	Method                *d.CodeableConcept         `json:"method,omitempty"`
	Code                  *d.CodeableConcept         `json:"code,omitempty"`
	Subject               *d.Reference               `json:"subject,omitempty"`
	Context               *d.Reference               `json:"context,omitempty"`
	OccurrenceDateTime    *d.DateTime                `json:"occurrenceDateTime,omitempty"`
	OccurrencePeriod      *d.Period                  `json:"occurrencePeriod,omitempty"`
	Condition             *d.Reference               `json:"condition,omitempty"`
	Performer             *d.Reference               `json:"performer,omitempty"`
	ReasonCodeableConcept *d.CodeableConcept         `json:"reasonCodeableConcept,omitempty"`
	ReasonReference       *d.Reference               `json:"reasonReference,omitempty"`
	Basis                 []d.Reference              `json:"basis,omitempty"`
	Prediction            []RiskAssessmentPrediction `json:"prediction,omitempty"`
	Mitigation            *d.String                  `json:"mitigation,omitempty"`
	Comment               *d.String                  `json:"comment,omitempty"`
}

RiskAssessment resource

func (*RiskAssessment) Validate

func (r *RiskAssessment) Validate() (bool, []error)

Validate returns a check against schema

type RiskAssessmentPrediction

type RiskAssessmentPrediction struct {
	Outcome            *d.CodeableConcept `json:"outcome,omitempty"`
	ProbabilityDecimal *d.Decimal         `json:"probabilityDecimal,omitempty"`
	ProbabilityRange   *d.Range           `json:"probabilityRange,omitempty"`
	QualitativeRisk    *d.CodeableConcept `json:"qualitativeRisk,omitempty"`
	RelativeRisk       *d.Decimal         `json:"relativeRisk,omitempty"`
	WhenPeriod         *d.Period          `json:"whenPeriod,omitempty"`
	WhenRange          *d.Range           `json:"whenRange,omitempty"`
	Rationale          *d.String          `json:"rationale,omitempty"`
}

RiskAssessmentPrediction subResource

type Schedule

type Schedule struct {
	Domain
	Identifier      []d.Identifier      `json:"identifier,omitempty"`
	Active          *d.Boolean          `json:"active,omitempty"`
	ServiceCategory *d.CodeableConcept  `json:"serviceCategory,omitempty"`
	ServiceType     []d.CodeableConcept `json:"serviceType,omitempty"`
	Specialty       []d.CodeableConcept `json:"specialty,omitempty"`
	Actor           []d.Reference       `json:"actor,omitempty"`
	PlanningHorizon *d.Period           `json:"planningHorizon,omitempty"`
	Comment         *d.String           `json:"comment,omitempty"`
}

Schedule resource

func (*Schedule) Validate

func (s *Schedule) Validate() (bool, []error)

Validate returns a check against schema

type ServiceDefinition

type ServiceDefinition struct {
	Domain
	URL                 *d.URI                `json:"url,omitempty"`
	Identifier          []d.Identifier        `json:"identifier,omitempty"`
	Version             *d.String             `json:"version,omitempty"`
	Name                *d.String             `json:"name,omitempty"`
	Title               *d.String             `json:"title,omitempty"`
	Status              *d.Code               `json:"status,omitempty"`
	Experimental        *d.Boolean            `json:"experimental,omitempty"`
	Date                *d.DateTime           `json:"date,omitempty"`
	Publisher           *d.String             `json:"publisher,omitempty"`
	Description         *d.Markdown           `json:"description,omitempty"`
	Purpose             *d.Markdown           `json:"purpose,omitempty"`
	Usage               *d.String             `json:"usage,omitempty"`
	ApprovalDate        *d.Date               `json:"approvalDate,omitempty"`
	LastReviewDate      *d.Date               `json:"lastReviewDate,omitempty"`
	EffectivePeriod     *d.Period             `json:"effectivePeriod,omitempty"`
	UseContext          []d.UsageContext      `json:"useContext,omitempty"`
	Jurisdiction        []d.CodeableConcept   `json:"jurisdiction,omitempty"`
	Topic               []d.CodeableConcept   `json:"topic,omitempty"`
	Contributor         []d.Contributor       `json:"contributor,omitempty"`
	Contact             []d.ContactDetail     `json:"contact,omitempty"`
	Copyright           *d.Markdown           `json:"copyright,omitempty"`
	RelatedArtifact     []d.RelatedArtifact   `json:"relatedArtifact,omitempty"`
	Trigger             []d.TriggerDefinition `json:"trigger,omitempty"`
	DataRequirement     []d.DataRequirement   `json:"dataRequirement,omitempty"`
	OperationDefinition *d.Reference          `json:"operationDefinition,omitempty"`
}

ServiceDefinition resource

func (*ServiceDefinition) Validate

func (r *ServiceDefinition) Validate() (bool, []error)

Validate returns a check against schema

type Specimen

type Specimen struct {
	Domain
	Identifier          []d.Identifier       `json:"identifier,omitempty"`
	AccessionIdentifier *d.Identifier        `json:"accessionIdentifier,omitempty"`
	Status              *d.Code              `json:"status,omitempty"`
	Type                *d.CodeableConcept   `json:"type,omitempty"`
	Subject             *d.Reference         `json:"subject,omitempty"`
	ReceivedTime        *d.DateTime          `json:"receivedTime,omitempty"`
	Parent              []d.Reference        `json:"parent,omitempty"`
	Request             []d.Reference        `json:"request,omitempty"`
	Collection          *SpecimenCollection  `json:"collection,omitempty"`
	Processing          []SpecimenProcessing `json:"processing,omitempty"`
	Container           []SpecimenContainer  `json:"container,omitempty"`
	Note                []d.Annotation       `json:"note,omitempty"`
}

Specimen resource

func (*Specimen) Validate

func (s *Specimen) Validate() (bool, []error)

Validate returns a check against schema

type SpecimenCollection

type SpecimenCollection struct {
	Collector         *d.Reference       `json:"collector,omitempty"`
	CollectedDateTime *d.DateTime        `json:"collectedDateTime,omitempty"`
	CollectedPeriod   *d.Period          `json:"collectedPeriod,omitempty"`
	Quantity          *d.SimpleQuantity  `json:"quantity,omitempty"`
	Method            *d.CodeableConcept `json:"method,omitempty"`
	BodySite          *d.CodeableConcept `json:"bodySite,omitempty"`
}

SpecimenCollection subResource

type SpecimenContainer

type SpecimenContainer struct {
	Identifier              []d.Identifier     `json:"identifier,omitempty"`
	Description             *d.String          `json:"description,omitempty"`
	Type                    *d.CodeableConcept `json:"type,omitempty"`
	Capacity                *d.SimpleQuantity  `json:"capacity,omitempty"`
	SpecimenQuantity        *d.SimpleQuantity  `json:"specimenQuantity,omitempty"`
	AdditiveCodeableConcept *d.CodeableConcept `json:"additiveCodeableConcept,omitempty"`
	AdditiveReference       *d.Reference       `json:"additiveReference,omitempty"`
}

SpecimenContainer subResource

type SpecimenProcessing

type SpecimenProcessing struct {
	Description  *d.String          `json:"description,omitempty"`
	Procedure    *d.CodeableConcept `json:"procedure,omitempty"`
	Additive     []d.Reference      `json:"additive,omitempty"`
	TimeDateTime *d.DateTime        `json:"timeDateTime,omitempty"`
	TimePeriod   *d.Period          `json:"timePeriod,omitempty"`
}

SpecimenProcessing subResource

type Task

type Task struct {
	Domain
	Identifier          []d.Identifier      `json:"identifier,omitempty"`
	DefinitionURI       *d.URI              `json:"definitionUri,omitempty"`
	DefinitionReference *d.Reference        `json:"definitionReference,omitempty"`
	BasedOn             []d.Reference       `json:"basedOn,omitempty"`
	GroupIdentifier     *d.Identifier       `json:"groupIdentifier,omitempty"`
	PartOf              []d.Reference       `json:"partOf,omitempty"`
	Status              *d.Code             `json:"status,omitempty"`
	StatusReason        *d.CodeableConcept  `json:"statusReason,omitempty"`
	BusinessStatus      *d.CodeableConcept  `json:"businessStatus,omitempty"`
	Intent              *d.Code             `json:"intent,omitempty"`
	Priority            *d.Code             `json:"priority,omitempty"`
	Code                *d.CodeableConcept  `json:"code,omitempty"`
	Description         *d.String           `json:"description,omitempty"`
	Focus               *d.Reference        `json:"focus,omitempty"`
	For                 *d.Reference        `json:"for,omitempty"`
	Context             *d.Reference        `json:"context,omitempty"`
	ExecutionPeriod     *d.Period           `json:"executionPeriod,omitempty"`
	AuthoredOn          *d.DateTime         `json:"authoredOn,omitempty"`
	LastModified        *d.DateTime         `json:"lastModified,omitempty"`
	Requester           *TaskRequester      `json:"requester,omitempty"`
	PerformerType       []d.CodeableConcept `json:"performerType,omitempty"`
	Owner               *d.Reference        `json:"owner,omitempty"`
	Reason              *d.CodeableConcept  `json:"reason,omitempty"`
	Note                []d.Annotation      `json:"note,omitempty"`
	RelevantHistory     []d.Reference       `json:"relevantHistory,omitempty"`
	Restriction         *TaskRestriction    `json:"restriction,omitempty"`
	Input               []TaskInputOutput   `json:"input,omitempty"`
	Output              []TaskInputOutput   `json:"output,omitempty"`
}

Task Resource

func (*Task) Validate

func (t *Task) Validate() (bool, []error)

Validate returns a check against schema

type TaskInputOutput

type TaskInputOutput struct {
	Type                 *d.CodeableConcept `json:"type,omitempty"`
	ValueInteger         *d.Integer         `json:"valueInteger,omitempty"`
	ValueDecimal         *d.Decimal         `json:"valueDecimal,omitempty"`
	ValueDateTime        *d.DateTime        `json:"valueDateTime,omitempty"`
	ValueDate            *d.Date            `json:"valueDate,omitempty"`
	ValueInstant         *d.Instant         `json:"valueInstant,omitempty"`
	ValueString          *d.String          `json:"valueString,omitempty"`
	ValueURI             *d.URI             `json:"valueUri,omitempty"`
	ValueBoolean         *d.Boolean         `json:"valueBoolean,omitempty"`
	ValueCode            *d.Code            `json:"valueCode,omitempty"`
	ValueBase64Binary    *d.Base64Binary    `json:"valueBase64Binary,omitempty"`
	ValueCoding          *d.Coding          `json:"valueCoding,omitempty"`
	ValueCodeableConcept *d.CodeableConcept `json:"valueCodeableConcept,omitempty"`
	ValueAttachment      *d.Attachment      `json:"valueAttachment,omitempty"`
	ValueIdentifier      *d.Identifier      `json:"valueIdentifier,omitempty"`
	ValueQuantity        *d.Quantity        `json:"valueQuantity,omitempty"`
	ValueRange           *d.Range           `json:"valueRange,omitempty"`
	ValuePeriod          *d.Period          `json:"valuePeriod,omitempty"`
	ValueRatio           *d.Ratio           `json:"valueRatio,omitempty"`
	ValueHumanName       *d.HumanName       `json:"valueHumanName,omitempty"`
	ValueAddress         *d.Address         `json:"valueAddress,omitempty"`
	ValueContactPoint    *d.ContactPoint    `json:"valueContactPoint,omitempty"`
	ValueSchedule        interface{}        `json:"valueSchedule,omitempty"`
	ValueReference       *d.Reference       `json:"valueReference,omitempty"`
}

TaskInputOutput sub-resource

type TaskRequester

type TaskRequester struct {
	Agent      *d.Reference `json:"agent,omitempty"`
	OnBehalfOf *d.Reference `json:"onBehalfOf,omitempty"`
}

TaskRequester sub-resource

type TaskRestriction

type TaskRestriction struct {
	Repetitions *d.PositiveInt `json:"repetitions,omitempty"`
	Period      *d.Period      `json:"period,omitempty"`
	Recipient   []d.Reference  `json:"recipient,omitempty"`
}

TaskRestriction sub-resource

Jump to

Keyboard shortcuts

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