0.4.4 - ci-build

StandardPatientHealthRecordIG, published by MITRE. This is not an authorized publication; it is the continuous build for version 0.4.4). This version is based on the current content of https://github.com/HL7/standard-patient-health-record-ig/ and changes regularly. See the Directory of published versions

: HKCategorySamplePregnancyToObservation - TTL Representation

Draft as of 2023-09-13

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:StructureMap ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "HKCategorySamplePregnancyToObservation"] ; # 
  fhir:text [
fhir:status [ fhir:v "additional" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\">Placeholder</div>"
  ] ; # 
  fhir:url [ fhir:v "https://open-health-manager.github.io/standard-patient-health-record-ig/StructureMap/HKCategorySamplePregnancyToObservation"^^xsd:anyURI] ; # 
  fhir:version [ fhir:v "0.4.4"] ; # 
  fhir:name [ fhir:v "HKCategorySamplePregnancyToObservation"] ; # 
  fhir:status [ fhir:v "draft"] ; # 
  fhir:date [ fhir:v "2023-09-13T16:34:31+00:00"^^xsd:dateTime] ; # 
  fhir:publisher [ fhir:v "MITRE"] ; # 
  fhir:contact ( [
fhir:name [ fhir:v "MITRE" ] ;
    ( fhir:telecom [
fhir:system [ fhir:v "url" ] ;
fhir:value [ fhir:v "https://open-health-manager.github.io/standard-patient-health-record-ig" ]     ] )
  ] ) ; # 
  fhir:structure ( [
fhir:url [
fhir:v "https://open-health-manager.github.io/standard-patient-health-record-ig/StructureDefinition/apple-healthkit-sample"^^xsd:anyURI ;
fhir:link <https://open-health-manager.github.io/standard-patient-health-record-ig/StructureDefinition/apple-healthkit-sample>     ] ;
fhir:mode [ fhir:v "source" ] ;
fhir:alias [ fhir:v "HKCategorySamplePregnancy" ]
  ] [
fhir:url [
fhir:v "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-pregnancystatus"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-pregnancystatus>     ] ;
fhir:mode [ fhir:v "target" ] ;
fhir:alias [ fhir:v "UsCoreObservationPregnancyStatus" ]
  ] ) ; # 
  fhir:group ( [
fhir:name [ fhir:v "HKCategorySamplePregnancyToObservation" ] ;
fhir:typeMode [ fhir:v "none" ] ;
    ( fhir:input [
fhir:name [ fhir:v "sample" ] ;
fhir:type [ fhir:v "HKCategorySamplePregnancy" ] ;
fhir:mode [ fhir:v "source" ]     ] [
fhir:name [ fhir:v "observation" ] ;
fhir:type [ fhir:v "UsCoreObservationPregnancyStatus" ] ;
fhir:mode [ fhir:v "target" ]     ] ) ;
    ( fhir:rule [
fhir:name [ fhir:v "set status" ] ;
      ( fhir:source [
fhir:context [ fhir:v "sample" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "observation" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "status" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "final" ]         ] )       ] )     ] [
fhir:name [ fhir:v "set category" ] ;
      ( fhir:source [
fhir:context [ fhir:v "sample" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "observation" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "category" ] ;
fhir:variable [ fhir:v "category" ]       ] [
fhir:context [ fhir:v "category" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "coding" ] ;
fhir:variable [ fhir:v "coding" ]       ] ) ;
      ( fhir:rule [
fhir:name [ fhir:v "set category code system" ] ;
        ( fhir:source [
fhir:context [ fhir:v "sample" ]         ] ) ;
        ( fhir:target [
fhir:context [ fhir:v "coding" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "system" ] ;
fhir:transform [ fhir:v "copy" ] ;
          ( fhir:parameter [
fhir:value [ fhir:v "http://terminology.hl7.org/CodeSystem/observation-category" ]           ] )         ] )       ] [
fhir:name [ fhir:v "set category code" ] ;
        ( fhir:source [
fhir:context [ fhir:v "sample" ]         ] ) ;
        ( fhir:target [
fhir:context [ fhir:v "coding" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "code" ] ;
fhir:transform [ fhir:v "copy" ] ;
          ( fhir:parameter [
fhir:value [ fhir:v "social-history" ]           ] )         ] )       ] )     ] [
fhir:name [ fhir:v "set code" ] ;
      ( fhir:source [
fhir:context [ fhir:v "sample" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "observation" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "code" ] ;
fhir:variable [ fhir:v "code" ]       ] [
fhir:context [ fhir:v "code" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "coding" ] ;
fhir:variable [ fhir:v "coding" ]       ] ) ;
      ( fhir:rule [
fhir:name [ fhir:v "set code system" ] ;
        ( fhir:source [
fhir:context [ fhir:v "sample" ]         ] ) ;
        ( fhir:target [
fhir:context [ fhir:v "coding" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "system" ] ;
fhir:transform [ fhir:v "copy" ] ;
          ( fhir:parameter [
fhir:value [ fhir:v "http://loinc.org" ]           ] )         ] )       ] [
fhir:name [ fhir:v "set code" ] ;
        ( fhir:source [
fhir:context [ fhir:v "sample" ]         ] ) ;
        ( fhir:target [
fhir:context [ fhir:v "coding" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "code" ] ;
fhir:transform [ fhir:v "copy" ] ;
          ( fhir:parameter [
fhir:value [ fhir:v "82810-3" ]           ] )         ] )       ] )     ] [
fhir:name [ fhir:v "startDate to effectiveDateTime" ] ;
      ( fhir:source [
fhir:context [ fhir:v "sample" ] ;
fhir:element [ fhir:v "startDate" ] ;
fhir:variable [ fhir:v "startDate" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "observation" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "effectiveDateTime" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [ fhir:v "startDate" ]         ] )       ] )     ] [
fhir:name [ fhir:v "set valueCodeableConcept" ] ;
      ( fhir:source [
fhir:context [ fhir:v "sample" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "observation" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "valueCodeableConcept" ] ;
fhir:variable [ fhir:v "value" ]       ] [
fhir:context [ fhir:v "value" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "coding" ] ;
fhir:variable [ fhir:v "coding" ]       ] ) ;
      ( fhir:rule [
fhir:name [ fhir:v "set value system" ] ;
        ( fhir:source [
fhir:context [ fhir:v "sample" ]         ] ) ;
        ( fhir:target [
fhir:context [ fhir:v "coding" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "system" ] ;
fhir:transform [ fhir:v "copy" ] ;
          ( fhir:parameter [
fhir:value [ fhir:v "http://snomed.info/sct" ]           ] )         ] )       ] [
fhir:name [ fhir:v "set value" ] ;
        ( fhir:source [
fhir:context [ fhir:v "sample" ]         ] ) ;
        ( fhir:target [
fhir:context [ fhir:v "coding" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "code" ] ;
fhir:transform [ fhir:v "copy" ] ;
          ( fhir:parameter [
fhir:value [ fhir:v "77386006" ]           ] )         ] )       ] )     ] )
  ] ) . #