Implementation Guide CH VACD
2.0.0 - STU 2

This page is part of the CH VACD (R4) (v2.0.0: STU 2) based on FHIR R4. . For a full list of available versions, see the Directory of published versions

: Test Case C 05: Document Patient with Past Illness Entries - TTL Representation

Raw ttl | Download


@prefix fhir: <http://hl7.org/fhir/> .
@prefix loinc: <http://loinc.org/rdf#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sct: <http://snomed.info/id/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

 a fhir:Bundle;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "C-D6-P-C1"];
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://fhir.ch/ig/ch-vacd/StructureDefinition/ch-vacd-document-immunization-administration";
       fhir:index 0;
       fhir:link <http://fhir.ch/ig/ch-vacd/StructureDefinition/ch-vacd-document-immunization-administration>     ]
  ];
  fhir:Bundle.identifier [
     fhir:Identifier.system [ fhir:value "urn:ietf:rfc:3986" ];
     fhir:Identifier.value [ fhir:value "urn:uuid:5ceb9787-7ec4-4dd7-9989-ae6a865f7aa0" ]
  ];
  fhir:Bundle.type [ fhir:value "document"];
  fhir:Bundle.timestamp [ fhir:value "2021-10-06T00:00:00.390+02:00"^^xsd:dateTime];
  fhir:Bundle.entry [
     fhir:index 0;
     fhir:Bundle.entry.fullUrl [ fhir:value "http://test.fhir.ch/r4/Composition/C-D6-P-C1-Composition" ];
     fhir:Bundle.entry.resource <http://test.fhir.ch/r4/Composition/C-D6-P-C1-Composition>
  ], [
     fhir:index 1;
     fhir:Bundle.entry.fullUrl [ fhir:value "http://test.fhir.ch/r4/Patient/TC-patient" ];
     fhir:Bundle.entry.resource <http://test.fhir.ch/r4/Patient/TC-patient>
  ], [
     fhir:index 2;
     fhir:Bundle.entry.fullUrl [ fhir:value "http://test.fhir.ch/r4/Organization/TC-ORG1" ];
     fhir:Bundle.entry.resource <http://test.fhir.ch/r4/Organization/TC-ORG1>
  ], [
     fhir:index 3;
     fhir:Bundle.entry.fullUrl [ fhir:value "http://test.fhir.ch/r4/Condition/TCC05-UNDILL1" ];
     fhir:Bundle.entry.resource <http://test.fhir.ch/r4/Condition/TCC05-UNDILL1>
  ].

