GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - samply/golang-fhir-models: FHIR Models for Go

BranchesTags
Open more actions menu

Latest commit

 

History

18 Commits
18 Commits

Folders and files

NameName
Last commit message
Last commit date
fhir-models-gen
fhir-models-gen
 
 
fhir-models
fhir-models
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 

Repository files navigation

Golang FHIR Models

This repository contains a FHIR® R4 models for Go. The models consist of Go structs for each resource and data type. The structs are suitable for JSON encoding/decoding.

Features

  • resources implement the Marshaler interface
  • unmarshal functions are provided for every resource
  • enums are provided for every ValueSet used in a required binding, has a computer friendly name and refers only to one CodeSystem
  • enums implement Code(), Display() and Definition() methods

Usage

In your project, import github.com/samply/golang-fhir-models/fhir-models/fhir and you are done.

TODOs

  • Support ValueSets Referring to Multiple CodeSystems

Develop

This repository contains two Go modules, the generated models itself and the generator. Both modules use go generate to generate the FHIR models. For go generate to work, you have to install the generator first. To do that, run go install in the fhir-models-gen directory. After that, you can regenerate the FHIR Models under fhir-models and the subset of FHIR models under fhir-models-gen.

License

Copyright 2019 - 2022 The Samply Community

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

About

FHIR Models for Go

Topics

fhirfhir-parser

Resources

Readme
Apache-2.0 license
Activity
Custom properties

Stars

108 stars

Watchers

11 watching

Forks

61 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.