BGHMCPatient

Base Definition: Organization

Canonical URL: BGHMCPatient

idΣ0..1string
metaΣ0..1Meta
implicitRulesΣ ?!0..1uri
language0..1codeBinding
text0..1Narrative
contained0..*Resource
extensionI0..*Extension
modifierExtension?! I0..*Extension
id0..1string
extensionI0..*Extension
useΣ ?!0..0codeBinding
id0..1string
extensionI0..*Extension
id0..1string
extensionI0..*Extension
systemΣ1..1uriFixed Value
versionΣ0..0string
codeΣ1..1codeFixed Value
displayΣ1..1stringFixed Value
userSelectedΣ0..0boolean
textΣ1..1stringFixed Value
systemΣ0..0uri
valueΣ1..1string
periodΣ I0..0Period
assignerΣ I0..0Reference(Organization)
activeS Σ ?!1..1boolean
nameS Σ1..1BaseHumanName
mobileΣ I0..*MobileContactPoint
emailΣ I0..*EmailContactPoint
landlineΣ I0..*LandlineContactPoint
genderS Σ1..1codeBinding
birthDateS Σ1..1date
permanentΣ0..1PermanentAddress
temporaryΣ0..1TemporaryAddress
id0..1string
extensionI0..*Extension
codingΣ1..1Coding
textΣ0..1string
photoI0..0Attachment
generalPractitionerI0..0Reference(Organization | Practitioner | PractitionerRole)
managingOrganizationΣ I0..0Reference(Organization)
id0..1string
extensionI0..*Extension
modifierExtensionΣ ?! I0..*Extension
otherΣ I1..1Reference(Patient | RelatedPerson)
typeΣ1..1codeBinding
Patient..
Patient.identifier1..1
Patient.identifier.use..0
Patient.identifier.type..
Patient.identifier.type.coding1..1
Patient.identifier.type.coding.system1..
Patient.identifier.type.coding.version..0
Patient.identifier.type.coding.code1..
Patient.identifier.type.coding.display1..
Patient.identifier.type.coding.userSelected..0
Patient.identifier.type.text1..
Patient.identifier.system..0
Patient.identifier.value1..
Patient.identifier.period..0
Patient.identifier.assigner..0
Patient.active1..
Patient.nameBaseHumanName1..1
Patient.telecom..
Patient.telecomMobileContactPoint..
Patient.telecomEmailContactPoint..
Patient.telecomLandlineContactPoint..
Patient.gender1..
Patient.birthDate1..
Patient.deceased[x]..0
Patient.address..
Patient.addressPermanentAddress..1
Patient.addressTemporaryAddress..1
Patient.maritalStatus1..
Patient.maritalStatus.coding1..1
Patient.multipleBirth[x]..0
Patient.photo..0
Patient.contact..0
Patient.communication..0
Patient.generalPractitioner..0
Patient.managingOrganization..0