<http://test.fhir.ch/r4/Composition/C-D6-P-C1-Composition> a fhir:Composition;
  fhir:Resource.id [ fhir:value "C-D6-P-C1-Composition"];
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://fhir.ch/ig/ch-vacd/StructureDefinition/ch-vacd-composition-immunization-administration";
       fhir:index 0;
       fhir:link <http://fhir.ch/ig/ch-vacd/StructureDefinition/ch-vacd-composition-immunization-administration>     ]
  ];
  fhir:Resource.language [ fhir:value "en-US"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en-US\" lang=\"en-US\"><h3>Immunization Administration</h3><p><b>Id: </b>C-D6-P-C1-Composition</p><p><b>Identifier: </b><span>urn:ietf:rfc:3986#urn:uuid:73d0abee-843e-437f-9f52-aeeff8ba758d</span></p><p><b>Status: </b>Final</p><p><b>Code: </b><span>Immunization record (http://snomed.info/sct#41000179103)</span></p><p><b>Patient: </b><a href=\"Patient-TC-patient.html\">Patient/TC-patient</a> Wegmueller Monika</p><p><b>Date: </b>October 6, 2021</p><p><b>Authors:</b></p><table><tr><td><p><a href=\"Patient-TC-patient.html\">Patient/TC-patient</a> Wegmueller Monika</p></td></tr></table><p><b>Confidentiality: </b>null<span> Normal (qualifier value) (http://snomed.info/sct#17621005)</span></p><p><b>Sections:</b></p><table><tr><td>Previous illnesses</td></tr></table></div>"
  ];
  fhir:DomainResource.extension [
     fhir:index 0;
     fhir:Element.id [ fhir:value "versionNumber" ];
     fhir:Extension.url [ fhir:value "http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-epr-versionnumber" ];
     fhir:Extension.valueUnsignedInt [ fhir:value "1"^^xsd:nonNegativeInteger ]
  ];
  fhir:Composition.identifier [
     fhir:Identifier.system [ fhir:value "urn:ietf:rfc:3986" ];
     fhir:Identifier.value [ fhir:value "urn:uuid:73d0abee-843e-437f-9f52-aeeff8ba758d" ]
  ];
  fhir:Composition.status [ fhir:value "final"];
  fhir:Composition.type [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       a sct:41000179103;
       fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
       fhir:Coding.code [ fhir:value "41000179103" ];
       fhir:Coding.display [ fhir:value "Immunization record" ]     ]
  ];
  fhir:Composition.subject [
     fhir:Reference.reference [ fhir:value "Patient/TC-patient" ]
  ];
  fhir:Composition.date [ fhir:value "2021-10-06T00:00:00.390+02:00"^^xsd:dateTime];
  fhir:Composition.author [
     fhir:index 0;
     fhir:Reference.reference [ fhir:value "Patient/TC-patient" ]
  ];
  fhir:Composition.title [ fhir:value "Immunization Administration"];
  fhir:Composition.confidentiality [
     fhir:value "N";
     fhir:Element.extension [
       fhir:index 0;
       fhir:Extension.url [ fhir:value "http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-epr-confidentialitycode" ];
       fhir:Extension.valueCodeableConcept [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           a sct:17621005;
           fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
           fhir:Coding.code [ fhir:value "17621005" ];
           fhir:Coding.display [ fhir:value "Normal (qualifier value)" ]         ]       ]     ]
  ];
  fhir:Composition.custodian [
     fhir:Reference.reference [ fhir:value "Organization/TC-ORG1" ]
  ];
  fhir:Composition.section [
     fhir:index 0;
     fhir:Element.id [ fhir:value "pastillnesses" ];
     fhir:Composition.section.title [ fhir:value "Previous illnesses" ];
     fhir:Composition.section.code [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         a loinc:11348-0;
         fhir:Coding.system [ fhir:value "http://loinc.org" ];
         fhir:Coding.code [ fhir:value "11348-0" ];
         fhir:Coding.display [ fhir:value "Hx of Past illness" ]       ]     ];
     fhir:Composition.section.text [
       fhir:Narrative.status [ fhir:value "generated" ];
       fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en-US\" lang=\"en-US\"><p><b>Code: </b><span>Hx of Past illness (http://loinc.org#11348-0)</span></p><p><b>Entries:</b></p><table><tr><td><a href=\"Condition-TCC05-UNDILL1.html\">Condition/TCC05-UNDILL1</a></td></tr></table></div>"     ];
     fhir:Composition.section.entry [
       fhir:index 0;
       fhir:Reference.reference [ fhir:value "Condition/TCC05-UNDILL1" ]     ]
  ].

