{
  "resourceType": "StructureDefinition",
  "url": "https://pta.kanta.fi/fhir/StructureDefinition/AppointmentLocation",
  "version": "1.0.0",
  "name": "AppointmentLocation",
  "title": "AppointmentLocation",
  "status": "active",
  "publisher": "Kela / Kanta",
  "description": "Ajanvarauksessa käytettävä Location-profiili.\r\n\r\nProfiilia käytetään palvelupisteen sijaintitietojen välittämiseen.",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Location",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Location",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Location",
        "path": "Location",
        "short": "Palvelupisteen sijainti",
        "definition": "Sen palvelupisteen tiedot, jossa ajanvarauksen kohteena oleva palvelu annetaan."
      },
      {
        "id": "Location.id",
        "path": "Location.id",
        "min": 1
      },
      {
        "id": "Location.meta",
        "path": "Location.meta"
      },
      {
        "id": "Location.meta.profile",
        "path": "Location.meta.profile",
        "min": 1,
        "max": "1",
        "fixedCanonical": "https://pta.kanta.fi/fhir/StructureDefinition/AppointmentLocation"
      },
      {
        "id": "Location.identifier",
        "path": "Location.identifier",
        "max": "0"
      },
      {
        "id": "Location.status",
        "path": "Location.status",
        "max": "0"
      },
      {
        "id": "Location.operationalStatus",
        "path": "Location.operationalStatus",
        "max": "0"
      },
      {
        "id": "Location.name",
        "path": "Location.name",
        "max": "0"
      },
      {
        "id": "Location.alias",
        "path": "Location.alias",
        "max": "0"
      },
      {
        "id": "Location.description",
        "path": "Location.description",
        "short": "Palvelupisteen sijainnin lisätiedot",
        "definition": "Tarvittaessa annettavat palvelupisteen sijaintiin liittyvät lisätiedot vapaamuotoisena tekstinä. Huom. Lisätietoja voivat olla esim. rakennustunnus, kerros tai vapaamuotoinen kulkuopaste."
      },
      {
        "id": "Location.mode",
        "path": "Location.mode",
        "max": "0"
      },
      {
        "id": "Location.type",
        "path": "Location.type",
        "max": "0"
      },
      {
        "id": "Location.telecom",
        "path": "Location.telecom",
        "max": "0"
      },
      {
        "id": "Location.address",
        "path": "Location.address",
        "short": "Palvelupisteen käyntiosoite",
        "definition": "Sen palvelupisteen käyntiosoite, jossa ajanvarauksen kohteena oleva palvelu annetaan."
      },
      {
        "id": "Location.address.use",
        "path": "Location.address.use",
        "max": "0"
      },
      {
        "id": "Location.address.type",
        "path": "Location.address.type",
        "min": 1,
        "fixedCode": "physical"
      },
      {
        "id": "Location.address.text",
        "path": "Location.address.text",
        "max": "0"
      },
      {
        "id": "Location.address.line",
        "path": "Location.address.line",
        "short": "Lähiosoite",
        "definition": "Kenttään tuotetaan lähiosoite. Lähiosoitteella tarkoitetaan osoitteen osaa, joka viittaa tiettyyn sijaintiin postitoimipaikan toimialueella.",
        "max": "1"
      },
      {
        "id": "Location.address.city",
        "path": "Location.address.city",
        "short": "Postitoimipaikka",
        "definition": "Kenttään tuotetaan postitoimipaikka."
      },
      {
        "id": "Location.address.district",
        "path": "Location.address.district",
        "max": "0"
      },
      {
        "id": "Location.address.state",
        "path": "Location.address.state",
        "max": "0"
      },
      {
        "id": "Location.address.postalCode",
        "path": "Location.address.postalCode",
        "short": "Postinumero",
        "definition": "Kenttään tuotetaan postinumero."
      },
      {
        "id": "Location.address.country",
        "path": "Location.address.country",
        "max": "0"
      },
      {
        "id": "Location.address.period",
        "path": "Location.address.period",
        "max": "0"
      },
      {
        "id": "Location.physicalType",
        "path": "Location.physicalType",
        "max": "0"
      },
      {
        "id": "Location.position",
        "path": "Location.position",
        "max": "0"
      },
      {
        "id": "Location.managingOrganization",
        "path": "Location.managingOrganization",
        "max": "0"
      },
      {
        "id": "Location.partOf",
        "path": "Location.partOf",
        "max": "0"
      },
      {
        "id": "Location.hoursOfOperation",
        "path": "Location.hoursOfOperation",
        "max": "0"
      },
      {
        "id": "Location.availabilityExceptions",
        "path": "Location.availabilityExceptions",
        "max": "0"
      },
      {
        "id": "Location.endpoint",
        "path": "Location.endpoint",
        "max": "0"
      }
    ]
  }
}