PackagesCanonicalsLogsProblems
    Packages
    uk.nhsdigital.r4.test@2.8.7-prerelease
    https://fhir.nhs.uk/OperationDefinition/eRS-GenerateUploadUri
{
  "description": "Request a pre-signed URL to upload a file to a document store.",
  "_filename": "OperationDefinition-eRS-GenerateUploadUri.json",
  "package_name": "uk.nhsdigital.r4.test",
  "date": "2022-10-14T14:00:00+00:00",
  "system": false,
  "publisher": "NHS Digital",
  "instance": false,
  "name": "ERSGenerateUploadUri",
  "type": "false",
  "experimental": null,
  "resourceType": "OperationDefinition",
  "title": null,
  "package_version": "2.8.7-prerelease",
  "status": "draft",
  "id": "fdfb7d3c-634b-4d77-b2ac-fde268825bd2",
  "resource": [ "Binary" ],
  "affectsState": true,
  "kind": "operation",
  "url": "https://fhir.nhs.uk/OperationDefinition/eRS-GenerateUploadUri",
  "code": "ers.generateUploadURI",
  "version": "1.0.0",
  "contact": [ {
    "telecom": [ {
      "value": "interoperabilityteam@nhs.net",
      "system": "email"
    } ]
  } ],
  "parameter": [ {
    "max": "1",
    "min": 1,
    "use": "in",
    "name": "fileName",
    "type": "string",
    "documentation": "The name of the file which will be uploaded, including extension. Format: ^.+\\.(.+) \n\n Example: filename.txt"
  }, {
    "max": "1",
    "min": 1,
    "use": "in",
    "name": "fileSize",
    "type": "unsignedInt",
    "documentation": "The size of the file in bytes. \n\n Example: 10485760 (which is 10MB)"
  }, {
    "max": "1",
    "min": 1,
    "use": "in",
    "name": "fileType",
    "type": "code",
    "documentation": "The mimetype describing the nature of the document. \n\n Example: text/plain \n\n Binding (required): [MimeType](https://www.hl7.org/fhir/r4/valueset-mimetypes.html)"
  }, {
    "max": "1",
    "min": 1,
    "use": "out",
    "name": "uploadUri",
    "type": "uri",
    "documentation": "The pre-signed URL that can be used to upload the file."
  }, {
    "max": "1",
    "min": 1,
    "use": "out",
    "name": "reference",
    "type": "uri",
    "documentation": "The binary reference which can be used later to download the uploaded file."
  } ]
}