{
  "resourceType": "StructureDefinition",
  "id": "fr-location",
  "url": "http://interopsante.org/fhir/StructureDefinition/FrLocation",
  "version": "1.0.1",
  "name": "FrLocation",
  "status": "active",
  "date": "2022-10-20",
  "publisher": "InteropSanté",
  "contact": [
    {
      "name": "InteropSanté",
      "telecom": [
        {
          "system": "email",
          "value": "fhir@interopsante.org",
          "use": "work"
        }
      ]
    }
  ],
  "description": "French profile of Location | Profil français de la ressource Location",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Location",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Location",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Location.extension",
        "path": "Location.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Location.extension:usePeriod",
        "path": "Location.extension",
        "sliceName": "usePeriod",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://interopsante.org/fhir/StructureDefinition/FrLocationUsePeriod"
            ]
          }
        ]
      },
      {
        "id": "Location.identifier",
        "path": "Location.identifier",
        "min": 1
      },
      {
        "id": "Location.identifier.use",
        "path": "Location.identifier.use",
        "binding": {
          "strength": "required",
          "valueSet": "http://hl7.org/fhir/ValueSet/identifier-use"
        }
      },
      {
        "id": "Location.identifier.type",
        "path": "Location.identifier.type",
        "min": 1,
        "binding": {
          "strength": "extensible",
          "valueSet": "http://interopsante.org/fhir/ValueSet/fr-location-identifier-type"
        }
      },
      {
        "id": "Location.identifier.system",
        "path": "Location.identifier.system",
        "definition": "Establishes the namespace for the value - that is, a URL that describes a set values that are unique.",
        "min": 1
      },
      {
        "id": "Location.identifier.value",
        "path": "Location.identifier.value",
        "min": 1
      },
      {
        "id": "Location.identifier.assigner",
        "path": "Location.identifier.assigner",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://interopsante.org/fhir/StructureDefinition/FrOrganization"
            ]
          }
        ]
      },
      {
        "id": "Location.status",
        "path": "Location.status",
        "binding": {
          "strength": "required",
          "valueSet": "http://hl7.org/fhir/ValueSet/location-status"
        }
      },
      {
        "id": "Location.operationalStatus",
        "path": "Location.operationalStatus",
        "binding": {
          "strength": "preferred",
          "valueSet": "http://terminology.hl7.org/ValueSet/v2-0116"
        }
      },
      {
        "id": "Location.mode",
        "path": "Location.mode",
        "binding": {
          "strength": "required",
          "valueSet": "http://hl7.org/fhir/ValueSet/location-mode"
        }
      },
      {
        "id": "Location.type",
        "path": "Location.type",
        "max": "1",
        "binding": {
          "strength": "extensible",
          "valueSet": "http://interopsante.org/fhir/ValueSet/fr-location-type"
        }
      },
      {
        "id": "Location.telecom",
        "path": "Location.telecom",
        "type": [
          {
            "code": "ContactPoint",
            "profile": [
              "http://interopsante.org/fhir/StructureDefinition/FrContactPoint"
            ]
          }
        ]
      },
      {
        "id": "Location.address",
        "path": "Location.address",
        "type": [
          {
            "code": "Address",
            "profile": [
              "http://interopsante.org/fhir/StructureDefinition/FrAddress"
            ]
          }
        ]
      },
      {
        "id": "Location.physicalType",
        "path": "Location.physicalType",
        "binding": {
          "strength": "example",
          "valueSet": "http://interopsante.org/fhir/ValueSet/fr-location-physical-type"
        }
      },
      {
        "id": "Location.managingOrganization",
        "path": "Location.managingOrganization",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://interopsante.org/fhir/StructureDefinition/FrOrganization"
            ]
          }
        ]
      },
      {
        "id": "Location.partOf",
        "path": "Location.partOf",
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-hierarchy",
                "valueBoolean": true
              }
            ],
            "code": "Reference",
            "targetProfile": [
              "http://interopsante.org/fhir/StructureDefinition/FrLocation"
            ]
          }
        ]
      },
      {
        "id": "Location.partOf.extension",
        "path": "Location.partOf.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Location.partOf.extension:positionRoom",
        "path": "Location.partOf.extension",
        "sliceName": "positionRoom",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://interopsante.org/fhir/StructureDefinition/FrLocationPartOfPositionRoom"
            ]
          }
        ]
      },
      {
        "id": "Location.hoursOfOperation.daysOfWeek",
        "path": "Location.hoursOfOperation.daysOfWeek",
        "binding": {
          "strength": "required",
          "valueSet": "http://hl7.org/fhir/ValueSet/days-of-week"
        }
      }
    ]
  }
}