LabPatient

Introduction

Formal url http://devdays-example-ig.com/fhir/StructureDefinition/DevDaysIGtutorial-Patient
Version 1.0.0
Published by Example, someone@somewhere.org
Status active (since 2019-06-08)

This Structure Definition defines the required elements and constraints on the Patient resource. DevDaysIGtutorial-Patient refers to this StructureDefinition. Example text....

StructureDefinition LabPatient

idΣ0..1string
metaΣ0..1Meta
implicitRulesΣ ?!0..1uri
language0..1codeBinding
text0..1Narrative
contained0..*Resource
extensionC0..*Extension
modifierExtension?! C0..*Extension
id0..1string
extensionC0..*Extension
useΣ ?!0..1codeBinding
typeΣ0..1CodeableConceptBinding
systemS Σ1..1uri
valueS Σ1..1string
periodΣ0..1Period
assignerΣ0..1Reference(Organization)
activeΣ ?!0..0boolean
id0..1string
extensionC0..*Extension
useΣ ?!0..0codeBinding
textS Σ0..1string
familyS Σ1..1string
givenS Σ0..1string
prefixΣ0..0string
suffixΣ0..0string
periodΣ0..0Period
telecomΣ0..0ContactPoint
genderS Σ0..1codeBinding
birthDateS Σ1..1date
addressΣ0..0Address
maritalStatus0..0CodeableConceptBinding
photo0..0Attachment
generalPractitioner0..0Reference(Organization | Practitioner | PractitionerRole)
managingOrganizationΣ0..0Reference(Organization)

Valid example

File: Valid: Pietje Puk

<Patient xmlns="http://hl7.org/fhir">
<id value="example-valid-labpatient-01" />
<profile value="http://devdays-example-ig.com/fhir/StructureDefinition/DevDaysIGtutorial-Patient" />
</meta>
<system value="https://devdays-example-ig.com/NamingSystem/labPatientIdentifier" />
<value value="1142dd8e-494d-4a01-823c-047b8bdb35c8" />
</identifier>
<text value="Mr. Pietje Puk" />
<family value="Puk" />
<given value="Pietje" />
</name>
<gender value="male" />
<birthDate value="1981-08-20" />
</Patient>
{
"resourceType": "Patient",
"id": "example-valid-labpatient-01",
"meta": {
"profile": [
"http://devdays-example-ig.com/fhir/StructureDefinition/DevDaysIGtutorial-Patient"
]
},
{
"system": "https://devdays-example-ig.com/NamingSystem/labPatientIdentifier",
"value": "1142dd8e-494d-4a01-823c-047b8bdb35c8"
}
],
"name": [
{
"text": "Mr. Pietje Puk",
"family": "Puk",
"given": [
"Pietje"
]
}
],
"gender": "male",
"birthDate": "1981-08-20"
}

LabPatient invalid example

Invalid: Pietje Puk

<Patient xmlns="http://hl7.org/fhir">
<id value="example-invalid-labpatient-01" />
<profile value="http://devdays-example-ig.com/fhir/StructureDefinition/DevDaysIGtutorial-Patient" />
</meta>
<!-- Missing system -->
<value value="1142dd8e-494d-4a01-823c-047b8bdb35c8" />
</identifier>
<!-- incorrect active element -->
<active value="true" />
<text value="Mr. Pietje Puk" />
<family value="Puk" />
<given value="Pietje" />
</name>
<gender value="male" />
<birthDate value="1981-08-20" />
</Patient>
{
"resourceType": "Patient",
"id": "example-invalid-labpatient-01",
"meta": {
"profile": [
"http://devdays-example-ig.com/fhir/StructureDefinition/DevDaysIGtutorial-Patient"
]
},
{
"value": "1142dd8e-494d-4a01-823c-047b8bdb35c8"
}
],
"active": true,
"name": [
{
"text": "Mr. Pietje Puk",
"family": "Puk",
"given": [
"Pietje"
]
}
],
"gender": "male",
"birthDate": "1981-08-20"
}