Table of Contents

pfLoadResourceType

Description

The pfLoadResourceType schema inherits from resourceType.

Properties

Name Description Required Type
Source Source endpoint of the load No pfConsignmentEndPointType
Destination Destination endpoint of the load No pfConsignmentEndPointType
LogisticUnit No pfLogisticsUnit
Quantity Quantity in the load No Number
Units Units for the quantity metric No string
RawQuantity Raw quantity before standardisation No Number
RawUnits Units for the raw quantity before standardisation No string
Analysis No Array of  pfLaboratoryAnalysisType
Status No pfLoadStatus
Id Unique identifier (UUID) used within the current server to identify the resource. Yes string
Identifiers Identifiers for the resource (see well-known/schemes... for example identity schemes). No Array of  identifierType
Links Linked resources that are related to the current resource. No Array of  relationType
Meta Meta-data for the resource. Mandatory if you wish to support synchronisation. Yes metaDataType
Name A user-readable name for the resource. No string
Self Uniform resource identifier (URI) of the resource (rel=self). No string

Examples

Example 1

{
  "source": {
    "consignmentDate": "2024-12-04T20:18:42.6944799+00:00",
    "organisation": {
      "leiCode": "leiCode",
      "name": "name",
      "uri": "uri",
      "registration": {
        "scheme": "scheme",
        "id": "id"
      },
      "gln": "gln"
    },
    "feature": {
      "identifier": {
        "scheme": "scheme",
        "id": "id"
      },
      "name": "name",
      "uri": "uri",
      "relationship": "relationship",
      "contentType": "contentType",
      "related": "related"
    }
  },
  "destination": {
    "consignmentDate": "2024-12-04T20:18:42.6945008+00:00",
    "organisation": {
      "leiCode": "leiCode",
      "name": "name",
      "uri": "uri",
      "registration": {
        "scheme": "scheme",
        "id": "id"
      },
      "gln": "gln"
    },
    "feature": {
      "identifier": {
        "scheme": "scheme",
        "id": "id"
      },
      "name": "name",
      "uri": "uri",
      "relationship": "relationship",
      "contentType": "contentType",
      "related": "related"
    }
  },
  "logisticUnit": "Unknown",
  "quantity": 0.0,
  "units": "units",
  "rawQuantity": 0.0,
  "rawUnits": "rawUnits",
  "analysis": [
    {
      "laboratory": {
        "leiCode": "leiCode",
        "name": "name",
        "uri": "uri",
        "registration": {
          "scheme": "scheme",
          "id": "id"
        },
        "gln": "gln"
      },
      "laboratoryIdentifier": "laboratoryIdentifier",
      "sessionIdentifier": "sessionIdentifier",
      "responsible": "responsible",
      "results": [
        {
          "name": "name",
          "status": "completed",
          "abbreviation": "abbreviation",
          "metric": "metric",
          "method": "method",
          "rawValue": "rawValue",
          "rawUnit": "rawUnit",
          "value": 0.0,
          "unit": "unit",
          "resolution": 0.0,
          "errorStatistic": 0.0,
          "qualitativeGrade": "qualitativeGrade",
          "limit": 0.0
        }
      ]
    }
  ],
  "status": "Loading",
  "id": "id",
  "identifiers": [
    {
      "scheme": "scheme",
      "id": "id"
    }
  ],
  "links": [
    {
      "relationship": "relationship",
      "contentType": "contentType",
      "related": "related"
    }
  ],
  "meta": {
    "sourceId": {
      "scheme": "scheme",
      "id": "id"
    },
    "modified": "2024-12-04T20:18:42.6945624+00:00",
    "created": "2024-12-04T20:18:42.6945637+00:00",
    "creator": "creator",
    "validFrom": "2024-12-04T20:18:42.6945657+00:00",
    "validTo": "2024-12-04T20:18:42.6945667+00:00",
    "isDeleted": false
  },
  "name": "name",
  "resourceType": "resourceType",
  "@self": "@self"
}