HL7 / US-Core

FHIR R4 version of US Core IG
29 stars 28 forks source link

Invalid JSON in missing data example #30

Closed tferullo closed 3 years ago

tferullo commented 4 years ago

Hi @brettmarquard noticed this when looking for information on Data Absent Reason. Happy to make a pull request if you'd like.

from US-Core-R4/source/pages/general-guidance.md:

{
  "resourceType" : "Patient",
       ...
       "name":[
         "extension" : [
         "url" : "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
         "valueCode" : "unknown"
          }]
          ]
        "telecom" :
        ...
     }

The actutal data absent reason extension above is invalid JSON. it should be:

{
  "resourceType" : "Patient",
  ...
  "name":[{
    "extension" : [{
      "url" : "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
      "valueCode" : "unknown"
    }]
  }]
  "telecom" :
  ...
}
Healthedata1 commented 4 years ago

Yes please create a Jira tracker as a technical correction

Sent from my iPhone

On Apr 24, 2020, at 11:29 AM, Tony Ferullo notifications@github.com wrote:

 Hi @brettmarquard noticed this when looking for information Data Absent Reason. Happy to make a pull request if you'd like.

from US-Core-R4/source/pages/general-guidance.md:

{ "resourceType" : "Patient", ... "name":[ "extension" : [ "url" : "http://hl7.org/fhir/StructureDefinition/data-absent-reason", "valueCode" : "unknown" }] ] "telecom" : ... } The actutal data absent reason extension above is invalid JSON. it should be:

{ "resourceType" : "Patient", ... "name":[{ "extension" : [{ "url" : "http://hl7.org/fhir/StructureDefinition/data-absent-reason", "valueCode" : "unknown" }] }] "telecom" : ... } — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

brettmarquard commented 4 years ago

Thank you @tferullo. All Changes have to go through HL7 JIRA system -- see https://jira.hl7.org/. Let us know if you are able to log, if not, we will on your behalf.

rlimosenero commented 3 years ago

not sure whre to ask my question, but I'll try it here, may be you good guys can point me to sometihng. I am trying to implement the dataabsentreason(dar) in the diagnosticreport profile but I don't know how to put the code which will point to "issued" field".

Thanks in advance

brettmarquard commented 3 years ago

Please post these types of questions to zulip: https://chat.fhir.org/#narrow/stream/179175-argonaut

The prior issue here is fixed, so closing.

rlimosenero commented 3 years ago

Thanks!