-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[PRMP-1360] - Update to nrl pointer request (#488)
* [PRMP-1360] add missing fields in NRL request * [PRMP-1360] fix typo * [PRMP-1360] change to snomedcode
- Loading branch information
Showing
8 changed files
with
88 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,18 @@ | ||
from enum import StrEnum | ||
from enum import Enum | ||
|
||
from pydantic import BaseModel | ||
|
||
class SnomedCodesType(StrEnum): | ||
LLOYD_GEORGE = "16521000000101" | ||
|
||
class SnomedCode(BaseModel): | ||
code: str | ||
display_name: str | ||
|
||
class SnomedCodesCategory(StrEnum): | ||
CARE_PLAN = "734163000" | ||
|
||
class SnomedCodes(Enum): | ||
LLOYD_GEORGE = SnomedCode( | ||
code="16521000000101", display_name="Lloyd George record folder" | ||
) | ||
CARE_PLAN = SnomedCode(code="734163000", display_name="Care plan") | ||
GENERAL_MEDICAL_PRACTICE = SnomedCode( | ||
code="1060971000000108", display_name="General practice service" | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters