Skip to content

example from epic#21

Merged
patrick-werner merged 2 commits into
mainfrom
epic-example
May 17, 2026
Merged

example from epic#21
patrick-werner merged 2 commits into
mainfrom
epic-example

Conversation

@patrick-werner
Copy link
Copy Markdown
Owner

No description provided.

@patrick-werner patrick-werner changed the title feat: add FHIR bundle for patient summary, immunizations, medications, and conditions example from epic May 17, 2026
@github-actions
Copy link
Copy Markdown
Contributor

FHIR Validation Results (filter: warnings)

❌ 1 errors (0 filtered), ⚠️ 55 warnings (0 filtered), ℹ️ 55 hints filtered out — 2026-05-17T14:14:14Z
FileSeverityDetailsLocationCodeMessageId
bundle.json⚠️ warningWrong Display Name 'History of Immunization Narrative' for http://loinc.org#11369-6. Valid display is one of 3 choices: 'History of Immunization note' (en-US), 'History of Immunization note' (en-US) or 'Hx of Immunization note' (en-US) (for the language(s) 'en')Bundle.​entry[0].​resource/*Composition/f45f8nfKW-noKwDpxQo0UIQ4*/.​section[3].​code.​coding[0].​displayinvalidDisplay_Name_for__should_be_one_of__instead_of
bundle.json⚠️ warningA definition for CodeSystem 'urn:oid:1.2.840.114350.1.13.0.1.7.10.768076.4040' could not be found, so the code cannot be validatedBundle.​entry[1].​resource/*Immunization/eEAE--XrkYnFv04FWNZG8Aw3*/.​site.​coding[0]not-found
bundle.json⚠️ warningA definition for CodeSystem 'urn:oid:1.2.840.114350.1.13.0.1.7.10.768076.4030' could not be found, so the code cannot be validatedBundle.​entry[1].​resource/*Immunization/eEAE--XrkYnFv04FWNZG8Aw3*/.​route.​coding[0]not-found
bundle.json⚠️ warningConstraint failed: dom-6: 'A resource should have narrative for robust management' (defined in http://hl7.org/fhir/StructureDefinition/DomainResource) (Best Practice Recommendation)Bundle.​entry[1].​resourceinvarianthttp://hl7.org/fhir/StructureDefinition/DomainResource#dom-6
bundle.json⚠️ warningThe concept '69878008' has a status of inactive and its use should be reviewedBundle.​entry[2].​resource/*MedicationRequest/ePDJ.​zsf3Jfg2.​MKkAMgW9EcIbsaiB.​y-OTrPS5v2h8Q3*/.​reasonCode[0].​coding[0]business-ruleINACTIVE_CONCEPT_FOUND
bundle.json⚠️ warningA definition for CodeSystem 'urn:oid:1.2.840.114350.1.13.0.1.7.4.798268.7025' could not be found, so the code cannot be validatedBundle.​entry[2].​resource/*MedicationRequest/ePDJ.​zsf3Jfg2.​MKkAMgW9EcIbsaiB.​y-OTrPS5v2h8Q3*/.​dosageInstruction[0].​route.​coding[1].​systemnot-foundUNKNOWN_CODESYSTEM
bundle.json⚠️ warningThe concept '260548002' has a status of inactive and its use should be reviewedBundle.​entry[2].​resource/*MedicationRequest/ePDJ.​zsf3Jfg2.​MKkAMgW9EcIbsaiB.​y-OTrPS5v2h8Q3*/.​dosageInstruction[0].​route.​coding[0]business-ruleINACTIVE_CONCEPT_FOUND
bundle.json⚠️ warningA definition for CodeSystem 'http://epic.com/CodeSystem/dose-rate-type' could not be found, so the code cannot be validatedBundle.​entry[2].​resource/*MedicationRequest/ePDJ.​zsf3Jfg2.​MKkAMgW9EcIbsaiB.​y-OTrPS5v2h8Q3*/.​dosageInstruction[0].​doseAndRate[0].​type.​coding[0].​systemnot-foundUNKNOWN_CODESYSTEM
bundle.json⚠️ warningUCUM Codes that contain human readable annotations like {tbl} can be misleading (e.g. they are ignored when comparing units). Best Practice is not to depend on annotations in the UCUM code, so this usage should be checked, and the Quantity.unit 'tablet' SHOULD contain the annotation (it does not)Bundle.​entry[2].​resource/*MedicationRequest/ePDJ.​zsf3Jfg2.​MKkAMgW9EcIbsaiB.​y-OTrPS5v2h8Q3*/.​dosageInstruction[0].​doseAndRate[0].​dose.​ofType(Quantity)business-ruleTYPE_SPECIFIC_CHECKS_DT_QTY_UCUM_ANNOTATIONS_NOT_IN_UNIT
bundle.json⚠️ warningA definition for CodeSystem 'http://epic.com/CodeSystem/dose-rate-type' could not be found, so the code cannot be validatedBundle.​entry[2].​resource/*MedicationRequest/ePDJ.​zsf3Jfg2.​MKkAMgW9EcIbsaiB.​y-OTrPS5v2h8Q3*/.​dosageInstruction[0].​doseAndRate[1].​type.​coding[0]not-found
bundle.json⚠️ warningUCUM Codes that contain human readable annotations like {tbl} can be misleading (e.g. they are ignored when comparing units). Best Practice is not to depend on annotations in the UCUM code, so this usage should be checked, and the Quantity.unit 'tablet' SHOULD contain the annotation (it does not)Bundle.​entry[2].​resource/*MedicationRequest/ePDJ.​zsf3Jfg2.​MKkAMgW9EcIbsaiB.​y-OTrPS5v2h8Q3*/.​dosageInstruction[0].​doseAndRate[1].​dose.​ofType(Quantity)business-ruleTYPE_SPECIFIC_CHECKS_DT_QTY_UCUM_ANNOTATIONS_NOT_IN_UNIT
bundle.json⚠️ warningA definition for CodeSystem 'http://epic.com/CodeSystem/dose-rate-type' could not be found, so the code cannot be validatedBundle.​entry[2].​resource/*MedicationRequest/ePDJ.​zsf3Jfg2.​MKkAMgW9EcIbsaiB.​y-OTrPS5v2h8Q3*/.​dosageInstruction[0].​doseAndRate[2].​type.​coding[0]not-found
bundle.json⚠️ warningUCUM Codes that contain human readable annotations like {tbl} can be misleading (e.g. they are ignored when comparing units). Best Practice is not to depend on annotations in the UCUM code, so this usage should be checked, and the Quantity.unit 'tablet' SHOULD contain the annotation (it does not)Bundle.​entry[2].​resource/*MedicationRequest/ePDJ.​zsf3Jfg2.​MKkAMgW9EcIbsaiB.​y-OTrPS5v2h8Q3*/.​dosageInstruction[0].​doseAndRate[2].​dose.​ofType(Quantity)business-ruleTYPE_SPECIFIC_CHECKS_DT_QTY_UCUM_ANNOTATIONS_NOT_IN_UNIT
bundle.json⚠️ warningConstraint failed: dom-6: 'A resource should have narrative for robust management' (defined in http://hl7.org/fhir/StructureDefinition/DomainResource) (Best Practice Recommendation)Bundle.​entry[2].​resourceinvarianthttp://hl7.org/fhir/StructureDefinition/DomainResource#dom-6
bundle.json⚠️ warningThe code system 'http://terminology.hl7.org/CodeSystem/condition-clinical' version '4.0.1' for the versionless include in the ValueSet include is different to the one in the value ('4.0.0')Bundle.​entry[3].​resource/*Condition/euDDjG6i1-OkhZii5APxOiw3*/.​clinicalStatus.​coding[0].​versioninvalidVALUESET_VALUE_MISMATCH_DEFAULT
bundle.json⚠️ warningThe code system 'http://terminology.hl7.org/CodeSystem/condition-ver-status' version '4.0.1' for the versionless include in the ValueSet include is different to the one in the value ('4.0.0')Bundle.​entry[3].​resource/*Condition/euDDjG6i1-OkhZii5APxOiw3*/.​verificationStatus.​coding[0].​versioninvalidVALUESET_VALUE_MISMATCH_DEFAULT
bundle.json⚠️ warningWrong Display Name 'PCOS (polycystic ovarian syndrome)' for http://hl7.org/fhir/sid/icd-9-cm#256.4. Valid display is 'Polycystic ovaries' (for the language(s) 'en')Bundle.​entry[3].​resource/*Condition/euDDjG6i1-OkhZii5APxOiw3*/.​code.​coding[2].​displayinvalidDisplay_Name_for__should_be_one_of__instead_of
bundle.json⚠️ warningA definition for CodeSystem 'urn:oid:2.16.840.1.113883.3.247.1.1' could not be found, so the code cannot be validatedBundle.​entry[3].​resource/*Condition/euDDjG6i1-OkhZii5APxOiw3*/.​code.​coding[3].​systemnot-foundUNKNOWN_CODESYSTEM
bundle.json⚠️ warningConstraint failed: dom-6: 'A resource should have narrative for robust management' (defined in http://hl7.org/fhir/StructureDefinition/DomainResource) (Best Practice Recommendation)Bundle.​entry[3].​resourceinvarianthttp://hl7.org/fhir/StructureDefinition/DomainResource#dom-6
bundle.json⚠️ warningA definition for CodeSystem 'urn:oid:2.16.840.1.113883.6.253' could not be found, so the code cannot be validatedBundle.​entry[4].​resource/*Medication/f-UACZVqObr4OGBkxzbW3bQ4*/.​code.​coding[0].​systemnot-foundUNKNOWN_CODESYSTEM
bundle.json⚠️ warningA definition for CodeSystem 'urn:oid:1.2.840.114350.1.13.0.1.7.4.698288.310' could not be found, so the code cannot be validatedBundle.​entry[4].​resource/*Medication/f-UACZVqObr4OGBkxzbW3bQ4*/.​form.​coding[0]not-found
bundle.json⚠️ warningConstraint failed: dom-6: 'A resource should have narrative for robust management' (defined in http://hl7.org/fhir/StructureDefinition/DomainResource) (Best Practice Recommendation)Bundle.​entry[4].​resource/*Medication/f-UACZVqObr4OGBkxzbW3bQ4*/invarianthttp://hl7.org/fhir/StructureDefinition/DomainResource#dom-6
bundle.json⚠️ warningNo code provided, and a code should be provided from the value set 'IdentifierType' (http://hl7.org/fhir/ValueSet/identifier-type\|4.0.1)Bundle.​entry[5].​resource/*Organization/ePqMmiCU9E1xOUefB9e7Plw3*/.​identifier[0].​typecode-invalidTerminology_TX_Code_ValueSet_Ext
bundle.json⚠️ warningConstraint failed: dom-6: 'A resource should have narrative for robust management' (defined in http://hl7.org/fhir/StructureDefinition/DomainResource) (Best Practice Recommendation)Bundle.​entry[5].​resource/*Organization/ePqMmiCU9E1xOUefB9e7Plw3*/invarianthttp://hl7.org/fhir/StructureDefinition/DomainResource#dom-6
bundle.json⚠️ warningNo code provided, and a code should be provided from the value set 'IdentifierType' (http://hl7.org/fhir/ValueSet/identifier-type\|4.0.1)Bundle.​entry[6].​resource/*Patient/erXuFYUfucBZaryVksYEcMg3*/.​identifier[0].​typecode-invalidTerminology_TX_Code_ValueSet_Ext
bundle.json⚠️ warningNo code provided, and a code should be provided from the value set 'IdentifierType' (http://hl7.org/fhir/ValueSet/identifier-type\|4.0.1)Bundle.​entry[6].​resource/*Patient/erXuFYUfucBZaryVksYEcMg3*/.​identifier[1].​typecode-invalidTerminology_TX_Code_ValueSet_Ext
bundle.json⚠️ warningA definition for CodeSystem 'http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBIdentifierType' could not be found, so the code cannot be validatedBundle.​entry[6].​resource/*Patient/erXuFYUfucBZaryVksYEcMg3*/.​identifier[2].​type.​coding[0].​systemnot-foundUNKNOWN_CODESYSTEM
bundle.json⚠️ warningNone of the codings provided are in the value set 'IdentifierType' (http://hl7.org/fhir/ValueSet/identifier-type\|4.0.1), and a coding should come from this value set unless it has no suitable code (note that the validator cannot judge what is suitable) (codes = http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBIdentifierType#um)Bundle.​entry[6].​resource/*Patient/erXuFYUfucBZaryVksYEcMg3*/.​identifier[2].​typecode-invalidTerminology_TX_NoValid_2_CC
bundle.json⚠️ warningNo code provided, and a code should be provided from the value set 'IdentifierType' (http://hl7.org/fhir/ValueSet/identifier-type\|4.0.1)Bundle.​entry[6].​resource/*Patient/erXuFYUfucBZaryVksYEcMg3*/.​identifier[3].​typecode-invalidTerminology_TX_Code_ValueSet_Ext
bundle.json⚠️ warningNo code provided, and a code should be provided from the value set 'IdentifierType' (http://hl7.org/fhir/ValueSet/identifier-type\|4.0.1)Bundle.​entry[6].​resource/*Patient/erXuFYUfucBZaryVksYEcMg3*/.​identifier[4].​typecode-invalidTerminology_TX_Code_ValueSet_Ext
bundle.json⚠️ warningNo code provided, and a code should be provided from the value set 'IdentifierType' (http://hl7.org/fhir/ValueSet/identifier-type\|4.0.1)Bundle.​entry[6].​resource/*Patient/erXuFYUfucBZaryVksYEcMg3*/.​identifier[5].​typecode-invalidTerminology_TX_Code_ValueSet_Ext
bundle.json⚠️ warningvalue should not start or finish with whitespace ' Z6129'Bundle.​entry[6].​resource/*Patient/erXuFYUfucBZaryVksYEcMg3*/.​identifier[5].​valueinvalidType_Specific_Checks_DT_String_WS
bundle.json⚠️ warningNo code provided, and a code should be provided from the value set 'IdentifierType' (http://hl7.org/fhir/ValueSet/identifier-type\|4.0.1)Bundle.​entry[6].​resource/*Patient/erXuFYUfucBZaryVksYEcMg3*/.​identifier[6].​typecode-invalidTerminology_TX_Code_ValueSet_Ext
bundle.json⚠️ warningNo code provided, and a code should be provided from the value set 'IdentifierType' (http://hl7.org/fhir/ValueSet/identifier-type\|4.0.1)Bundle.​entry[6].​resource/*Patient/erXuFYUfucBZaryVksYEcMg3*/.​identifier[7].​typecode-invalidTerminology_TX_Code_ValueSet_Ext
bundle.json⚠️ warningNo code provided, and a code should be provided from the value set 'IdentifierType' (http://hl7.org/fhir/ValueSet/identifier-type\|4.0.1)Bundle.​entry[6].​resource/*Patient/erXuFYUfucBZaryVksYEcMg3*/.​identifier[8].​typecode-invalidTerminology_TX_Code_ValueSet_Ext
bundle.json⚠️ warningNo code provided, and a code should be provided from the value set 'MaritalStatus' (http://hl7.org/fhir/ValueSet/marital-status\|4.0.1)Bundle.​entry[6].​resource/*Patient/erXuFYUfucBZaryVksYEcMg3*/.​maritalStatuscode-invalidTerminology_TX_Code_ValueSet_Ext
bundle.json⚠️ warningA definition for CodeSystem 'urn:oid:1.2.840.114350.1.13.0.1.7.10.768076.4040' could not be found, so the code cannot be validatedBundle.​entry[1].​resource.​site.​coding[0].​systemnot-foundUNKNOWN_CODESYSTEM
bundle.json⚠️ warningA definition for CodeSystem 'urn:oid:1.2.840.114350.1.13.0.1.7.10.768076.4030' could not be found, so the code cannot be validatedBundle.​entry[1].​resource.​route.​coding[0].​systemnot-foundUNKNOWN_CODESYSTEM
bundle.json⚠️ warningA definition for CodeSystem 'urn:oid:2.16.840.1.113883.6.68' could not be found, so the code cannot be validatedBundle.​entry[4].​resource/*Medication/f-UACZVqObr4OGBkxzbW3bQ4*/.​code.​coding[1].​systemnot-foundUNKNOWN_CODESYSTEM
bundle.json⚠️ warningA definition for CodeSystem 'urn:oid:2.16.840.1.113883.6.162' could not be found, so the code cannot be validatedBundle.​entry[4].​resource/*Medication/f-UACZVqObr4OGBkxzbW3bQ4*/.​code.​coding[2].​systemnot-foundUNKNOWN_CODESYSTEM
bundle.json⚠️ warningA definition for CodeSystem 'urn:oid:1.2.840.114350.1.13.0.1.7.4.698288.310' could not be found, so the code cannot be validatedBundle.​entry[4].​resource/*Medication/f-UACZVqObr4OGBkxzbW3bQ4*/.​form.​coding[0].​systemnot-foundUNKNOWN_CODESYSTEM
bundle.json❌ errorSlice 'Bundle.entry:composition': a matching slice is required, but not found (from http://hl7.eu/fhir/eps/StructureDefinition/bundle-eu-eps\|1.0.0-ci-build). Note that other slices are allowed in addition to this required sliceBundlestructureValidation_VAL_Profile_Minimum_SLICE
bundle.json⚠️ warningThe concept '69878008' has a status of inactive and its use should be reviewedBundle.​entry[2].​resource.​reasonCode[0].​coding[0]business-ruleINACTIVE_CONCEPT_FOUND
bundle.json⚠️ warningA definition for CodeSystem 'urn:oid:1.2.840.114350.1.13.0.1.7.4.798268.7025' could not be found, so the code cannot be validatedBundle.​entry[2].​resource.​dosageInstruction[0].​route.​coding[1].​systemnot-foundUNKNOWN_CODESYSTEM
bundle.json⚠️ warningThe concept '260548002' has a status of inactive and its use should be reviewedBundle.​entry[2].​resource.​dosageInstruction[0].​route.​coding[0]business-ruleINACTIVE_CONCEPT_FOUND
bundle.json⚠️ warningA definition for CodeSystem 'http://epic.com/CodeSystem/dose-rate-type' could not be found, so the code cannot be validatedBundle.​entry[2].​resource.​dosageInstruction[0].​doseAndRate[0].​type.​coding[0].​systemnot-foundUNKNOWN_CODESYSTEM
bundle.json⚠️ warningUCUM Codes that contain human readable annotations like {tbl} can be misleading (e.g. they are ignored when comparing units). Best Practice is not to depend on annotations in the UCUM code, so this usage should be checked, and the Quantity.unit 'tablet' SHOULD contain the annotation (it does not)Bundle.​entry[2].​resource.​dosageInstruction[0].​doseAndRate[0].​dose.​ofType(Quantity)business-ruleTYPE_SPECIFIC_CHECKS_DT_QTY_UCUM_ANNOTATIONS_NOT_IN_UNIT
bundle.json⚠️ warningA definition for CodeSystem 'http://epic.com/CodeSystem/dose-rate-type' could not be found, so the code cannot be validatedBundle.​entry[2].​resource.​dosageInstruction[0].​doseAndRate[1].​type.​coding[0]not-found
bundle.json⚠️ warningUCUM Codes that contain human readable annotations like {tbl} can be misleading (e.g. they are ignored when comparing units). Best Practice is not to depend on annotations in the UCUM code, so this usage should be checked, and the Quantity.unit 'tablet' SHOULD contain the annotation (it does not)Bundle.​entry[2].​resource.​dosageInstruction[0].​doseAndRate[1].​dose.​ofType(Quantity)business-ruleTYPE_SPECIFIC_CHECKS_DT_QTY_UCUM_ANNOTATIONS_NOT_IN_UNIT
bundle.json⚠️ warningA definition for CodeSystem 'http://epic.com/CodeSystem/dose-rate-type' could not be found, so the code cannot be validatedBundle.​entry[2].​resource.​dosageInstruction[0].​doseAndRate[2].​type.​coding[0]not-found
bundle.json⚠️ warningUCUM Codes that contain human readable annotations like {tbl} can be misleading (e.g. they are ignored when comparing units). Best Practice is not to depend on annotations in the UCUM code, so this usage should be checked, and the Quantity.unit 'tablet' SHOULD contain the annotation (it does not)Bundle.​entry[2].​resource.​dosageInstruction[0].​doseAndRate[2].​dose.​ofType(Quantity)business-ruleTYPE_SPECIFIC_CHECKS_DT_QTY_UCUM_ANNOTATIONS_NOT_IN_UNIT
bundle.json⚠️ warningThe code system 'http://terminology.hl7.org/CodeSystem/condition-clinical' version '4.0.1' for the versionless include in the ValueSet include is different to the one in the value ('4.0.0')Bundle.​entry[3].​resource.​clinicalStatus.​coding[0].​versioninvalidVALUESET_VALUE_MISMATCH_DEFAULT
bundle.json⚠️ warningThe code system 'http://terminology.hl7.org/CodeSystem/condition-ver-status' version '4.0.1' for the versionless include in the ValueSet include is different to the one in the value ('4.0.0')Bundle.​entry[3].​resource.​verificationStatus.​coding[0].​versioninvalidVALUESET_VALUE_MISMATCH_DEFAULT
bundle.json⚠️ warningWrong Display Name 'PCOS (polycystic ovarian syndrome)' for http://hl7.org/fhir/sid/icd-9-cm#256.4. Valid display is 'Polycystic ovaries' (for the language(s) 'en')Bundle.​entry[3].​resource.​code.​coding[2].​displayinvalidDisplay_Name_for__should_be_one_of__instead_of
bundle.json⚠️ warningA definition for CodeSystem 'urn:oid:2.16.840.1.113883.3.247.1.1' could not be found, so the code cannot be validatedBundle.​entry[3].​resource.​code.​coding[3].​systemnot-foundUNKNOWN_CODESYSTEM
bundle.json⚠️ warningNo code provided, and a code should be provided from the value set 'IdentifierType' (http://hl7.org/fhir/ValueSet/identifier-type\|4.0.1)Bundle.​entry[5].​resource.​identifier[0].​typecode-invalidTerminology_TX_Code_ValueSet_Ext

Artifacts

Download fhir-validation-html-report (includes validation.html and validation.json)

Validation run: https://github.com/patrick-werner/ehds-examples/actions/runs/25993177776

@patrick-werner patrick-werner merged commit 441d932 into main May 17, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant