{
  "resourceType": "StructureDefinition",
  "meta": {
    "lastUpdated": "2020-01-02T13:46:59.349+00:00"
  },
  "url": "http://hl7.fi/fhir/StructureDefinition/FinnishSchedulingLocation",
  "name": "FinnishSchedulingLocation",
  "status": "draft",
  "date": "2020-01-02T13:46:59.0407037+00:00",
  "description": "Details for schedulable location",
  "fhirVersion": "4.0.0",
  "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": "Location",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Location",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Location.identifier",
        "path": "Location.identifier",
        "requirements": "79 Palveluntoteuttaja tai XX Palveluntoteuttajan palvelupisteen tunniste",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Location.identifier.value",
        "path": "Location.identifier.value",
        "requirements": "79 Palveluntoteuttaja tai XX Palveluntoteuttajan palvelupisteen tunniste"
      },
      {
        "id": "Location.name",
        "path": "Location.name",
        "requirements": "80 Palveluntoteuttajan nimi"
      },
      {
        "id": "Location.mode",
        "path": "Location.mode",
        "max": "0"
      },
      {
        "id": "Location.telecom",
        "path": "Location.telecom",
        "requirements": "83 Yhteystiedot"
      },
      {
        "id": "Location.telecom.system",
        "path": "Location.telecom.system",
        "min": 1
      },
      {
        "id": "Location.telecom.value",
        "path": "Location.telecom.value",
        "min": 1
      },
      {
        "id": "Location.telecom.use",
        "path": "Location.telecom.use",
        "max": "0"
      },
      {
        "id": "Location.telecom.rank",
        "path": "Location.telecom.rank",
        "max": "0"
      },
      {
        "id": "Location.telecom.period",
        "path": "Location.telecom.period",
        "max": "0"
      },
      {
        "id": "Location.address.use",
        "path": "Location.address.use",
        "max": "0"
      },
      {
        "id": "Location.address.type",
        "path": "Location.address.type",
        "max": "0"
      },
      {
        "id": "Location.address.text",
        "path": "Location.address.text",
        "requirements": "81.1 Palvelupisteen sijainnin lisätiedot"
      },
      {
        "id": "Location.address.line",
        "path": "Location.address.line",
        "requirements": "81 Palvelupisteen sijainti"
      },
      {
        "id": "Location.address.city",
        "path": "Location.address.city",
        "requirements": "81 Palvelupisteen sijainti"
      },
      {
        "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",
        "requirements": "81 Palvelupisteen sijainti"
      },
      {
        "id": "Location.address.country",
        "path": "Location.address.country",
        "requirements": "81 Palvelupisteen sijainti"
      },
      {
        "id": "Location.address.period",
        "path": "Location.address.period",
        "max": "0"
      },
      {
        "id": "Location.physicalType",
        "path": "Location.physicalType",
        "max": "0"
      },
      {
        "id": "Location.managingOrganization",
        "path": "Location.managingOrganization",
        "requirements": "77 Palveluntuottaja\r\n78 Palveluntuottajan nimi"
      },
      {
        "id": "Location.managingOrganization.identifier",
        "path": "Location.managingOrganization.identifier",
        "requirements": "77 Palveluntuottaja \r\n\r\nTHL - SOTE-organisaatiorekisteri 1.2.246.537.6.202.2008\r\nValvira - Terveydenhuollon itsenäiset ammatinharjoittajat 1.2.246.537.6.203.2014"
      },
      {
        "id": "Location.managingOrganization.identifier.use",
        "path": "Location.managingOrganization.identifier.use",
        "max": "0"
      },
      {
        "id": "Location.managingOrganization.identifier.type",
        "path": "Location.managingOrganization.identifier.type",
        "max": "0"
      },
      {
        "id": "Location.managingOrganization.identifier.system",
        "path": "Location.managingOrganization.identifier.system",
        "min": 1
      },
      {
        "id": "Location.managingOrganization.identifier.value",
        "path": "Location.managingOrganization.identifier.value",
        "min": 1
      },
      {
        "id": "Location.managingOrganization.identifier.period",
        "path": "Location.managingOrganization.identifier.period",
        "max": "0"
      },
      {
        "id": "Location.managingOrganization.identifier.assigner",
        "path": "Location.managingOrganization.identifier.assigner",
        "max": "0"
      },
      {
        "id": "Location.endpoint",
        "path": "Location.endpoint",
        "max": "0"
      }
    ]
  }
}