{
  "resourceType": "StructureDefinition",
  "id": "ssiq-patient",
  "meta": {
    "lastUpdated": "2021-01-15T18:23:11.312+00:00"
  },
  "url": "https://simplifier.net/MPI/SSIQPatient/",
  "name": "SSIQPatient",
  "status": "draft",
  "date": "2021-01-15T18:18:40.7730693+00:00",
  "fhirVersion": "4.0.1",
  "mapping": [
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    },
    {
      "identity": "cda",
      "uri": "http://hl7.org/v3/cda",
      "name": "CDA (R2)"
    },
    {
      "identity": "w5",
      "uri": "http://hl7.org/fhir/fivews",
      "name": "FiveWs Pattern Mapping"
    },
    {
      "identity": "v2",
      "uri": "http://hl7.org/v2",
      "name": "HL7 v2 Mapping"
    },
    {
      "identity": "loinc",
      "uri": "http://loinc.org",
      "name": "LOINC code for the element"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "Patient",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Patient",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Patient.extension",
        "path": "Patient.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Patient.extension:genderIdentity",
        "path": "Patient.extension",
        "sliceName": "genderIdentity",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/patient-genderIdentity"
            ]
          }
        ]
      },
      {
        "id": "Patient.extension:birthPlace",
        "path": "Patient.extension",
        "sliceName": "birthPlace",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/patient-birthPlace"
            ]
          }
        ]
      },
      {
        "id": "Patient.extension:birthPlace.value[x].use",
        "path": "Patient.extension.value[x].use",
        "max": "0"
      },
      {
        "id": "Patient.extension:birthPlace.value[x].type",
        "path": "Patient.extension.value[x].type",
        "max": "0"
      },
      {
        "id": "Patient.extension:birthPlace.value[x].text",
        "path": "Patient.extension.value[x].text",
        "max": "0"
      },
      {
        "id": "Patient.extension:birthPlace.value[x].line",
        "path": "Patient.extension.value[x].line",
        "max": "0"
      },
      {
        "id": "Patient.extension:birthPlace.value[x].city",
        "path": "Patient.extension.value[x].city",
        "max": "0"
      },
      {
        "id": "Patient.extension:birthPlace.value[x].district",
        "path": "Patient.extension.value[x].district",
        "max": "0"
      },
      {
        "id": "Patient.extension:birthPlace.value[x].state",
        "path": "Patient.extension.value[x].state",
        "max": "0"
      },
      {
        "id": "Patient.extension:birthPlace.value[x].postalCode",
        "path": "Patient.extension.value[x].postalCode",
        "max": "0"
      },
      {
        "id": "Patient.extension:birthPlace.value[x].period",
        "path": "Patient.extension.value[x].period",
        "max": "0"
      },
      {
        "id": "Patient.extension:nationality",
        "path": "Patient.extension",
        "sliceName": "nationality",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/patient-nationality"
            ]
          }
        ]
      },
      {
        "id": "Patient.extension:TipoPrevision",
        "path": "Patient.extension",
        "sliceName": "TipoPrevision",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://ssiq.cens.cl/fhir/StructureDefinition/TipoPrevisionSSIQ"
            ]
          }
        ]
      },
      {
        "id": "Patient.extension:SubTipoPrevision",
        "path": "Patient.extension",
        "sliceName": "SubTipoPrevision",
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://ssiq.cens.cl/fhir/StructureDefinition/SubTipoPrevisionSSIQ"
            ]
          }
        ]
      },
      {
        "id": "Patient.extension:ethnicity",
        "path": "Patient.extension",
        "sliceName": "ethnicity",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://example.org/fhir/StructureDefinition/Ethnicity"
            ]
          }
        ]
      },
      {
        "id": "Patient.extension:religion",
        "path": "Patient.extension",
        "sliceName": "religion",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/patient-religion"
            ]
          }
        ]
      },
      {
        "id": "Patient.extension:instructionLevel",
        "path": "Patient.extension",
        "sliceName": "instructionLevel",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://example.org/fhir/StructureDefinition/InstructionLevel"
            ]
          }
        ]
      },
      {
        "id": "Patient.identifier",
        "path": "Patient.identifier",
        "min": 1
      },
      {
        "id": "Patient.identifier.type.coding.system",
        "path": "Patient.identifier.type.coding.system",
        "fixedUri": "http://terminology.hl7.org/CodeSystem/v2-0203"
      },
      {
        "id": "Patient.active",
        "path": "Patient.active",
        "max": "0"
      },
      {
        "id": "Patient.name",
        "path": "Patient.name",
        "min": 1
      },
      {
        "id": "Patient.name.text",
        "path": "Patient.name.text",
        "short": "Nombre Completo"
      },
      {
        "id": "Patient.name.family.extension",
        "path": "Patient.name.family.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Patient.name.family.extension:fathersFamily",
        "path": "Patient.name.family.extension",
        "sliceName": "fathersFamily",
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/humanname-fathers-family"
            ]
          }
        ]
      },
      {
        "id": "Patient.name.family.extension:fathersFamily.value[x]",
        "path": "Patient.name.family.extension.value[x]",
        "short": "Apellido Paterno"
      },
      {
        "id": "Patient.name.family.extension:mothersFamily",
        "path": "Patient.name.family.extension",
        "sliceName": "mothersFamily",
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/humanname-mothers-family"
            ]
          }
        ]
      },
      {
        "id": "Patient.name.family.extension:mothersFamily.value[x]",
        "path": "Patient.name.family.extension.value[x]",
        "short": "Apellido Materno"
      },
      {
        "id": "Patient.name.given",
        "path": "Patient.name.given",
        "short": "Nombres",
        "min": 1
      },
      {
        "id": "Patient.name.prefix",
        "path": "Patient.name.prefix",
        "max": "0"
      },
      {
        "id": "Patient.name.suffix",
        "path": "Patient.name.suffix",
        "max": "0"
      },
      {
        "id": "Patient.name.period",
        "path": "Patient.name.period",
        "max": "0"
      },
      {
        "id": "Patient.telecom.system",
        "path": "Patient.telecom.system",
        "short": "phone | mobile | email | pager | url | sms | other",
        "min": 1
      },
      {
        "id": "Patient.telecom.value",
        "path": "Patient.telecom.value",
        "min": 1
      },
      {
        "id": "Patient.gender",
        "path": "Patient.gender",
        "min": 1
      },
      {
        "id": "Patient.deceased[x]",
        "path": "Patient.deceased[x]",
        "short": "Fecha De Defunción",
        "type": [
          {
            "code": "dateTime"
          }
        ]
      },
      {
        "id": "Patient.address.extension",
        "path": "Patient.address.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Patient.address.extension:Geolocalizacion",
        "path": "Patient.address.extension",
        "sliceName": "Geolocalizacion",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/geolocation"
            ]
          }
        ]
      },
      {
        "id": "Patient.address.use",
        "path": "Patient.address.use",
        "definition": "El proposito de la dirección"
      },
      {
        "id": "Patient.address.type",
        "path": "Patient.address.type",
        "definition": "Tipo Dirección"
      },
      {
        "id": "Patient.address.text",
        "path": "Patient.address.text",
        "min": 1
      },
      {
        "id": "Patient.address.line.extension",
        "path": "Patient.address.line.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Patient.address.line.extension:streetName",
        "path": "Patient.address.line.extension",
        "sliceName": "streetName",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"
            ]
          }
        ]
      },
      {
        "id": "Patient.address.line.extension:houseNumber",
        "path": "Patient.address.line.extension",
        "sliceName": "houseNumber",
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"
            ]
          }
        ]
      },
      {
        "id": "Patient.address.line.extension:additionalLocator",
        "path": "Patient.address.line.extension",
        "sliceName": "additionalLocator",
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"
            ]
          }
        ]
      },
      {
        "id": "Patient.address.line.extension:PoblacionVillaCondominio",
        "path": "Patient.address.line.extension",
        "sliceName": "PoblacionVillaCondominio",
        "short": "Población/Villa/condominio",
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetAddressLine"
            ]
          }
        ]
      },
      {
        "id": "Patient.address.line.extension:streetNameType",
        "path": "Patient.address.line.extension",
        "sliceName": "streetNameType",
        "short": "01 CALLE | 02 AVENIDA | 03 PASAJE | 04 CAMINO | 09 OTRO",
        "definition": "The designation given to the street. (e.g. Street, Avenue, Crescent, etc.)",
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetNameType"
            ]
          }
        ]
      },
      {
        "id": "Patient.address.city",
        "path": "Patient.address.city",
        "short": "Ciudad / Pueblo / Localidad"
      },
      {
        "id": "Patient.address.district",
        "path": "Patient.address.district",
        "short": "Comuna",
        "min": 1
      },
      {
        "id": "Patient.address.state",
        "path": "Patient.address.state",
        "short": "Región",
        "min": 1
      },
      {
        "id": "Patient.address.postalCode",
        "path": "Patient.address.postalCode",
        "max": "0"
      },
      {
        "id": "Patient.address.period",
        "path": "Patient.address.period",
        "max": "0"
      },
      {
        "id": "Patient.multipleBirth[x]",
        "path": "Patient.multipleBirth[x]",
        "max": "0"
      },
      {
        "id": "Patient.photo",
        "path": "Patient.photo",
        "max": "0"
      },
      {
        "id": "Patient.contact",
        "path": "Patient.contact",
        "max": "0"
      },
      {
        "id": "Patient.communication",
        "path": "Patient.communication",
        "max": "0"
      },
      {
        "id": "Patient.generalPractitioner",
        "path": "Patient.generalPractitioner",
        "max": "0"
      },
      {
        "id": "Patient.managingOrganization",
        "path": "Patient.managingOrganization",
        "max": "0"
      },
      {
        "id": "Patient.link",
        "path": "Patient.link",
        "max": "0"
      }
    ]
  }
}