{"id":15466673,"url":"https://github.com/rahulsom/muval","last_synced_at":"2025-08-03T06:10:05.367Z","repository":{"id":5639411,"uuid":"53240181","full_name":"rahulsom/muval","owner":"rahulsom","description":"NIST's Meaningful Use Validator tweaked for programmatic usage","archived":false,"fork":false,"pushed_at":"2025-07-04T16:48:25.000Z","size":1634,"stargazers_count":1,"open_issues_count":3,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-04T17:45:19.647Z","etag":null,"topics":["ccd","healthcare","meaningful-use","nist"],"latest_commit_sha":null,"homepage":"","language":"Java","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/rahulsom.png","metadata":{"files":{"readme":"README.adoc","changelog":"changelog.txt","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":"2016-03-06T05:55:16.000Z","updated_at":"2025-03-31T19:24:47.000Z","dependencies_parsed_at":"2024-04-09T17:51:30.641Z","dependency_job_id":"895bbbaa-3dee-4f66-a8d7-38bed4940f49","html_url":"https://github.com/rahulsom/muval","commit_stats":{"total_commits":241,"total_committers":7,"mean_commits":34.42857142857143,"dds":0.6846473029045643,"last_synced_commit":"c6a6d000c47a96919403df1e698733556763f577"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/rahulsom/muval","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rahulsom%2Fmuval","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rahulsom%2Fmuval/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rahulsom%2Fmuval/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rahulsom%2Fmuval/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rahulsom","download_url":"https://codeload.github.com/rahulsom/muval/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rahulsom%2Fmuval/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268500608,"owners_count":24260163,"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","status":"online","status_checked_at":"2025-08-03T02:00:12.545Z","response_time":2577,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["ccd","healthcare","meaningful-use","nist"],"created_at":"2024-10-02T01:08:05.559Z","updated_at":"2025-08-03T06:10:05.318Z","avatar_url":"https://github.com/rahulsom.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"= muval\n\nMeaningful Use Validator based on NIST's own.\n\n== Introduction\n\nNIST's Meaningful Use Validator is great to check if your CCDs are valid.\nHowever it runs as as a Command Line Utility that outputs XML.\nIf you want to make validation part of your unit tests, you need it to be callable from code.\nThis project aims to do just that.\nNIST made its code available http://cda-validation.nist.gov/cda-validation/downloads.html[here].\nAlso they consider their code to be public domain.\nThat makes it possible for this project to exist.\nI am thankful for that.\n\n== Usage\n\nThis supports the legacy CLI usage as well as programmatic usage\n\n=== CLI Usage\n\nDownload the jar from http://oss.sonatype.org/service/local/artifact/maven/redirect?r=central-proxy\u0026g=com.github.rahulsom\u0026a=muval\u0026v=LATEST\u0026c=all[here]\n\nThen use it\n[source,bash]\n----\njava -jar muval-all.jar -input sampleCCD.xml -output result.xml\n----\n\n=== Programmatic usage\n\nImport the dependency using maven, gradle, sbt, leingen or ivy.\nExample below is for gradle.\nLook up instructions for your build tool from this badge.\n\nimage:https://maven-badges.herokuapp.com/maven-central/com.github.rahulsom/muval/badge.svg[link=https://maven-badges.herokuapp.com/maven-central/com.github.rahulsom/muval]\nimage:https://img.shields.io/github/commits-since/rahulsom/muval/latest[GitHub commits since latest release (by date) for a branch]\n\n[source,gradle]\n----\ndependencies {\n    // ...\n    compile 'com.github.rahulsom:muval:\u003cVERSION\u003e'\n}\n----\n\nThen use it in your code. This example is a Spock Specification. You could use it in test or production code.\n[source,groovy]\n----\nimport spock.lang.Specification\n\nimport static gov.nist.mu.validation.Rulesets.*\nimport static gov.nist.mu.validation.Validator.validate\n\nclass MyCcdSpec extends Specification {\n\n    private InputStream file(String resourceName) {\n        this.class.getClassLoader().getResourceAsStream(resourceName)\n    }\n\n    def \"sample ccd should validate\"() {\n        when: \"I validate a CCD\"\n        def result = validate(Cdar2c32, file('SampleCCDDocument.xml'), Ccd, Cda4Cdt, C32_v_2_5_c83_2_0)\n\n        then: \"There are 50 errors and 98 issues\"\n        result.allIssues.size() == 98\n        result.errors.size() == 50\n        result.otherIssues.isEmpty()\n    }\n\n}\n----\n\n== Updating Schema and Schematron files\n\nThe `downloadResources` task will do the job. You need to delete the `nist` directory before that.\n\n[source,bash]\n----\n./gradlew downloadResources\n----\n\nIf you run into network problems, you may rerun that command.\n\n== Contributing\n\nPlease feel free to raise Issues with test cases or send Pull Requests. This uses the github issue tracker.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frahulsom%2Fmuval","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frahulsom%2Fmuval","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frahulsom%2Fmuval/lists"}