
| Name | Value |
|---|---|
| NAME | VPR PREGNANCY |
| DEFAULT FILE NUMBER | 790.05 |
| DATA MODEL | SDA |
| DISPLAY NAME | SocialHistory |
| ITEM |
|
| DESCRIPTION | This entity populates the Social History container in HealthShare from the PREGNANCY STATUSES (#790.05) sub-file of the WV PATIENT (#790) file. It creates or updates a single record containing the current preganancy status for female patients; it expects the patient DFN as the ID (DIEN). This entity is supported by code in routine VPRSDAHX, which uses the BASELINE^WVRPCVPR api to extract data. Data is maintained by monitoring the WV PREGNANCY STATUS CHANGE EVENT protocol event. |
| GET EXIT ACTION | K VPRPREG,^TMP("WVPREGST",$J) |
| GET ID ACTION | D WVPL1^VPRSDAHX(.DIEN) |
| GET QUERY ROUTINE | WVPLQ^VPRSDAHX |