Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parse and unpack attributes into attribute-specific Golang data structures. #32

Open
suyashkumar opened this issue Sep 19, 2018 · 0 comments
Labels
enhancement New feature or request optimization

Comments

@suyashkumar
Copy link
Contributor

suyashkumar commented Sep 19, 2018

We should parse and unpack Elements into native data structures that represent the elements. gradienthealth/dicom-protos already lays the foundataion to generate golang-native messages that represent each attribute, so this repository should populate those data structures. In other words, the below code should happen here and should likely be autogenerated

	// Code to unpack PhotometricInterpretation from a DataSet
	el, errFind = ds.FindElementByTag(dicomtag.PhotometricInterpretation)
	pi, errGet := el.GetString()
        // errors should be handled
	photomericInterpretation = &attrPB.PhotometricInterpretation{Value: pi}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request optimization
Projects
None yet
Development

No branches or pull requests

1 participant