{
  "resourceType": "OperationDefinition",
  "id": "0b35905e-25ba-4c94-9d78-f79416634681",
  "meta": {
    "versionId": "1",
    "lastUpdated": "2016-11-07T12:21:35.929+00:00",
    "tag": [
      {
        "system": "urn:hscic:examples",
        "code": "Operation-NHSPatientRecord",
        "display": "NHS Patient Record Operation"
      }
    ]
  },
  "url": "http://fhir.nhs.net/OperationDefinition/gpconnect-carerecord-operation-1",
  "version": "1.0",
  "name": "GPConnect-CareRecord-Operation-1",
  "status": "active",
  "kind": "operation",
  "publisher": "NHS Digital",
  "contact": [
    {
      "name": "Interoperability Team",
      "telecom": [
        {
          "system": "email",
          "value": "interoperabilityteam@nhs.net",
          "use": "work"
        }
      ]
    }
  ],
  "date": "2016-08-02T23:00:00+00:00",
  "description": "Request to retrieve the Patient's Care Record",
  "code": "gpc.getcarerecord",
  "system": false,
  "type": [
    "Patient"
  ],
  "instance": false,
  "parameter": [
    {
      "name": "patientNHSNumber",
      "use": "in",
      "min": 1,
      "max": "1",
      "documentation": "Patient that matches the NHS Number",
      "type": "Identifier"
    },
    {
      "name": "recordSection",
      "use": "in",
      "min": 1,
      "max": "1",
      "documentation": "Section of the care record defined by the parameter",
      "type": "CodeableConcept",
      "binding": {
        "strength": "required",
        "valueSetUri": "http://fhir.nhs.net/ValueSet/gpconnect-record-section-1"
      }
    },
    {
      "name": "timePeriod",
      "use": "in",
      "min": 0,
      "max": "1",
      "documentation": "The time period for the requested information",
      "type": "Period"
    },
    {
      "name": "response",
      "use": "out",
      "min": 1,
      "max": "1",
      "documentation": "View of the Patient's care record. This will be a view of a specified section of the care record.",
      "type": "Bundle",
      "profile": {
        "reference": "http://fhir.nhs.net/StructureDefinition/gpconnect-searchset-bundle-1"
      }
    }
  ]
}