Issue with displaying multiple frames from ULTRASOUND DICOM files in OHIF

Hi All,

I have obtained the OHIF source code from the Github repository and am currently experimenting with it. My objective is to load a DICOM study along with its complete series and instances from a JSON file. I have referred to the documentation provided in the following link: DICOM JSON | OHIF and have successfully converted my DICOM study into JSON format. Although the viewer appears to be functioning properly, I have encountered an issue where the ULTRASOUND files, which may contain multiple frames, are not being displayed. I am uncertain as to the exact cause of this issue, but it is possible that something may be missing from the JSON file. For your convenience, Following is my JSON file that I am currently using with the OHIF viewer.

 {
  "studies": [
    {
      "StudyInstanceUID": "1.2.840.113680.4.103.72907.20101006160156",
      "StudyDate": 634219200000000000,
      "StudyTime": null,
      "PatientName": null,
      "PatientID": null,
      "AccessionNumber": null,
      "PatientAge": null,
      "PatientSex": null,
      "series": [
        {
          "SeriesInstanceUID": "1.2.840.113680.4.103.72907.20101006160156.0.1.1",
          "SeriesNumber": "1",
          "Modality": null,
          "SliceThickness": 0.0,
          "instances": [
            {
              "metadata": { 
                "Columns": 576,
                "Rows": 456,
                "InstanceNumber": 1,
                "SOPClassUID": "1.2.840.10008.5.1.4.1.1.3.1",
                "PhotometricInterpretation": "YBR_FULL_422",
                "BitsAllocated": 8,
                "BitsStored": 8,
                "PixelRepresentation": 0,
                "SamplesPerPixel": 3,
                "PixelSpacing": null,
                "HighBit": 7,
                "ImageOrientationPatient": null,
                "ImagePositionPatient": null,
                "FrameOfReferenceUID": null,
                "ImageType": ["ORIGINAL", "PRIMARY"],
                "Modality": "US",
                "SOPInstanceUID": "1.2.840.113680.4.103.72907.20101006160156.0.1.1",
                "SeriesInstanceUID": "1.2.840.113680.4.103.72907.20101006160156.0",
                "StudyInstanceUID": "1.2.840.113680.4.103.72907.20101006160156",
                "WindowCenter": 220,
                "WindowWidth": 439,
                "SeriesDate": 0
              },
              "url": "dicomweb:http://localhost:3000/LIDC-IDRI-0001/01-01-2000-30178/3000566.000000-03192/IM00000.dcm"
            }
          ]
        },
        {
          "SeriesInstanceUID": "1.2.840.113680.4.103.72907.20101006160156.0.1.2",
          "SeriesNumber": "1",
          "Modality": null,
          "SliceThickness": 0.0,
          "instances": [
            {
              "metadata": {
                "Columns": 576,
                "Rows": 456,
                "InstanceNumber": 2,
                "SOPClassUID": "1.2.840.10008.5.1.4.1.1.6.1",
                "PhotometricInterpretation": "YBR_FULL_422",
                "BitsAllocated": 8,
                "BitsStored": 8,
                "PixelRepresentation": 0,
                "SamplesPerPixel": 3,
                "PixelSpacing": null,
                "HighBit": 7,
                "ImageOrientationPatient": null,
                "ImagePositionPatient": null,
                "FrameOfReferenceUID": null,
                "ImageType": ["ORIGINAL", "PRIMARY"],
                "Modality": "US",
                "SOPInstanceUID": "1.2.840.113680.4.103.72907.20101006160156.0.1.2",
                "SeriesInstanceUID": "1.2.840.113680.4.103.72907.20101006160156.0",
                "StudyInstanceUID": "1.2.840.113680.4.103.72907.20101006160156",
                "WindowCenter": 220,
                "WindowWidth": 439,
                "SeriesDate": 0
              },
              "url": "dicomweb:http://localhost:3000/LIDC-IDRI-0001/01-01-2000-30178/3000566.000000-03192/IM00001.dcm"
            }
          ]
        }
      ],
      "NumInstances": 35,
      "Modalities": "US"
    }
  ]
}


Try passing NumberOfFrames tag in JSON. This should work.