<StructureDefinition xmlns="http://hl7.org/fhir">
    <url value="https://bghmc.org/fhir/StructureDefinition/BGHMCPatient" />
    <name value="BGHMCPatient" />
    <status value="draft" />
    <date value="2023-11-06T05:13:24.0142349+00:00" />
    <fhirVersion value="4.0.1" />
    <kind value="resource" />
    <abstract value="false" />
    <type value="Patient" />
    <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Patient" />
    <derivation value="constraint" />
    <differential>
        <element id="Patient.identifier">
            <path value="Patient.identifier" />
            <min value="1" />
            <max value="1" />
            <mustSupport value="true" />
        </element>
        <element id="Patient.identifier.use">
            <path value="Patient.identifier.use" />
            <max value="0" />
        </element>
        <element id="Patient.identifier.type.coding">
            <path value="Patient.identifier.type.coding" />
            <min value="1" />
            <max value="1" />
        </element>
        <element id="Patient.identifier.type.coding.system">
            <path value="Patient.identifier.type.coding.system" />
            <min value="1" />
            <fixedUri value="http://terminology.hl7.org/CodeSystem/v2-0203" />
        </element>
        <element id="Patient.identifier.type.coding.version">
            <path value="Patient.identifier.type.coding.version" />
            <max value="0" />
        </element>
        <element id="Patient.identifier.type.coding.code">
            <path value="Patient.identifier.type.coding.code" />
            <min value="1" />
            <fixedCode value="MR" />
        </element>
        <element id="Patient.identifier.type.coding.display">
            <path value="Patient.identifier.type.coding.display" />
            <min value="1" />
            <fixedString value="Medical record number" />
        </element>
        <element id="Patient.identifier.type.coding.userSelected">
            <path value="Patient.identifier.type.coding.userSelected" />
            <max value="0" />
        </element>
        <element id="Patient.identifier.type.text">
            <path value="Patient.identifier.type.text" />
            <min value="1" />
            <fixedString value="Hospital Number" />
        </element>
        <element id="Patient.identifier.system">
            <path value="Patient.identifier.system" />
            <max value="0" />
        </element>
        <element id="Patient.identifier.value">
            <path value="Patient.identifier.value" />
            <min value="1" />
        </element>
        <element id="Patient.identifier.period">
            <path value="Patient.identifier.period" />
            <max value="0" />
        </element>
        <element id="Patient.identifier.assigner">
            <path value="Patient.identifier.assigner" />
            <max value="0" />
        </element>
        <element id="Patient.active">
            <path value="Patient.active" />
            <min value="1" />
            <mustSupport value="true" />
        </element>
        <element id="Patient.name">
            <path value="Patient.name" />
            <min value="1" />
            <max value="1" />
            <type>
                <code value="HumanName" />
                <profile value="https://bghmc.org/fhir/StructureDefinition/BaseHumanName" />
            </type>
            <mustSupport value="true" />
        </element>
        <element id="Patient.telecom">
            <path value="Patient.telecom" />
            <slicing>
                <discriminator>
                    <type value="value" />
                    <path value="system" />
                </discriminator>
                <rules value="open" />
            </slicing>
        </element>
        <element id="Patient.telecom:mobile">
            <path value="Patient.telecom" />
            <sliceName value="mobile" />
            <type>
                <code value="ContactPoint" />
                <profile value="https://bghmc.org/fhir/StructureDefinition/MobileContactPoint" />
            </type>
        </element>
        <element id="Patient.telecom:email">
            <path value="Patient.telecom" />
            <sliceName value="email" />
            <type>
                <code value="ContactPoint" />
                <profile value="https://bghmc.org/fhir/StructureDefinition/EmailContactPoint" />
            </type>
        </element>
        <element id="Patient.telecom:landline">
            <path value="Patient.telecom" />
            <sliceName value="landline" />
            <type>
                <code value="ContactPoint" />
                <profile value="https://bghmc.org/fhir/StructureDefinition/LandlineContactPoint" />
            </type>
        </element>
        <element id="Patient.gender">
            <path value="Patient.gender" />
            <min value="1" />
            <mustSupport value="true" />
        </element>
        <element id="Patient.birthDate">
            <path value="Patient.birthDate" />
            <min value="1" />
            <mustSupport value="true" />
        </element>
        <element id="Patient.deceased[x]">
            <path value="Patient.deceased[x]" />
            <max value="0" />
        </element>
        <element id="Patient.address">
            <path value="Patient.address" />
            <slicing>
                <discriminator>
                    <type value="value" />
                    <path value="$this" />
                </discriminator>
                <rules value="open" />
            </slicing>
        </element>
        <element id="Patient.address:permanent">
            <path value="Patient.address" />
            <sliceName value="permanent" />
            <max value="1" />
            <type>
                <code value="Address" />
                <profile value="https://bghmc.org/fhir/StructureDefinition/PermanentAddress" />
            </type>
        </element>
        <element id="Patient.address:temporary">
            <path value="Patient.address" />
            <sliceName value="temporary" />
            <max value="1" />
            <type>
                <code value="Address" />
                <profile value="https://bghmc.org/fhir/StructureDefinition/TemporaryAddress" />
            </type>
        </element>
        <element id="Patient.maritalStatus">
            <path value="Patient.maritalStatus" />
            <min value="1" />
            <mustSupport value="true" />
            <binding>
                <strength value="required" />
            </binding>
        </element>
        <element id="Patient.maritalStatus.coding">
            <path value="Patient.maritalStatus.coding" />
            <min value="1" />
            <max value="1" />
        </element>
        <element id="Patient.multipleBirth[x]">
            <path value="Patient.multipleBirth[x]" />
            <max value="0" />
        </element>
        <element id="Patient.photo">
            <path value="Patient.photo" />
            <max value="0" />
        </element>
        <element id="Patient.contact">
            <path value="Patient.contact" />
            <max value="0" />
        </element>
        <element id="Patient.communication">
            <path value="Patient.communication" />
            <max value="0" />
        </element>
        <element id="Patient.generalPractitioner">
            <path value="Patient.generalPractitioner" />
            <max value="0" />
        </element>
        <element id="Patient.managingOrganization">
            <path value="Patient.managingOrganization" />
            <max value="0" />
        </element>
    </differential>
