Skip to content

Commit 97bf950

Browse files
committed
Update Go to v1.17
1 parent 2ea51cd commit 97bf950

File tree

421 files changed

+427
-422
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

421 files changed

+427
-422
lines changed

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@
187187
same "printed page" as the copyright notice for easier
188188
identification within third-party archives.
189189

190-
Copyright 2019 The Samply Development Community
190+
Copyright 2019 - 2021 The Samply Community
191191

192192
Licensed under the Apache License, Version 2.0 (the "License");
193193
you may not use this file except in compliance with the License.

README.md

+1-1

fhir-models-gen/cmd/genResources.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019 The Samply Development Community
1+
// Copyright 2019 - 2021 The Samply Community
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.
@@ -47,7 +47,7 @@ func UnmarshalResource(b []byte) (Resource, error) {
4747
type ResourceMap = map[string]map[string][]byte
4848

4949
var licenseComment = Split(Trim(`
50-
Copyright 2019 The Samply Development Community
50+
Copyright 2019 - 2021 The Samply Community
5151
5252
Licensed under the Apache License, Version 2.0 (the "License");
5353
you may not use this file except in compliance with the License.

fhir-models-gen/cmd/root.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019 The Samply Development Community
1+
// Copyright 2019 - 2021 The Samply Community
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

fhir-models-gen/fhir/aggregationMode.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019 The Samply Development Community
1+
// Copyright 2019 - 2021 The Samply Community
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

fhir-models-gen/fhir/bindingStrength.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019 The Samply Development Community
1+
// Copyright 2019 - 2021 The Samply Community
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

fhir-models-gen/fhir/bundle.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019 The Samply Development Community
1+
// Copyright 2019 - 2021 The Samply Community
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

fhir-models-gen/fhir/bundleType.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019 The Samply Development Community
1+
// Copyright 2019 - 2021 The Samply Community
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

fhir-models-gen/fhir/codeSystem.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019 The Samply Development Community
1+
// Copyright 2019 - 2021 The Samply Community
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

fhir-models-gen/fhir/codeSystemContentMode.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019 The Samply Development Community
1+
// Copyright 2019 - 2021 The Samply Community
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

fhir-models-gen/fhir/codeSystemHierarchyMeaning.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019 The Samply Development Community
1+
// Copyright 2019 - 2021 The Samply Community
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

fhir-models-gen/fhir/codeableConcept.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019 The Samply Development Community
1+
// Copyright 2019 - 2021 The Samply Community
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

fhir-models-gen/fhir/coding.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019 The Samply Development Community
1+
// Copyright 2019 - 2021 The Samply Community
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

fhir-models-gen/fhir/constraintSeverity.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019 The Samply Development Community
1+
// Copyright 2019 - 2021 The Samply Community
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

fhir-models-gen/fhir/contactDetail.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019 The Samply Development Community
1+
// Copyright 2019 - 2021 The Samply Community
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

fhir-models-gen/fhir/contactPoint.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019 The Samply Development Community
1+
// Copyright 2019 - 2021 The Samply Community
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

fhir-models-gen/fhir/contactPointSystem.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019 The Samply Development Community
1+
// Copyright 2019 - 2021 The Samply Community
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

fhir-models-gen/fhir/contactPointUse.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019 The Samply Development Community
1+
// Copyright 2019 - 2021 The Samply Community
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

fhir-models-gen/fhir/discriminatorType.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019 The Samply Development Community
1+
// Copyright 2019 - 2021 The Samply Community
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

fhir-models-gen/fhir/elementDefinition.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019 The Samply Development Community
1+
// Copyright 2019 - 2021 The Samply Community
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

fhir-models-gen/fhir/extension.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019 The Samply Development Community
1+
// Copyright 2019 - 2021 The Samply Community
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

fhir-models-gen/fhir/extensionContextType.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019 The Samply Development Community
1+
// Copyright 2019 - 2021 The Samply Community
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

fhir-models-gen/fhir/fHIRVersion.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019 The Samply Development Community
1+
// Copyright 2019 - 2021 The Samply Community
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

fhir-models-gen/fhir/filterOperator.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019 The Samply Development Community
1+
// Copyright 2019 - 2021 The Samply Community
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

fhir-models-gen/fhir/hTTPVerb.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019 The Samply Development Community
1+
// Copyright 2019 - 2021 The Samply Community
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

fhir-models-gen/fhir/identifier.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019 The Samply Development Community
1+
// Copyright 2019 - 2021 The Samply Community
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

fhir-models-gen/fhir/identifierUse.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019 The Samply Development Community
1+
// Copyright 2019 - 2021 The Samply Community
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

fhir-models-gen/fhir/meta.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019 The Samply Development Community
1+
// Copyright 2019 - 2021 The Samply Community
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

fhir-models-gen/fhir/narrative.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019 The Samply Development Community
1+
// Copyright 2019 - 2021 The Samply Community
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

fhir-models-gen/fhir/narrativeStatus.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019 The Samply Development Community
1+
// Copyright 2019 - 2021 The Samply Community
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

fhir-models-gen/fhir/period.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019 The Samply Development Community
1+
// Copyright 2019 - 2021 The Samply Community
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

fhir-models-gen/fhir/propertyRepresentation.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019 The Samply Development Community
1+
// Copyright 2019 - 2021 The Samply Community
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

fhir-models-gen/fhir/propertyType.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019 The Samply Development Community
1+
// Copyright 2019 - 2021 The Samply Community
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

fhir-models-gen/fhir/publicationStatus.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019 The Samply Development Community
1+
// Copyright 2019 - 2021 The Samply Community
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

fhir-models-gen/fhir/reference.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019 The Samply Development Community
1+
// Copyright 2019 - 2021 The Samply Community
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

fhir-models-gen/fhir/referenceVersionRules.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019 The Samply Development Community
1+
// Copyright 2019 - 2021 The Samply Community
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

fhir-models-gen/fhir/root.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019 The Samply Development Community
1+
// Copyright 2019 - 2021 The Samply Community
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

fhir-models-gen/fhir/searchEntryMode.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019 The Samply Development Community
1+
// Copyright 2019 - 2021 The Samply Community
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

fhir-models-gen/fhir/signature.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019 The Samply Development Community
1+
// Copyright 2019 - 2021 The Samply Community
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

fhir-models-gen/fhir/slicingRules.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019 The Samply Development Community
1+
// Copyright 2019 - 2021 The Samply Community
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

fhir-models-gen/fhir/structureDefinition.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019 The Samply Development Community
1+
// Copyright 2019 - 2021 The Samply Community
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

fhir-models-gen/fhir/structureDefinitionKind.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019 The Samply Development Community
1+
// Copyright 2019 - 2021 The Samply Community
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

fhir-models-gen/fhir/typeDerivationRule.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019 The Samply Development Community
1+
// Copyright 2019 - 2021 The Samply Community
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

fhir-models-gen/fhir/usageContext.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019 The Samply Development Community
1+
// Copyright 2019 - 2021 The Samply Community
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

fhir-models-gen/fhir/valueSet.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019 The Samply Development Community
1+
// Copyright 2019 - 2021 The Samply Community
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

fhir-models-gen/go.mod

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
11
module github.com/samply/golang-fhir-models/fhir-models-gen
22

3-
go 1.13
3+
go 1.17
44

55
require (
66
github.com/dave/jennifer v1.4.0
77
github.com/spf13/cobra v0.0.5
88
)
9+
10+
require (
11+
github.com/inconshreveable/mousetrap v1.0.0 // indirect
12+
github.com/spf13/pflag v1.0.3 // indirect
13+
)

fhir-models-gen/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019 The Samply Development Community
1+
// Copyright 2019 - 2021 The Samply Community
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

fhir-models/fhir/account.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019 The Samply Development Community
1+
// Copyright 2019 - 2021 The Samply Community
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

fhir-models/fhir/accountStatus.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019 The Samply Development Community
1+
// Copyright 2019 - 2021 The Samply Community
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

fhir-models/fhir/actionCardinalityBehavior.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019 The Samply Development Community
1+
// Copyright 2019 - 2021 The Samply Community
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

fhir-models/fhir/actionConditionKind.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019 The Samply Development Community
1+
// Copyright 2019 - 2021 The Samply Community
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

fhir-models/fhir/actionGroupingBehavior.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019 The Samply Development Community
1+
// Copyright 2019 - 2021 The Samply Community
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

fhir-models/fhir/actionParticipantType.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019 The Samply Development Community
1+
// Copyright 2019 - 2021 The Samply Community
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

fhir-models/fhir/actionPrecheckBehavior.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019 The Samply Development Community
1+
// Copyright 2019 - 2021 The Samply Community
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

fhir-models/fhir/actionRelationshipType.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019 The Samply Development Community
1+
// Copyright 2019 - 2021 The Samply Community
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

fhir-models/fhir/actionRequiredBehavior.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019 The Samply Development Community
1+
// Copyright 2019 - 2021 The Samply Community
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

fhir-models/fhir/actionSelectionBehavior.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019 The Samply Development Community
1+
// Copyright 2019 - 2021 The Samply Community
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

fhir-models/fhir/activityDefinition.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019 The Samply Development Community
1+
// Copyright 2019 - 2021 The Samply Community
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

fhir-models/fhir/address.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019 The Samply Development Community
1+
// Copyright 2019 - 2021 The Samply Community
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

fhir-models/fhir/addressType.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019 The Samply Development Community
1+
// Copyright 2019 - 2021 The Samply Community
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

fhir-models/fhir/addressUse.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019 The Samply Development Community
1+
// Copyright 2019 - 2021 The Samply Community
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

fhir-models/fhir/administrativeGender.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019 The Samply Development Community
1+
// Copyright 2019 - 2021 The Samply Community
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

0 commit comments

Comments
 (0)