{
  "resourceType" : "OperationDefinition",
  "id" : "GetReceivingOrganizationByGPId",
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: OperationDefinition GetReceivingOrganizationByGPId</b></p><a name=\"GetReceivingOrganizationByGPId\"> </a><a name=\"hcGetReceivingOrganizationByGPId\"> </a><p>URL: [base]/Organization/$getReceivingOrganizationByGPId</p><h3>Parameters</h3><table class=\"grid\"><tr><td><b>Use</b></td><td><b>Name</b></td><td><b>Scope</b></td><td><b>Cardinality</b></td><td><b>Type</b></td><td><b>Binding</b></td><td><b>Documentation</b></td></tr><tr><td>IN</td><td>gpId</td><td/><td>1..1</td><td><a href=\"http://hl7.org/fhir/R4/datatypes.html#string\">string</a></td><td/><td><div><p>General practitioner id (ydernr)</p>\n</div></td></tr><tr><td>IN</td><td>messageType</td><td/><td>0..*</td><td><a href=\"http://hl7.org/fhir/R4/datatypes.html#string\">string</a></td><td/><td><div><p>Message types</p>\n</div></td></tr></table></div>"
  },
  "url" : "http://medcomehmi.dk/ig/eas/OperationDefinition/GetReceivingOrganizationByGPId",
  "version" : "2.0.0",
  "name" : "GetReceivingOrganizationByGPId",
  "status" : "active",
  "kind" : "operation",
  "date" : "2026-08-18T09:03:50+00:00",
  "publisher" : "MedCom",
  "contact" : [{
    "name" : "MedCom",
    "telecom" : [{
      "system" : "url",
      "value" : "https://www.medcom.dk"
    }]
  }],
  "description" : "Look up messaging organizations and referenced endpoints based on general practitioner id (ydernr) and message types.\nResponse resources will be returned in a Bundle.<br/>\nOrganizations conform to [EAS Messaging Organization](StructureDefinition-eas-messaging-organization.html)<br/>\nEndpoints conform to [EAS Endpoint - General](StructureDefinition-eas-endpoint.html)",
  "jurisdiction" : [{
    "coding" : [{
      "system" : "urn:iso:std:iso:3166",
      "code" : "DK",
      "display" : "Denmark"
    }]
  }],
  "purpose" : "Example request: <a href=\"Parameters-EX-GetReceivingOrganizationByGPId-Request.html\">EX-GetReceivingOrganizationByGPId-Request</a>",
  "affectsState" : false,
  "code" : "getReceivingOrganizationByGPId",
  "resource" : ["Organization"],
  "system" : false,
  "type" : true,
  "instance" : false,
  "parameter" : [{
    "name" : "gpId",
    "use" : "in",
    "min" : 1,
    "max" : "1",
    "documentation" : "General practitioner id (ydernr)",
    "type" : "string"
  },
  {
    "name" : "messageType",
    "use" : "in",
    "min" : 0,
    "max" : "*",
    "documentation" : "Message types",
    "type" : "string"
  }]
}