</StructureDefinition>
{
    "resourceType": "StructureDefinition",
    "url": "https://bghmc.org/fhir/StructureDefinition/BGHMCPatient",
    "name": "BGHMCPatient",
    "status": "draft",
    "date": "2023-11-06T05:13:24.0142349+00:00",
    "fhirVersion": "4.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",
                "min": 1,
                "max": "1",
                "mustSupport": true
            },
            {
                "id": "Patient.identifier.use",
                "path": "Patient.identifier.use",
                "max": "0"
            },
            {
                "id": "Patient.identifier.type.coding",
                "path": "Patient.identifier.type.coding",
                "min": 1,
                "max": "1"
            },
            {
                "id": "Patient.identifier.type.coding.system",
                "path": "Patient.identifier.type.coding.system",
                "min": 1,
                "fixedUri": "http://terminology.hl7.org/CodeSystem/v2-0203"
            },
            {
                "id": "Patient.identifier.type.coding.version",
                "path": "Patient.identifier.type.coding.version",
                "max": "0"
            },
            {
                "id": "Patient.identifier.type.coding.code",
                "path": "Patient.identifier.type.coding.code",
                "min": 1,
                "fixedCode": "MR"
            },
            {
                "id": "Patient.identifier.type.coding.display",
                "path": "Patient.identifier.type.coding.display",
                "min": 1,
                "fixedString": "Medical record number"
            },
            {
                "id": "Patient.identifier.type.coding.userSelected",
                "path": "Patient.identifier.type.coding.userSelected",
                "max": "0"
            },
            {
                "id": "Patient.identifier.type.text",
                "path": "Patient.identifier.type.text",
                "min": 1,
                "fixedString": "Hospital Number"
            },
            {
                "id": "Patient.identifier.system",
                "path": "Patient.identifier.system",
                "max": "0"
            },
            {
                "id": "Patient.identifier.value",
                "path": "Patient.identifier.value",
                "min": 1
            },
            {
                "id": "Patient.identifier.period",
                "path": "Patient.identifier.period",
                "max": "0"
            },
            {
                "id": "Patient.identifier.assigner",
                "path": "Patient.identifier.assigner",
                "max": "0"
            },
            {
                "id": "Patient.active",
                "path": "Patient.active",
                "min": 1,
                "mustSupport": true
            },
            {
                "id": "Patient.name",
                "path": "Patient.name",
                "min": 1,
                "max": "1",
                "type":  [
                    {
                        "code": "HumanName",
                        "profile":  [
                            "https://bghmc.org/fhir/StructureDefinition/BaseHumanName"
                        ]
                    }
                ],
                "mustSupport": true
            },
            {
                "id": "Patient.telecom",
                "path": "Patient.telecom",
                "slicing": {
                    "discriminator":  [
                        {
                            "type": "value",
                            "path": "system"
                        }
                    ],
                    "rules": "open"
                }
            },
            {
                "id": "Patient.telecom:mobile",
                "path": "Patient.telecom",
                "sliceName": "mobile",
                "type":  [
                    {
                        "code": "ContactPoint",
                        "profile":  [
                            "https://bghmc.org/fhir/StructureDefinition/MobileContactPoint"
                        ]
                    }
                ]
            },
            {
                "id": "Patient.telecom:email",
                "path": "Patient.telecom",
                "sliceName": "email",
                "type":  [
                    {
                        "code": "ContactPoint",
                        "profile":  [
                            "https://bghmc.org/fhir/StructureDefinition/EmailContactPoint"
                        ]
                    }
                ]
            },
            {
                "id": "Patient.telecom:landline",
                "path": "Patient.telecom",
                "sliceName": "landline",
                "type":  [
                    {
                        "code": "ContactPoint",
                        "profile":  [
                            "https://bghmc.org/fhir/StructureDefinition/LandlineContactPoint"
                        ]
                    }
                ]
            },
            {
                "id": "Patient.gender",
                "path": "Patient.gender",
                "min": 1,
                "mustSupport": true
            },
            {
                "id": "Patient.birthDate",
                "path": "Patient.birthDate",
                "min": 1,
                "mustSupport": true
            },
            {
                "id": "Patient.deceased[x]",
                "path": "Patient.deceased[x]",
                "max": "0"
            },
            {
                "id": "Patient.address",
                "path": "Patient.address",
                "slicing": {
                    "discriminator":  [
                        {
                            "type": "value",
                            "path": "$this"
                        }
                    ],
                    "rules": "open"
                }
            },
            {
                "id": "Patient.address:permanent",
                "path": "Patient.address",
                "sliceName": "permanent",
                "max": "1",
                "type":  [
                    {
                        "code": "Address",
                        "profile":  [
                            "https://bghmc.org/fhir/StructureDefinition/PermanentAddress"
                        ]
                    }
                ]
            },
            {
                "id": "Patient.address:temporary",
                "path": "Patient.address",
                "sliceName": "temporary",
                "max": "1",
                "type":  [
                    {
                        "code": "Address",
                        "profile":  [
                            "https://bghmc.org/fhir/StructureDefinition/TemporaryAddress"
                        ]
                    }
                ]
            },
            {
                "id": "Patient.maritalStatus",
                "path": "Patient.maritalStatus",
                "min": 1,
                "mustSupport": true,
                "binding": {
                    "strength": "required"
                }
            },
            {
                "id": "Patient.maritalStatus.coding",
                "path": "Patient.maritalStatus.coding",
                "min": 1,
                "max": "1"
            },
            {
                "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"
            }
        ]
    }
}
{
    "resourceType": "Patient",
    "id": "sample-patient",
    "meta": {
        "profile":  [
            "https://bghmc.org/fhir/StructureDefinition/BGHMCPatient"
        ]
    },
    "identifier":  [
        {
            "use": "official",
            "type": {
                "coding":  [
                    {
                        "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
                        "code": "MR",
                        "display": "Medical record number"
                    }
                ],
                "text": "Hospital Number"
            },
            "value": "PH1234567891"
        }
    ],
    "active": true,
    "name":  [
        {
            "use": "official",
            "family": "Dela Cruz",
            "given":  [
                "Juana",
                "Santos"
            ]
        }
    ],
    "telecom":  [
        {
            "system": "phone",
            "value": "+639171234568",
            "use": "mobile"
        },
        {
            "system": "phone",
            "value": "+6321234568",
            "use": "home"
        },
        {
            "system": "email",
            "value": "juana.delacruzjr@example.com",
            "use": "home"
        }
    ],
    "gender": "female",
    "birthDate": "2010-01-01",
    "address":  [
        {
            "use": "home",
            "type": "both",
            "text": "123 Juan Luna St., Tondo, Manila, 1012",
            "line":  [
                "123 Juan Luna St."
            ],
            "city": "Manila",
            "district": "Tondo",
            "state": "NCR",
            "postalCode": "1012",
            "country": "PH"
        }
    ],
    "maritalStatus": {
        "coding":  [
            {
                "system": "http://hl7.org/fhir/marital-status",
                "code": "S",
                "display": "Never Married"
            }
        ]
    },
    "extension":  [
        {
            "url": "https://bghmc.org/fhir/StructureDefinition/PatientPhilhealthRecordExtension",
            "valueReference": {
                "reference": "Person/PH1234567890"
            }
        }
    ]
}