fhircat / jsonld_context_files

JSONLD context files generated by the our forked hapifhir (org.hl7.fhir.core) code.
0 stars 1 forks source link

Context generator doesn't emit definitions for "see" attributes #8

Open hsolbrig opened 4 years ago

hsolbrig commented 4 years ago

FHIR attributes that reference attributes defined elsewhere in the model are not being generated in the contexts. As an example the detail and additem.adjudication elements from ClaimResponse:

image

Should produce the following in the JSON-LD

   "noteNumber": {
      "@id": "fhir:ClaimResponse.addItem.noteNumber",
      "@context": "positiveint.context.jsonld"
    },
    "detail": {
      "@id": "fhir:ClaimResponse.addItem.detail",
      "@context": "claimresponse.additem.detail.context.jsonld"
    },
    "adjudication": {
      "@id": "fhir.ClaimResponse.addItem.adjudication",
      "@context": "claimresponse.adjudication.context.jsonld"
    },