mCODE™ (short for Minimal Common Oncology Data Elements) is an initiative intended to assemble a core set of structured data elements for oncology electronic health records (EHRs). mCODE is a step towards capturing research-quality data from the treatment of all cancer patients. This would enable the treatment of every cancer patient to contribute to comparative effectiveness analysis (CEA) of cancer treatments by allowing for easier methods of data exchange between health systems. mCODE has been created and is being supported by the American Society of Clinical Oncology (ASCO®)in collaboration with the MITRE Corporation.
mCODE is developed in FHIR Shorthand (FSH), a domain-specific language (DSL) for defining the content of FHIR Implementation Guides (IG).
After you check out mCODE from Github, install SUSHI (the FSH compiler), as instructed here.
To compile mCODE, open a command window and navigate to the directory where mCODE has been checked out. Issue the following command:
`$ sushi .
Next, change directories to ./build.
Now run:
Windows: $ _genonce
Mac: $ ./_genonce.sh
This will run the HL7 IG Publisher, which will take several minutes to complete. After the publisher is finished, open the file /build/output/index.html to see the resulting IG.
To get a clean build, you may delete the ./build/input/resources and/or the ./build/output directories. However, DO NOT delete the entire ./build directory!
Introduce customizations of the IG into the following files: