Certificate Of Analysis

Sample JSON instance (message payload)

{ "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": "Complete" }, "batch": { "identifier": "d6a6c7f0-3e07-4885-b4b8-f9b0d7a1ece9" }, "manufactureDateTime": "2019-11-03T09:34:12.000", "shippedQuantity": { "content": 1800, "unitCode": "LB" }, "supplierParty": { "identifier": "123454321", "name": "SmallBusinessA" }, "manufacturingParty": { "identifier": "123454321", "location": { "identifier": "7685", "postalAddress": { "typeCode": "BranchPlant", "addressLine": [ "123 Example Street" ], "cityName": "BranchPlant", "countrySubDivisionCode": "IA", "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" } } ] } } ] } ] } }