{
  "resourceType": "StructureDefinition",
  "meta": {
    "lastUpdated": "2018-04-23T10:11:40.555+00:00"
  },
  "url": "http://ci-git.noemalife.loc/xvalue/smart-layer/src/master/base/Administration/Patient",
  "version": "0.0.1",
  "name": "Patient",
  "status": "draft",
  "date": "2018-04-23T07:35:16.334+00:00",
  "description": "Definition of base Patient profile.",
  "fhirVersion": "3.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Patient",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Patient",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Patient.identifier",
        "path": "Patient.identifier",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "system"
            }
          ],
          "rules": "open"
        },
        "definition": "Patient identifier from dedalus MPI",
        "patternIdentifier": {
          "use": "official",
          "system": "urn:oid:2.16.840.1.113883.2.9.3.12.4.1",
          "assigner": {
            "display": "MPI dedalus"
          }
        },
        "mustSupport": true
      },
      {
        "id": "Patient.identifier.system",
        "path": "Patient.identifier.system",
        "definition": "Establishes the namespace for the value - that is, a URL that describes a set values that are unique. This is the identifier element used to distinguish an identifier inside a list",
        "min": 1,
        "example": [
          {
            "label": "Dedalus registered HL7 OID",
            "valueUri": "urn:oid:2.16.840.1.113883.2.9.3.12.4.1"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Patient.identifier.value",
        "path": "Patient.identifier.value",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Patient.identifier.period",
        "path": "Patient.identifier.period",
        "mustSupport": true
      },
      {
        "id": "Patient.name",
        "path": "Patient.name",
        "mustSupport": true
      },
      {
        "id": "Patient.name.family",
        "path": "Patient.name.family",
        "mustSupport": true
      },
      {
        "id": "Patient.name.given",
        "path": "Patient.name.given",
        "mustSupport": true
      },
      {
        "id": "Patient.telecom",
        "path": "Patient.telecom",
        "mustSupport": true
      },
      {
        "id": "Patient.gender",
        "path": "Patient.gender",
        "mustSupport": true
      },
      {
        "id": "Patient.birthDate",
        "path": "Patient.birthDate",
        "mustSupport": true
      },
      {
        "id": "Patient.deceased[x]",
        "path": "Patient.deceased[x]",
        "mustSupport": true
      },
      {
        "id": "Patient.address",
        "path": "Patient.address",
        "mustSupport": true
      },
      {
        "id": "Patient.address.extension",
        "path": "Patient.address.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Patient.address.extension:street",
        "path": "Patient.address.extension",
        "sliceName": "street",
        "short": "Address street",
        "definition": "Name of the street without house number",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/StructureDefinition/iso21090-AD-use"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Patient.address.extension:houseNumber",
        "path": "Patient.address.extension",
        "sliceName": "houseNumber",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Patient.address.extension:building",
        "path": "Patient.address.extension",
        "sliceName": "building",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-unitID"
          }
        ]
      },
      {
        "id": "Patient.address.use",
        "path": "Patient.address.use",
        "defaultValueCode": "home",
        "mustSupport": true
      },
      {
        "id": "Patient.address.line",
        "path": "Patient.address.line",
        "mustSupport": true
      },
      {
        "id": "Patient.address.city",
        "path": "Patient.address.city",
        "mustSupport": true
      },
      {
        "id": "Patient.address.postalCode",
        "path": "Patient.address.postalCode",
        "mustSupport": true
      },
      {
        "id": "Patient.address.country",
        "path": "Patient.address.country",
        "short": "shall be ISO 3166 3 letter code",
        "mustSupport": true,
        "binding": {
          "strength": "required",
          "description": "ISO 3166 3 letter code"
        }
      },
      {
        "id": "Patient.address.period",
        "path": "Patient.address.period",
        "mustSupport": true
      },
      {
        "id": "Patient.animal",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
            "valueString": "Animal"
          }
        ],
        "path": "Patient.animal",
        "max": "0",
        "mustSupport": false
      }
    ]
  }
}