PREFIX fhir: PREFIX fhirvs: PREFIX xsd: PREFIX rdf: IMPORT IMPORT IMPORT IMPORT IMPORT IMPORT IMPORT IMPORT IMPORT IMPORT IMPORT IMPORT IMPORT IMPORT IMPORT IMPORT IMPORT IMPORT IMPORT IMPORT start=@ AND {fhir:nodeRole [fhir:treeRoot]} # Declares the existence of and describes a code system or code system supplement EXTENDS @ CLOSED { a [fhir:CodeSystem]?;fhir:nodeRole [fhir:treeRoot]?; fhir:url @?; # Canonical identifier for this code # system, represented as a URI # (globally unique) (Coding.system) fhir:identifier @?; # Additional identifier for the code # system (business identifier) fhir:version @?; # Business version of the code # system (Coding.version) fhir:versionAlgorithm @ OR @ ?; # How to compare versions fhir:name @?; # Name for this code system # (computer friendly) fhir:title @?; # Name for this code system (human # friendly) fhir:status @ AND {fhir:v @fhirvs:publication-status}; # draft | active | retired | unknown fhir:experimental @?; # For testing purposes, not real # usage fhir:date @?; # Date last changed fhir:publisher @?; # Name of the publisher/steward # (organization or individual) fhir:contact @?; # Contact details for the publisher fhir:description @?; # Natural language description of # the code system fhir:useContext @?; # The context that the content is # intended to support fhir:jurisdiction @?; # Intended jurisdiction for code # system (if applicable) fhir:purpose @?; # Why this code system is defined fhir:copyright @?; # Use and/or publishing restrictions fhir:copyrightLabel @?; # Copyright holder and year(s) fhir:approvalDate @?; # When the CodeSystem was approved # by publisher fhir:lastReviewDate @?; # When the CodeSystem was last # reviewed by the publisher fhir:effectivePeriod @?; # When the CodeSystem is expected to # be used fhir:topic @?; # E.g. Education, Treatment, # Assessment, etc fhir:author @?; # Who authored the CodeSystem fhir:editor @?; # Who edited the CodeSystem fhir:reviewer @?; # Who reviewed the CodeSystem fhir:endorser @?; # Who endorsed the CodeSystem fhir:relatedArtifact @?; # Additional documentation, # citations, etc fhir:caseSensitive @?; # If code comparison is case # sensitive fhir:valueSet @?; # Canonical reference to the value # set with entire code system fhir:hierarchyMeaning @ AND {fhir:v @fhirvs:codesystem-hierarchy-meaning}?; # grouped-by | is-a | part-of | # classified-with fhir:compositional @?; # If code system defines a # compositional grammar fhir:versionNeeded @?; # If definitions are not stable fhir:content @ AND {fhir:v @fhirvs:codesystem-content-mode}; # not-present | example | fragment | # complete | supplement fhir:supplements @?; # Canonical URL of Code System this # adds designations and properties # to fhir:count @?; # Total concepts in the code system fhir:filter @?; # Filter that can be used in a value # set fhir:property @?; # Additional information supplied # about each concept fhir:concept @?; # Concepts in the code system } # Additional information supplied about each concept EXTENDS @ CLOSED { fhir:code @; # Identifies the property on the # concepts, and when referred to in # operations fhir:uri @?; # Formal identifier for the property fhir:description @?; # Why the property is defined, # and/or what it conveys fhir:type @ AND {fhir:v @fhirvs:concept-property-type}; # code | Coding | string | integer | # boolean | dateTime | decimal } # Additional representations for the concept EXTENDS @ CLOSED { fhir:language @ AND {fhir:v @fhirvs:all-languages}?; # Human language of the designation fhir:use @?; # Details how this designation would # be used fhir:additionalUse @?; # Additional ways how this # designation would be used fhir:value @; # The text value for this designation } # Filter that can be used in a value set EXTENDS @ CLOSED { fhir:code @; # Code that identifies the filter fhir:description @?; # How or why the filter is used fhir:operator @ AND {fhir:v @fhirvs:filter-operator}; # = | is-a | descendent-of | # is-not-a | regex | in | not-in | # generalizes | child-of | # descendent-leaf | exists fhir:value @; # What to use for the value } # Property value for the concept EXTENDS @ CLOSED { fhir:code @; # Reference to # CodeSystem.property.code fhir:value @ OR @ OR @ OR @ OR @ OR @ OR @ ; # Value of the property for this # concept } # Concepts in the code system EXTENDS @ CLOSED { fhir:code @; # Code that identifies concept fhir:display @?; # Text to display to the user fhir:definition @?; # Formal definition fhir:designation @?; # Additional representations for the # concept fhir:property @?; # Property value for the concept fhir:concept @?; # Child Concepts # (is-a/contains/categorizes) } # Child Concepts (is-a/contains/categorizes) CLOSED { } #---------------------- Cardinality Types (OneOrMore) ------------------- CLOSED { rdf:first @ ; rdf:rest [rdf:nil] OR @ } CLOSED { rdf:first @ ; rdf:rest [rdf:nil] OR @ } CLOSED { rdf:first @ ; rdf:rest [rdf:nil] OR @ } CLOSED { rdf:first @ ; rdf:rest [rdf:nil] OR @ } CLOSED { rdf:first @ ; rdf:rest [rdf:nil] OR @ } CLOSED { rdf:first @ ; rdf:rest [rdf:nil] OR @ } CLOSED { rdf:first @ ; rdf:rest [rdf:nil] OR @ } CLOSED { rdf:first @ ; rdf:rest [rdf:nil] OR @ } CLOSED { rdf:first @ ; rdf:rest [rdf:nil] OR @ } CLOSED { rdf:first @ ; rdf:rest [rdf:nil] OR @ } CLOSED { rdf:first @ ; rdf:rest [rdf:nil] OR @ } CLOSED { rdf:first @ ; rdf:rest [rdf:nil] OR @ } #---------------------- Value Sets ------------------------ # This value set includes all possible codes from BCP-47 (see http://tools.ietf.org/html/bcp47) fhirvs:all-languages xsd:string #EXTERNAL # The extent of the content of the code system (the concepts and codes it defines) are represented in a code system resource. fhirvs:codesystem-content-mode ["not-present" "example" "fragment" "complete" "supplement"] # The meaning of the hierarchy of concepts in a code system. fhirvs:codesystem-hierarchy-meaning ["grouped-by" "is-a" "part-of" "classified-with"] # The type of a property value. fhirvs:concept-property-type ["code" "Coding" "string" "integer" "boolean" "dateTime" "decimal"] # The kind of operation to perform as a part of a property based filter. fhirvs:filter-operator ["=" "is-a" "descendent-of" "is-not-a" "regex" "in" "not-in" "generalizes" "child-of" "descendent-leaf" "exists"] # The lifecycle status of an artifact. fhirvs:publication-status ["draft" "active" "retired" "unknown"]