<http://test.fhir.ch/r4/Patient/TC-patient> a fhir:Patient;
  fhir:Resource.id [ fhir:value "TC-patient"];
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-patient-epr";
       fhir:index 0;
       fhir:link <http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-patient-epr>     ]
  ];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative</b></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource \"TC-patient\" </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"http://fhir.ch/ig/ch-core/StructureDefinition-ch-core-patient-epr.html\">CH Core Patient Profile EPR</a></p></div><p><b>identifier</b>: id: 123.71.332.115, id: 8077560000000000000000</p><p><b>name</b>: Monika Wegmueller </p><p><b>telecom</b>: ph: tel:+41.32.685.12.34(HOME)</p><p><b>gender</b>: female</p><p><b>birthDate</b>: 1967-02-10</p><p><b>address</b>: Leidensweg 10 Specimendorf 9876 CH </p></div>"
  ];
  fhir:Patient.identifier [
     fhir:index 0;
     fhir:Identifier.system [ fhir:value "urn:oid:2.16.756.5.31" ];
     fhir:Identifier.value [ fhir:value "123.71.332.115" ]
  ], [
     fhir:index 1;
     fhir:Identifier.system [ fhir:value "urn:oid:2.16.756.5.30.1.123.100.1.1.1" ];
     fhir:Identifier.value [ fhir:value "8077560000000000000000" ]
  ];
  fhir:Patient.name [
     fhir:index 0;
     fhir:HumanName.family [ fhir:value "Wegmueller" ];
     fhir:HumanName.given [
       fhir:value "Monika";
       fhir:index 0     ]
  ];
  fhir:Patient.telecom [
     fhir:index 0;
     fhir:ContactPoint.system [ fhir:value "phone" ];
     fhir:ContactPoint.value [ fhir:value "tel:+41.32.685.12.34" ];
     fhir:ContactPoint.use [ fhir:value "home" ]
  ];
  fhir:Patient.gender [ fhir:value "female"];
  fhir:Patient.birthDate [ fhir:value "1967-02-10"^^xsd:date];
  fhir:Patient.address [
     fhir:index 0;
     fhir:Address.type [ fhir:value "both" ];
     fhir:Address.line [
       fhir:value "Leidensweg 10";
       fhir:index 0     ];
     fhir:Address.city [ fhir:value "Specimendorf" ];
     fhir:Address.postalCode [ fhir:value "9876" ];
     fhir:Address.country [ fhir:value "CH" ]
  ].

<http://test.fhir.ch/r4/Organization/TC-ORG1> a fhir:Organization;
  fhir:Resource.id [ fhir:value "TC-ORG1"];
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-organization-epr";
       fhir:index 0;
       fhir:link <http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-organization-epr>     ]
  ];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative</b></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource \"TC-ORG1\" </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"http://fhir.ch/ig/ch-core/StructureDefinition-ch-core-organization-epr.html\">CH Core Organization Profile EPR</a></p></div><p><b>identifier</b>: id: 7608888888888</p><p><b>name</b>: Gruppenpraxis CH</p><p><b>telecom</b>: ph: tel:+41.32.234.55.66(WORK), fax: fax:+41.32.234.55.67(WORK), <a href=\"mailto:mailto:bereit@gruppenpraxis.ch\">mailto:bereit@gruppenpraxis.ch</a>, <a href=\"http://www.gruppenpraxis.ch\">http://www.gruppenpraxis.ch</a></p><p><b>address</b>: Doktorgasse 2 Musterhausen ZH 8888 CH </p></div>"
  ];
  fhir:Organization.identifier [
     fhir:index 0;
     fhir:Identifier.system [ fhir:value "urn:oid:2.51.1.3" ];
     fhir:Identifier.value [ fhir:value "7608888888888" ]
  ];
  fhir:Organization.name [ fhir:value "Gruppenpraxis CH"];
  fhir:Organization.telecom [
     fhir:index 0;
     fhir:ContactPoint.system [ fhir:value "phone" ];
     fhir:ContactPoint.value [ fhir:value "tel:+41.32.234.55.66" ];
     fhir:ContactPoint.use [ fhir:value "work" ]
  ], [
     fhir:index 1;
     fhir:ContactPoint.system [ fhir:value "fax" ];
     fhir:ContactPoint.value [ fhir:value "fax:+41.32.234.55.67" ];
     fhir:ContactPoint.use [ fhir:value "work" ]
  ], [
     fhir:index 2;
     fhir:ContactPoint.system [ fhir:value "email" ];
     fhir:ContactPoint.value [ fhir:value "mailto:bereit@gruppenpraxis.ch" ];
     fhir:ContactPoint.use [ fhir:value "work" ]
  ], [
     fhir:index 3;
     fhir:ContactPoint.system [ fhir:value "url" ];
     fhir:ContactPoint.value [ fhir:value "http://www.gruppenpraxis.ch" ];
     fhir:ContactPoint.use [ fhir:value "work" ]
  ];
  fhir:Organization.address [
     fhir:index 0;
     fhir:Address.line [
       fhir:value "Doktorgasse 2";
       fhir:index 0     ];
     fhir:Address.city [ fhir:value "Musterhausen" ];
     fhir:Address.state [ fhir:value "ZH" ];
     fhir:Address.postalCode [ fhir:value "8888" ];
     fhir:Address.country [ fhir:value "CH" ]
  ].

