{"entry":[{"resource":{"active":true,"address":[{"city":"NEW YORK","period":{"start":"1935-04-07"},"postalCode":"10003","state":"NY","use":"home"}],"birthDate":"1935-04-07","communication":[{"language":{"text":"ENGLISH"}}],"deceasedBoolean":false,"extension":[{"url":"http:\/\/hl7.org\/fhir\/us\/core\/StructureDefinition\/us-core-birthsex","valueCode":"M"},{"url":"http:\/\/hl7.org\/fhir\/us\/core\/StructureDefinition\/us-core-sex","valueCode":"248153007"},{"extension":[{"url":"ombCategory","valueCoding":{"code":"UNK","display":"Unknown","system":"http:\/\/terminology.hl7.org\/CodeSystem\/v3-NullFlavor"}},{"url":"text","valueString":"Unknown"}],"url":"http:\/\/hl7.org\/fhir\/us\/core\/StructureDefinition\/us-core-race"},{"extension":[{"url":"ombCategory","valueCoding":{"code":"UNK","display":"Unknown","system":"http:\/\/terminology.hl7.org\/CodeSystem\/v3-NullFlavor"}},{"url":"text","valueString":"Unknown"}],"url":"http:\/\/hl7.org\/fhir\/us\/core\/StructureDefinition\/us-core-ethnicity"}],"gender":"male","id":"37","identifier":[{"system":"http:\/\/hl7.org\/fhir\/sid\/us-ssn","value":"666123123"},{"system":"http:\/\/vistafhir.org\/fhir\/sid\/500\/mrn","type":{"coding":[{"code":"MR","system":"http:\/\/terminology.hl7.org\/CodeSystem\/v2-0203"}],"text":"Medical record number"},"value":"37"}],"meta":{"profile":["http:\/\/fhir.org\/guides\/onc\/us-quality-core\/StructureDefinition\/us-quality-core-patient"]},"name":[{"family":"ZZZRETFIVEFORTYFIVE","given":["PATIENT"],"period":{"start":"1935-04-07"},"text":"ZZZRETFIVEFORTYFIVE,PATIENT","use":"official"}],"resourceType":"Patient","telecom":[{"system":"phone","use":"home","value":"222-555-8235"},{"system":"phone","use":"work","value":"222-555-7720"}],"text":{"div":"<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">ZZZRETFIVEFORTYFIVE,PATIENT<\/div>","status":"generated"}}},{"resource":{"category":[{"coding":[{"code":"ai-consult","display":"AI Consult","system":"http:\/\/vistaplex.org\/fhir\/CodeSystem\/report-category"}],"text":"AI Consult"}],"code":{"coding":[{"code":"terminology-loinc-suggestions","display":"LOINC coding suggestions","system":"https:\/\/github.com\/glilly\/cds-hooks-on-fhir\/terminology-review\/stage2"}],"text":"AI Consult - LOINC coding suggestions"},"conclusion":"Submitted bundle contains laboratory Observations without portable LOINC coding. Suggested mappings are advisory and should be reviewed before changing source data.","extension":[{"url":"https:\/\/github.com\/glilly\/cds-hooks-on-fhir\/StructureDefinition\/stage","valueString":"stage-2-structured-evidence"},{"url":"https:\/\/github.com\/glilly\/cds-hooks-on-fhir\/StructureDefinition\/rule-id","valueString":"terminology-loinc-suggestions"},{"url":"https:\/\/github.com\/glilly\/cds-hooks-on-fhir\/StructureDefinition\/evidence-count","valueInteger":10}],"id":"diagnostic-report-terminology-loinc-suggestions","issued":"2026-09-28T09:25:38.185+00:00","presentedForm":[{"contentType":"text\/markdown","data":"IyBMT0lOQyBjb2Rpbmcgc3VnZ2VzdGlvbnMKClRoZSBzdWJtaXR0ZWQgYnVuZGxlIGluY2x1ZGVzIGxhYm9yYXRvcnkgT2JzZXJ2YXRpb25zIHdpdGhvdXQgYGh0dHA6Ly9sb2luYy5vcmdgIGNvZGluZy4gVGhlc2Ugc3VnZ2VzdGlvbnMgY29tZSBmcm9tIHRoZSBTWU4gbGFiLW5hbWUgbWFwIGFuZCByZXF1aXJlIHRlcm1pbm9sb2d5IHJldmlldyBiZWZvcmUgc291cmNlIGRhdGEgaXMgY2hhbmdlZC4KCi0gQ0FMQ0lVTSAtPiBMT0lOQyA0OTc2NS0xIENhbGNpdW0gKHZhbHVlOiAxMS43IG1nL2RMKSBbT2JzZXJ2YXRpb24vTENILTY4MjkzODMuOTA5MS05XQotIEdMVUNPU0UgLT4gTE9JTkMgMjMzOS0wIEdsdWNvc2UgKHZhbHVlOiAxMTAgbWcvZEwpIFtPYnNlcnZhdGlvbi9MQ0gtNjgyOTM4My45MDk0LTJdCi0gR0xVQ09TR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"},{"reference":"Observation\/LCH-6829383.9094-2"},{"reference":"Observation\/LCH-7039183.904949-2"},{"reference":"Observation\/LCH-7039183.905283-2"},{"reference":"Observation\/LCH-7039183.925899-2"},{"reference":"Observation\/LCH-7049168.854948-9"},{"reference":"Observation\/LCH-7049168.85576-2"},{"reference":"Observation\/LCH-7049168.865472-2"},{"reference":"Observation\/LCH-7049579.858778-2"},{"reference":"Observation\/LCH-7078881.86629-2"}],"status":"final","subject":{"reference":"Patient\/37"}}},{"resource":{"category":[{"coding":[{"code":"ai-consult","display":"AI Consult","system":"http:\/\/vistaplex.org\/fhir\/CodeSystem\/report-category"}],"text":"AI Consult"}],"code":{"coding":[{"code":"problem-list-pick-list","display":"Problem-list AI Consult pick list","system":"https:\/\/github.com\/glilly\/cds-hooks-on-fhir\/terminology-review\/stage2"}],"text":"AI Consult - Problem List Pick List"},"conclusion":"Submitted bundle was limited to Patient and problem-list Conditions. These candidates are normalized for provider review and note insertion; no whole-chart analysis was performed.","conclusionCode":[{"coding":[{"code":"23560001","display":"Asperger's disorder","system":"http:\/\/snomed.info\/sct"}],"text":"Asperger's disorder"},{"coding":[{"code":"73430006","display":"Sleep apnea","system":"http:\/\/snomed.info\/sct"}],"text":"Sleep apnea"},{"coding":[{"code":"47505003","display":"Posttraumatic stress disorder","system":"http:\/\/snomed.info\/sct"}],"text":"Posttraumatic stress disorder"},{"coding":[{"code":"799.9","display":"OTHER UNKNOWN AND UNSPECIFIED CAUSE OF MORBIDITY OR MORTALITY","system":"http:\/\/hl7.org\/fhir\/sid\/icd-9-cm"}],"text":"OTHER UNKNOWN AND UNSPECIFIED CAUSE OF MORBIDITY OR MORTALITY"},{"coding":[{"code":"789.00","display":"ABDOMINAL PAIN, UNSPECIFIED SITE","system":"http:\/\/hl7.org\/fhir\/sid\/icd-9-cm"}],"text":"ABDOMINAL PAIN, UNSPECIFIED SITE"}],"extension":[{"extension":[{"url":"code","valueCoding":{"code":"23560001","display":"Asperger's disorder","system":"http:\/\/snomed.info\/sct"}},{"url":"role","valueCode":"problem-list-candidate"},{"url":"display","valueString":"Asperger's disorder"},{"url":"supportText","valueString":"AI Consult selected existing problem-list condition: Asperger's disorder. Provider should edit the wording before inserting into the note."},{"url":"defaultPov","valueBoolean":false},{"url":"defaultProblemList","valueBoolean":false}],"url":"https:\/\/github.com\/glilly\/cds-hooks-on-fhir\/StructureDefinition\/advisory-pick-list"},{"extension":[{"url":"code","valueCoding":{"code":"73430006","display":"Sleep apnea","system":"http:\/\/snomed.info\/sct"}},{"url":"role","valueCode":"problem-list-candidate"},{"url":"display","valueString":"Sleep apnea"},{"url":"supportText","valueString":"AI Consult selected existing problem-list condition: Sleep apnea. Provider should edit the wording before inserting into the note."},{"url":"defaultPov","valueBoolean":false},{"url":"defaultProblemList","valueBoolean":false}],"url":"https:\/\/github.com\/glilly\/cds-hooks-on-fhir\/StructureDefinition\/advisory-pick-list"},{"extension":[{"url":"code","valueCoding":{"code":"47505003","display":"Posttraumatic stress disorder","system":"http:\/\/snomed.info\/sct"}},{"url":"role","valueCode":"problem-list-candidate"},{"url":"display","valueString":"Posttraumatic stress disorder"},{"url":"supportText","valueString":"AI Consult selected existing problem-list condition: Posttraumatic stress disorder. Provider should edit the wording before inserting into the note."},{"url":"defaultPov","valueBoolean":false},{"url":"defaultProblemList","valueBoolean":false}],"url":"https:\/\/github.com\/glilly\/cds-hooks-on-fhir\/StructureDefinition\/advisory-pick-list"},{"extension":[{"url":"code","valueCoding":{"code":"799.9","display":"OTHER UNKNOWN AND UNSPECIFIED CAUSE OF MORBIDITY OR MORTALITY","system":"http:\/\/hl7.org\/fhir\/sid\/icd-9-cm"}},{"url":"role","valueCode":"problem-list-candidate"},{"url":"display","valueString":"OTHER UNKNOWN AND UNSPECIFIED CAUSE OF MORBIDITY OR MORTALITY"},{"url":"supportText","valueString":"AI Consult selected existing problem-list condition: OTHER UNKNOWN AND UNSPECIFIED CAUSE OF MORBIDITY OR MORTALITY. Provider should edit the wording before inserting into the note."},{"url":"defaultPov","valueBoolean":false},{"url":"defaultProblemList","valueBoolean":false}],"url":"https:\/\/github.com\/glilly\/cds-hooks-on-fhir\/StructureDefinition\/advisory-pick-list"},{"extension":[{"url":"code","valueCoding":{"code":"789.00","display":"ABDOMINAL PAIN, UNSPECIFIED SITE","system":"http:\/\/hl7.org\/fhir\/sid\/icd-9-cm"}},{"url":"role","valueCode":"problem-list-candidate"},{"url":"display","valueString":"ABDOMINAL PAIN, UNSPECIFIED SITE"},{"url":"supportText","valueString":"AI Consult selected existing problem-list condition: ABDOMINAL PAIN, UNSPECIFIED SITE. Provider should edit the wording before inserting into the note."},{"url":"defaultPov","valueBoolean":false},{"url":"defaultProblemList","valueBoolean":false}],"url":"https:\/\/github.com\/glilly\/cds-hooks-on-fhir\/StructureDefinition\/advisory-pick-list"},{"url":"https:\/\/github.com\/glilly\/cds-hooks-on-fhir\/StructureDefinition\/stage","valueString":"stage-2-problem-list-pick-list"},{"url":"https:\/\/github.com\/glilly\/cds-hooks-on-fhir\/StructureDefinition\/rule-id","valueString":"problem-list-pick-list"},{"url":"https:\/\/github.com\/glilly\/cds-hooks-on-fhir\/StructureDefinition\/evidence-count","valueInteger":5}],"id":"diagnostic-report-problem-list-pick-list","issued":"2026-09-28T09:25:38.185+00:00","presentedForm":[{"contentType":"text\/markdown","data":"IyBBSSBDb25zdWx0IFByb2JsZW0gTGlzdCBQaWNrIExpc3QKClNlbGVjdGVkIDUgZXhpc3RpbmcgcHJvYmxlbS1saXN0IGNvbmRpdGlvbihzKSBhcyB2aXNpdC1wdXJwb3NlIGNhbmRpZGF0ZXMuIFRoaXMgbmVhci10ZXJtIG1lY2hhbmlzbSBpbnRlbnRpb25hbGx5IHVzZXMgb25seSBzdWJtaXR0ZWQgQ29uZGl0aW9ucywgbm90IHRoZSB3aG9sZSBwYXRpZW50IGNoYXJ0LgoKTm8gYXV0b21hdGljIG1lZGljYWwtcmVjb3JkIHVwZGF0ZSB3YXMgcGVyZm9ybWVkLgo=","title":"Problem-list AI Consult pick list"}],"resourceType":"DiagnosticReport","status":"final","subject":{"reference":"Patient\/37"}}},{"resource":{"issue":[{"code":"informational","diagnostics":"AI Consult filing attempted through native \/updatepatient; loadStatus=skipped","severity":"information"}],"resourceType":"OperationOutcome"}},{"fullUrl":"urn:uuid:458cbfed-f6c7-4e34-8e66-1ba7ebd26fb3","resource":{"active":true,"address":[{"city":"Albuquerque","country":"US","line":["1501 San Pedro Dr SE"],"postalCode":"87108","state":"NM"}],"id":"usqualitycore-organization","identifier":[{"system":"http:\/\/hl7.org\/fhir\/sid\/us-npi","use":"official","value":"1144221847"},{"system":"http:\/\/terminology.hl7.org\/NamingSystem\/CMSCertificationNumber","use":"official","value":"320001"},{"system":"urn:oid:2.16.840.1.113883.4.4","use":"official","value":"12-3456789"},{"system":"urn:ietf:rfc:3986","value":"urn:oid:2.16.840.1.113883.3.42.10001.100001.12"}],"meta":{"profile":["http:\/\/fhir.org\/guides\/onc\/us-quality-core\/StructureDefinition\/us-quality-core-organization"]},"name":"VistA FHIR Quality Testing","resourceType":"Organization","telecom":[{"system":"phone","value":"505-265-1711"}]}},{"fullUrl":"urn:uuid:4d8d30d8-7f1a-408b-8536-3dee9f15e546","resource":{"address":[{"city":"Albuquerque","country":"US","line":["1501 San Pedro Dr SE"],"postalCode":"87108","state":"NM"}],"id":"usqualitycore-practitioner","identifier":[{"system":"http:\/\/hl7.org\/fhir\/sid\/us-npi","use":"official","value":"1245319599"},{"system":"urn:oid:2.16.840.1.113883.4.4","use":"official","value":"12-3456789"},{"system":"urn:va:user","value":"usqualitycore-practitioner"}],"meta":{"profile":["http:\/\/fhir.org\/guides\/onc\/us-quality-core\/StructureDefinition\/us-quality-core-practitioner"]},"name":[{"family":"Quality","given":["FHIR"],"text":"FHIR Quality"}],"resourceType":"Practitioner","telecom":[{"system":"phone","value":"505-265-1711"}]}},{"fullUrl":"urn:uuid:ef36064d-e8b2-49d1-aa91-0d7ee078c348","resource":{"agent":[{"onBehalfOf":{"reference":"Organization\/usqualitycore-organization"},"type":{"coding":[{"code":"author","display":"Author","system":"http:\/\/terminology.hl7.org\/CodeSystem\/provenance-participant-type"}]},"who":{"reference":"Practitioner\/usqualitycore-practitioner"}},{"type":{"coding":[{"code":"transmitter","display":"Transmitter","system":"http:\/\/hl7.org\/fhir\/us\/core\/CodeSystem\/us-core-provenance-participant-type"}]},"who":{"reference":"Organization\/usqualitycore-organization"}}],"entity":[{"role":"source","what":{"reference":"Patient\/37"}}],"id":"usqualitycore-provenance","meta":{"profile":["http:\/\/hl7.org\/fhir\/us\/core\/StructureDefinition\/us-core-provenance|6.1.0"]},"recorded":"2026-09-28T09:25:38Z","resourceType":"Provenance","target":[{"reference":"Patient\/37"},{"reference":"DiagnosticReport\/diagnostic-report-terminology-loinc-suggestions"},{"reference":"DiagnosticReport\/diagnostic-report-problem-list-pick-list"}],"text":{"div":"<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">Generated Narrative: usqualitycore-provenance<\/div>","status":"generated"}}}],"resourceType":"Bundle","type":"collection"}