In this tutorial we will guide you how to setup minimal Common Oncology Data Elements (mCODE) FHIR Implementation Guide.
Setup Aidbox with minimal Common Oncology Data Elements (mCODE) IG version 3.0.0 with prebuilt Aidbox config
To correctly set up Aidbox, we'll utilize the Aidbox configuration projects.
There's an existing guide for this process. Adhere to this guide, but note a variation when you reach the Configure the Aidbox step: instead of using the recommended configuration projects (R4,R4B,R5,etc.) — clone this specific project:
Validate example resources against minimal Common Oncology Data Elements (mCODE) IG version profiles
Valid Patient resource
POST /fhir/PatientresourceType:Patientmeta:profile: - http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-cancer-patientextension:- extension: - url:ombCategoryvalueCoding:system:urn:oid:2.16.840.1.113883.6.238code:2028-9display:Asian - url:textvalueString:Asianurl:http://hl7.org/fhir/us/core/StructureDefinition/us-core-race- extension: - url:ombCategoryvalueCoding:system:urn:oid:2.16.840.1.113883.6.238code:2186-5display:Not Hispanic or Latino - url:textvalueString:Not Hispanic or Latinourl:http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity- url:http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsexvalueCode:M- url:http://hl7.org/fhir/us/core/StructureDefinition/us-core-sexvalueCode:'248153007'identifier:- use:usualtype:coding: - system:http://terminology.hl7.org/CodeSystem/v2-0203code:MRdisplay:Medical Record Numbertext:Medical Record Numbersystem:http://hospital.smarthealthit.orgvalue:'1032704'active:truename:- family:Examplegiven: - Childtelecom:- system:phonevalue:555-555-5555use:homegender:malebirthDate:'2016-01-15'address:- line: - 49 Meadow Stcity:Moundsstate:OKpostalCode:'74047'country:US
The sample of the Patient resource is invalid because it does not comply with parental us-core-patient profile with the required keys, identifier and gender. It violates the us-core-6 FHIRPath constraint due to the absence of the family and given properties and the data-absent-reason extension in the name property. Additionally, it violates the terminology binding on the ombCategory extension.
Invalid Patient resource
POST /fhir/PatientresourceType:Patientmeta:profile: - http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-cancer-patientextension:- extension: - url:ombCategoryvalueCoding:system:urn:oid:2.16.840.1.113883.6.238code:some-nonsensedisplay:Asian - url:textvalueString:Asianurl:http://hl7.org/fhir/us/core/StructureDefinition/us-core-race- extension: - url:ombCategoryvalueCoding:system:urn:oid:2.16.840.1.113883.6.238code:2186-5display:Not Hispanic or Latino - url:textvalueString:Not Hispanic or Latinourl:http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity- url:http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsexvalueCode:M- url:http://hl7.org/fhir/us/core/StructureDefinition/us-core-sexvalueCode:'248153007'active:truename:- use:officialtelecom:- system:phonevalue:555-555-5555use:homebirthDate:'2016-01-15'address:- line: - 49 Meadow Stcity:Moundsstate:OKpostalCode:'74047'country:US