New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating a resource with a tag it already has creates duplicate tags #30

Closed
wdebeau1 opened this Issue Sep 26, 2014 · 1 comment

Comments

Projects
None yet
2 participants
@wdebeau1
Collaborator

wdebeau1 commented Sep 26, 2014

While messing around with updating resources and adding tags to them, I noticed that every time I update a resource on the HAPI test server and include a profile tag in the update, a new instance of the tag is added to the resource's tag list.

Fiddler output for the resource in question:

HTTP/1.1 200 OK
Date: Fri, 26 Sep 2014 13:43:54 GMT
Server: GlassFish Server Open Source Edition 4.0
Content-Location: http://fhirtest.uhn.ca/base/Observation/4041/_history/4
X-Powered-By: HAPI FHIR 0.6-SNAPSHOT RESTful Server
Last-Modified: 2014-09-23T12:45:05.913-04:00
Category: http://fhirstorm.dyndns.org:8080/FhirStorm/fhir/Profile/Observation; scheme="http://hl7.org/fhir/tag/profile"
Category: http://fhirstorm.dyndns.org:8080/FhirStorm/fhir/Profile/Observation; scheme="http://hl7.org/fhir/tag/profile"
Category: http://fhirstorm.dyndns.org:8080/FhirStorm/fhir/Profile/Observation; scheme="http://hl7.org/fhir/tag/profile"
Category: http://fhirstorm.dyndns.org:8080/FhirStorm/fhir/Profile/Observation; scheme="http://hl7.org/fhir/tag/profile"
Category: http://fhirstorm.dyndns.org:8080/FhirStorm/fhir/Profile/Observation; scheme="http://hl7.org/fhir/tag/profile"
Category: http://fhirstorm.dyndns.org:8080/FhirStorm/fhir/Profile/Observation; scheme="http://hl7.org/fhir/tag/profile"
Category: http://fhirstorm.dyndns.org:8080/FhirStorm/fhir/Profile/Observation; scheme="http://hl7.org/fhir/tag/profile"
Category: http://fhirstorm.dyndns.org:8080/FhirStorm/fhir/Profile/Observation; scheme="http://hl7.org/fhir/tag/profile"
Content-Type: application/xml+fhir;charset=UTF-8
Connection: close
Transfer-Encoding: chunked

30d

No narrative template available for resource profile: http://hl7.org/fhir/profiles/Observation

0

@jamesagnew

This comment has been minimized.

Owner

jamesagnew commented Oct 10, 2014

Just realized this is still open- Closing it, it was fixed by 3eeea9b

@jamesagnew jamesagnew closed this Oct 10, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment