{
  "resourceType": "StructureDefinition",
  "url": "http://example.org/fhir/StructureDefinition/OsirisPatient",
  "version": "V1.0",
  "name": "OsirisPatient",
  "title": "Profil_Osiris_Patient",
  "status": "draft",
  "date": "2019-11-21",
  "publisher": "Bergonie",
  "contact": [
    {
      "name": "Carlo Lucchesi"
    }
  ],
  "description": "Profil et extension de la ressource Patient selon OSIRIS",
  "purpose": "Initiation au profilage",
  "fhirVersion": "4.0.0",
  "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:ClinicalSex",
        "path": "Patient.extension",
        "sliceName": "ClinicalSex",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/patient-genderIdentity"
            ]
          }
        ]
      },
      {
        "id": "Patient.extension:DeathCause",
        "path": "Patient.extension",
        "sliceName": "DeathCause",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://example.org/fhir/StructureDefinition/DeathCause"
            ]
          }
        ]
      },
      {
        "id": "Patient.identifier",
        "path": "Patient.identifier",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "system"
            }
          ],
          "rules": "open"
        },
        "min": 1
      },
      {
        "id": "Patient.identifier:INS-C",
        "path": "Patient.identifier",
        "sliceName": "INS-C",
        "max": "1"
      },
      {
        "id": "Patient.identifier:INS-C.system",
        "path": "Patient.identifier.system",
        "fixedUri": "urn:oid:1.2.250.1.213.1.4.2"
      },
      {
        "id": "Patient.identifier:NIR",
        "path": "Patient.identifier",
        "sliceName": "NIR",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Patient.identifier:NIR.system",
        "path": "Patient.identifier.system",
        "fixedUri": "urn:oid:1.2.250.1.213.1.4.8"
      }
    ]
  }
}