HL7 FHIR Implementation Guide: minimal Common Oncology Data Elements (mCODE), v0.9.1

HL7 FHIR Implementation Guide: minimal Common Oncology Data Elements (mCODE), v0.9.1 - Local Development build (v0.9.1). See the Directory of published versions

Appendix A: Technical Implementation Notes

This section contains content specific for FHIR implementers. This allows for introductory and overview content to be shared among the broader community which includes clinicians, project leaders, and executive decision makers.


General Notes

Data Dictionary and FHIR IG alignment

  • The data dictionary elements are meant to address a clinical and project leadership audience who seek a high level list of mCODE elements and might not reflect the detailed list of of must-support elements which appear in the FHIR IG.
  • mCODE profiles align, where possible, with the Argonaut Data Query IG profiles, which are based on FHIR DSTU2. However extensions to the Argonaut profiles may exist in cases where there was better alignment between a change to a subsequent FHIR release with mCODE elements.

It is anticipated that mCODE will move to FHIR Release 4 when commercial vendors and US Core and/or Argonaut officially support the parts of R4 required by mCODE.

FHIR Examples

  • Elements in the structured part of FHIR examples may be omitted from the narrative part. The narrative part may also slightly vary in the field description, even though it is semantically equivalent to its structured representation. This is allowable in FHIR and done on purpose to demonstrate that a FHIR implementer might need to make adjustments to present mCODE elements in a clinically understandable way.



The following mCODE FHIR profiles are relevant to cancer treatment:

  • CancerRelatedRadiationProcedure
  • CancerRelatedSurgicalProcedure
  • MedicationStatement


Representing Clinical Trial Drugs

Given RxNorm's limitation of including only FDA approved drugs, mCODE represents the MedicationStatement ValueCodeableConcept with a binding of RxNorm (extensible). This allows for the inclusion of other coding systems like the NCI Thesaurus (NCIT) to represent clinical trial oncology drugs.

Laboratory and Vital Signs

Tumor Markers

mCODE identifies a dedicated FHIR profile called TumorMarkerTest for the identification of serum and tissue-based tumor markers.

  • Tumor marker tests identified by their LOINC order code. The assigned TumorMarkerTestVS value set is also extensible to account for new LOINC version and code updates.
  • The TumorMarkerTestVS lists the most common tests for tumor markers but does not further align by cancer type.


Genomics Reporting

  • The geneticsGene attribute is not bound to a cancer-specific value set at this time. Nevertheless, we provide a recommended value set of cancer-related genes in the CancerGeneVS value set.
  • The CancerGeneVS value set contains the HGNC code followed by the HUGO approved symbol embedded within the full description of the term in the value set.


FHIR Terminology Overview

This implementation guide supplies terminology bindings drawn primarily from LOINC for "observables", and SNOMED-CT for values, results and findings. When appropriate codes are not available in the preferred vocabulary, alternative vocabularies are used, in the following order of preference: SNOMED-CT (if the element is an observable), NCI Thesaurus and Metathesaurus, and local codes.

Value sets from the FHIR specification are reused to the extent possible. In addition, Argonaut Data Query Implementation Guide, and the US Core Implementation Guide were also used when necessary.

There may be differences across these specifications in the value sets used, as well as binding strength. This guide addresses these discrepancies by using the lowest common denominator amongst the specifications. This approach is not without challenges, as there cases where different value sets are required by different specifications, which leaves no choice but to opt for one value set over another.

On SNOMED extensions

mCODE aligns with the Systematic Nomenclature of Medicine, Clinical Terms (SNOMED CT) U.S. Edition. SNOMED CT extensions outside of the U.S. Edition (e.g.: HSPC extensions, local extensions) are not included at this time.

The specification of SNOMED US Edition is handled within the FHIR CodeableConcept.version attribute:

{version: "http://snomed.info/sct/731000124108"}

where 731000124108 is the SNOMED namespace assigned to the National Library of Medicine (NLM), who manages the SNOMED US Edition.


Local Value Sets

This guide includes multiple value sets created specifically to support the terminology needs of the models. These value sets where created only when no known existing value sets were deemed to be fit for purpose, or when existing value needs needed to be extended.

NOTE:There is a known issue with HL7's FHIR implementation guide publisher that causes an error in the expansion of local value sets in the implementation guide. While this prevents the value sets from being shown in the value set pages, the content of the value sets is correctly expanded in json and xml, which readers can access from the individual value set pages.


Cancer Staging and Proprietary Terminologies

Several proprietary terminologies, including ICD-O-3 and the American Joint Commission on Cancer (AJCC) Staging System are widely used in the cancer domain. Others, such as Current Procedural Terminology (CPT®), while not cancer-specific, are relevant for the representation of cancer-related procedures, such as surgeries or radiation procedures. This guide does not include content from these terminologies due to licensing restrictions. The guide does, however, indicate where it is appropriate to use codes from such terminologies.


Approved for Public Release. Distribution Unlimited. Case Number 16-1988