also LOINC http://www.hl7.eu/scores/APGAR%20(1%20Min).htm
SEE value set example also https://r.details.loinc.org/AnswerList/LL386-4.html
invariants:
match 1, 5, 10 min apgar with child observations
inv-apgar01: (component.where(code.coding.where(code='32406-1').exists()).exists()or component.where(code.coding.where(code='32407-9').exists()).exists()or component.where(code.coding.where(code='32408-7').exists()).exists()or component.where(code.coding.where(code='32410-3').exists()).exists()or component.where(code.coding.where(code='32409-5').exists()).exists()) impliescode.coding.where(code='9272-6')inv-apgar02: (component.where(code.coding.where(code='32411-1').exists()).exists()or component.where(code.coding.where(code='32412-9').exists()).exists()or component.where(code.coding.where(code='32413-7').exists()).exists()or component.where(code.coding.where(code='32415-2').exists()).exists()or component.where(code.coding.where(code='32414-5').exists()).exists()) impliescode.coding.where(code='9273-4').exists()
inv-apgar03: (component.where(code.coding.where(code='32401-2').exists()).exists()or component.where(code.coding.where(code='32402-0').exists()).exists()or component.where(code.coding.where(code='32403-8').exists()).exists()or component.where(code.coding.where(code='32405-3').exists()).exists()or component.where(code.coding.where(code='32404-6').exists()).exists()) impliescode.coding.where(code='9271-8').exists()
| element | description | LOINC | SNOMED | value |
|---|---|---|---|---|
| Observation.code | APGAR after 1 minute APGAR after 5 minutes APGAR after 10 minutes APGAR after 15 minutes APGAR after 20 minutes | valueset: apgar-score-type codesystem: apgarhttp://loinc.org (1 min) 9272-6 (5 min) 9273-4 (10min) 9271-8 | 169895004 169909004 169922007 443848000 443849008 | |
| Observation.valueQuantity | code = "{score}" system = "http://unitsofmeasure.org" | |||
| Observation.component.code | colour score | valueset: apgar-colour codesystem: http://loinc.org (1 min) 32406-1 (5 min) 32411-1 (10 min) 32401-2 | 249227004 | valueset: apgar-colour-finding codesystem: http://loinc.org LA6722-8 0 The baby's whole body is completely bluish-gray or pale |
| Observation.component.code | heart rate | valueset: apgar-hearth-rate codesystem: http://loinc.org (1 min) 32407-9 (5 min) 32412-9 (10 min) 32402-0 | 249223000 | valueset: apgar-heart-rate-finding codesystem: http://loinc.org LA6716-0 0 No heart rate |
| Observation.component.code | muscle tone | valueset: apgar-muscle-tone codesystem: http://loinc.org (1 min) 32408-7 (5 min) 32413-7 (10 min) 32403-8 | 249225007 | valueset: apgar-muscle-tone-finding codesystem: http://loinc.org LA6713-7 0 Limp; no movement |
| Observation.component.code | respiratory effort | valueset: apgar-respiratory-effort codesystem: http://loinc.org (1 min) 32410-3 (5 min) 32415-2 (10 min) 32405-3 | 249224006 | valueset: apgar-repiratory-effort-finding codesystem: http://loinc.org LA6725-1 0 Not breathing |
| Observation.component.code | reflex irritability | valueset: apgar-reflex-irritiability codesystem: http://loinc.org (1 min) 32409-5 (5 min) 32414-5 (10 min) 32404-6 | 249226008 | valueset: apgar-reflex-irritability-finding codesystem: http://loinc.org LA6719-4 0 No response to airways being suctioned |