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

Add cpt codes to surgery query #189

Merged
merged 4 commits into from
Nov 3, 2021
Merged

Add cpt codes to surgery query #189

merged 4 commits into from
Nov 3, 2021

Conversation

JackWilb
Copy link
Member

@JackWilb JackWilb commented Nov 3, 2021

Closes #188

Adds the logic to return all cleaned cpt code names from a surgery query. For example:

{
	"result": [
		{
			...
			"cpt": [
				"Thoracic Aorta Aneurysm Procedure",
				"CABG",
				"ECMO"
			]
		}
	]
}

A current by-product of this fix is that the visit number is now also returned as "hospital visit number" in the JSON. I guess that's not a huge issue, but we should probably not display that in the UI.

@JackWilb JackWilb marked this pull request as ready for review November 3, 2021 00:35
Copy link
Collaborator

@haihan-lin haihan-lin left a comment

Choose a reason for hiding this comment

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

also added front end code to process the CPT codes.

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.

Update fetch_surgery to return all procedures names that exist in the CPT codes for that case
2 participants