Clinical Document Architecture
2.0.1 - active

Clinical Document Architecture, published by Health Level 7. This is not an authorized publication; it is the continuous build for version 2.0.1). This version is based on the current content of https://github.com/HL7/CDA-core-2.0/ and changes regularly. See the Directory of published versions

Logical Model: CDAR2.Patient - TTL Profile

Active as of 2023-10-03

TTL representation of the Patient logical model.

Raw ttl | Download

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

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

 a fhir:StructureDefinition ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "Patient"] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n      <p>A LivingSubject as a recipient of health care services from a healthcare provider.</p>\n      <p>The patient is the player; the provider is the scoper.</p>\n    </div>"
  ] ; # 
  fhir:extension ( [
fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/logical-target"^^xsd:anyURI ] ;
fhir:value [
a fhir:boolean ;
      ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/data-absent-reason"^^xsd:anyURI ] ;
fhir:value [ fhir:v "not-applicable" ]       ] )     ]
  ] [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-namespace"^^xsd:anyURI ] ;
fhir:value [ fhir:v "urn:hl7-org:v3"^^xsd:anyURI ]
  ] [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-xml-name"^^xsd:anyURI ] ;
fhir:value [ fhir:v "patient"^^xsd:anyURI ]
  ] ) ; # 
  fhir:url [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/Patient"^^xsd:anyURI] ; # 
  fhir:version [ fhir:v "2.0.1"] ; # 
  fhir:name [ fhir:v "CDAR2.Patient"] ; # 
  fhir:title [ fhir:v "Patient (CDA Class)"] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:experimental [ fhir:v "false"^^xsd:boolean] ; # 
  fhir:date [ fhir:v "2023-10-03T20:44:04+00:00"^^xsd:dateTime] ; # 
  fhir:publisher [ fhir:v "Health Level 7"] ; # 
  fhir:contact ( [
fhir:name [ fhir:v "HL7 International - Structured Documents" ] ;
    ( fhir:telecom [
fhir:system [ fhir:v "url" ] ;
fhir:value [ fhir:v "http://www.hl7.org/Special/committees/structdoc" ]     ] [
fhir:system [ fhir:v "email" ] ;
fhir:value [ fhir:v "structdog@lists.HL7.org" ]     ] )
  ] ) ; # 
  fhir:description [ fhir:v "A LivingSubject as a recipient of health care services from a healthcare provider.\nThe patient is the player; the provider is the scoper."] ; # 
  fhir:fhirVersion [ fhir:v "5.0.0"] ; # 
  fhir:mapping ( [
fhir:identity [ fhir:v "rim" ] ;
fhir:uri [ fhir:v "http://hl7.org/v3"^^xsd:anyURI ] ;
fhir:name [ fhir:v "RIM Mapping" ]
  ] ) ; # 
  fhir:kind [ fhir:v "logical"] ; # 
  fhir:abstract [ fhir:v "false"^^xsd:boolean] ; # 
  fhir:type [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/Patient"^^xsd:anyURI] ; # 
  fhir:baseDefinition [
fhir:v "http://hl7.org/fhir/StructureDefinition/Base"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/StructureDefinition/Base>
  ] ; # 
  fhir:derivation [ fhir:v "specialization"] ; # 
  fhir:snapshot [
    ( fhir:element [
fhir:id [ fhir:v "Patient" ] ;
fhir:path [ fhir:v "Patient" ] ;
fhir:short [ fhir:v "Base for all types and resources" ] ;
fhir:definition [ fhir:v "Base definition for all types defined in FHIR type system." ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Base" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:constraint [
fhir:key [ fhir:v "ele-1" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "n/a" ]       ] )     ] [
fhir:id [ fhir:v "Patient.classCode" ] ;
fhir:path [ fhir:v "Patient.classCode" ] ;
      ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Patient.classCode" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "code"^^xsd:anyURI ] ;
        ( fhir:profile [
fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"^^xsd:anyURI ;
fhir:link <http://hl7.org/cda/stds/core/StructureDefinition/cs-simple>         ] )       ] ) ;
fhir:fixed [ fhir:v "PSN" ] ;
fhir:binding [
fhir:strength [ fhir:v "required" ] ;
fhir:valueSet [
fhir:v "http://terminology.hl7.org/ValueSet/v3-EntityClassLivingSubject"^^xsd:anyURI ;
fhir:link <http://terminology.hl7.org/ValueSet/v3-EntityClassLivingSubject>         ]       ]     ] [
fhir:id [ fhir:v "Patient.determinerCode" ] ;
fhir:path [ fhir:v "Patient.determinerCode" ] ;
      ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Patient.determinerCode" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "code"^^xsd:anyURI ] ;
        ( fhir:profile [
fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"^^xsd:anyURI ;
fhir:link <http://hl7.org/cda/stds/core/StructureDefinition/cs-simple>         ] )       ] ) ;
fhir:fixed [ fhir:v "INSTANCE" ] ;
fhir:binding [
fhir:strength [ fhir:v "required" ] ;
fhir:valueSet [
fhir:v "http://terminology.hl7.org/ValueSet/v3-EntityDeterminer"^^xsd:anyURI ;
fhir:link <http://terminology.hl7.org/ValueSet/v3-EntityDeterminer>         ]       ]     ] [
fhir:id [ fhir:v "Patient.templateId" ] ;
fhir:path [ fhir:v "Patient.templateId" ] ;
fhir:definition [ fhir:v "When valued in an instance, this attribute signals the imposition of a set of template-defined constraints. The value of this attribute provides a unique identifier for the templates in question" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
fhir:base [
fhir:path [ fhir:v "Patient.templateId" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/II"^^xsd:anyURI ]       ] )     ] [
fhir:id [ fhir:v "Patient.id" ] ;
fhir:path [ fhir:v "Patient.id" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Patient.id" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/II"^^xsd:anyURI ]       ] )     ] [
fhir:id [ fhir:v "Patient.name" ] ;
fhir:path [ fhir:v "Patient.name" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
fhir:base [
fhir:path [ fhir:v "Patient.name" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/PN"^^xsd:anyURI ]       ] )     ] [
fhir:id [ fhir:v "Patient.sdtcDesc" ] ;
      ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-namespace"^^xsd:anyURI ] ;
fhir:value [ fhir:v "urn:hl7-org:sdtc"^^xsd:anyURI ]       ] [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-xml-name"^^xsd:anyURI ] ;
fhir:value [ fhir:v "desc" ]       ] ) ;
fhir:path [ fhir:v "Patient.sdtcDesc" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Patient.sdtcDesc" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/ED"^^xsd:anyURI ]       ] )     ] [
fhir:id [ fhir:v "Patient.administrativeGenderCode" ] ;
fhir:path [ fhir:v "Patient.administrativeGenderCode" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Patient.administrativeGenderCode" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/CE"^^xsd:anyURI ]       ] ) ;
fhir:binding [
fhir:strength [ fhir:v "extensible" ] ;
fhir:valueSet [
fhir:v "http://terminology.hl7.org/ValueSet/v3-AdministrativeGender"^^xsd:anyURI ;
fhir:link <http://terminology.hl7.org/ValueSet/v3-AdministrativeGender>         ]       ]     ] [
fhir:id [ fhir:v "Patient.birthTime" ] ;
fhir:path [ fhir:v "Patient.birthTime" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Patient.birthTime" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/TS"^^xsd:anyURI ]       ] )     ] [
fhir:id [ fhir:v "Patient.sdtcDeceasedInd" ] ;
      ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-namespace"^^xsd:anyURI ] ;
fhir:value [ fhir:v "urn:hl7-org:sdtc"^^xsd:anyURI ]       ] [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-xml-name"^^xsd:anyURI ] ;
fhir:value [ fhir:v "deceasedInd" ]       ] ) ;
fhir:path [ fhir:v "Patient.sdtcDeceasedInd" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Patient.sdtcDeceasedInd" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/BL"^^xsd:anyURI ]       ] )     ] [
fhir:id [ fhir:v "Patient.sdtcDeceasedTime" ] ;
      ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-namespace"^^xsd:anyURI ] ;
fhir:value [ fhir:v "urn:hl7-org:sdtc"^^xsd:anyURI ]       ] [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-xml-name"^^xsd:anyURI ] ;
fhir:value [ fhir:v "deceasedTime" ]       ] ) ;
fhir:path [ fhir:v "Patient.sdtcDeceasedTime" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Patient.sdtcDeceasedTime" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/TS"^^xsd:anyURI ]       ] )     ] [
fhir:id [ fhir:v "Patient.sdtcMultipleBirthInd" ] ;
      ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-namespace"^^xsd:anyURI ] ;
fhir:value [ fhir:v "urn:hl7-org:sdtc"^^xsd:anyURI ]       ] [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-xml-name"^^xsd:anyURI ] ;
fhir:value [ fhir:v "multipleBirthInd" ]       ] ) ;
fhir:path [ fhir:v "Patient.sdtcMultipleBirthInd" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Patient.sdtcMultipleBirthInd" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/BL"^^xsd:anyURI ]       ] )     ] [
fhir:id [ fhir:v "Patient.sdtcMultipleBirthOrderNumber" ] ;
      ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-namespace"^^xsd:anyURI ] ;
fhir:value [ fhir:v "urn:hl7-org:sdtc"^^xsd:anyURI ]       ] [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-xml-name"^^xsd:anyURI ] ;
fhir:value [ fhir:v "multipleBirthOrderNumber" ]       ] ) ;
fhir:path [ fhir:v "Patient.sdtcMultipleBirthOrderNumber" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Patient.sdtcMultipleBirthOrderNumber" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/INT-POS"^^xsd:anyURI ]       ] )     ] [
fhir:id [ fhir:v "Patient.maritalStatusCode" ] ;
fhir:path [ fhir:v "Patient.maritalStatusCode" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Patient.maritalStatusCode" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/CE"^^xsd:anyURI ]       ] ) ;
fhir:binding [
fhir:strength [ fhir:v "extensible" ] ;
fhir:valueSet [
fhir:v "http://terminology.hl7.org/ValueSet/v3-MaritalStatus"^^xsd:anyURI ;
fhir:link <http://terminology.hl7.org/ValueSet/v3-MaritalStatus>         ]       ]     ] [
fhir:id [ fhir:v "Patient.religiousAffiliationCode" ] ;
fhir:path [ fhir:v "Patient.religiousAffiliationCode" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Patient.religiousAffiliationCode" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/CE"^^xsd:anyURI ]       ] ) ;
fhir:binding [
fhir:strength [ fhir:v "extensible" ] ;
fhir:valueSet [
fhir:v "http://terminology.hl7.org/ValueSet/v3-ReligiousAffiliation"^^xsd:anyURI ;
fhir:link <http://terminology.hl7.org/ValueSet/v3-ReligiousAffiliation>         ]       ]     ] [
fhir:id [ fhir:v "Patient.raceCode" ] ;
fhir:path [ fhir:v "Patient.raceCode" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Patient.raceCode" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/CE"^^xsd:anyURI ]       ] ) ;
fhir:binding [
fhir:strength [ fhir:v "extensible" ] ;
fhir:valueSet [
fhir:v "http://terminology.hl7.org/ValueSet/v3-Race"^^xsd:anyURI ;
fhir:link <http://terminology.hl7.org/ValueSet/v3-Race>         ]       ]     ] [
fhir:id [ fhir:v "Patient.sdtcRaceCode" ] ;
      ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-namespace"^^xsd:anyURI ] ;
fhir:value [ fhir:v "urn:hl7-org:sdtc"^^xsd:anyURI ]       ] [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-xml-name"^^xsd:anyURI ] ;
fhir:value [ fhir:v "raceCode" ]       ] ) ;
fhir:path [ fhir:v "Patient.sdtcRaceCode" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
fhir:base [
fhir:path [ fhir:v "Patient.sdtcRaceCode" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/CE"^^xsd:anyURI ]       ] ) ;
fhir:binding [
fhir:strength [ fhir:v "extensible" ] ;
fhir:valueSet [
fhir:v "http://terminology.hl7.org/ValueSet/v3-Race"^^xsd:anyURI ;
fhir:link <http://terminology.hl7.org/ValueSet/v3-Race>         ]       ]     ] [
fhir:id [ fhir:v "Patient.ethnicGroupCode" ] ;
fhir:path [ fhir:v "Patient.ethnicGroupCode" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Patient.ethnicGroupCode" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/CE"^^xsd:anyURI ]       ] ) ;
fhir:binding [
fhir:strength [ fhir:v "extensible" ] ;
fhir:valueSet [
fhir:v "http://terminology.hl7.org/ValueSet/v3-Ethnicity"^^xsd:anyURI ;
fhir:link <http://terminology.hl7.org/ValueSet/v3-Ethnicity>         ]       ]     ] [
fhir:id [ fhir:v "Patient.sdtcEthnicGroupCode" ] ;
      ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-namespace"^^xsd:anyURI ] ;
fhir:value [ fhir:v "urn:hl7-org:sdtc"^^xsd:anyURI ]       ] [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-xml-name"^^xsd:anyURI ] ;
fhir:value [ fhir:v "ethnicGroupCode" ]       ] ) ;
fhir:path [ fhir:v "Patient.sdtcEthnicGroupCode" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
fhir:base [
fhir:path [ fhir:v "Patient.sdtcEthnicGroupCode" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/CE"^^xsd:anyURI ]       ] ) ;
fhir:binding [
fhir:strength [ fhir:v "extensible" ] ;
fhir:valueSet [
fhir:v "http://terminology.hl7.org/ValueSet/v3-Ethnicity"^^xsd:anyURI ;
fhir:link <http://terminology.hl7.org/ValueSet/v3-Ethnicity>         ]       ]     ] [
fhir:id [ fhir:v "Patient.guardian" ] ;
fhir:path [ fhir:v "Patient.guardian" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
fhir:base [
fhir:path [ fhir:v "Patient.guardian" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/Guardian"^^xsd:anyURI ]       ] )     ] [
fhir:id [ fhir:v "Patient.birthplace" ] ;
fhir:path [ fhir:v "Patient.birthplace" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Patient.birthplace" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/Birthplace"^^xsd:anyURI ]       ] )     ] [
fhir:id [ fhir:v "Patient.languageCommunication" ] ;
fhir:path [ fhir:v "Patient.languageCommunication" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
fhir:base [
fhir:path [ fhir:v "Patient.languageCommunication" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/LanguageCommunication"^^xsd:anyURI ]       ] )     ] )
  ] ; # 
  fhir:differential [
    ( fhir:element [
fhir:id [ fhir:v "Patient" ] ;
fhir:path [ fhir:v "Patient" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]     ] [
fhir:id [ fhir:v "Patient.classCode" ] ;
fhir:path [ fhir:v "Patient.classCode" ] ;
      ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
      ( fhir:type [
fhir:code [ fhir:v "code"^^xsd:anyURI ] ;
        ( fhir:profile [
fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"^^xsd:anyURI ;
fhir:link <http://hl7.org/cda/stds/core/StructureDefinition/cs-simple>         ] )       ] ) ;
fhir:fixed [ fhir:v "PSN" ] ;
fhir:binding [
fhir:strength [ fhir:v "required" ] ;
fhir:valueSet [
fhir:v "http://terminology.hl7.org/ValueSet/v3-EntityClassLivingSubject"^^xsd:anyURI ;
fhir:link <http://terminology.hl7.org/ValueSet/v3-EntityClassLivingSubject>         ]       ]     ] [
fhir:id [ fhir:v "Patient.determinerCode" ] ;
fhir:path [ fhir:v "Patient.determinerCode" ] ;
      ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
      ( fhir:type [
fhir:code [ fhir:v "code"^^xsd:anyURI ] ;
        ( fhir:profile [
fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"^^xsd:anyURI ;
fhir:link <http://hl7.org/cda/stds/core/StructureDefinition/cs-simple>         ] )       ] ) ;
fhir:fixed [ fhir:v "INSTANCE" ] ;
fhir:binding [
fhir:strength [ fhir:v "required" ] ;
fhir:valueSet [
fhir:v "http://terminology.hl7.org/ValueSet/v3-EntityDeterminer"^^xsd:anyURI ;
fhir:link <http://terminology.hl7.org/ValueSet/v3-EntityDeterminer>         ]       ]     ] [
fhir:id [ fhir:v "Patient.templateId" ] ;
fhir:path [ fhir:v "Patient.templateId" ] ;
fhir:definition [ fhir:v "When valued in an instance, this attribute signals the imposition of a set of template-defined constraints. The value of this attribute provides a unique identifier for the templates in question" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
      ( fhir:type [
fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/II"^^xsd:anyURI ]       ] )     ] [
fhir:id [ fhir:v "Patient.id" ] ;
fhir:path [ fhir:v "Patient.id" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
      ( fhir:type [
fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/II"^^xsd:anyURI ]       ] )     ] [
fhir:id [ fhir:v "Patient.name" ] ;
fhir:path [ fhir:v "Patient.name" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
      ( fhir:type [
fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/PN"^^xsd:anyURI ]       ] )     ] [
fhir:id [ fhir:v "Patient.sdtcDesc" ] ;
      ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-namespace"^^xsd:anyURI ] ;
fhir:value [ fhir:v "urn:hl7-org:sdtc"^^xsd:anyURI ]       ] [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-xml-name"^^xsd:anyURI ] ;
fhir:value [ fhir:v "desc" ]       ] ) ;
fhir:path [ fhir:v "Patient.sdtcDesc" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
      ( fhir:type [
fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/ED"^^xsd:anyURI ]       ] )     ] [
fhir:id [ fhir:v "Patient.administrativeGenderCode" ] ;
fhir:path [ fhir:v "Patient.administrativeGenderCode" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
      ( fhir:type [
fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/CE"^^xsd:anyURI ]       ] ) ;
fhir:binding [
fhir:strength [ fhir:v "extensible" ] ;
fhir:valueSet [
fhir:v "http://terminology.hl7.org/ValueSet/v3-AdministrativeGender"^^xsd:anyURI ;
fhir:link <http://terminology.hl7.org/ValueSet/v3-AdministrativeGender>         ]       ]     ] [
fhir:id [ fhir:v "Patient.birthTime" ] ;
fhir:path [ fhir:v "Patient.birthTime" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
      ( fhir:type [
fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/TS"^^xsd:anyURI ]       ] )     ] [
fhir:id [ fhir:v "Patient.sdtcDeceasedInd" ] ;
      ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-namespace"^^xsd:anyURI ] ;
fhir:value [ fhir:v "urn:hl7-org:sdtc"^^xsd:anyURI ]       ] [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-xml-name"^^xsd:anyURI ] ;
fhir:value [ fhir:v "deceasedInd" ]       ] ) ;
fhir:path [ fhir:v "Patient.sdtcDeceasedInd" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
      ( fhir:type [
fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/BL"^^xsd:anyURI ]       ] )     ] [
fhir:id [ fhir:v "Patient.sdtcDeceasedTime" ] ;
      ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-namespace"^^xsd:anyURI ] ;
fhir:value [ fhir:v "urn:hl7-org:sdtc"^^xsd:anyURI ]       ] [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-xml-name"^^xsd:anyURI ] ;
fhir:value [ fhir:v "deceasedTime" ]       ] ) ;
fhir:path [ fhir:v "Patient.sdtcDeceasedTime" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
      ( fhir:type [
fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/TS"^^xsd:anyURI ]       ] )     ] [
fhir:id [ fhir:v "Patient.sdtcMultipleBirthInd" ] ;
      ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-namespace"^^xsd:anyURI ] ;
fhir:value [ fhir:v "urn:hl7-org:sdtc"^^xsd:anyURI ]       ] [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-xml-name"^^xsd:anyURI ] ;
fhir:value [ fhir:v "multipleBirthInd" ]       ] ) ;
fhir:path [ fhir:v "Patient.sdtcMultipleBirthInd" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
      ( fhir:type [
fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/BL"^^xsd:anyURI ]       ] )     ] [
fhir:id [ fhir:v "Patient.sdtcMultipleBirthOrderNumber" ] ;
      ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-namespace"^^xsd:anyURI ] ;
fhir:value [ fhir:v "urn:hl7-org:sdtc"^^xsd:anyURI ]       ] [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-xml-name"^^xsd:anyURI ] ;
fhir:value [ fhir:v "multipleBirthOrderNumber" ]       ] ) ;
fhir:path [ fhir:v "Patient.sdtcMultipleBirthOrderNumber" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
      ( fhir:type [
fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/INT-POS"^^xsd:anyURI ]       ] )     ] [
fhir:id [ fhir:v "Patient.maritalStatusCode" ] ;
fhir:path [ fhir:v "Patient.maritalStatusCode" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
      ( fhir:type [
fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/CE"^^xsd:anyURI ]       ] ) ;
fhir:binding [
fhir:strength [ fhir:v "extensible" ] ;
fhir:valueSet [
fhir:v "http://terminology.hl7.org/ValueSet/v3-MaritalStatus"^^xsd:anyURI ;
fhir:link <http://terminology.hl7.org/ValueSet/v3-MaritalStatus>         ]       ]     ] [
fhir:id [ fhir:v "Patient.religiousAffiliationCode" ] ;
fhir:path [ fhir:v "Patient.religiousAffiliationCode" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
      ( fhir:type [
fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/CE"^^xsd:anyURI ]       ] ) ;
fhir:binding [
fhir:strength [ fhir:v "extensible" ] ;
fhir:valueSet [
fhir:v "http://terminology.hl7.org/ValueSet/v3-ReligiousAffiliation"^^xsd:anyURI ;
fhir:link <http://terminology.hl7.org/ValueSet/v3-ReligiousAffiliation>         ]       ]     ] [
fhir:id [ fhir:v "Patient.raceCode" ] ;
fhir:path [ fhir:v "Patient.raceCode" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
      ( fhir:type [
fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/CE"^^xsd:anyURI ]       ] ) ;
fhir:binding [
fhir:strength [ fhir:v "extensible" ] ;
fhir:valueSet [
fhir:v "http://terminology.hl7.org/ValueSet/v3-Race"^^xsd:anyURI ;
fhir:link <http://terminology.hl7.org/ValueSet/v3-Race>         ]       ]     ] [
fhir:id [ fhir:v "Patient.sdtcRaceCode" ] ;
      ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-namespace"^^xsd:anyURI ] ;
fhir:value [ fhir:v "urn:hl7-org:sdtc"^^xsd:anyURI ]       ] [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-xml-name"^^xsd:anyURI ] ;
fhir:value [ fhir:v "raceCode" ]       ] ) ;
fhir:path [ fhir:v "Patient.sdtcRaceCode" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
      ( fhir:type [
fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/CE"^^xsd:anyURI ]       ] ) ;
fhir:binding [
fhir:strength [ fhir:v "extensible" ] ;
fhir:valueSet [
fhir:v "http://terminology.hl7.org/ValueSet/v3-Race"^^xsd:anyURI ;
fhir:link <http://terminology.hl7.org/ValueSet/v3-Race>         ]       ]     ] [
fhir:id [ fhir:v "Patient.ethnicGroupCode" ] ;
fhir:path [ fhir:v "Patient.ethnicGroupCode" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
      ( fhir:type [
fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/CE"^^xsd:anyURI ]       ] ) ;
fhir:binding [
fhir:strength [ fhir:v "extensible" ] ;
fhir:valueSet [
fhir:v "http://terminology.hl7.org/ValueSet/v3-Ethnicity"^^xsd:anyURI ;
fhir:link <http://terminology.hl7.org/ValueSet/v3-Ethnicity>         ]       ]     ] [
fhir:id [ fhir:v "Patient.sdtcEthnicGroupCode" ] ;
      ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-namespace"^^xsd:anyURI ] ;
fhir:value [ fhir:v "urn:hl7-org:sdtc"^^xsd:anyURI ]       ] [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-xml-name"^^xsd:anyURI ] ;
fhir:value [ fhir:v "ethnicGroupCode" ]       ] ) ;
fhir:path [ fhir:v "Patient.sdtcEthnicGroupCode" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
      ( fhir:type [
fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/CE"^^xsd:anyURI ]       ] ) ;
fhir:binding [
fhir:strength [ fhir:v "extensible" ] ;
fhir:valueSet [
fhir:v "http://terminology.hl7.org/ValueSet/v3-Ethnicity"^^xsd:anyURI ;
fhir:link <http://terminology.hl7.org/ValueSet/v3-Ethnicity>         ]       ]     ] [
fhir:id [ fhir:v "Patient.guardian" ] ;
fhir:path [ fhir:v "Patient.guardian" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
      ( fhir:type [
fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/Guardian"^^xsd:anyURI ]       ] )     ] [
fhir:id [ fhir:v "Patient.birthplace" ] ;
fhir:path [ fhir:v "Patient.birthplace" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
      ( fhir:type [
fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/Birthplace"^^xsd:anyURI ]       ] )     ] [
fhir:id [ fhir:v "Patient.languageCommunication" ] ;
fhir:path [ fhir:v "Patient.languageCommunication" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
      ( fhir:type [
fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/LanguageCommunication"^^xsd:anyURI ]       ] )     ] )
  ] . #