{
  "resourceType": "StructureDefinition",
  "id": "3660a607-c6d7-4775-af1c-94e997e0808c",
  "meta": {
    "lastUpdated": "2021-02-02T13:34:01.23+00:00"
  },
  "url": "https://fhir.cambio.se/StructureDefinition/patient-populationRegistrationCounty",
  "name": "patient-populationRegistrationCounty",
  "status": "draft",
  "date": "2021-02-02T13:33:20.0189096+00:00",
  "description": "A code describing the county in wich patient is registered in. This comes from the Swedish's Tax Agency (Skatteverket).",
  "fhirVersion": "4.0.1",
  "mapping": [
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    }
  ],
  "kind": "complex-type",
  "abstract": false,
  "context": [
    {
      "type": "element",
      "expression": "Patient"
    }
  ],
  "type": "Extension",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension",
  "derivation": "constraint",
  "snapshot": {},
  "differential": {
    "element": [
      {
        "id": "Extension",
        "path": "Extension",
        "short": "The county the patient is registered in",
        "definition": "The county the patient is registered in defined by a code.",
        "comment": "In a Swedish context county corresponds to \"län\"."
      },
      {
        "id": "Extension.url",
        "path": "Extension.url",
        "fixedUri": "https://fhir.cambio.se/StructureDefinition/patient-populationRegistrationCounty"
      },
      {
        "id": "Extension.value[x]",
        "path": "Extension.value[x]",
        "type": [
          {
            "code": "Coding"
          }
        ]
      }
    ]
  }
}