prenatal-visit-workflow — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited prenatal-visit-workflow (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Pull and organize prenatal clinical data by trimester and gestational age following ACOG prenatal visit schedule. Retrieve pregnancy-related Conditions, maternal vital signs, fetal Observations, laboratory results, and screening outcomes. Track weight gain trajectory, blood pressure trends, and glucose screening results. Flag preeclampsia risk factors, gestational diabetes indicators, preterm labor risk, and deviations from expected visit schedule. Present a structured visit summary with outstanding orders and upcoming milestones.
| Resource | Purpose | Key Fields |
|---|---|---|
| Patient | Maternal demographics, age, gravidity | birthDate, gender, identifier |
| Condition | Pregnancy diagnosis, complications | code, clinicalStatus, onsetDateTime, category |
| Observation | Vitals, fundal height, FHR, weight, urine, labs | code, valueQuantity, effectiveDateTime, component, interpretation |
| MedicationRequest | Prenatal vitamins, aspirin, Rhogam, GBS prophylaxis | medicationCodeableConcept, status, dosageInstruction |
| Procedure | Ultrasounds, amniocentesis, cervical cerclage | code, performedDateTime, status |
| DiagnosticReport | Ultrasound reports, lab panels | code, result, effectiveDateTime |
Tool: fhir_read
resourceType: "Patient"
id: "[patient-id]"Extract birthDate (calculate maternal age -- flag if >=35 for advanced maternal age), gender (confirm female).
Tool: fhir_search
resourceType: "Condition"
queryParams: "patient=[patient-id]&code=77386006&clinical-status=active"SNOMED 77386006 = Pregnancy (finding). If not found, try:
Extract onsetDateTime to determine estimated gestational age (EGA). If EGA is not derivable from onset, search for EDD Observation (LOINC 11778-8 = Delivery date estimated).
Tool: fhir_search
resourceType: "Observation"
queryParams: "patient=[patient-id]&code=11778-8&_sort=-date&_count=1"Calculate current gestational age from EDD: GA weeks = 40 - (weeks remaining until EDD).
Based on gestational age:
Set expected visit frequency:
Tool: fhir_search
resourceType: "Observation"
queryParams: "patient=[patient-id]&category=vital-signs&date=ge[pregnancy-onset]&_sort=-date&_count=100"Extract and trend:
Weight gain targets by prepregnancy BMI (IOM guidelines):
Tool: fhir_search
resourceType: "Observation"
queryParams: "patient=[patient-id]&code=11996-6,11948-7,249043002&date=ge[pregnancy-onset]&_sort=-date&_count=50"LOINC codes:
Flag: FHR outside 110-160 bpm, fundal height discrepancy >3 cm from expected (GA in weeks = expected fundal height in cm at 20-36 weeks).
Tool: fhir_search
resourceType: "Observation"
queryParams: "patient=[patient-id]&category=laboratory&date=ge[pregnancy-onset]&_sort=-date&_count=200"Organize by trimester milestone. See references/acog-prenatal-schedule.md for complete schedule. Key labs to extract:
First trimester (initial visit):
Second trimester (24-28 weeks):
Third trimester (35-37 weeks):
Pull BP trend from Step 4. Flag preeclampsia risk if:
Check for aspirin prophylaxis if high-risk factors present:
Tool: fhir_search
resourceType: "MedicationRequest"
queryParams: "patient=[patient-id]&code=1191&status=active"RxNorm 1191 = aspirin. ACOG recommends low-dose aspirin (81mg) starting 12-28 weeks for high-risk patients.
Tool: fhir_search
resourceType: "MedicationRequest"
queryParams: "patient=[patient-id]&status=active"Verify:
Tool: fhir_search
resourceType: "Procedure"
queryParams: "patient=[patient-id]&date=ge[pregnancy-onset]&_sort=-date"Expected ultrasounds per ACOG:
PRENATAL VISIT SUMMARY -- [Patient Name] -- GA [X] weeks [X] days
Trimester: [1st/2nd/3rd] | EDD: [date] | Visit #: [N]
==================================================================
GRAVIDITY/PARITY: G[X]P[X]-[X]-[X]-[X] (GTPAL)
VITALS THIS VISIT
BP: [systolic]/[diastolic] mmHg [trend arrow] [flag if elevated]
Weight: [current] [unit] | Gain to date: [X] lbs [on track / above / below target]
Urine protein: [neg/trace/+]
FETAL ASSESSMENT
FHR: [value] bpm [normal / flag]
Fundal height: [value] cm [concordant / discordant with GA]
Fetal movement: [reported / not assessed]
LAB RESULTS DUE THIS VISIT
[Lab name]: [result if available] | [PENDING if not yet resulted] | [OVERDUE if past window]
...
RISK ASSESSMENT
Preeclampsia risk: [low/moderate/high] -- [basis]
GDM screening: [completed/pending/positive/negative]
Preterm labor risk: [low/elevated] -- [basis]
UPCOMING MILESTONES
[Next GA milestone]: [what is due]
Next visit: [date] ([interval])
MEDICATIONS VERIFIED
1. [Medication] [dose] [status]
...User says: "Pull prenatal visit data for patient OB-4421, she's at 26 weeks"
Actions:
fhir_read Patient/OB-4421 -- 29-year-old femalefhir_search Condition?patient=OB-4421&code=77386006&clinical-status=active -- confirms pregnancyfhir_search Observation?patient=OB-4421&category=vital-signs&date=ge[pregnancy-onset]&_sort=-date&_count=100 -- BP 118/72, weight 158 lbs (prepreg 142 lbs, gain 16 lbs at 26 weeks, on track for normal BMI)fhir_search Observation?patient=OB-4421&code=11996-6,11948-7&date=ge[pregnancy-onset]&_sort=-date -- FHR 148 bpm, fundal height 26 cmfhir_search Observation?patient=OB-4421&category=laboratory&date=ge[pregnancy-onset]&_sort=-date&_count=200 -- first trimester labs all normal, no glucose challenge yetfhir_search MedicationRequest?patient=OB-4421&status=active -- prenatal vitamin activeResult:
PRENATAL VISIT SUMMARY -- Jane Doe -- GA 26w0d
Trimester: 2nd | EDD: 2026-05-16 | Visit #: 6
==================================================
VITALS THIS VISIT
BP: 118/72 mmHg (stable, all readings <130/80)
Weight: 158 lbs | Gain to date: 16 lbs [ON TRACK for normal BMI target 25-35 lbs]
FETAL ASSESSMENT
FHR: 148 bpm [NORMAL]
Fundal height: 26 cm [CONCORDANT with 26 weeks GA]
UPCOMING -- DUE AT NEXT VISIT (28 weeks):
- 1-hour glucose challenge test (GCT) [NOT YET COMPLETED]
- Repeat Rh antibody screen (patient is Rh-negative)
- Rhogam administration if antibody screen negative
- Switch to biweekly visits
MEDICATIONS VERIFIED
1. Prenatal vitamin daily -- activeUser says: "Prenatal assessment for patient OB-8830, 34 weeks, history of gestational diabetes"
Actions:
fhir_read Patient/OB-8830 -- 37-year-old female (advanced maternal age)fhir_search Condition?patient=OB-8830&clinical-status=active -- pregnancy, gestational diabetes (SNOMED 11687002), chronic hypertension (SNOMED 38341003)fhir_search Observation?patient=OB-8830&category=vital-signs&date=ge[pregnancy-onset]&_sort=-date&_count=100 -- BP trending up: 128/82, 134/86, 138/88fhir_search Observation?patient=OB-8830&code=11996-6,11948-7&_sort=-date -- FHR 142, fundal height 36 cm (2 cm > expected)fhir_search Observation?patient=OB-8830&category=laboratory&date=ge[pregnancy-onset]&_sort=-date&_count=200 -- 3-hour GTT positive, fasting glucose logs available, HbA1c 5.9%fhir_search MedicationRequest?patient=OB-8830&status=active -- insulin glargine, prenatal vitamin, aspirin 81mgfhir_search Procedure?patient=OB-8830&date=ge[pregnancy-onset]&_sort=-date -- growth scan at 32 weeks showing EFW >90th percentileResult:
PRENATAL VISIT SUMMARY -- Maria Garcia -- GA 34w0d
Trimester: 3rd | EDD: 2026-03-14 | Visit #: 12
HIGH RISK: Advanced maternal age, GDM, chronic HTN
==================================================
VITALS THIS VISIT
BP: 138/88 mmHg [ELEVATED -- trending up from 128/82 at 30 weeks]
Weight: 192 lbs | Gain to date: 32 lbs [ABOVE TARGET for overweight BMI, target 15-25 lbs]
FETAL ASSESSMENT
FHR: 142 bpm [NORMAL]
Fundal height: 36 cm [LARGE FOR DATES -- 2 cm above expected]
Growth scan (32w): EFW >90th percentile -- macrosomia risk with GDM
RISK FLAGS
[!] Preeclampsia risk: HIGH -- chronic HTN with rising BP, advanced maternal age
Action: Check urine protein/creatinine ratio, monitor for symptoms
[!] GDM control: Fasting glucose logs show intermittent readings >95 mg/dL
Action: Review insulin dose adjustment
[!] Macrosomia: EFW >90th percentile
Action: Discuss delivery timing and mode
UPCOMING (35-37 weeks):
- GBS culture [DUE at 36 weeks]
- Weekly NST/BPP (per high-risk protocol)
- Antenatal corticosteroids if preterm delivery anticipated
- Repeat growth scan at 36 weeks
MEDICATIONS VERIFIED
1. Insulin glargine 14 units QHS -- active
2. Prenatal vitamin daily -- active
3. Aspirin 81mg daily -- active (preeclampsia prophylaxis)fhir_search Condition?patient=[id]&clinical-status=active and manually inspect for pregnancy-related conditions.lab-result-interpreter -- for detailed interpretation of prenatal lab panelsmedication-reconciliation -- for comprehensive prenatal medication verificationclinical-summary-generator -- for full chart summary including pregnancy contextvital-signs-trend-analyzer -- for detailed BP and weight trending~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.