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