Skip to content

Commit

Permalink
fix: start encounter
Browse files Browse the repository at this point in the history
Signed-off-by: Kathurima Kimathi <kathurimakimathi415@gmail.com>
  • Loading branch information
KathurimaKimathi committed Mar 1, 2024
1 parent 2afe5a8 commit 83eb150
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/clinical/domain/encounter.go
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ type FHIREncounterInput struct {
PartOf *FHIRReferenceInput `json:"partOf,omitempty"`

// Meta stores more information about the resource
Meta FHIRMetaInput `json:"meta,omitempty"`
Meta *FHIRMetaInput `json:"meta,omitempty"`

// Extension is an optional element that provides additional information not captured in the basic resource definition
Extension []*FHIRExtension `json:"extension,omitempty"`
Expand Down
2 changes: 1 addition & 1 deletion pkg/clinical/usecases/clinical/encounter.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ func (c *UseCasesClinicalImpl) StartEncounter(ctx context.Context, episodeID str
return "", err
}

encounterPayload.Meta = domain.FHIRMetaInput{
encounterPayload.Meta = &domain.FHIRMetaInput{
Tag: tags,
}

Expand Down

0 comments on commit 83eb150

Please sign in to comment.