{
  "resourceType": "StructureDefinition",
  "id": "AMPPPHealthcareService",
  "extension": [
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category",
      "valueString": "Base.Entities"
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category",
      "valueCode": "business"
    }
  ],
  "url": "https://example.org/fhir/StructureDefinition/HealthcareService",
  "version": "1.0.0",
  "name": "AMPPPHealthcareService",
  "status": "draft",
  "fhirVersion": "4.0.1",
  "mapping": [
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    },
    {
      "identity": "w5",
      "uri": "http://hl7.org/fhir/fivews",
      "name": "FiveWs Pattern Mapping"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "HealthcareService",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/HealthcareService",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "HealthcareService.identifier",
        "path": "HealthcareService.identifier",
        "short": "Identyfikator świadczenia",
        "definition": "Identyfikator świadczenia z systemu lokalnego podmiotu partnerskiego",
        "min": 1,
        "max": "1"
      },
      {
        "id": "HealthcareService.identifier.use",
        "path": "HealthcareService.identifier.use",
        "max": "0"
      },
      {
        "id": "HealthcareService.identifier.type",
        "path": "HealthcareService.identifier.type",
        "max": "0"
      },
      {
        "id": "HealthcareService.identifier.system",
        "path": "HealthcareService.identifier.system",
        "min": 1
      },
      {
        "id": "HealthcareService.identifier.value",
        "path": "HealthcareService.identifier.value",
        "short": "Wartosc identyfikatora",
        "min": 1
      },
      {
        "id": "HealthcareService.type",
        "path": "HealthcareService.type",
        "short": "Rodzaj usługi z słownika ICD-9",
        "definition": "Rodzaj usługi z słownika ICD-9",
        "comment": "OID identyfikujący IDC9"
      },
      {
        "id": "HealthcareService.type.coding.system",
        "path": "HealthcareService.type.coding.system",
        "short": "OID słownika ICD-9 PL"
      },
      {
        "id": "HealthcareService.type.coding.code",
        "path": "HealthcareService.type.coding.code",
        "min": 1
      },
      {
        "id": "HealthcareService.specialty",
        "path": "HealthcareService.specialty",
        "short": "Specjalności obsługiwane przez HealthcareService",
        "definition": "Zbiór specjalności obsługiwanych przez serwis. Słownik medyczny.",
        "max": "0"
      },
      {
        "id": "HealthcareService.name",
        "path": "HealthcareService.name",
        "short": "Nazwa świadczenia”"
      },
      {
        "id": "HealthcareService.comment",
        "path": "HealthcareService.comment",
        "short": "Dodatkowy komentarz",
        "definition": "Pełne szczegóły usługi"
      },
      {
        "id": "HealthcareService.extraDetails",
        "path": "HealthcareService.extraDetails",
        "max": "0"
      },
      {
        "id": "HealthcareService.photo",
        "path": "HealthcareService.photo",
        "max": "0"
      },
      {
        "id": "HealthcareService.telecom",
        "path": "HealthcareService.telecom",
        "max": "0"
      },
      {
        "id": "HealthcareService.coverageArea",
        "path": "HealthcareService.coverageArea",
        "max": "0"
      },
      {
        "id": "HealthcareService.serviceProvisionCode",
        "path": "HealthcareService.serviceProvisionCode",
        "max": "0"
      },
      {
        "id": "HealthcareService.eligibility",
        "path": "HealthcareService.eligibility",
        "max": "0"
      },
      {
        "id": "HealthcareService.program",
        "path": "HealthcareService.program",
        "max": "0"
      },
      {
        "id": "HealthcareService.characteristic",
        "path": "HealthcareService.characteristic",
        "max": "0"
      },
      {
        "id": "HealthcareService.communication",
        "path": "HealthcareService.communication",
        "max": "0"
      },
      {
        "id": "HealthcareService.referralMethod",
        "path": "HealthcareService.referralMethod",
        "max": "0"
      },
      {
        "id": "HealthcareService.availableTime",
        "path": "HealthcareService.availableTime",
        "definition": "Zbiór godzin, kiedy usługa jest dostępna",
        "max": "0"
      },
      {
        "id": "HealthcareService.notAvailable",
        "path": "HealthcareService.notAvailable",
        "max": "0"
      },
      {
        "id": "HealthcareService.availabilityExceptions",
        "path": "HealthcareService.availabilityExceptions",
        "short": "Opis wyjątków dostępności np święta państwowe",
        "definition": "Opis wyjątków dostępności np święta państwowe"
      },
      {
        "id": "HealthcareService.endpoint",
        "path": "HealthcareService.endpoint",
        "max": "0"
      }
    ]
  }
}