Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix #131 - Narrative generator incorrectly sets the Resource.text.status
to 'generated' even if the given resource type does not have a template (and therefore no narrative is actually generated).
- Loading branch information
1 parent
cffda75
commit c7558c7
Showing
5 changed files
with
112 additions
and
0 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
85 changes: 85 additions & 0 deletions
85
hapi-fhir-structures-dstu/src/test/resources/condition.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
<Condition | ||
xmlns="http://hl7.org/fhir"> | ||
<extension url="http://www.dmix.gov/fhir/Profile/commonextensions#id"> | ||
<valueString value="site2957-pat226-prb-159"/> | ||
</extension> | ||
<extension url="http://www.dmix.gov/fhir/Profile/metadata#Metadata"> | ||
<extension url="http://www.dmix.gov/fhir/Profile/metadata#ImplementationVersion"> | ||
<valueString value="0.2.dstu1"/> | ||
</extension> | ||
<extension url="http://www.dmix.gov/fhir/Profile/metadata#JenkinsBuildInfo"> | ||
<valueString value="Build Tag: [jenkins-FHIR DSTU1 Branch Development Build-40] Built At: [2015-03-18_16-25-36] GIT Branch: [origin/DSTU1] GIT Commit: [e0e7cfba1f74b4b49f8769d9078beaf90c681264]"/> | ||
</extension> | ||
<extension url="http://www.dmix.gov/fhir/Profile/metadata#BuildUser"> | ||
<valueString value="Built by: [jenkins@null]"/> | ||
</extension> | ||
</extension> | ||
<extension url="http://www.dmix.gov/fhir/Profile/commonextensions#Domain"> | ||
<valueString value="ProblemLists"/> | ||
</extension> | ||
<extension url="http://www.dmix.gov/fhir/Profile/commonextensions#sourceEnterprise"> | ||
<valueString value="VA"/> | ||
</extension> | ||
<extension url="http://www.dmix.gov/fhir/Profile/commonextensions#sourceDataSystem"> | ||
<valueString value="VistA - VDS"/> | ||
</extension> | ||
<extension url="http://www.dmix.gov/fhir/Profile/commonextensions#sourceSite"> | ||
<valueCodeableConcept> | ||
<coding> | ||
<system value="http://www.dmix.gov/vaSiteCode"/> | ||
<code value="2957"/> | ||
<display value="VistA Site 2957"/> | ||
</coding> | ||
<coding> | ||
<system value="http://www.dmix.gov/dmisId"/> | ||
<code value="7001"/> | ||
</coding> | ||
<coding> | ||
<system value="http://www.dmix.gov/moniker"/> | ||
<code value="SMS1"/> | ||
</coding> | ||
<text value="VistA Site 2957"/> | ||
</valueCodeableConcept> | ||
</extension> | ||
<extension url="http://www.dmix.gov/fhir/Profile/dmixcondition#acuity"> | ||
<valueString value="ACUTE"/> | ||
</extension> | ||
<extension url="http://www.dmix.gov/fhir/Profile/dmixcondition#last-modified"> | ||
<valueDate value="1999-08-17"/> | ||
</extension> | ||
<extension url="http://www.dmix.gov/fhir/Profile/dmixcondition#problem-id"> | ||
<valueString value="159"/> | ||
</extension> | ||
<extension url="http://www.dmix.gov/fhir/Profile/dmixcondition#service-connected"> | ||
<valueBoolean value="false"/> | ||
</extension> | ||
<identifier> | ||
<use value="official"/> | ||
<label value="VistA Problem Id at Site 2957 - 159"/> | ||
<system value="http://www.dmix.gov/vaProblemId/2957"/> | ||
<value value="159"/> | ||
</identifier> | ||
<subject> | ||
<reference value="Patient/site2957-pat226"/> | ||
</subject> | ||
<asserter> | ||
<reference value="Practitioner/..Condition..site2957-pat226-prb-159..vapvdr-11817"/> | ||
</asserter> | ||
<dateAsserted value="1999-08-17"/> | ||
<code> | ||
<coding> | ||
<system value="http://hl7.org/fhir/sid/icd-9-cm"/> | ||
<code value="787.91"/> | ||
<display value="Diarrhea"/> | ||
<primary value="true"/> | ||
</coding> | ||
<coding> | ||
<system value="http://snomed.info/sct"/> | ||
<code value="62315008"/> | ||
<display value="Diarrhea"/> | ||
</coding> | ||
<text value="Diarrhea"/> | ||
</code> | ||
<status value="confirmed"/> | ||
<notes value="--------------------
Date: 1999-08-17T00:00:00-04:00
Entered By: RADTECH,FORTYONE

PATIENT SOMEWHAT DEHYDRATED
"/> | ||
</Condition> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters