Active care location for a pregnancy
With the BadgerNet single pregnancy record, there is always one active care location in play for every single open pregnancy record.
When you start providing active care for a single pregnancy, you need to submit an associated BNetPregObs_ActiveCareLocation observation resource to the BadgerNet Spine.
The minimum requirements for writing this resource to the Spine are:
BNetPregObs_ActiveCareLocation.effective.StartTime - as the DateTime that care started at your Care Location.
Only BadgerNet Spine Client systems of type “MAT” can write this resource (as they are the only ones providing maternity care). As such, when the Spine is sent this resource, it knows what the associated Care Location is, so there is no need to include it in the resource JSON when sending.
When this resource is READ from the Spine, it will include the coding and details of the associated Care Location.
Example JSON for sending to the Spine
{
"resourceType": "Observation",
"code": {
"coding": [
{
"system": "http://snomed.info/sct",
"code": "43741000"
}
]
},
"effectiveDateTime": "2022-03-28T11:34:18.4101544+01:00",
"performer": [
{
"reference": "Organization/SpineATest"
}
]
}