Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

$davinci-ra.report operation updates #651

Merged
merged 12 commits into from
Nov 4, 2022
Merged

Conversation

c-schuler
Copy link
Contributor

Resolution for #639

Still need to test

@c-schuler c-schuler marked this pull request as ready for review November 1, 2022 23:06
@rob-reynolds
Copy link

The following need to be added (green circles add, red lines ignore):
image

@rob-reynolds
Copy link

The Composition needs Section entries for each group in the MR:
image

@rob-reynolds
Copy link

There needs to be DetectedIssue entries for each Group in the MR:

{
    "resource": {
        "resourceType": "DetectedIssue",
        "id": "ra-measurereport03-report-96",
        "meta": {
            "profile": [
                "http://hl7.org/fhir/us/davinci-ra/StructureDefinition/ra-coding-gap-original-detectedissue"
            ]
        },
        "extension": [
            {
                "url": "http://hl7.org/fhir/us/davinci-ra/StructureDefinition/ra-groupReference",
                "valueString": "group-001"
            }
        ],
        "modifierExtension": [
            {
                "url": "http://hl7.org/fhir/us/davinci-ra/StructureDefinition/extension-ra-codingGapType",
                "valueCodeableConcept": {
                    "coding": [
                        {
                            "system": "http://hl7.org/fhir/us/davinci-ra/CodeSystem/coding-gap-type",
                            "code": "payer-generated"
                        }
                    ]
                }
            }
        ],
        "status": "preliminary",
        "code": {
            "coding": [
                {
                    "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode",
                    "code": "CODINGGAP",
                    "display": "Coding Gaps"
                }
            ]
        },
        "patient": {
            "reference": "Patient/ra-patient02"
        },
        "implicated": [
            {
                "reference": "MeasureReport/ra-measurereport03"
            }
        ],
        "evidence": [
            {
                "detail": [
                    {
                        "reference": "MeasureReport/ra-measurereport03"
                    }
                ]
            },
            {
                "detail": [
                    {
                        "reference": "Condition/ra-condition31pat02"
                    }
                ]
            },
            {
                "detail": [
                    {
                        "reference": "Encounter/ra-encounter31pat02"
                    }
                ]
            }
        ]
    }
},
{
    "resource": {
        "resourceType": "DetectedIssue",
        "id": "ra-measurereport03-report-110",
        "meta": {
            "profile": [
                "http://hl7.org/fhir/us/davinci-ra/StructureDefinition/ra-coding-gap-original-detectedissue"
            ]
        },
        "extension": [
            {
                "url": "http://hl7.org/fhir/us/davinci-ra/StructureDefinition/ra-groupReference",
                "valueString": "group-002"
            }
        ],
        "modifierExtension": [
            {
                "url": "http://hl7.org/fhir/us/davinci-ra/StructureDefinition/extension-ra-codingGapType",
                "valueCodeableConcept": {
                    "coding": [
                        {
                            "system": "http://hl7.org/fhir/us/davinci-ra/CodeSystem/coding-gap-type",
                            "code": "payer-generated"
                        }
                    ]
                }
            }
        ],
        "status": "preliminary",
        "code": {
            "coding": [
                {
                    "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode",
                    "code": "CODINGGAP",
                    "display": "Coding Gaps"
                }
            ]
        },
        "patient": {
            "reference": "Patient/ra-patient02"
        },
        "implicated": [
            {
                "reference": "MeasureReport/ra-measurereport03"
            }
        ],
        "evidence": [
            {
                "detail": [
                    {
                        "reference": "MeasureReport/ra-measurereport03"
                    }
                ]
            },
            {
                "detail": [
                    {
                        "reference": "Observation/ra-obs01pat02"
                    }
                ]
            }
        ]
    }
},

Copy link

@rob-reynolds rob-reynolds left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See three comments.

Copy link

@rob-reynolds rob-reynolds left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Runs locally and produces expected result.

@rob-reynolds rob-reynolds merged commit 36d9e8c into master Nov 4, 2022
@rob-reynolds rob-reynolds deleted the feature/davinci-ra-report branch November 4, 2022 02:10
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.

2 participants