Coder Social home page Coder Social logo

Comments (3)

dpjanes avatar dpjanes commented on June 18, 2024

Diseases and Drugs are coded both in schema.org and in FHR: that is, expressed as a pair of values - the code value and the code system.

I would strongly suggest moving away from eg

    "vaccine": {
      "type": "Vaccine",
      "disease": "COVID-19",
      "atcCode": "J07BX03",
      "medicinalProductName": "COVID-19 Vaccine Moderna",
      "marketingAuthorizationHolder": "Moderna Biotech"
    }

C4 codes it like this - which I do understand is more complex than preferred - but maybe disease (e.g. U07), diseaseCode (ICD-10), drug (J07BX03) and drugCode (ATC) are preferable to these sorts of adhoc fields?

{
      "@type": "schema:ImmunizationRecommendation",
      "schema:drug": {
        "@type": "schema:Drug",
        "schema:code": {
          "@type": "schema:MedicalCode",
          "schema:codeValue": "207",
          "schema:codingSystem": "CVX"
        },
        "schema:manufacturer": {
          "@type": "schema:Organization",
          "schema:identifier": "MOD",
          "schema:name": "Moderna US, Inc."
        },
        "schema:name": "Moderna COVID-19 Vaccine"
      },
      "schema:healthCondition": {
        "@type": "schema:MedicalCondition",
        "schema:code": {
          "@type": "schema:MedicalCode",
          "schema:codeValue": "U07",
          "schema:codingSystem": "ICD-10"
        },
        "schema:name": "COVID-19"
      },
      "schema:name": "Moderna COVID-19 Vaccine"
    }

from vaccination-vocab.

TallTed avatar TallTed commented on June 18, 2024

@dpjanes - I have no specific objection to your changes, but they do not address this issue as I have raised it. (I am also confused about your mention of disease, diseaseCode, and drugCode, which are not then included in your example JSON-LD.) I wonder if your comment wouldn't be better as the start of a distinct issue...

To be explicit about this issue:

  • Moderna should not be named in sample data. Example Corp would be a better choice.
  • COVID-19 would be better not named in sample data. Example Disease would be a better choice.

from vaccination-vocab.

dpjanes avatar dpjanes commented on June 18, 2024

Ah, I was thinking your issue was something else sorry. Note the things I used were e.g. here's how it could be done in the spirit of this system rather than reusing more verbose stuff that's already out there.

from vaccination-vocab.

Related Issues (14)

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.