{
  "resourceType": "StructureDefinition",
  "id": "93ffe9c4-bd32-42b2-ab95-9416c7307167",
  "meta": {
    "versionId": "6",
    "lastUpdated": "2017-07-20T19:23:53.057+00:00"
  },
  "text": {
    "status": "generated",
    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>\nThese are the requirements for the Patient resource as they are appeared in the BMOHORB (Berzerkistan Ministry of Health Official Requirement Bulletin), April 25, 2017 – Edition #150\n</p></div>"
  },
  "extension": [
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
      "valueCode": "pa"
    }
  ],
  "url": "http://hl7.org/fhir/StructureDefinition/BMOPatient",
  "version": "1",
  "name": "BMOPatient",
  "title": "BMOHORB150-Patient",
  "status": "draft",
  "date": "2017-07-16T12:37:27.389+00:00",
  "description": "These are the requirements for the Patient resource as they are appeared in the BMOHORB (Berzerkistan Ministry of Health Official Requirement Bulletin), April 25, 2017 – Edition #150",
  "purpose": "Patient Information",
  "fhirVersion": "3.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Patient",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Patient",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Patient",
        "path": "Patient",
        "short": "Information about a BMO Patient",
        "definition": "Required demographics for a BMO Patient"
      },
      {
        "path": "Patient.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Patient.extension:PPHTaxSituation",
        "path": "Patient.extension",
        "sliceName": "PPHTaxSituation",
        "definition": "Req # BMHO.121.5: PPH Tax: The resource shall include the PPH TaxSituation extension which is mandatory (included as a modifierExtension), and shall be coded using the PPH Tax Value Set",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "PPHTaxSituation"
          }
        ]
      },
      {
        "id": "Patient.identifier",
        "path": "Patient.identifier",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "system"
            }
          ],
          "rules": "open"
        },
        "min": 1,
        "max": "1"
      },
      {
        "id": "Patient.identifier:BNI",
        "path": "Patient.identifier",
        "sliceName": "BNI",
        "short": "BNI Identifier for the patient",
        "definition": "Req # BMHO.121.4.a: BNI : The first one shall be the BNI identifier (system: www.berzerkistan.gov/bni, value equal to the BNI identifier for the patient)",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Patient.identifier:BNI.use",
        "path": "Patient.identifier.use",
        "max": "0"
      },
      {
        "id": "Patient.identifier:BNI.type",
        "path": "Patient.identifier.type",
        "max": "0"
      },
      {
        "id": "Patient.identifier:BNI.system:BNI",
        "path": "Patient.identifier.system",
        "sliceName": "BNI",
        "short": "BNI Identifier",
        "definition": "Req # BMHO.121.4.a: BNI : The first one shall be the BNI identifier (system: www.berzerkistan.gov/bni, value equal to the BNI identifier for the patient)",
        "min": 1,
        "fixedUri": "www.berzerkistan.gov/bni"
      },
      {
        "id": "Patient.identifier:BNI.value:BNI",
        "path": "Patient.identifier.value",
        "sliceName": "BNI",
        "short": "BNI Identifier for the patient",
        "min": 1
      },
      {
        "id": "Patient.identifier:BNI.period",
        "path": "Patient.identifier.period",
        "max": "0"
      },
      {
        "id": "Patient.identifier:BNI.assigner",
        "path": "Patient.identifier.assigner",
        "max": "0"
      },
      {
        "id": "Patient.identifier:NHIB",
        "path": "Patient.identifier",
        "sliceName": "NHIB",
        "short": "NHIB Identifier for the patient",
        "definition": "Req # BMHO.121.4.b: NHIB: The second one shall be the NHIB identifier (system: www.berzerkistan.gov/nhib, value equal to the NHIB identifier for the patient)",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Patient.identifier:NHIB.use",
        "path": "Patient.identifier.use",
        "max": "0"
      },
      {
        "id": "Patient.identifier:NHIB.type",
        "path": "Patient.identifier.type",
        "max": "0"
      },
      {
        "id": "Patient.identifier:NHIB.system:NHIB",
        "path": "Patient.identifier.system",
        "sliceName": "NHIB",
        "short": "NHIB identifier",
        "min": 1,
        "fixedUri": "http://www.berzerkistan.gov/nhib"
      },
      {
        "id": "Patient.identifier:NHIB.value",
        "path": "Patient.identifier.value",
        "short": "NHIB Identifier for the patient",
        "min": 1
      },
      {
        "id": "Patient.identifier:NHIB.period",
        "path": "Patient.identifier.period",
        "max": "0"
      },
      {
        "id": "Patient.identifier:NHIB.assigner",
        "path": "Patient.identifier.assigner",
        "max": "0"
      },
      {
        "id": "Patient.active",
        "path": "Patient.active",
        "max": "0"
      },
      {
        "id": "Patient.name",
        "path": "Patient.name",
        "requirements": "Req # BMHO.121.3: Name - Element name is mandatory and shall contain family and given names",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Patient.name.use",
        "path": "Patient.name.use",
        "max": "0"
      },
      {
        "id": "Patient.name.text",
        "path": "Patient.name.text",
        "max": "0"
      },
      {
        "id": "Patient.name.family",
        "path": "Patient.name.family",
        "min": 1
      },
      {
        "id": "Patient.name.given",
        "path": "Patient.name.given",
        "min": 1,
        "max": "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",
        "path": "Patient.telecom",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Patient.telecom.system",
        "path": "Patient.telecom.system",
        "definition": "Req # BMHO.121.7: Telephone: A local Berzerkistan telephone number (beginning with +5411) is required in the telecom.value, and telecom.system should be fixed to ‘phone’",
        "min": 1,
        "fixedCode": "phone"
      },
      {
        "id": "Patient.telecom.value",
        "path": "Patient.telecom.value",
        "definition": "- Req # BMHO.121.7: Telephone: A local Berzerkistan telephone number (beginning with +5411) is required in the telecom.value, and telecom.system should be fixed to ‘phone’",
        "min": 1
      },
      {
        "id": "Patient.telecom.use",
        "path": "Patient.telecom.use",
        "max": "0"
      },
      {
        "id": "Patient.telecom.rank",
        "path": "Patient.telecom.rank",
        "max": "0"
      },
      {
        "id": "Patient.telecom.period",
        "path": "Patient.telecom.period",
        "max": "0"
      },
      {
        "id": "Patient.gender",
        "path": "Patient.gender",
        "definition": "Req # BMHO.121.1: Gender - Element gender is mandatory, and should be extracted from the FHIR vocabulary for gender: Options for value are ‘male’ and ‘female’, 'other' and 'unknown'",
        "min": 1
      },
      {
        "id": "Patient.birthDate",
        "path": "Patient.birthDate",
        "definition": "Req # BMHO.121.2: BirthDate - Element birthdate is mandatory, birthdate, shall be populated with the patient birthdate in the format ‘yyyy-mm-dd’.",
        "min": 1
      },
      {
        "id": "Patient.deceased[x]",
        "path": "Patient.deceased[x]",
        "max": "0"
      },
      {
        "id": "Patient.address",
        "path": "Patient.address",
        "max": "0"
      },
      {
        "id": "Patient.maritalStatus",
        "path": "Patient.maritalStatus",
        "max": "0"
      },
      {
        "id": "Patient.multipleBirth[x]",
        "path": "Patient.multipleBirth[x]",
        "max": "0"
      },
      {
        "id": "Patient.photo",
        "path": "Patient.photo",
        "max": "0"
      },
      {
        "id": "Patient.contact",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
            "valueString": "Contact"
          }
        ],
        "path": "Patient.contact",
        "max": "0"
      },
      {
        "id": "Patient.animal",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
            "valueString": "Animal"
          }
        ],
        "path": "Patient.animal",
        "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"
      }
    ]
  }
}