Code Monkey home page Code Monkey logo

jsonld_context_files's Issues

Change context files to reference a root context

Replace the namespace lines in the root contexts with:

"@imports": "root.context.jsonld",

This will allow us to maintain a complete set of namespaces for the FHIR context.

Add root.context.jsonld to the output directory or some other well known location.

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

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"
    },

Primitive value nodes shouldn't include type

See: string.context.jsonld for an example. The value tags for all primitive types should be the same:

  "value": {
      "@id": "fhir:value",
      "@type": "http://www.w3.org/2001/XMLSchema#string"
    },

(not "@id": "fhir.string.value",)

Usage of the ontology with W3C Verifiable Credentials

Hi, firstly thanks for this project it is great work! I work in the Credentials Community Group working with technologies like W3C Verifiable Credentials and as of recent there has been much interest in applications of the technology for vaccination certificates. As a result I have begun the initiative to define a vocabulary for this purpose however ideally we would like to leverage more existing ontologies like HL7 FHIR so are open to redefining terms in the vocab to suit this and I believe we could leverage some of the great work you guys have done to date to accomplish this?

A couple of quick questions w.r.t your work

  1. How actively is the ontology maintained and how complete is it? It would be great to know this in reference to both R4 and R5
  2. It appears the current IRIs the context uses are not resolvable i.e I get a 404 on http://hl7.org/fhir/Patient.gender

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.