Skip to main content

Hey everyone. I'm new to Health Cloud. I need help understanding the the following Objects: 

  1. CareObservation
  2. CareObservationComponent
  3. CodeSet
  4. CodeSetBundle

 

I am performing a mapping from a Questionnaire document to CareObservation records. The data model looks as follows (not my design, and there might be errors):

 

How to map from an Electronic Health Care Form to CareObservation?

 

See the question below from the Questionnaire below. I need to create a CareObservation record per positive response.

 

"Have you had any change or new problems with your head, neck, ears, nose, mouth, or throat? If so, explain."

 

According to the customer, a positive response to this question map to the following SNOMED codes which are stored as CodeSets:

  • Disorder of head: 118934005
  • Disorder of neck: 118939000
  • Ear, nose, and throat disorder: 232208008
  • Disorder of mouth: 118938008
  • Has explanation: 417151001

The customer says in their legacy application that this references to a single Code Set Bundle that contains all of the above CodeSets.

 

The Health Cloud - Clinical Data Model seems at odds with their legacy EHR application. CareObservation requires a reference to a single CodeSet (CareObservation.CodeId) before the CareObservation record can be saved. This requirement is "out of the box" and can not be changed. There are "additional fields" (i.e. AdditionalCode1Id and AdditionalCode12d) that can also be referenced, and I suppose I can add more if needed.

My questions are:

  1. Has anyone else mapped questions from a Questionnaire? How did you handle this? I'm also being told there is a possibility for "parent" and "child" CareObservation records. For example, "Do you have diabetes? If yes, Type or Type 2?". Has anyone handled this?
  2. If the individual CodeSets are mapped "wide" in a single CareObservation record (ie. CodeId, AdditionalCode1Id, AdditionalCode2Id), what is the point of the CareObservationComponent?
  3. Why is CareObservation a parent and master-detail of CareObservationComponent if the required field in a CareObservationComponent is a CodeSetBundle (ComponentTypeCodeId)? I would think the object containing the "Bundle" would be the parent.

I don't know a whole lot about Health Cloud, and I'm still learning. Thanks

References:

"CareObservationComponent" - https://developer.salesforce.com/docs/atlas.en-us.health_cloud_object_reference.meta/health_cloud_object_reference/hc_r4_api_objects_CareObservationComponent.htm

"CareObservation" - https://developer.salesforce.com/docs/atlas.en-us.health_cloud_object_reference.meta/health_cloud_object_reference/sforce_api_objects_careobservation.htm

답변 4개