<OperationDefinition xmlns="http://hl7.org/fhir">
  <id value="SFM-deRegisterResponsibility" />
  <text>
    <status value="generated" />
    <div xmlns="http://www.w3.org/1999/xhtml">Operation definition for SFM specific operation: $deRegisterResponsibility</div>
  </text>
  <url value="http://nhn.no/sfm/fhir/OperationDefinition/SFM-deRegisterResponsibility" />
  <version value="1.0" />
  <name value="deRegisterResponsibility" />
  <title value="Operation for deregistering GP or Multidose responsibility in Reseptformidleren" />
  <status value="active" />
  <kind value="operation" />
  <date value="2021-05-01" />
  <publisher value="Norsk Helsenett (SFM Project)" />
  <contact>
    <telecom>
      <system value="url" />
      <value value="http://nhn.no/fhir" />
    </telecom>
    <telecom>
      <system value="email" />
      <value value="SFM-Prosjekt@nhn.no" />
    </telecom>
  </contact>
  <description value="This operation deregisters responsibility for the patient for the practitioner performing the operation" />
  <code value="deRegisterResponsibility" />
  <comment value="The operation require that the Practitioner performing the operation presents a valid HelseID token with identity information, and that the authorisation is available in Helsepersonellregisteret" />
  <resource value="Patient" />
  <system value="false" />
  <type value="true" />
  <instance value="false" />
  <parameter>
    <name value="type" />
    <use value="in" />
    <min value="1" />
    <max value="1" />
    <documentation value="Representing the type of registration to cancel" />
    <type value="code" />
    <binding>
      <strength value="required" />
      <valueSet value="http://ehelse.no/fhir/ValueSet/sfm-registration-type" />
    </binding>
  </parameter>
  <parameter>
    <name value="patient" />
    <use value="in" />
    <min value="1" />
    <max value="1" />
    <documentation value="SFM patient. Must be present and contain Name, Address and (identifier OR (birthDate + gender))" />
    <type value="Patient" />
    <targetProfile value="http://ehelse.no/fhir/StructureDefinition/sfm-Patient" />
  </parameter>
</OperationDefinition>