{"id":28120849,"url":"https://github.com/lantanagroup/fshfood","last_synced_at":"2025-07-13T03:40:13.758Z","repository":{"id":97515704,"uuid":"243301599","full_name":"lantanagroup/fshfood","owner":"lantanagroup","description":"FSH Food, a program that creates FSH (FHIR Shorthand) files from FHIR StructureDefinition resources","archived":false,"fork":false,"pushed_at":"2020-02-26T16:42:49.000Z","size":20,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-05-14T07:51:08.601Z","etag":null,"topics":["engineering","java","xslt"],"latest_commit_sha":null,"homepage":null,"language":"XSLT","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lantanagroup.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2020-02-26T15:50:15.000Z","updated_at":"2023-02-14T02:21:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"f1be1b05-8047-4c8f-9c7e-98642850c00e","html_url":"https://github.com/lantanagroup/fshfood","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lantanagroup/fshfood","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lantanagroup%2Ffshfood","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lantanagroup%2Ffshfood/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lantanagroup%2Ffshfood/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lantanagroup%2Ffshfood/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lantanagroup","download_url":"https://codeload.github.com/lantanagroup/fshfood/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lantanagroup%2Ffshfood/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265085564,"owners_count":23709164,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["engineering","java","xslt"],"created_at":"2025-05-14T07:41:50.570Z","updated_at":"2025-07-13T03:40:13.748Z","avatar_url":"https://github.com/lantanagroup.png","language":"XSLT","funding_links":[],"categories":[],"sub_categories":[],"readme":"Main class if FshFood\n\nTakes the following parameters\n* -inFile: the input file (either a StructureDefinition or a Bundle that contains StructureDefinition resources)\n* -tempFolder: the location of the temporarily folder. If not supplied one will be automatically created (this parameter is optional, just for debugging purposes)\n* -outFolder: the output folder where you want the resulting FSH files to be created\n\nThe xslt folder must be on the classpath.\n\nThis program currently requires that any StructureDefinition provided to it has a StructureDefinition.snapshot fully and accurately populated. However, future versions may either do snapshot generation automatically, or the FHIR Shorthand spec may be fixed to handle partially specified cardinality as is allowed in StructureDefinition.differential (i.e. just a min or max vs. both; would look like \"..1\" or \"0..\" vs. requiring \"0..1\").\n\nIf you do not want to use this Java driver and have your own XSLT 2.0 processor, you may run fshfood.xslt directly against a single StructureDefinition with a snapshot. The Java code basically just handles JSON to XML conversion, extracting StructureDefinition resources from Bundles, and invoking the transform. The transform does all the heavy lifting. ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flantanagroup%2Ffshfood","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flantanagroup%2Ffshfood","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flantanagroup%2Ffshfood/lists"}