<http://test.fhir.ch/r4/Condition/TCC05-UNDILL1> a fhir:Condition;
  fhir:Resource.id [ fhir:value "TCC05-UNDILL1"];
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://fhir.ch/ig/ch-vacd/StructureDefinition/ch-vacd-pastillnesses";
       fhir:index 0;
       fhir:link <http://fhir.ch/ig/ch-vacd/StructureDefinition/ch-vacd-pastillnesses>     ]
  ];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative</b></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource \"TCC05-UNDILL1\" </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-ch-vacd-pastillnesses.html\">CH VACD Past Illness Profile</a></p></div><p><b>identifier</b>: id: b594b7fb-4fb1-466d-b7bc-66216338a727</p><p><b>clinicalStatus</b>: Active <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/3.0.0/CodeSystem-condition-clinical.html\">Condition Clinical Status Codes</a>#active)</span></p><p><b>verificationStatus</b>: Unconfirmed <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/3.0.0/CodeSystem-condition-ver-status.html\">ConditionVerificationStatus</a>#unconfirmed)</span></p><p><b>code</b>: Measles (disorder) <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#14189004)</span></p><p><b>subject</b>: <a href=\"#Patient_TC-patient\">See above (Patient/TC-patient)</a></p><p><b>onset</b>: 2015-07-30</p><p><b>recordedDate</b>: 2015-07-30</p><p><b>recorder</b>: <a href=\"#Patient_TC-patient\">See above (Patient/TC-patient)</a></p></div>"
  ];
  fhir:Condition.identifier [
     fhir:index 0;
     fhir:Identifier.system [ fhir:value "urn:oid:2.16.756.5.30.1.402.1.3.1.1.2" ];
     fhir:Identifier.value [ fhir:value "b594b7fb-4fb1-466d-b7bc-66216338a727" ]
  ];
  fhir:Condition.clinicalStatus [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/condition-clinical" ];
       fhir:Coding.code [ fhir:value "active" ];
       fhir:Coding.display [ fhir:value "Active" ]     ]
  ];
  fhir:Condition.verificationStatus [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/condition-ver-status" ];
       fhir:Coding.code [ fhir:value "unconfirmed" ];
       fhir:Coding.display [ fhir:value "Unconfirmed" ]     ]
  ];
  fhir:Condition.code [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       a sct:14189004;
       fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
       fhir:Coding.code [ fhir:value "14189004" ];
       fhir:Coding.display [ fhir:value "Measles (disorder)" ]     ]
  ];
  fhir:Condition.subject [
     fhir:Reference.reference [ fhir:value "Patient/TC-patient" ]
  ];
  fhir:Condition.onsetDateTime [ fhir:value "2015-07-30"^^xsd:date];
  fhir:Condition.recordedDate [ fhir:value "2015-07-30"^^xsd:date];
  fhir:Condition.recorder [
     fhir:Reference.reference [ fhir:value "Patient/TC-patient" ]
  ].

# - ontology header ------------------------------------------------------------

 a owl:Ontology;
  owl:imports fhir:fhir.ttl.