Giter Site home page Giter Site logo

Comments (2)

parteee avatar parteee commented on May 28, 2024

Suggested edits (adding an Other Data type):

# [required]
"details":
   # Valid values of type include:
   # DICOM_INSTANCE_UID - used for any DICOM object(s) 
   # DICOM_PATIENT_ID
   # FHIR_RESOURCE
   # ACCESSION_NUMBER
   # OTHER_DATA
   {
   # [required]
   "type": "Other_Data",
     “Data”: [{
     “Name”:”Series_Data”,
     “Value”:”{‘LabValue’:’2345'}”
   }

from clara-dicom-adapter.

mocsharp avatar mocsharp commented on May 28, 2024

@parteee Are you suggesting adding a new OTHER_DATA field for storing additional data?

How about if we make that an array of strings? E.g.

...
         {
            "type": "FHIR_RESOURCE",
            "fhirVersion": "R4",
            "fhirFormat": "XML",
            "resources": [
                {"resourceType": "Observation", "id": "b37d3b4a-8d0a-4dee-94f9-244bc87a27ce"}
            ]
        },
        {
            type: "OTHER_DATA": [
              { "name": "ehr/filename1.json", data: "{\r\n     \u201CName\u201D:\u201DSeries_Data\u201D,\r\n     \u201CValue\u201D:\u201D{\u2018LabValue\u2019:\u20192345'}\u201D\r\n   }" }
              { "name": "others/filename2.txt", data: "text file content" }
           ]
        }] 

Given the sample input above, DICOM Adapter would create 2 files, filename1.json and filename2.txt and store the files for your operator to consume.

Would that work?

from clara-dicom-adapter.

Related Issues (5)

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.