Skip to content

Commit

Permalink
Merge pull request #936 from jewelbonnie/jb-jb-feature-techbdspring-c…
Browse files Browse the repository at this point in the history
…svfix-fourfilesmissinggroup

fix: Comment out narrative text in SexualOrientationObservationConv erter, ConsentConverter, and EncounterConverter #745
  • Loading branch information
ratheesh-kr authored Dec 20, 2024
2 parents d2c9fa3 + ed44c67 commit 9e5c343
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,9 @@ private static void populateConsentStatusAndScope(Consent consent, ScreeningProf

consent.setScope(scope);

Narrative text = new Narrative();
text.setStatus(NarrativeStatus.GENERATED);
consent.setText(text);
// Narrative text = new Narrative();
// text.setStatus(NarrativeStatus.GENERATED);
// consent.setText(text);
}

private static void populateConsentCategory(Consent consent, ScreeningProfileData data) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,10 @@ public List<BundleEntryComponent> convert(Bundle bundle, DemographicData demogra

populatePatientReference(encounter, idsGenerated);

// populateLocationReference(encounter, screeningProfileData, idsGenerated);
Narrative text = new Narrative();
text.setStatus(NarrativeStatus.GENERATED);
encounter.setText(text);
// populateLocationReference(encounter, screeningProfileData, idsGenerated);
// Narrative text = new Narrative();
// text.setStatus(NarrativeStatus.GENERATED);
// encounter.setText(text);
BundleEntryComponent bundleEntryComponent = new BundleEntryComponent();
bundleEntryComponent.setFullUrl(fullUrl);
bundleEntryComponent.setRequest(new Bundle.BundleEntryRequestComponent().setMethod(HTTPVerb.POST)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@ public List<BundleEntryComponent> convert(Bundle bundle,DemographicData demogr
observation.setValue(value);
// observation.setId("Observation"+CsvConversionUtil.sha256(demographicData.getPatientMrIdValue()));
// observation.setEffective(new DateTimeType(demographicData.getSexualOrientationLastUpdated())); //Not Used
Narrative text = new Narrative();
text.setStatus(Narrative.NarrativeStatus.fromCode("generated")); //TODO : remove static reference
observation.setText(text);
// Narrative text = new Narrative();
// text.setStatus(Narrative.NarrativeStatus.fromCode("generated")); //TODO : remove static reference
// observation.setText(text);
BundleEntryComponent entry = new BundleEntryComponent();
entry.setFullUrl(fullUrl);
entry.setRequest(new Bundle.BundleEntryRequestComponent().setMethod(HTTPVerb.POST).setUrl("http://shinny.org/us/ny/hrsn/Observation/" + observation.getId()));
Expand Down

0 comments on commit 9e5c343

Please sign in to comment.