Created
May 25, 2022 01:46
-
-
Save johngrimes/f685484e01f422ffd20e42aa938c32db to your computer and use it in GitHub Desktop.
Convert a FHIR ValueSet to CSV using JQ
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jq -r ".expansion.contains[] | { system: .system, code: .code, display: .display } | map(values) | @csv" ~/Desktop/source.ValueSet.json >~/Desktop/target.csv |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment