Closed richbraman closed 4 years ago
Need code to create complex Extensions (extension(s) within extension like:
"security": { "extension": [ { "url": "http://fhir-registry.smarthealthit.org/StructureDefinition/oauth-uris", "extension": [ { "url": "token", "valueUri": "https://bcda.cms.gov/auth/token" } ] } ],
so we added an Extension type to Extension.
test code: extension := []fhirmodels.Extension{ { Url: "http://fhir-registry.smarthealthit.org/StructureDefinition/oauth-uris", Extension: []fhirmodels.Extension{ { Url: "token", ValueUri: "https://someurl.org/auth/token", }, }, }, }
thanks!
Need code to create complex Extensions (extension(s) within extension like:
"security": { "extension": [ { "url": "http://fhir-registry.smarthealthit.org/StructureDefinition/oauth-uris", "extension": [ { "url": "token", "valueUri": "https://bcda.cms.gov/auth/token" } ] } ],
so we added an Extension type to Extension.
test code: extension := []fhirmodels.Extension{ { Url: "http://fhir-registry.smarthealthit.org/StructureDefinition/oauth-uris", Extension: []fhirmodels.Extension{ { Url: "token", ValueUri: "https://someurl.org/auth/token", }, }, }, }