Skip to content
This repository was archived by the owner on Apr 29, 2024. It is now read-only.

Commit 2da057d

Browse files
committed
typos in administrative gender
1 parent 051cb81 commit 2da057d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

fhir-models/fhir/administrativeGender.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@ const (
3636
AdministrativeGenderUnknown
3737
)
3838

39-
func (code *NameUse) MarshalBSONValue() (bsontype.Type, []byte, error) {
39+
func (code *AdministrativeGender) MarshalBSONValue() (bsontype.Type, []byte, error) {
4040
return bson.MarshalValue(code.Code())
4141
}
42-
func (code *NameUse) UnmarshalBSONValue(t bsontype.Type, bytes []byte) error {
42+
func (code *AdministrativeGender) UnmarshalBSONValue(t bsontype.Type, bytes []byte) error {
4343
if t != bsontype.String {
4444
err := fmt.Errorf("UnmarshalBSONValue error: cannot unmarshal non string value")
4545
return err

0 commit comments

Comments
 (0)