Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
{
  "batchCertificateOfAnalysis": {
    "typeCode": "Batch Quality Report",
    "batchCertificateOfAnalysisHeader": {
      "identifier": {
        "content": "1213579",
        "typeCode": "SKU"
      },
      "lastModificationDateTime": "2020-08-01T09:35:00-05:00",
      "description": "DairyPlus Animal Feed",
      "status": {
        "code": "3344"
      },
      "batch": {
        "identifier": "5432"
      },
      "manufactureDateTime": "2019-11-03T09:34:12.000",
      "shippedQuantity": {
        "content": 1800,
        "unitCode": "LB"
      },
      "supplierParty": {
        "identifier": "123454321",
        "name": "SmallBusinessA"
      },
      "manufacturingParty": {
        "identifier": "123454321",
        "location": {
          "identifier": "7685",
          "postalAddress": {
            "identifier": "12",
            "addressLine": [
              "123 Example Street"
            ],
            "cityName": "Atlanta",
            "countrySubDivisionCode": "GA",
            "postalCode": "30316"
          }
        }
      }
    },
    "batchCertificateOfAnalysisLine": [
      {
        "attachment": [
          {
            "uri": "https://help.contentmanagementsystem.ent.company.com/manufacture/item/workcenter.mov",
            "fileName": "workcenter.mov"
          }
        ],
        "status": {
          "code": "1234",
          "reasonCode": {
            "content": "4567",
            "typeCode": "Combustible"
          },
          "reason": "Quarantined"
        },
        "sampleIdentifier": "1234",
        "sampledDateTime": "2020-09-01T09:35:00-05:00",
        "testResult": [
          {
            "identifier": "1234",
            "testDetail": {
              "methodDocumentReference": {
                "identifier": "4567",
                "description": "This document describes the method of testing.",
                "uri": "https://help.contentmanagementsystem.ent.company.com/manufacture/item/workcenter.mov",
                "name": "Name of the method",
                "agencyName": "QIF"
              }
            },
            "performedDateTime": "2020-08-01T09:30:00-05:00",
            "results": {
              "quantitative": [
                {
                  "typeCode": "Finished goods Inspection",
                  "identifier": "929292",
                  "resultValue": {
                    "content": "Fail",
                    "name": "Protein"
                  },
                  "acceptableNameValueRange": {
                    "upperLimit": {
                      "content": 2.5,
                      "name": "Upper Limit",
                      "unitCode": "PCT"
                    },
                    "lowerLimit": {
                      "content": 1.25,
                      "name": "Lower Limit",
                      "unitCode": "ML"
                    }
                  },
                  "measurement": {
                    "measure": 1.1,
                    "unitCode": "PCT"
                  }
                }
              ]
            }
          }
        ]
      }
    ]
  }
}