Hi all, I have a project where we need to share information about a CPR procedure, and we want to provide a FHIR resource for this.
I’m creating a model where an Encounter is the container of the procedure, and we record participants there. Then the CPR is a Procedure resource. Inside the CPR we need to record information about chest compressions and shocks given. I think compressions and shocks are actions/activities, and looking through the FHIR specs, it seems the more fit resource for this is also Procedure.
I’m not sure what you mean by “Encounter is the container of the procedure”. Usually in FHIR, one resource doesn’t contain another. While DomainResource.contained does allow nesting resources inside each other, this only happens when a resource can’t stand by itself. For example, you would never create a Practitioner instance that just said “name=‘Dr. Smith’” because that’s not descriptive enough to ever know what instance it’s really talking about. So if all you know is that CPR was done by Dr. Smith, it’d be reasonable to ‘contain’ the Practitioenr resource. However, given that the procedures are the primary thing you’re interested in, presumably you have enough information about them to stand alone.
The actual structure in FHIR would be the Encounter, each of the Procedures and the CareTeam (as well as the Patient, presumably) as stand-alone resources. The procedures would all point to the encounter, the care team and the patient. The child procedures would also point to the parent procedure using “part-of”.
If you have a need to send them all together, you can do so using a RESTful batch or transaction or as part of a FHIR document or message (though those two impose additional overhead and make interoperability harder).
The context of this is conceptual modeling, trying to match the concepts I have on a system to the FHIR resources. On this context, “Encounter is the container of the procedure”, means that from a hierarchical point of view, the CPR procedure should exist on the context of an encounter. From your message, in the FHIR world this would be CPR.partOf => Encounter. No physical nesting suggested.
“The procedures would all point to the encounter…”, how is that relationship modeled in FHIR?
I can see Procedure.partOf can be a reference to Procedure, MedicationAdministration or Observation, but not to Encounter. BTW I’m using http://hl7.org/fhir/STU3/procedure.html
I agree each is a standalone resource, just need to figure out how everything is linked together.
I will look at Transaction since we might need to send everything together, but that decision will come later, after having a good FHIR model and mapping every data point we have.
BTW, do you have the link to the Batch and Transaction specs? Can’t find it on FHIR 3.0.1, and the search functionality doesn’t seem to work.