OpenOrchid Core Vital Signs
One vital sign or a panel of them. CA Core+ has no vital-signs profile, so this one derives from the generic CA Core+ Observation and adds the rules of the base FHIR vital-signs profile (http://hl7.org/fhir/StructureDefinition/vitalsigns), which every vital-sign Observation must meet. It also requires a LOINC code and UCUM units, as the FHIR specification requires of vital signs.| Canonical URL | https://openorchid.ca/fhir/core/StructureDefinition/oo-observation-vitalsigns |
|---|---|
| Version | 0.1.0 |
| Record | Observation |
| Derives from | http://fhir.infoway-inforoute.ca/cacore/StructureDefinition/observation-ca-core |
| Download | StructureDefinition (JSON) |
What this profile adds
Everything else is as in the profile it derives from.
| Element | Requires |
|---|---|
Observation | oo-obs-1: A result has a value, a reason it has none, or its parts: components or member results.FHIRPathvalue.exists() or dataAbsentReason.exists() or component.exists() or hasMember.exists() |
Observation | oo-vs-1: The category includes vital-signs.FHIRPathcategory.coding.where(system = 'http://terminology.hl7.org/CodeSystem/observation-category' and code = 'vital-signs').exists() |
Observation | oo-vs-2: The code has a LOINC coding.FHIRPathcode.coding.where(system = 'http://loinc.org' and code.exists()).exists() |
Observation | oo-vs-3: A quantity, on the result or on a component, has a value and a UCUM unit.FHIRPath(value | component.value).ofType(Quantity).all(value.exists() and unit.exists() and system = 'http://unitsofmeasure.org' and code.exists()) |
Observation.subject | At least 1 |
Observation.subject | Reference to patient-ca-core only |
Observation.subject.reference | At least 1 |
Observation.effective[x] | At least 1 |
Observation.effective[x] | dateTime or Period only |
Observation.effective[x] | oo-vs-4: A date and time given for the result is at least as precise as the day.FHIRPath($this as dateTime).toString().length() >= 8 |
Observation.component | oo-vs-5: A component has a value or a reason it has none.FHIRPathvalue.exists() or dataAbsentReason.exists() |
Examples
Records that pass this profile:
Observation-oo-observation-vitalsigns-example
{
"resourceType": "Observation",
"id": "oo-observation-vitalsigns-example",
"meta": {
"profile": [
"https://openorchid.ca/fhir/core/StructureDefinition/oo-observation-vitalsigns"
]
},
"status": "final",
"category": [
{
"coding": [
{
"code": "vital-signs",
"system": "http://terminology.hl7.org/CodeSystem/observation-category"
}
]
}
],
"code": {
"coding": [
{
"code": "8867-4",
"system": "http://loinc.org",
"display": "Heart rate"
}
]
},
"subject": {
"reference": "Patient/oo-patient-example"
},
"effectiveDateTime": "2024-06-02T10:30:00-04:00",
"valueQuantity": {
"value": 72,
"code": "/min",
"system": "http://unitsofmeasure.org",
"unit": "beats/minute"
}
}
Records that fail it, each breaking one rule above:
Breaks oo-vs-3
{
"resourceType": "Observation",
"id": "invalid-vitals-unit-not-ucum",
"meta": {
"profile": ["https://openorchid.ca/fhir/core/StructureDefinition/oo-observation-vitalsigns"]
},
"status": "final",
"category": [
{
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/observation-category",
"code": "vital-signs"
}
]
}
],
"code": {
"coding": [
{
"system": "http://loinc.org",
"code": "8867-4"
}
]
},
"subject": {
"reference": "Patient/oo-patient-example"
},
"effectiveDateTime": "2024-06-02T10:30:00-04:00",
"valueQuantity": {
"value": 72,
"unit": "bpm"
}
}
Breaks oo-vs-4
{
"resourceType": "Observation",
"id": "invalid-vitals-month-only",
"meta": {
"profile": ["https://openorchid.ca/fhir/core/StructureDefinition/oo-observation-vitalsigns"]
},
"status": "final",
"category": [
{
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/observation-category",
"code": "vital-signs"
}
]
}
],
"code": {
"coding": [
{
"system": "http://loinc.org",
"code": "8867-4"
}
]
},
"subject": {
"reference": "Patient/oo-patient-example"
},
"effectiveDateTime": "2024-06",
"valueQuantity": {
"value": 72,
"unit": "beats/minute",
"system": "http://unitsofmeasure.org",
"code": "/min"
}
}
Breaks oo-vs-5
{
"resourceType": "Observation",
"id": "invalid-vitals-component-no-value",
"meta": {
"profile": ["https://openorchid.ca/fhir/core/StructureDefinition/oo-observation-vitalsigns"]
},
"status": "final",
"category": [
{
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/observation-category",
"code": "vital-signs"
}
]
}
],
"code": {
"coding": [
{
"system": "http://loinc.org",
"code": "85354-9"
}
],
"text": "Blood pressure panel"
},
"subject": {
"reference": "Patient/oo-patient-example"
},
"effectiveDateTime": "2024-06-02T10:30:00-04:00",
"component": [
{
"code": {
"coding": [
{
"system": "http://loinc.org",
"code": "8480-6"
}
]
},
"valueQuantity": {
"value": 120,
"unit": "mmHg",
"system": "http://unitsofmeasure.org",
"code": "mm[Hg]"
}
},
{
"code": {
"coding": [
{
"system": "http://loinc.org",
"code": "8462-4"
}
]
}
}
]
}